Dynamic window fixed capacity recursive state transition proof method and device

By receiving and verifying the input data of traffic time windows in the vehicle-road-cloud cooperative system, generating a fixed-capacity sub-step sequence in groups, and using pre-configured circuits for state transition calculation and recursive merging, the instability of the traffic state proof process is solved, and the stable operation of the system and the controllability of resource utilization are achieved.

CN123158692APending Publication Date: 2026-11-24HANGZHOU QULIAN TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611156852.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-31
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

In intelligent transportation scenarios involving vehicle-road-cloud collaboration, existing technologies struggle to provide stable, reusable, and computationally efficient traffic status verification solutions when the number of traffic participants changes dynamically, leading to unstable system performance and wasted computing resources.

Method used

By receiving input data from traffic time windows, performing verification and grouping, generating a sequence of sub-steps with a fixed capacity, using pre-configured sub-proof circuits to perform state transition calculations, and recursively merging the sub-proofs to generate window recursive proofs, which are finally registered to the on-chain state registration contract, ensuring the stability and reusability of the proof process.

Benefits of technology

It achieves stable operation of the proof process under dynamic changes in the number of traffic participants, ensures the reusability of the proof process and controllable overhead of computing resources, and solves the problem of system performance instability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123158692A_ABST
    Figure CN123158692A_ABST
Patent Text Reader

Abstract

This invention discloses a fixed-capacity recursive state transition proof method and device for dynamic windows, relating to the field of traffic state proof technology. The method includes: receiving window input data and the root state of the previous window; after verification, grouping vehicle report data into an ordered sequence of sub-steps according to a preset fixed capacity, each sub-step having a preset fixed capacity slot; performing state transition calculations on each sub-step using a pre-configured sub-proof circuit to obtain corresponding sub-proofs; recursively merging the sub-proofs to obtain a window recursive proof; generating the current window state root and proof binding hash based on the window recursive proof, the root state of the previous window, and the input data; and registering the digest identifier to an on-chain contract. This invention achieves stable and controllable proofs by reusing fixed circuits through fixed-capacity grouping when the number of vehicles changes dynamically.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of traffic status verification technology, and in particular to a method and device for verifying fixed-capacity recursive status transitions using a dynamic window. Background Technology

[0002] In intelligent transportation scenarios involving vehicle-road-cloud collaboration, the changes in vehicle status experienced at intersections or road segments within a time window need to be accurately recorded and verified. Due to the high uncertainty of road traffic flow and the extreme differences in the number of vehicles within different time windows, this presents a significant technical challenge to the reliable verification of traffic status.

[0003] Currently, to address the aforementioned issues, a common approach in existing technologies is to directly record raw data or aggregated statistical results such as vehicle location and speed collected by the RSU or platform server onto the blockchain. While this approach provides data storage, the on-chain records themselves lack the ability to prove the computation process, making it difficult to verify the consistency between the vehicle set within the window and the final state. Furthermore, to address the need for proof of the computation process, another approach is to utilize zero-knowledge proof technology to generate verification credentials for the traffic state update process. However, such proof circuits typically require design for a predetermined input scale. When the number of vehicles within the window fluctuates, to meet the requirements of dynamic load, either a separate circuit needs to be designed for each different scale, or a circuit scheme covering the largest scale needs to be adopted. This leads to significant wasted computing power in low-load scenarios.

[0004] The frequent changes in the proof circuit structure and common parameters caused by the change in the number of vehicles directly lead to the difficulty in forming a stable and reusable proof process in actual engineering implementation. The verification overhead and computing power cost of the system under different loads exhibit unpredictable fluctuations, which greatly hinders the stable performance of the system. Summary of the Invention

[0005] This invention provides a method and apparatus for proving recursive state transitions with a fixed capacity for dynamic windows. The technical problem it aims to solve is: how to provide an effective solution that ensures the stability, reusability, and controllable computational cost of the proof process when the number of traffic participants changes dynamically.

[0006] In a first aspect, the present invention provides a fixed-capacity recursive state transition proof method for a dynamic window, comprising: Receive window input data for the traffic time window and the status root of the previous window; The input data in the window is validated; In response to a successful verification, the vehicle report data in the window input data is grouped according to a preset fixed capacity to obtain an ordered sequence of sub-steps, each of which has the preset fixed capacity number of vehicle slots. The sub-proof of the corresponding sub-step is obtained by performing state transition calculations on each sub-step in the sub-step sequence through a pre-configured sub-proof circuit. The sub-proofs of each of the sub-steps are recursively merged to obtain the window recursive proof of the traffic time window; Based on the window recursive proof, the previous window state root, and the window input data, generate the current window state root and proof binding hash; Register the current window state root and the proof binding hash to the on-chain state registration contract.

[0007] Optionally, validating the input data in the window includes: The authenticity of the input data in the window is verified, including: verifying the vehicle identity, vehicle public key, and vehicle signature of the vehicle report data in the input data; and verifying the roadside unit identity, roadside unit public key, and roadside unit signature of the roadside unit observation data in the input data. The authorization verification of the window input data includes: verifying the authorized vehicle leaf and authorized roadside unit leaf in the authorization certificate root group of the window input data.

[0008] Optionally, the step of grouping the vehicle report data in the window input data according to a preset fixed capacity to obtain an ordered sequence of sub-steps includes: The vehicle report data is sorted to obtain a sorted vehicle report sequence; Based on the preset fixed capacity and the total number of vehicles in the sorted vehicle report sequence, the total number of sub-steps is calculated. If the total number of vehicles cannot be divided by the preset fixed capacity, the remaining vehicle slots in the last sub-step are filled, and a valid mask corresponding to the filled slots in the last sub-step is generated. The valid mask is used to identify the real vehicle slots and the filled slots. The filled slots are not included in the statistical calculation of vehicle quantity, speed, congestion level, or traffic status. The sorted vehicle report sequence is divided into sub-steps of the total number of sub-steps to obtain an ordered sub-step sequence.

[0009] Optionally, the step of performing state transition calculations on each sub-step in the sub-step sequence through a pre-configured sub-proof circuit to obtain the sub-proof for the corresponding sub-step includes: Based on the scheduling parameter signals in the window input data, generate dynamic scheduling parameter output; The vehicle report data of the currently traversed sub-step, the intermediate state of the previous sub-step in the sub-step sequence, and the output of the dynamic scheduling parameters are input to the pre-configured sub-proof circuit to obtain the intermediate state of the currently traversed sub-step and generate the sub-proof of the currently traversed sub-step.

[0010] Optionally, generating the current window state root and proof binding hash based on the window recursive proof, the previous window state root, and the window input data includes: Based on the vehicle report data and roadside unit observation data in the window input data, generate vehicle root, roadside unit observation root and window statistical summary; Based on the scheduling parameter signals in the window input data and the dynamic scheduling parameter output, the scheduling decision result is determined, and a signal scheme root is generated based on the scheduling decision result; Based on the vehicle root, the roadside unit observation root, and the roadside unit observation data, a roadside unit state root is generated; Based on the vehicle root, the roadside unit observation root, the authorization proof root group in the window input data, the signal scheme root, the roadside unit state root, and the disputed evidence root group in the window input data, a component root tuple is constructed; The current window state root is obtained by hashing the previous window state root, the window recursive proof, the component root tuple, the timestamp of the traffic time window, and the area identifier of the traffic time window using a state hash function. Generate a bridging statement, which includes the window range of the traffic time window, the root state of the previous window, the root state of the current window, the window recursive proof, and the window statistical summary; The bridging declaration is hashed to obtain a bridging digest; The bridging digest is bound to the window recursive proof through a binding hash process to obtain the proof binding hash; Based on the regional identifier of the traffic time window, the start and end window numbers in the bridging declaration, the root state of the previous window, and the root state of the current window, an on-chain transfer identifier is generated using a hash algorithm.

[0011] Optionally, the method further includes: Based on the preset scheduling strategy and the scheduling parameter signals in the window input data, a dynamic scheduling parameter output is generated. The scheduling parameter signal, the dynamic scheduling parameter output, and the policy hash corresponding to the preset scheduling policy are encoded and hashed to obtain a scheduling commitment. The scheduling commitment is used to bind the scheduling parameter signal, the dynamic scheduling parameter output, and the preset scheduling policy.

[0012] Optionally, after registering the current window state root and the proof binding hash to the on-chain state registration contract, the method further includes: Receive the verification signature submitted by the external verifier after verifying the window recursive proof based on the bridging digest and the proof binding hash; Determine whether the number of verified signatures has reached a preset threshold; If the number of verification signatures reaches the preset threshold, then the state transition of the traffic time window is determined to be finalized. If the number of verification signatures does not reach the preset threshold, the registered status is maintained and the system waits for new verification signatures.

[0013] Optionally, for a continuous traffic window range, the method further includes: Obtain the window declaration summary for each traffic time window within the continuous traffic window range; For each traffic time window within the continuous traffic window range, according to the time order of the traffic windows, the current cumulative chain root and the window declaration digest of the current traffic time window are hashed using the chain root hash function to generate the updated cumulative chain root corresponding to the current traffic time window, and the updated cumulative chain root is used as the current cumulative chain root of the next traffic time window. In response to traversing all traffic time windows within the continuous traffic window range, the final generated cumulative root chain is determined as the cumulative root chain within the continuous traffic window range; The cumulative chain root of the continuous traffic window range is used to ensure that the state transitions within the continuous traffic window range satisfy the continuity of state boundaries and the continuity of window declaration summary.

[0014] Optionally, the disputed evidence root group in the window input data includes at least one of omitted evidence roots, excluded evidence roots, non-member proof roots, and disputed roots; the method further includes: Receive dispute requests for the target traffic window; In response to the dispute request, the root group of disputed evidence corresponding to the target traffic window is obtained from the window input data of the target traffic window, and the evidence branch in the root group of disputed evidence is determined as the evidence branch to be reviewed. Based on the vehicle signatures, authorized member paths, non-member proofs, or omission proofs in the evidence branch to be reviewed, the state transition of the target traffic window is reviewed. During the review process, vehicle report data and roadside unit observation data from non-target traffic windows, as well as evidence branch data from non-target traffic windows, will not be disclosed.

[0015] Secondly, the present invention also provides a computer device including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the above-described method.

[0016] This invention provides a fixed-capacity recursive state transition proof method and apparatus for dynamic windows. By grouping vehicle report data according to a preset fixed capacity, an ordered sequence of sub-steps with a fixed number of slots is generated. This allows the sub-proof circuits performing subsequent state transition calculations to adopt a fixed-shape circuit structure, eliminating the need for frequent reconstruction of the proof circuit in response to dynamic changes in the number of vehicles within the traffic window. Furthermore, based on this, the sub-proofs generated by each sub-step are recursively merged to obtain a single window recursive proof. The current window state root and proof binding hash are generated based on this window recursive proof, the previous window state root, and the window input data, and registered in the on-chain state registration contract. This allows the state transition result to be registered and locked on-chain using the aforementioned digest information. Through this method, the proof system can still operate stably within a fixed-shape proof framework even when the number of traffic participants changes dynamically, effectively ensuring the reusability of the proof process and keeping the overall computation and verification overhead predictable and controllable. This overcomes the engineering stability problem caused by dynamic fluctuations in the window input size. 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 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 A flowchart illustrating a fixed-capacity recursive state transition proof method for a dynamic window provided in an embodiment of the present invention; Figure 2 This is a schematic block diagram of a computer device provided in an embodiment of the present invention. Detailed Implementation

[0019] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0020] It should be understood that, when used in this specification and the appended claims, the terms "comprising" and "including" indicate the presence of the described features, integrals, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or collections thereof.

[0021] It should also be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the invention. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.

[0022] It should also be further understood that the term "and / or" as used in this specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0023] As used in this specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if [described condition or event] is detected" may be interpreted, depending on the context, as "once determined," "in response to determination," "once [described condition or event] is detected," or "in response to detection of [described condition or event]."

[0024] Please see Figure 1 This invention provides a fixed-capacity recursive state transition proof method for dynamic windows. This method is executed by a proof node in a vehicle-road-cloud collaborative system. The technical solution converts dynamically changing vehicle report data into an ordered sequence of sub-steps according to a preset fixed capacity. Sub-proofs are generated step-by-step using a fixed-shape sub-proof circuit, and multiple sub-steps are accumulated into a window-level state transition proof through recursive folding. Finally, the proof digest is registered to the on-chain state registration contract. Specifically, the method includes the following steps: S1 receives the window input data of the traffic time window and the root status of the previous window. The window input data includes vehicle report data, roadside unit observation data, authorization proof root group, dispute evidence root group and scheduling parameter signal.

[0025] In practice, the proof node first receives the window input data for the traffic time window, as well as the root state of the previous window for that traffic time window. The window input data is denoted as I. t Its mathematical expression is I t = (V t O t A t E t ,ψ t The formula represents the uniform input packet for the traffic time window t. Where V t This represents the vehicle report data, specifically the set of authenticated and sorted vehicle reports within the current traffic window; O t This represents the roadside unit observation data, specifically the roadside unit's observations of traffic conditions within the current window; A t The authorized proof root group represents the set of roots formed after committing to authorized information such as authorized vehicle roots, authorized roadside unit roots, and verifier / witness permission roots; E t The root set of disputed evidence is the set of roots formed by hashing disputed materials such as omitted disputed roots, excluded disputed roots, non-member proof roots, and disputed roots; ψ t This represents the scheduling parameter signal, which is the dynamic scheduling input signal tuple for the current traffic window.

[0026] Furthermore, the root state of the previous window is denoted as globalRoot. t This is a summary commitment on the chain of the state transition result of the previous traffic window. The traffic time window refers to the set of vehicle reports and their related context observed by roadside units within a certain road area and time range, and the number of vehicles and traffic status change dynamically over time.

[0027] S2, validate the input data in the window.

[0028] In practice, after receiving the input data from the aforementioned window, the verification node verifies the input data. The verification operation includes authenticity verification and authorization verification, ensuring that the data entering the verification process meets preset requirements in terms of source reliability and authorization legitimacy. If the verification fails, the verification node rejects the input data from that traffic window and records the abnormal input; if the verification passes, it proceeds to the subsequent grouping steps.

[0029] In some preferred embodiments, the verification of the window input data includes: verifying the authenticity of the window input data, wherein the authenticity verification includes: verifying the vehicle identity, vehicle public key, and vehicle signature of the vehicle report data in the window input data; verifying the roadside unit identity, roadside unit public key, and roadside unit signature of the roadside unit observation data in the window input data; and verifying the authorization of the window input data, wherein the authorization verification includes: verifying the authorized vehicle leaf and authorized roadside unit leaf in the authorization proof root group of the window input data.

[0030] In practical implementation, in real-world vehicle-road-cloud collaborative scenarios, vehicle reports and roadside unit observations may contain falsified or unauthorized data sources. If this data enters the subsequent verification process without verification, the final state root cannot be reliably verified. This embodiment provides a two-layer reliability guarantee for input data by separating authenticity verification and authorization verification into two independent verification dimensions. The specific implementation method is as follows: The proof node verifies the authenticity of the input data in the window. This authenticity verification checks whether the data was generated by a legitimate entity and has not been tampered with. Specifically, the proof node verifies the vehicle report data in the input data, including vehicle identity verification, vehicle public key verification, and vehicle signature verification for each vehicle report. Vehicle identity verification verifies whether the vehicle identity commitment matches the expectation, preventing identity impersonation; vehicle public key verification confirms the validity and tamper-proofness of the vehicle public key; and vehicle signature verification verifies the legitimacy of the vehicle signature, ensuring that the vehicle report was indeed issued by the corresponding vehicle and has not been forged by a third party. Simultaneously, the proof node verifies the roadside unit identity, roadside unit public key, and roadside unit signature in the roadside unit observation data in the input data, respectively verifying the legitimacy of the roadside unit's identity, the validity of its public key, and the integrity and non-repudiation of its signature.

[0031] Furthermore, after completing the authenticity verification, the proof node performs an authorization verification on the window input data. This authorization verification verifies whether the vehicles and roadside units involved are authorized to participate in the current traffic window state transition. Specifically, the proof node verifies the authorization proof root group A in the window input data. t The authorized vehicle leaf and authorized roadside unit leaf in the data are verified. The authorization certificate root group A tIt is a root set formed by the commitment of authorization information such as authorized vehicle root, authorized roadside unit root, and verifier / witness permission root. Each authorized leaf represents a vehicle or roadside unit included in the authorization scope. Further, the proof node matches the vehicle identity identifier in the vehicle report data with the authorized vehicle leaf, and matches the roadside unit identity identifier in the roadside unit observation data with the authorized roadside unit leaf to confirm whether the vehicle or roadside unit has been authorized or authenticated by the system.

[0032] Furthermore, if either the authenticity verification or the authorization verification fails, the verification node rejects the input data of the current traffic window, records the abnormal input, and stops the subsequent processing flow; if all verifications pass, the verification node confirms that the window input data has passed the verification and passes the data to the subsequent grouping steps.

[0033] This embodiment uses authenticity verification and authorization verification as two independent dimensions for verifying window input data. Authenticity verification is further subdivided into three verification sub-items: identity, public key, and signature. Authorization verification is further subdivided into two verification sub-items: vehicle authorization leaf and roadside unit authorization leaf. This achieves comprehensive control over the authenticity of the input data source and the legality of the authorization, laying a data security foundation for the subsequent generation of trusted state transition proofs.

[0034] S3, in response to successful verification, the vehicle report data in the window input data is grouped according to a preset fixed capacity to obtain an ordered sequence of sub-steps, each of the sub-steps in the sequence having the preset fixed capacity of vehicle slots.

[0035] In practice, after successful verification, the verification node groups the vehicle report data in the window input data according to a preset fixed capacity, resulting in an ordered sequence of sub-steps. Let the preset fixed capacity be b. max This refers to the maximum number of vehicles that can be processed in each sub-step. The proof node first reports data V to the vehicles. t The vehicle report sequence V is obtained by sorting according to deterministic sorting rules. t ord The sorting ensures that the grouping order is deterministic and consistent across different running instances. Further, the sorted vehicle report sequence is divided into m groups according to the preset fixed capacity. t These sub-steps form an ordered sequence B. t = (B t,1 B t,mt The formula indicates that the current traffic window is divided into m... t An ordered list of substeps of fixed capacity. Where B t B represents the sequence of substeps of window t;t,1 To B t,mt Represents the first to mth elements in the sequence. t A specific sub-step; m t This indicates the total number of sub-steps.

[0036] Furthermore, the number of sub-steps m t The calculation formula is: m t = max(1, ceil(|V t | / b max The formula is used to determine the required number of sub-steps based on the total number of vehicles and the fixed capacity. Where m t This represents the total number of sub-steps; `max()` is the maximum value function used to ensure that `m`... t At least 1; ceil() is the floor function, used to ensure that the number of sub-steps covers all vehicles; |V t | represents the total number of vehicles in the sorted vehicle report sequence; b max The maximum vehicle slot capacity is preset for each sub-step.

[0037] Furthermore, if the number of vehicles in the last sub-step is less than the preset fixed capacity, then the node performs a padding process on the last sub-step, filling it with a fixed-length input B. t,j pad = Pad bmax (B t,j ), and generate the corresponding valid mask. t,j The formula represents expanding the original sub-step into a fixed-length input using a fixed-length padding function. Where B... t,j pad This indicates that the length of the j-th sub-step is equal to b after the padding operation. max Fixed input; Pad bmax () indicates a preset fixed capacity of b max A fixed-length fill function; B t,j This represents the j-th unfilled original sub-step. The valid mask... t,j It is a sequence of Boolean values ​​used to identify actual vehicle slots and filled slots, that is, to identify which vehicle slots in the fixed capacity sub-step are actual vehicle reports and which are fill items. Filled slots are not included in subsequent calculations of vehicle quantity, speed, congestion level, or traffic status.

[0038] In some preferred embodiments, the step of grouping the vehicle report data in the window input data according to a preset fixed capacity to obtain an ordered sequence of sub-steps includes: sorting the vehicle report data to obtain a sorted vehicle report sequence; calculating the total number of sub-steps based on the preset fixed capacity and the total number of vehicles in the sorted vehicle report sequence, wherein if the total number of vehicles is not divisible by the preset fixed capacity, the remaining vehicle slots of the last sub-step are filled, and an effective mask corresponding to the filled slots of the last sub-step is generated; and dividing the sorted vehicle report sequence into sub-steps of the total number of sub-steps to obtain an ordered sequence of sub-steps.

[0039] In practical implementation, the number of vehicles within the same traffic window can fluctuate greatly in vehicle-road-cloud collaborative scenarios. Directly designing proof circuits for different scales would drastically increase engineering complexity. This embodiment achieves standardized transformation from vehicle report sets of arbitrary size to fixed-shape proof inputs through complete logic of sorting, capacity calculation, tail padding, and effective mask generation. The specific implementation method is as follows: The proof node sorts the vehicle report data to obtain the sorted vehicle report sequence V. t ord The sorting ensures that the grouping order is deterministic and consistent across different running instances, guaranteeing the reproducibility of the proof. Furthermore, the sorted vehicle report sequence provides a unified sequential input for subsequent fixed-capacity partitioning, avoiding inconsistencies in grouping results caused by different original input orders.

[0040] Further, after sorting, the proof node calculates the total number of sub-steps based on the preset fixed capacity and the total number of vehicles in the sorted vehicle report sequence. Let the preset fixed capacity be b. max The total number of vehicles in the sorted vehicle report sequence is |V t | Then the total number of sub-steps is m t The calculation formula is m t = max(1, ceil(|V t | / b max The formula is used to determine the required number of sub-steps based on the total number of vehicles and the fixed capacity. Where m t `m` represents the total number of sub-steps; `max()` is the function to find the maximum value, used to ensure that `m`... t At least 1; ceil() is the floor function, used to ensure that the number of sub-steps covers all vehicles; |V t | represents the total number of vehicles in the sorted vehicle report sequence; b maxThe maximum vehicle slot capacity is preset for each sub-step. This calculation logic ensures that at least one sub-step is generated regardless of whether the total number of vehicles is exactly an integer multiple of the preset fixed capacity, and the number of sub-steps is sufficient to cover all vehicle reports.

[0041] Furthermore, the proof node performs a filling process. If the total number of vehicles cannot be divided by the preset fixed capacity, that is, the actual number of vehicles in the last sub-step is less than the preset fixed capacity, then the proof node fills the remaining vehicle slots in the last sub-step.

[0042] Furthermore, the specific process of the fill operation is as follows: the proof node performs the fill operation on the last sub-step to obtain the filled sub-step input B. t,j pad = Pad bmax (B t,j The formula represents expanding the original sub-step into a fixed-length input using a fixed-length fill function. Where B... t,j pad This indicates that the length of the j-th sub-step is equal to b after the padding operation. max Fixed input; Pad bmax () indicates a preset fixed capacity of b max A fixed-length fill function; B t,j This represents the j-th unfilled original sub-step.

[0043] Furthermore, the purpose of the filling operation is to fill the last sub-step with the same fixed capacity as the previous sub-steps, so that all sub-steps in the entire sub-step sequence are completely consistent in the number of vehicle slots, thereby enabling the reuse of sub-proof circuits of the same shape.

[0044] Furthermore, after the filling process is completed, the proof node generates a valid mask corresponding to the filled slot in the last sub-step. t,j The effective mask is a sequence of Boolean values ​​used to identify real vehicle slots and filled slots, that is, to identify which vehicle slots in the fixed capacity sub-step are real vehicle reports and which are filled items. Filled slots do not participate in subsequent calculations of vehicle quantity, speed, congestion level, or traffic status statistics, but the effective mask is input as a constraint into the sub-proof circuit to ensure the consistency of circuit execution.

[0045] Furthermore, the proof node divides the sorted vehicle report sequence into sub-steps of the total number of sub-steps, resulting in an ordered sub-step sequence B. t = (B t,1 B t,mt The formula represents the final ordered sequence of substeps. Where Bt B is the sequence of substeps for window t; t,1 To B t,mt These are the sub-steps in the sequence. The number of vehicle slots in each sub-step is equal to the preset fixed capacity b. max Each sub-step carries a corresponding valid mask. t,j and slot offset t,j This enables subsequent sub-proof circuits to accurately identify genuine vehicle reports.

[0046] This embodiment achieves a seamless conversion from vehicle report sets of arbitrary dynamic size to inputs of fixed-shape sub-proof circuits through the synergistic effect of three steps: deterministic sorting, fixed-capacity partitioning, and tail padding, along with effective mask generation. Furthermore, sorting ensures the determinism of the grouping results, tail padding ensures that each sub-step has the same number of slots, and the effective mask guarantees that the filled slots, while not participating in statistical calculations, can be clearly identified by the proof circuit, significantly improving the engineering stability and resource utilization efficiency of the proof system.

[0047] S4, perform state transition calculations on each sub-step in the sub-step sequence through a pre-configured sub-proof circuit to obtain the sub-proof of the corresponding sub-step.

[0048] In practice, after obtaining an ordered sequence of sub-steps, the proof node performs state transition calculations on each sub-step in the sequence using a pre-configured sub-proof circuit to obtain the sub-proof for the corresponding sub-step. The sub-proof circuit is a fixed-shape proof circuit, denoted as C. sub The proof node first determines the scheduling parameter signal ψ from the input data in the window. t Generate dynamic scheduling parameter output θ t .

[0049] Furthermore, the scheduling parameter signal ψ t It is a quadruple, denoted as ψ t = (ρ t , g t , ε t , a t The formula describes the specific composition of the scheduling input signal tuple. Where, ψ t For scheduling input signals; ρ t Indicates traffic density; g t Indicates on-chain congestion signal; ε t Indicates an emergency sign; a t This indicates an abnormal risk signal.

[0050] Furthermore, it is proven that the node is based on the preset scheduling strategy P sched For the scheduling parameter signal ψt Perform calculations to generate dynamic scheduling parameter output θ t , that is, θ t = P sched (ψ t The formula represents the specific scheduling parameters obtained by processing the input signal using a preset scheduling strategy. Where θ t Output of dynamic scheduling parameters; P sched ψ is the scheduling policy function; t For scheduling input signals.

[0051] Furthermore, it is proven that the node calculates the policy hash of the preset scheduling policy, policyHash = H(enc(P). sched The formula indicates that the scheduling policy is encoded and then digested using a hash function H(), where policyHash is the policy hash and enc() is the encoding function.

[0052] Furthermore, it is proven that the node responds to the scheduling parameter signal ψ t The dynamic scheduling parameter output θ t Encode and hash the policy hash to obtain the scheduling commitment comTheta = H θ (enc(ψ t , θ t The formula represents the binding of input signals, output parameters, and policy version to generate the final scheduling commitment. Here, comTheta is the scheduling commitment; H... θ () is the hash function for the scheduling domain.

[0053] Further, after generating the dynamic scheduling parameter output, the proof node processes each sub-step in the sub-step sequence. For the current sub-step in the sub-step sequence, the proof node inputs its vehicle report data, the intermediate state of the previous sub-step, and the dynamic scheduling parameter output to the pre-configured sub-proof circuit. The sub-proof circuit C... sub Perform zero-knowledge proof computation on the input data to obtain the intermediate state Z of the currently traversed sub-step. t,j And generate a sub-proof π for the currently traversed sub-step. t,j sub Specifically, the calculation formula for the fixed substep execution is Z. t,j = C sub (Z t,j-1 B t,j pad , θ tThe formula describes how the intermediate state of the current sub-step is calculated from the previous state and the current input. Where Z... t,j C represents the intermediate state after the execution of the j-th sub-step; sub Represents a sub-proof circuit with a fixed shape; Z t,j-1 B represents the intermediate state of the previous sub-step (i.e., the (j-1)th sub-step); t,j pad This represents the fixed fill input for the current sub-step; θ t This represents the output of dynamic scheduling parameters for the current window. Furthermore, the calculation formula generated by the sub-proof is π. t,j sub = ProveSub(C sub Z t,j-1 B t,j pad , θ t Z t,j The formula describes how the sub-proof of the current sub-step is generated by the proof generating function. Where π... t,j sub This represents the sub-proof of the j-th sub-step; ProveSub() represents the sub-proof generation function; the parameters in parentheses are the constrained input and expected output of the function.

[0054] In some preferred embodiments, the step of performing state transition calculations on each sub-step in the sub-step sequence through a pre-configured sub-proof circuit to obtain the sub-proof of the corresponding sub-step includes: generating dynamic scheduling parameter output based on the scheduling parameter signal in the window input data; inputting the vehicle report data of the currently traversed sub-step, the intermediate state of the previous sub-step in the sub-step sequence, and the dynamic scheduling parameter output to the pre-configured sub-proof circuit to obtain the intermediate state of the currently traversed sub-step and generate the sub-proof of the currently traversed sub-step.

[0055] In practice, after obtaining the ordered sequence of sub-steps, each sub-step requires a complete proof calculation to verify the state transition reported by a fixed number of vehicles within the traffic window. This embodiment clarifies how to apply constraints to the proof calculation using the scheduling parameter signal, and how to use the intermediate state of the previous sub-step as the input of the subsequent sub-step to maintain window-level semantics. The specific implementation is as follows: The proof node first uses the scheduling parameter signal ψ from the input data in the window. t Generate dynamic scheduling parameter output θ t The scheduling parameter signal ψ t It is a quadruple, denoted as ψ t= (ρ t , g t , ε t , a t The formula describes the specific composition of the scheduling input signal tuple. Where, ψ t For scheduling input signals; ρ t Indicates traffic density; g t Indicates on-chain congestion signal; ε t Indicates an emergency sign; a t This indicates an abnormal risk signal.

[0056] Furthermore, it is proven that the node is based on the preset scheduling strategy P sched For the scheduling parameter signal ψ t Perform calculations to generate dynamic scheduling parameter output θ t , that is, θ t = P sched (ψ t The formula represents the specific scheduling parameters obtained by processing the input signal using a preset scheduling strategy. Where θ t Output of dynamic scheduling parameters; P sched ψ is the scheduling policy function; t This serves as the input signal for scheduling. Further, it demonstrates that the node calculates the policy hash of the preset scheduling policy: policyHash = H(enc(P) sched The formula represents encoding the scheduling policy and then obtaining a digest using the hash function H(). Here, policyHash is the policy hash, and enc() is the encoding function. For the scheduling parameter signal ψ... t The dynamic scheduling parameter output θ t Encode and hash the policy hash to obtain the scheduling commitment comTheta = H θ (enc(ψ t , θ t The formula represents the binding of input signals, output parameters, and policy version to generate the final scheduling commitment. Here, comTheta is the scheduling commitment; H... θ () is the hash function for the scheduling domain.

[0057] Furthermore, after generating the dynamic scheduling parameter output, the proof node processes each sub-step in the sub-step sequence. For the currently traversed sub-step, the proof node inputs its vehicle report data, the intermediate state of the previous sub-step, and the dynamic scheduling parameter output to the pre-configured sub-proof circuit. The sub-proof circuit C... subPerform zero-knowledge proof computation on the input data to obtain the intermediate state Z of the currently traversed sub-step. t,j And generate a sub-proof π for the currently traversed sub-step. t,j sub Specifically, the calculation formula for the fixed substep execution is Z. t,j = C sub (Z t,j-1 B t,j pad , θ t The formula describes how the intermediate state of the current sub-step is calculated from the previous state and the current input. Where Z... t,j C represents the intermediate state after the execution of the j-th sub-step; sub Represents a sub-proof circuit with a fixed shape; Z t,j-1 B represents the intermediate state of the previous sub-step; t,j pad This represents the fixed fill input for the current sub-step; θ t This indicates the output of dynamic scheduling parameters for the current window.

[0058] The calculation formula generated by the sub-proof is π. t,j sub = ProveSub(C sub Z t,j-1 B t,j pad , θ t Z t,j The formula describes how the sub-proof of the current sub-step is generated by the proof generating function. Where π... t,j sub This represents the sub-proof of the j-th sub-step; ProveSub() represents the sub-proof generation function; the parameters in parentheses are the constrained input and expected output of the function.

[0059] Specifically, for the first sub-step, the intermediate state of the preceding sub-step is the initialization state Z. t,0 This is set by the proof node before starting the computation. For each subsequent sub-step, the intermediate state of the previous sub-step is the computation result Z of the previous sub-step as its input. t,j-1 This creates a forward-propagating chain of intermediate states between sub-steps.

[0060] This embodiment introduces dynamic scheduling parameter outputs, integrating real-time scheduling signals such as traffic density, congestion, and emergency response into the calculation process of the sub-proof circuit. This ensures that the proof result reflects not only the state transitions of the vehicle report data itself but also the rationality constraints of the scheduling strategy under specific traffic scenarios. Furthermore, by encoding and hashing the scheduling parameter signals, dynamic scheduling parameter outputs, and strategy versions to obtain the scheduling commitment, it effectively prevents submitters from maliciously tampering with scheduling parameters to choose a proof granularity or verification frequency that benefits themselves. Furthermore, by explicitly using the intermediate state of the previous sub-step as the input of the current sub-step, it ensures that the split sub-steps semantically still collectively represent the complete state changes of the same traffic window.

[0061] S5, recursively merge the sub-proofs of each sub-step to obtain the window recursive proof of the traffic time window.

[0062] In practice, after generating sub-proofs for all sub-steps, the proof node recursively merges the sub-proofs of each sub-step to obtain the window recursive proof of the traffic time window. The proof node initializes the recursive acct. t,0 = acct t acct t This represents the initial recursive accumulator state for window t.

[0063] For each sub-step in the sequence of sub-steps, the proof node will use the current recursive acct. t,j-1 Sub-proof π of the current sub-step t,j sub Perform a recursive merge and update the recursive accumulator to acct. t,j = Fold(acct t,j-1 ,π t,j sub The formula represents the process of merging the previous accumulator with the current sub-proof using a recursive folding function to generate a new accumulator. Where, acct t,j This represents the new recursive accumulator after the j-th sub-step is folded; Fold() represents the recursive folding function; acct t,j-1 Indicates the accumulator before folding; π t,j sub This represents the sub-proof of the current sub-step. This process is repeated sequentially until all m sub-steps in the sequence have been traversed. t Each sub-step obtains the accumulator state (acct) at the end of the window. t+1 =acct t,mt The formula indicates that the final accumulator state of the window is equal to the accumulator state after executing the last sub-step. Where acct... t+1 The final accumulator after the window ends; acctt,mt This indicates that the m-th iteration has been completed. t The accumulator after each sub-step.

[0064] Furthermore, in response to traversing all sub-steps in the sub-step sequence, the proof node generates a windowed recursive proof Π based on the updated recursive accumulator. T .

[0065] In some preferred embodiments, the step of recursively merging the sub-proofs of each of the sub-steps to obtain the window recursive proof of the traffic time window includes: initializing a recursive accumulator; for each sub-step in the sub-step sequence, recursively merging the recursive accumulator with the sub-proof of the currently traversed sub-step, and updating the recursive accumulator; and in response to traversing all sub-steps in the sub-step sequence, generating the window recursive proof based on the updated recursive accumulator.

[0066] In practice, the proof node first initializes the recursive acct. t,0 = acct t acct t This is the initial recursive accumulator state of window t. The recursive accumulator is a proof state object used to store the accumulated results of merged sub-proofs, and its initial value is determined according to the preset initial parameters of the recursive proof system.

[0067] Furthermore, after initialization, the proof node, for each sub-step in the sub-step sequence, sets the current recursive acct... t,j-1 Sub-proof π of the currently traversed sub-step t,j sub Perform a recursive merge and update the recursive accumulator. The recursive merge operation is implemented using the incremental folding function Fold(), and its calculation process is as follows: t,j = Fold(acct t,j-1 , π t,j sub The formula represents the process of merging the previous accumulator with the current sub-proof using a recursive folding function to generate a new accumulator. Where, acct t,j This represents the new recursive accumulator after the j-th sub-step is folded; Fold() represents the recursive folding function; acct t,j-1 Indicates the accumulator before folding; π t,j sub This represents the sub-proof of the current sub-step. Furthermore, after each merge, the recursive accumulator absorbs the state transition result proved by the current sub-proof, thereby accumulating all state changes from the first sub-step to the current sub-step in the accumulator.

[0068] Furthermore, the above merging operation will be repeated sequentially until all sub-steps in the sub-step sequence have been traversed, and the accumulator state acct at the end of the window is obtained. t+1 = acct t,mt The formula indicates that the final accumulator state of the window is equal to the accumulator state after executing the last sub-step. Where acct... t+1 The final accumulator after the window ends; acct t,mt This indicates that the m-th iteration has been completed. t The accumulator after each sub-step. At this point, the recursive accumulator has absorbed all m within the traffic window. t The proof of the state transition corresponding to each sub-step.

[0069] Furthermore, in response to traversing all sub-steps in the sub-step sequence, the proof node generates the windowed recursive proof Π based on the updated recursive accumulator. T This proof object can be verified by an external verifier through a single verification operation to confirm the correctness of the entire traffic window state transition without having to re-traverse all sub-steps.

[0070] This embodiment utilizes an incremental absorption mechanism with a recursive accumulator to progressively aggregate the dispersed proofs of multiple fixed-capacity sub-steps into a single window recursive proof. External verifiers only need to verify this window recursive proof once to confirm the correct state transitions of all vehicle reports and roadside unit observations within the entire traffic window, without needing to verify the sub-proofs of each sub-step separately, significantly reducing the verifier's computational overhead.

[0071] S6. Based on the window recursive proof, the previous window state root, and the window input data, generate the current window state root and proof binding hash.

[0072] In practice, based on the window recursive proof, the previous window state root, and the window input data, the proof node generates the current window state root, bridge digest, proof binding hash, and on-chain transfer identifier. Specifically, prior to this, the proof node first uses the vehicle report data V... t and roadside unit observation data O t Generate vehicleRoot t Roadside unit observation root rsuObservationRoot t And a summary of window statistics.

[0073] Furthermore, the proof node is based on the vehicle root. t The roadside unit observation root rsuObservationRoot tThe authorization certificate root group A in the window input data t and disputed evidence root group E t Generate the component root tuple baseRoots t The component root tuple baseRoots t The expression is baseRoots t =(vehicleRoot t rsuObservationRoot t , rsuStateRoot t signalPlanRoot t A t E t The formula represents the composition of the component root tuple. Where, baseRoots t The root tuple for components; vehicleRoot t For vehicles; rsuObservationRoot t For roadside unit observation roots; rsuStateRoot t The signalPlanRoot is the state root of the roadside unit. t A is the root of the signal scheme; t For authorization proof root group; E t This is the root set of disputed evidence. The formula for calculating the signal plan root is: signalPlanRoot = H dec (enc(decision t The formula indicates that the signaling scheme root is derived from the decision result through hashing of the decision domain. Where signalPlanRoot represents the signaling scheme root; H dec () represents a decision domain-separated hash function; decision t This represents the scheduling decision result.

[0074] The proof node is obtained through the state hash function H state () for the previous window state root globalRoot t The window recursive proof Π T The component root tuple baseRoots t and the timestamp (window) of the traffic time window t ) and region identifier roadId(region t Perform hash processing to obtain the current window state root globalRoot. t+1 Its calculation formula is globalRoot. t+1= H state (enc(globalRoot t , Y t baseRoots t timestamp(window) t ), roadId(region t The formula represents the calculation of the new window state root using a state hash function. Where, globalRoot... t+1 H is the new root state for the current window; state () represents a state-domain split hash function; globalRoot t Y is the root state of the previous window; t The output workpiece for the window is composed of the formula Y. t = (meta t ,stats t track t authRoots t evidenceRoots t decision t ), where meta t stats represents metadata. t Track represents statistical data. t authRoots indicates tracking information. t Indicates the authorization root, evidenceRoots t Indicates the root of evidence, decision t Indicates the decision outcome; baseRoots t Represents the component root tuple; timestamp(window) t ) is the timestamp; roadId(region) t () is the area identifier.

[0075] Furthermore, it proves that the node generates a bridging statement. T The bridging declaration includes the window range of the traffic time window (based on the starting window number t). start and the end window number t end (Identifier), the previous window state root globalRoot tstart The current window state root globalRoot tend The window recursive proof Π T And the window statistics summary.

[0076] Furthermore, the proof node hashes the bridge declaration to obtain the bridge digest d.bridge,T Its calculation formula is d bridge,T = H bridge (enc(statement T The formula indicates that the bridging digest is derived from the bridging declaration via a hash of the bridging field. Where, d bridge,T H represents a summary of the bridging declaration; bridge () indicates a bridged-domain split hash function; statement T This represents the bridging declaration object. Further, the proof node will define the bridging summary d. bridge,T The window recursively proves Π T Perform binding hash processing to obtain the proof binding hash h. proof Its calculation formula is h proof = H proof (enc(d bridge,T , Π T The formula indicates that the proof-binding hash is generated by binding the bridge digest with the terminal proof. Where h proof This indicates proof of binding hash; H proof () indicates that the domain-separated hash function is proved; d bridge,T Indicates a bridging summary; Π T This indicates a window recursive proof.

[0077] Furthermore, the proof node also generates the on-chain transition identifier transitionId. T Its calculation formula is transitionId T = Keccak256(enc(regionId, t start , t end globalRoot tstart ,globalRoot tend The formula represents the generation of a unique on-chain index using the Keccak256 hash algorithm. Where transitionId... T This is an on-chain transfer identifier; Keccak256() indicates a specific hash algorithm; regionId indicates a region identifier; t start With t end Indicates the start and end window numbers; globalRoot tstart With globalRoot tend This indicates the root of the start and end state boundaries. Furthermore, the on-chain transfer identifier is a unique index within the on-chain state registration contract, and this on-chain transfer identifier is not determined by h. proof or d bridge,T This calculation avoids coupling between the on-chain index and the proof content.

[0078] In some preferred embodiments, generating the current window state root and proof binding hash based on the window recursive proof, the previous window state root, and the window input data includes: generating a vehicle root, a roadside unit observation root, and a window statistical summary based on vehicle report data and roadside unit observation data in the window input data; determining a scheduling decision result based on scheduling parameter signals and dynamic scheduling parameter outputs in the window input data, and generating a signaling scheme root based on the scheduling decision result; generating a roadside unit state root based on the vehicle root, the roadside unit observation root, and the roadside unit observation data; and generating a dispute root based on the vehicle root, the roadside unit observation root, the authorization proof root group in the window input data, the signaling scheme root, the roadside unit state root, and the dispute in the window input data. Evidence root set, construct component root tuple; hash the previous window state root, the window recursive proof, the component root tuple, the timestamp of the traffic time window, and the region identifier of the traffic time window using a state hash function to obtain the current window state root; generate a bridging statement, which includes the window range of the traffic time window, the previous window state root, the current window state root, the window recursive proof, and the window statistical digest; hash the bridging statement to obtain a bridging digest; bind the bridging digest to the window recursive proof using a binding hash to obtain the proof binding hash; based on the region identifier of the traffic time window, the start and end window numbers in the bridging statement, the previous window state root, and the current window state root, generate an on-chain transfer identifier using a hash algorithm.

[0079] In practice, the proof node first uses the vehicle report data V from the input data in the window. t and roadside unit observation data O t Generate vehicleRoot t Roadside unit observation root rsuObservationRoot t And a window statistics summary. Specifically, the vehicle root... t It is a hash commitment obtained by aggregating all vehicle report leaf nodes or sub-step vehicle roots within the current traffic window according to a preset sorting rule, used to uniquely identify the set of vehicles within the traffic time window; the roadside unit observation root is rsuObservationRoot. t The roadside unit observation data O tThe corresponding hash commitment is used to identify the aggregation of observations of the roadside unit on the number of vehicles, total speed, and abnormal risks within the current window; the window statistical summary is a summary value obtained by encoding and hashing statistical information within the traffic time window, including statistical results such as the total number of vehicles, average speed, and congestion level.

[0080] Furthermore, the proof node determines the scheduling decision result based on the scheduling parameter signals in the window input data and the dynamic scheduling parameter output. t Specifically, the scheduling parameter signal ψ t Includes traffic density ρ t On-chain congestion signal g t Emergency signs t and abnormal risk signals a t The proof node is based on the preset scheduling strategy P. sched For the scheduling parameter signal ψ t Perform logical operations to generate dynamic scheduling parameter output θ t Then, by combining the scheduling parameter signals and the dynamic scheduling parameter output, the final scheduling decision corresponding to the traffic time window is determined. t Subsequently, the proof node makes a decision based on the scheduling decision result. t H is separated by decision domain. dec () Calculate the signal plan root (signalPlanRoot) t The specific calculation formula is signalPlanRoot. t = H dec (enc(decision t The signal scheme root signalPlanRoot t It is a summary commitment of the root of the signal control scheme, which is obtained by combining traffic conditions and dynamic scheduling results.

[0081] Furthermore, the proof node is based on the vehicle root. t and the roadside unit observation root rsuObservationRoot t Perform data consistency verification. Specifically, the consistency verification includes comparing the vehicle root data. t The committed vehicle report set and the roadside unit observation root rsuObservationRoot t The committed set of observed vehicles is used to ensure that the two match in terms of vehicle quantity and vehicle identity. Simultaneously, it proves that the node has observed the roadside unit data O. tThe statistical information, including the total number of vehicles, average speed, and abnormal risk markers, is verified under preset constraints to ensure that the observed values ​​are within a reasonable range and have not been abnormally tampered with.

[0082] Furthermore, in response to the above consistency check and constraint check both passing, it proves that the node will transmit the roadside unit observation data O. t The verified state information is extracted and aggregated and hashed according to preset aggregation rules to finally generate the roadside unit state root rsuStateRoot. t The roadside unit state root rsuStateRoot t As a root hash commitment, it represents the trusted roadside unit traffic state after being verified by multidimensional verification in step S2.

[0083] Furthermore, the proof node will link the vehicle root to the vehicle. t The roadside unit observation root rsuObservationRoot t The roadside unit state root rsuStateRoot t The signal scheme root signalPlanRoot t The authorization certificate root group A t and the disputed evidence root group E t By combining these elements, we can construct the component root tuple, baseRoots. t The specific formula for the component root tuple is expressed as baseRoots. t = (vehicleRoot t ,rsuObservationRoot t , rsuStateRoot t signalPlanRoot t A t E t The authorization certificate root group A) t The set of commitments, including authorized vehicle roots, authorized roadside unit roots, and verifier / witness permission roots, is used to establish the legal authorization basis for each participant within this traffic window; the disputed evidence root set E t Including the omission root of evidence t Exclusion Root t Non-MembershipRoot t and disputeRoot tThis provides a precise object location basis for subsequent dispute review. Finally, the proof node encapsulates and combines all six component roots to obtain the component root tuple `baseRoots`. t The current window state root, globalRoot, is subsequently calculated using a state hash function. t+1 The set of integrity state inputs.

[0084] Furthermore, after completing the construction of the component root tuple, it is proven that the node is hashed through the state hash function H. state () for the previous window state root globalRoot t The window recursive proof Π T The component root tuple baseRoots t and the timestamp (window) of the traffic time window t ) and region identifier roadId(region t Perform hash processing to obtain the current window state root globalRoot. t+1 Its calculation formula is globalRoot. t+1 = H state (enc(globalRoot t , Y t , baseRoots t timestamp(window) t ), roadId(region t The formula represents the calculation of the new window state root using a state hash function.

[0085] Among them, globalRoot t+1 H is the new root state for the current window; state () represents a state-domain split hash function; globalRoot t Y is the root state of the previous window; t Output the workpiece to the window; baseRoots t The root tuple for the component; timestamp(window) t ) is the timestamp; roadId(region) t ) represents the region identifier. The output workpiece Y t The calculation formula for Y is t =(meta t stats t track t authRoots tevidenceRoots t decision t The formula represents the specific composition of the output workpiece. Where, meta t Represents metadata; stats t Indicates statistical data; track t Indicates tracking information; authRoots t Indicates the root of authorization; evidenceRoots t Indicates the root of evidence; decision t Indicates the decision result.

[0086] Furthermore, it proves that the node generates a bridging statement. T The bridging declaration includes the window range of the traffic time window (based on the starting window number t). start and the end window number t end (Identifier), the previous window state root globalRoot tstart The current window state root globalRoot tend The window recursive proof Π T The window statistical summary is then used. The proof node hashes the bridge declaration to obtain the bridge summary d. bridge,T Its calculation formula is d bridge,T = H bridge (enc(statement T The formula indicates that the bridging digest is derived from the bridging declaration via a hash of the bridging field. Where, d bridge,T H represents a summary of the bridging declaration; bridge () indicates a bridged-domain split hash function; statement T This represents the bridge declaration object. The proof node will include the bridge summary d. bridge,T The window recursively proves Π T Perform binding hash processing to obtain the proof binding hash h. proof Its calculation formula is h proof = H proof (enc(d bridge,T , Π T The formula indicates that the proof-binding hash is generated by binding the bridge digest with the terminal proof. Where h proof This indicates proof of binding hash; H proof () indicates that the domain-separated hash function is proved; d bridge,T Indicates a bridging summary; Π T This indicates a window recursive proof.

[0087] Furthermore, the proof node is based on the region identifier (regionId) of the traffic time window and the start and end window numbers (t) in the bridging declaration. start and t end The previous window state root globalRoot tstart and the current window state root globalRoot tend The on-chain transition identifier (transitionId) is generated using a hash algorithm. T Its calculation formula is transitionId T = Keccak256(enc(regionId, t start , t end globalRoot tstart ,globalRoot tend The formula represents the generation of a unique on-chain index using the Keccak256 hash algorithm. Where transitionId... T This is the on-chain transfer identifier; Keccak256() indicates a specific hash algorithm; regionId indicates the region identifier; t start With t end Indicates the start and end window numbers; globalRoot tstart With globalRoot tend This represents the starting and ending boundary roots.

[0088] This embodiment constructs a hierarchical and progressive summary generation chain, encapsulating evidence roots from different sources, such as vehicle roots, roadside unit observation roots, authorization proof root groups, and disputed evidence root groups, into a unified component root tuple. This tuple is then used as input to the state hash function to participate in the calculation of the current window state root, ensuring that the final registered state root has multi-level traceability. The independent generation design of on-chain transfer identifiers also provides flexibility for contract index management.

[0089] S7, Register the current window state root and the proof binding hash to the on-chain state registration contract.

[0090] In practice, the proof node registers the current window state root and the proof binding hash to the on-chain state registration contract. The on-chain state registration contract is configured with a lightweight storage interface. It does not save the original vehicle report data or roadside unit observation data of the traffic time window while the blockchain is running, nor does it execute the complete zero-knowledge proof verification logic of the window recursive proof. This allows the heavy data storage and high computational load to be deposited on the off-chain proof node, effectively avoiding the high gas overhead and network latency caused by performing complex calculations on the chain.

[0091] Furthermore, the on-chain state registration contract only associates the received current window state root, bridge digest, proof binding hash, and on-chain transfer identifier with the window range and region identifier of the traffic time window, and generates a corresponding on-chain registration record. This on-chain registration record serves as the unique anchoring credential for the traffic time window state transfer result on the chain, and can be used for subsequent state tracing queries, auditing, and targeted review and location in case of disputes. By separating extensive off-chain computation from concise on-chain registration, the on-chain state registration contract can achieve extremely lightweight utilization of on-chain resources while ensuring the verifiability and traceability of traffic state transfer results.

[0092] This embodiment introduces a fixed-capacity grouping mechanism to transform dynamically changing vehicle report data into an ordered sequence of fixed-capacity sub-steps. This allows sub-proof circuits to be reused in a fixed shape without frequent reconstruction as the number of vehicles changes, effectively reducing the engineering complexity of circuit design and common parameter management in the proof system. Furthermore, the recursive merging mechanism gradually merges the sub-proofs of multiple sub-steps into a single window recursive proof through a recursive accumulator. On-chain registration only needs to store a small amount of summary information to achieve the binding verification of the entire traffic window state transition, significantly reducing on-chain storage and computational overhead.

[0093] In some preferred embodiments, after registering the current window state root and the proof binding hash to the on-chain state registration contract, the method further includes: receiving a verification signature submitted by an external validator after verifying the window recursive proof based on the bridge digest and the proof binding hash; determining whether the number of verification signatures reaches a preset threshold; if the number of verification signatures reaches the preset threshold, determining that the state transition of the traffic time window is finalized; if the number of verification signatures does not reach the preset threshold, maintaining the registered state and waiting for new verification signatures.

[0094] In specific implementation, the current window state root is set to globalRoot. t+1 The bridging summary d bridge,T The proof is bound to the hash h proof and the on-chain transfer identifier transitionId T After registration to the on-chain state registration contract, the proof node or on-chain state registration contract receives data from an external validator based on the bridge digest d. bridge,T And the proof-binding hash h proof Recursively prove Π for the window. TThe verification signature is submitted after verification. Further, the verification signature is generated by authorized verifiers already registered in the system. Each verifier independently obtains the bridge digest and proof binding hash, confirms the correctness of the proof by running a window recursive proof verification algorithm, digitally signs the bridge digest and proof binding hash, and submits them to the on-chain state registration contract.

[0095] Furthermore, the on-chain state registration contract determines whether the number of verified signatures has reached a preset threshold. This preset threshold is configured by the system administrator during initialization and can be set to an absolute number or a certain percentage of the total number of registered validators, depending on security requirements.

[0096] Furthermore, if the number of verified signatures reaches the preset threshold, the on-chain state registration contract determines that the state transition of the traffic time window is finalized. The finalization operation marks the state transition in the above registration record as a finalized state. The finalized state transition result cannot be modified or revoked, thus providing deterministic on-chain credentials for traffic status auditing, settlement, and liability tracing in the vehicle-road-cloud collaborative system.

[0097] Furthermore, if the number of verification signatures does not reach the preset threshold, the on-chain state registration contract maintains its registered state and waits for new verification signatures. During this process, the state transitions in the registration record remain in an unfinalized waiting state. If enough verification signatures are not collected after the preset challenge window, the registration record may be deemed invalid due to timeout or enter the dispute resolution process. When a dispute exists, the challenger can submit a dispute commitment and disclose the disputed data in subsequent stages.

[0098] Furthermore, dispute resolution does not require reinterpreting all traffic data, but rather focuses on the root set of disputed evidence, E. t omissionRoot in the missing evidence t Exclusion Root t Non-MembershipRoot t and disputeRoot t The evidence will be reviewed.

[0099] This embodiment introduces a mechanism for independent verification and signing by external validators, ensuring that the state transition results registered on the chain are guaranteed by the consensus of multiple validators. The introduction of a preset threshold allows the system to flexibly adjust the security level according to network size and trust requirements. Furthermore, the dispute resolution mechanism allows challengers to review the window recursive proof and its input evidence. The review process does not require reinterpreting all traffic data; it only needs to perform targeted checks on various evidence roots within the disputed evidence root group, significantly reducing the computational overhead of dispute review.

[0100] In some preferred embodiments, the method further includes: generating a dynamic scheduling parameter output based on a preset scheduling strategy and scheduling parameter signals in the window input data; encoding and hashing the scheduling parameter signals, the dynamic scheduling parameter output, and the strategy hash corresponding to the preset scheduling strategy to obtain a scheduling commitment, wherein the scheduling commitment is used to bind the scheduling parameter signals, the dynamic scheduling parameter output, and the preset scheduling strategy.

[0101] In practice, if the scheduling parameter signal enters the proof process without being bound by a commitment, the submitter may choose scheduling parameters that are advantageous to them to evade accountability review. This embodiment introduces a scheduling commitment generation and binding mechanism into the proof process to ensure that the scheduling parameter signal, dynamic scheduling parameter output, and preset scheduling strategy are locked into an unchangeable whole. The specific implementation method is as follows: The proof node is based on the preset scheduling strategy P sched and the scheduling parameter signal ψ in the window input data t Generate dynamic scheduling parameter output θ t The scheduling parameter signal ψ t It is a quadruple, denoted as ψ t = (ρ t , g t , ε t ,a t The formula represents the composition of the scheduling input signal tuple. Where, ψ t For scheduling input signals; ρ t Indicates traffic density; g t Indicates on-chain congestion signal; ε t Indicates an emergency sign; a t This indicates an abnormal risk signal. It proves that the node is following the preset scheduling strategy P. sched The scheduling parameter signals are processed to generate dynamic scheduling parameter output θ. t Its calculation formula is θ t = P sched (ψ t The formula represents the specific scheduling parameters obtained by processing the input signal using a preset scheduling strategy. Where θt Output of dynamic scheduling parameters; P sched ψ is the scheduling policy function; t For scheduling input signals.

[0102] Furthermore, the proof node calculates the policy hash of the preset scheduling policy, which is calculated using the formula: policyHash = H(enc(P) sched The formula represents encoding the scheduling policy and then obtaining a digest using the hash function H(). Here, policyHash is the policy hash; H() is the hash function; and enc() is the encoding function. Subsequently, the proof node transmits the scheduling parameter signal ψ... t The dynamic scheduling parameter output θ t The policy hash corresponding to the preset scheduling policy is encoded and hashed to obtain the scheduling commitment comTheta, which is calculated as comTheta = H θ (enc(ψ t , θ t The formula represents the binding of input signals, output parameters, and policy version to generate the final scheduling commitment. Here, comTheta is the scheduling commitment; H... θ () is the hash function for the scheduling domain.

[0103] This embodiment introduces a scheduling commitment generation mechanism, which uses joint hash locking of dynamic scheduling input, dynamic scheduling parameter output, and preset scheduling strategy hash. This ensures that each scheduling parameter output has a clear input signal and strategy version as the source basis, and that the submitter cannot arbitrarily modify the scheduling output or choose a scheduling strategy that is more advantageous to themselves after generating the proof in order to cover up the real road conditions or audit requirements.

[0104] In some preferred embodiments, for a continuous traffic window range, the method further includes: obtaining window declaration digests for each traffic time window within the continuous traffic window range; for each traffic time window within the continuous traffic window range, hashing the current cumulative chain root and the window declaration digest of the current traffic time window using a chain root hash function according to the time order of the traffic windows to generate an updated cumulative chain root corresponding to the current traffic time window, and using the updated cumulative chain root as the current cumulative chain root for the next traffic time window; in response to traversing all traffic time windows within the continuous traffic window range, determining the finally generated cumulative chain root as the cumulative chain root of the continuous traffic window range; wherein, the cumulative chain root of the continuous traffic window range is used to ensure that the state transitions within the continuous traffic window range satisfy the continuity of state boundaries and the continuity of window declaration digests.

[0105] In specific implementation, this embodiment adds a cumulative chain root generation process for continuous traffic window ranges. In vehicle-road-cloud collaborative scenarios, proving the state root of a single traffic window alone is insufficient to meet the needs of long-term auditing or cross-time period traffic situation tracing. This embodiment, by folding the cumulative chain root over the continuous traffic window range, ensures that the state transition results of multiple traffic windows can satisfy the continuity of state boundaries and window declaration summaries as a whole. The specific implementation method is as follows: The proof node first obtains the window declaration digest for each traffic time window within the continuous traffic window range. The window declaration digest is a value obtained by summarizing the state transition results of each individual traffic time window within the continuous traffic window range, denoted as d. stmt,t The source of the window declaration digest is the bridging digest and proof binding hash generated based on the window recursive proof, the previous window state root, and the window input data in the above embodiments. The window declaration digest is used as the state input for each time node in the cumulative chain root iteration calculation.

[0106] Furthermore, for each traffic time window within the continuous traffic window range, the proof node hashes the current cumulative chain root and the window declaration digest of the current traffic time window using a chain root hash function according to the time order of the traffic windows, generating an updated cumulative chain root corresponding to the current traffic time window, and using the updated cumulative chain root as the current cumulative chain root for the next traffic time window. The chain root hash function is denoted as H. chain This is used to implement iterative folding of continuous window summaries, and its calculation formula is chainRoot. t+1 = H chain (enc(chainRoot t ,d stmt,t )), where chainRoott This represents the current cumulative root link, i.e., the cumulative root link after the previous traffic window was processed; d stmt,t This represents a summary of the window declaration for the current traffic time window; H chain Represents a chain-domain split hash function; enc() represents an encoding function; chainRoot t+1 This represents the updated cumulative chain root. The above iterative process starts from an initial cumulative chain root, which is the window state root before the starting window of the continuous traffic window range. It is usually the system initialization state or the public state root of a certain historical node in the past, ensuring that the starting point of the folding calculation has an undeniable original anchor point.

[0107] Furthermore, in response to traversing all traffic time windows within the continuous traffic window range, the proof node determines the final generated cumulative chain root as the cumulative chain root of the continuous traffic window range. At this point, all state transitions within the continuous traffic window range are accumulated onto the same chain root. The cumulative chain root of the continuous traffic window range is used to ensure that the state transitions within the continuous traffic window range satisfy state boundary continuity and window declaration digest continuity; that is, each recursion on the chain root is based on the previously confirmed state root, thereby forming a progressive and immutable verifiable chain of evidence from the starting window to the ending window.

[0108] This embodiment introduces a chain root hash function to iteratively fold the window declaration digests of multiple consecutive traffic time windows, forming a continuous chain of evidence with temporal correlation for the state transitions of all windows on the chain. Compared to schemes that only prove the state transition of a single window, this cumulative chain root can support long-term traffic situation tracking and cross-time period state consistency verification. Furthermore, the generation of this cumulative chain root only relies on the successive folding of each window declaration digest, without requiring the storage of massive amounts of original traffic data on the chain, ensuring efficient utilization of on-chain resources. External verifiers can verify the final cumulative chain root to confirm the integrity and continuity of state transitions over the entire continuous time range at once, improving the system's auditing efficiency and data credibility.

[0109] In some preferred embodiments, the disputed evidence root group in the window input data includes at least one of omitted evidence root, excluded evidence root, non-member proof root, and disputed root; the method further includes: receiving a dispute request for a target traffic window; in response to the dispute request, obtaining the disputed evidence root group corresponding to the target traffic window from the window input data of the target traffic window, and determining the evidence branches in the disputed evidence root group as evidence branches to be reviewed; reviewing the state transition of the target traffic window based on the vehicle signature, authorized member path, non-member proof, or omitted proof in the evidence branches to be reviewed; wherein, during the review process, vehicle report data and roadside unit observation data not from the target traffic window, as well as evidence branch data not from the target traffic window, are not disclosed.

[0110] In practice, this embodiment further adds a specific process for dispute review based on the above embodiment.

[0111] The disputed evidence root group E in the window input data t Including the omission root of evidence t Exclusion Root t Non-MembershipRoot t and disputeRoot t At least one of the following. In a distributed vehicle-road-cloud collaborative scenario, when the traffic state transition results registered on the blockchain raise questions, how to accurately locate and verify the disputed local information without exposing all the original traffic data is a key challenge in achieving fair adjudication and maintaining data privacy. This embodiment achieves both refined dispute handling and privacy protection through a branch location and targeted verification mechanism for the root group of disputed evidence. The specific implementation method is as follows: Receive dispute requests for the target traffic window. These requests are submitted by challengers, typically authorized auditors, validators, or affected nodes within the system. The dispute request includes the window number identifying the target traffic window and a description of the specific type of dispute, such as indicating an invalid signature on a vehicle report or an incomplete path for an authorized member.

[0112] Furthermore, in response to the dispute request, the proof node obtains the root set of disputed evidence E corresponding to the target traffic window from the window input data of the target traffic window. t The evidence branches within the disputed evidence root group E are then identified as evidence branches to be reviewed. tThis is a root set predefined and hash-committed from the window input data received in Example 1. Using this root set, the system can locate the specific evidence root matching the dispute type. For example, if the dispute type is "invalid vehicle signature," then the missing evidence root or excluded evidence root branch in the corresponding dispute evidence root set is opened; if the dispute type is "the vehicle is not in the authorized set," then the corresponding non-member proof root branch is opened. After using the aforementioned determined evidence branches as evidence branches to be reviewed, the proof node can accurately review the state transition of the target traffic window based on the vehicle signature, authorized member path, non-member proof, or missing proof in the evidence branches to be reviewed.

[0113] Furthermore, during the review process, the proving node strictly controls data privacy, not disclosing vehicle report data and roadside unit observation data from outside the target traffic window, nor evidence branch data from outside the target traffic window. In other words, the review operation only discloses or verifies the designated disputed evidence branch within the target traffic window; other undisputed traffic windows and vehicle data within the target window not designated for review are not exposed or transmitted during the review process. This design strictly limits the scope of dispute review to the minimum necessary evidence branch, avoiding privacy leaks of global traffic data due to disputed events, while also making the review operation highly targeted and convergent. After the review is completed, the proving node records the review conclusion (e.g., dispute established or dispute not established) and the corresponding ruling result through an on-chain state registration contract for subsequent state finalization or rollback operations.

[0114] This embodiment uses the root group of disputed evidence E t Different evidence roots (including omitted evidence roots, excluded evidence roots, non-member proof roots, and disputed roots) pre-classify and hash potential dispute types, allowing the review operation to precisely target specific evidence branches without re-examining all traffic data. During the review process, only the disputed evidence branch of the target traffic window is opened; vehicle data from non-target windows or other undisputed areas remain sealed, effectively protecting the system's data privacy and operational security. Furthermore, the review is based on vehicle signatures, authorized member paths, non-member proofs, or omitted proofs within the evidence branches to be reviewed, ensuring that the substantive evidence in the review process originates from existing credible input data, rather than unverified new evidence, thus enhancing the accuracy and credibility of the ruling.

[0115] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

[0116] Please see Figure 2 ,Figure 2 This is a schematic block diagram of a computer device provided in an embodiment of this application. The computer device 500 can be a terminal or a server, wherein the server can be a standalone server or a server cluster composed of multiple servers.

[0117] The computer device 500 includes a processor 502, a memory, and a network interface 505 connected via a system bus 501. The memory may include a non-volatile storage medium 503 and internal memory 504.

[0118] The non-volatile storage medium 503 can store an operating system 5031 and a computer program 5032. When the computer program 5032 is executed, it causes the processor 502 to execute a fixed-capacity recursive state transition proof method for dynamic windows.

[0119] The processor 502 provides computing and control capabilities to support the operation of the entire computer device 500.

[0120] The internal memory 504 provides an environment for the execution of the computer program 5032 in the non-volatile storage medium 503. When the computer program 5032 is executed by the processor 502, the processor 502 can execute a dynamic window fixed-capacity recursive state transition proof method.

[0121] The network interface 505 is used for network communication with other devices. Those skilled in the art will understand that the above structure is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device 500 to which the present application is applied. A specific computer device 500 may include more or fewer components than shown in the figures, or combine certain components, or have different component arrangements.

[0122] The processor 502 is used to run a computer program 5032 stored in the memory to implement the steps of a fixed-capacity recursive state transition proof method for a dynamic window provided in any of the above method embodiments.

[0123] It should be understood that in the embodiments of this application, the processor 502 may be a central processing unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.

[0124] It will be understood by those skilled in the art that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program may be stored in a storage medium, which is a computer-readable storage medium. The computer program is executed by at least one processor in the computer system to implement the process steps of the embodiments of the above methods.

[0125] Therefore, the present invention also provides a storage medium. This storage medium can be a computer-readable storage medium. The storage medium stores a computer program. When executed by a processor, the computer program causes the processor to perform the steps of a fixed-capacity recursive state transition proof method for a dynamic window provided in any of the above method embodiments.

[0126] The storage medium is a physical, non-transient storage medium, such as a USB flash drive, external hard drive, read-only memory (ROM), magnetic disk, or optical disk, or any other physical storage medium capable of storing program code. The computer-readable storage medium can be non-volatile or volatile.

[0127] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.

[0128] In the several embodiments provided by this invention, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For example, the division of each unit is merely a logical functional division, and there may be other division methods in actual implementation. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed.

[0129] The steps in the method of this invention can be adjusted, merged, or reduced in order according to actual needs. The units in the device of this invention can be merged, divided, or reduced according to actual needs. Furthermore, the functional units in the various embodiments of this invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0130] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, a terminal, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention.

[0131] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.

[0132] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, this invention is also intended to include these modifications and variations as long as they fall within the scope of the claims of this invention and their equivalents.

[0133] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A method for proving fixed-capacity recursive state transitions in a dynamic window, characterized in that, include: Receive window input data for the traffic time window and the status root of the previous window; The input data in the window is validated; In response to a successful verification, the vehicle report data in the window input data is grouped according to a preset fixed capacity to obtain an ordered sequence of sub-steps, each of which has the preset fixed capacity number of vehicle slots. The sub-proof of the corresponding sub-step is obtained by performing state transition calculations on each sub-step in the sub-step sequence through a pre-configured sub-proof circuit. The sub-proofs of each of the sub-steps are recursively merged to obtain the window recursive proof of the traffic time window; Based on the window recursive proof, the previous window state root, and the window input data, generate the current window state root and proof binding hash; Register the current window state root and the proof binding hash to the on-chain state registration contract.

2. The fixed-capacity recursive state transition proof method for dynamic windows according to claim 1, characterized in that, The validation of the input data in the window includes: The authenticity of the input data in the window is verified, including: verifying the vehicle identity, vehicle public key, and vehicle signature of the vehicle report data in the input data; and verifying the roadside unit identity, roadside unit public key, and roadside unit signature of the roadside unit observation data in the input data. The authorization verification of the window input data includes: verifying the authorized vehicle leaf and authorized roadside unit leaf in the authorization certificate root group of the window input data.

3. The fixed-capacity recursive state transition proof method for dynamic windows according to claim 1, characterized in that, The step of grouping the vehicle report data in the window input data according to a preset fixed capacity to obtain an ordered sequence of sub-steps includes: The vehicle report data is sorted to obtain a sorted vehicle report sequence; Based on the preset fixed capacity and the total number of vehicles in the sorted vehicle report sequence, the total number of sub-steps is calculated. If the total number of vehicles cannot be divided by the preset fixed capacity, the remaining vehicle slots in the last sub-step are filled, and a valid mask corresponding to the filled slots in the last sub-step is generated. The valid mask is used to identify the real vehicle slots and the filled slots. The filled slots are not included in the statistical calculation of vehicle quantity, speed, congestion level, or traffic status. The sorted vehicle report sequence is divided into sub-steps of the total number of sub-steps to obtain an ordered sub-step sequence.

4. The fixed-capacity recursive state transition proof method for dynamic windows according to claim 1, characterized in that, The step of performing state transition calculations on each sub-step in the sub-step sequence through a pre-configured sub-proof circuit to obtain the sub-proof for the corresponding sub-step includes: Based on the scheduling parameter signals in the window input data, generate dynamic scheduling parameter output; The vehicle report data of the currently traversed sub-step, the intermediate state of the previous sub-step in the sub-step sequence, and the output of the dynamic scheduling parameters are input to the pre-configured sub-proof circuit to obtain the intermediate state of the currently traversed sub-step and generate the sub-proof of the currently traversed sub-step.

5. The fixed-capacity recursive state transition proof method for dynamic windows according to claim 4, characterized in that, The process of generating the current window state root and proof binding hash based on the window recursive proof, the previous window state root, and the window input data includes: Based on the vehicle report data and roadside unit observation data in the window input data, generate vehicle root, roadside unit observation root and window statistical summary; Based on the scheduling parameter signals in the window input data and the dynamic scheduling parameter output, the scheduling decision result is determined, and a signal scheme root is generated based on the scheduling decision result; Based on the vehicle root, the roadside unit observation root, and the roadside unit observation data, a roadside unit state root is generated; Based on the vehicle root, the roadside unit observation root, the authorization proof root group in the window input data, the signal scheme root, the roadside unit state root, and the disputed evidence root group in the window input data, a component root tuple is constructed; The current window state root is obtained by hashing the previous window state root, the window recursive proof, the component root tuple, the timestamp of the traffic time window, and the area identifier of the traffic time window using a state hash function. Generate a bridging statement, which includes the window range of the traffic time window, the root state of the previous window, the root state of the current window, the window recursive proof, and the window statistical summary; The bridging declaration is hashed to obtain a bridging digest; The bridging digest is bound to the window recursive proof through a binding hash process to obtain the proof binding hash; Based on the regional identifier of the traffic time window, the start and end window numbers in the bridging declaration, the root state of the previous window, and the root state of the current window, an on-chain transfer identifier is generated using a hash algorithm.

6. The fixed-capacity recursive state transition proof method for dynamic windows according to claim 1, characterized in that, The method further includes: Based on the preset scheduling strategy and the scheduling parameter signals in the window input data, a dynamic scheduling parameter output is generated. The scheduling parameter signal, the dynamic scheduling parameter output, and the policy hash corresponding to the preset scheduling policy are encoded and hashed to obtain a scheduling commitment. The scheduling commitment is used to bind the scheduling parameter signal, the dynamic scheduling parameter output, and the preset scheduling policy.

7. The method for proving the fixed-capacity recursive state transition of a dynamic window according to claim 1, characterized in that, After registering the current window state root and the proof binding hash to the on-chain state registration contract, the method further includes: Receive the verification signature submitted by the external verifier after verifying the window recursive proof based on the bridging digest and the proof binding hash; Determine whether the number of verified signatures has reached a preset threshold; If the number of verification signatures reaches the preset threshold, then the state transition of the traffic time window is determined to be finalized. If the number of verification signatures does not reach the preset threshold, the registered status is maintained and the system waits for new verification signatures.

8. The method for proving the fixed-capacity recursive state transition of a dynamic window according to claim 1, characterized in that, For continuous traffic window ranges, the method further includes: Obtain the window declaration summary for each traffic time window within the continuous traffic window range; For each traffic time window within the continuous traffic window range, according to the time order of the traffic windows, the current cumulative chain root and the window declaration digest of the current traffic time window are hashed using the chain root hash function to generate the updated cumulative chain root corresponding to the current traffic time window, and the updated cumulative chain root is used as the current cumulative chain root of the next traffic time window. In response to traversing all traffic time windows within the continuous traffic window range, the final generated cumulative root chain is determined as the cumulative root chain within the continuous traffic window range; The cumulative chain root of the continuous traffic window range is used to ensure that the state transitions within the continuous traffic window range satisfy the continuity of state boundaries and the continuity of window declaration summary.

9. The method for proving the fixed-capacity recursive state transition of a dynamic window according to claim 1, characterized in that, The disputed evidence root group in the window input data includes at least one of omitted evidence roots, excluded evidence roots, non-member proof roots, and disputed roots; the method further includes: Receive dispute requests for the target traffic window; In response to the dispute request, the root group of disputed evidence corresponding to the target traffic window is obtained from the window input data of the target traffic window, and the evidence branch in the root group of disputed evidence is determined as the evidence branch to be reviewed. Based on the vehicle signatures, authorized member paths, non-member proofs, or omission proofs in the evidence branch to be reviewed, the state transition of the target traffic window is reviewed. During the review process, vehicle report data and roadside unit observation data from non-target traffic windows, as well as evidence branch data from non-target traffic windows, will not be disclosed.

10. A computer device, characterized in that, The computer device includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the method as described in any one of claims 1-9.