A data processing method and system for government affairs service

By identifying jitter-related USB drives and government business events in government self-service terminals, forming a disturbance chain and its identifier, the problem of correlation analysis between interface state changes and business execution processes is solved, enabling clear classification and secure transmission of government data, and improving the reliability and security of government services.

CN122333554APending Publication Date: 2026-07-03HAINAN LIAOSHI TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
HAINAN LIAOSHI TECHNOLOGY CO LTD
Filing Date
2026-04-08
Publication Date
2026-07-03

AI Technical Summary

Technical Problem

Existing technologies lack a mechanism to correlate interface state changes with specific government business execution processes, resulting in the mixing of abnormal dumped data with normal government data, which affects the reliability of government services and data security.

Method used

By extracting jitter-related USB events and government business events from USB events of government self-service terminals, a disturbance chain and its identifier are formed, a disturbance chain pointing label is defined, and government data units are classified to form disturbance-related and secure government data units, and finally a government service data view is constructed.

Benefits of technology

It establishes a clear correspondence between interface state changes and the execution process of government affairs, clearly distinguishes between data generated under abnormal conditions and data generated under stable conditions, improves the reliability and controllability of government data processing, and reduces the risks in data transmission and use.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122333554A_ABST
    Figure CN122333554A_ABST
Patent Text Reader

Abstract

This invention discloses a data processing method and system for government services, relating to the field of data transmission technology. The method includes: obtaining jitter-related USB events from USB events of a government self-service terminal; obtaining jitter-related government business events from government business events of the government self-service terminal based on the jitter-related USB events; obtaining a disturbance chain based on the jitter-related USB events and the jitter-related government business events, and determining the identifier of the disturbance chain; defining a target disturbance chain based on the identifier of the disturbance chain, and obtaining a disturbance chain pointing label; classifying all government data units according to the disturbance chain pointing label to obtain disturbance-related government data units and secure government data units. This invention improves the reliability and controllability of the government data processing process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data transmission technology, and in particular to a data processing method and system for government services. Background Technology

[0002] With the continuous improvement of the informatization level of government services, government service halls, self-service areas, and other venues have widely deployed government self-service terminals to provide self-service government services such as certificate issuance, inquiry, business pre-approval, and result printing. These terminals typically integrate multiple peripheral interfaces, connecting to hardware units such as card readers, printers, and scanners via USB interfaces. During the user's government service process, the terminal needs to simultaneously complete identity verification, business processing, data generation, and result output. Government services are executed continuously within the terminal in the form of business events, generating a large number of government data units during execution. These data units need to be processed, transmitted, and displayed according to the business sequence. The government self-service terminal also continuously records the status changes of the USB interfaces during operation to reflect the peripheral connection and operation status, thereby ensuring the overall stability of the terminal and the continuity of government services.

[0003] In actual operation environments, since government self-service terminals are often located in public places, the dust cover or sealing parts near the USB interface are prone to repeated changes in the interface connection status in a short period of time due to slight displacement, rebound or contact changes. This status change may trigger abnormal dumping record behavior inside the terminal while government business is being executed, thereby generating and retaining abnormal dumping data.

[0004] Existing technologies typically treat abnormal dump data only as operation and maintenance information, lacking a mechanism to correlate interface status changes with specific government business execution processes. This leads to the mixing of some government data generated during periods of abnormal interface status with normal business data, which in turn introduces potential data security risks during subsequent data transmission, display, or storage, affecting the reliability of government service results and the security of data use. Summary of the Invention

[0005] The purpose of this invention is to address the shortcomings of existing technologies that lack a mechanism for correlating interface state changes with specific government business execution processes, and to propose a data processing method and system for government services.

[0006] To address the problems existing in the prior art, the present invention adopts the following technical solution:

[0007] A data processing method for government services includes:

[0008] S1. Obtain jitter-related USB events from the USB events of the government self-service terminal;

[0009] S2. Obtain jitter-related government service events from the government service events of the government self-service terminal based on jitter-related USB events;

[0010] S3. Obtain the disturbance chain based on jitter-related USB events and jitter-related government affairs events, and determine the identifier of the disturbance chain;

[0011] S4. Define the target perturbation chain based on the identifier of the perturbation chain, and obtain the perturbation chain pointing label;

[0012] S5. Classify all government data units according to the disturbance chain pointing label to obtain disturbance-related government data units and secure government data units;

[0013] S6. Obtain a government service data view based on the secure government data unit.

[0014] Preferably, the jitter-related USB events are obtained from the USB events of the government self-service terminal, including:

[0015] Acquire multiple USB events generated by the USB interface in the government self-service terminal; wherein, the USB event includes USB event sequence number, USB interface status, USB interface identifier and USB event time information;

[0016] Based on the USB interface status, USB interface identifier, and USB event time information, all USB events are classified and processed to obtain jitter-related USB events and non-jitter USB events.

[0017] Preferably, jitter-related government service events are obtained from government service events of the government self-service terminal based on jitter-related USB events, including:

[0018] Retrieve multiple government service events generated during the execution of government services in government self-service terminals; each government service event includes a service event number and a service event time range.

[0019] Based on the USB event time information and business event time range of jitter-related USB events, all government business events are classified and processed to obtain jitter-related government business events and non-jitter-related government business events.

[0020] Preferably, the disturbance chain is obtained based on jitter-related USB events and jitter-related government affairs events, and the identifier of the disturbance chain is determined, including:

[0021] Based on the temporal order of jitter-related USB events, jitter-related USB events that occur consecutively in time and have the same USB interface identifier are divided into at least one consecutive jitter segment;

[0022] The USB event number of the earliest jitter-related USB event within the continuous jitter segment is used as the starting USB event number.

[0023] The USB event number of the latest jitter-related USB event within the continuous jitter segment is used as the termination USB event number.

[0024] Based on the time interval of the business events related to jitter and the time interval corresponding to the continuous jitter segments, all continuous jitter segments are filtered to obtain the disturbance chain;

[0025] Combine the start USB event number and the end USB event number into an ordered pair;

[0026] Ordered pairs are used as identifiers for perturbation chains.

[0027] Preferably, defining the target perturbation chain based on the identifier of the perturbation chain includes:

[0028] When an abnormal dump trigger condition is detected in the government self-service terminal, the abnormal dump object generated by the operating system of the government self-service terminal is obtained;

[0029] When an abnormal dump object is generated, the business event sequence number and USB event sequence number corresponding to the abnormal dump object are determined.

[0030] Define the USB event sequence number corresponding to the abnormal dump object as the current USB event sequence number;

[0031] Determine the perturbation chain corresponding to the current USB event number based on the start USB event number and end USB event number defined by the perturbation chain identifier.

[0032] Define the perturbation chain corresponding to the current USB event number as the target perturbation chain.

[0033] Preferably, the perturbation chain pointing label is obtained, including:

[0034] Define the business event sequence number corresponding to the abnormal dump object as the current business event sequence number;

[0035] The current business event sequence number, the current USB event sequence number, and the identifier of the target perturbation chain are combined to obtain the perturbation chain pointing label of the abnormal dump object.

[0036] Preferably, all government data units are classified according to the disturbance chain pointing label to obtain disturbance-related government data units and security government data units, including:

[0037] When any government business event generates a government data unit, the business event number and USB event number corresponding to the government data unit are recorded;

[0038] The business event sequence number and USB event sequence number corresponding to the government data unit are combined into a dual-sequence tag for the government data unit;

[0039] Based on the dual-sequence label and perturbation chain pointing label of the government data unit, all government data units are classified to obtain perturbation-related government data units and secure government data units.

[0040] Preferably, a government service data view is obtained based on secure government data units, including:

[0041] Sort all secure government data units to obtain a secure data unit sequence;

[0042] The secure data unit sequence is transmitted to the view generation module through a secure data transmission link to obtain the government service data view.

[0043] To address the above problems, the present invention also provides a data processing system for government services, the system comprising:

[0044] The USB jitter module is used to obtain jitter-related USB events from the USB events of the government self-service terminal;

[0045] The business jitter module is used to obtain jitter-related government business events from the government self-service terminal based on jitter-related USB events;

[0046] The perturbation chain module is used to obtain the perturbation chain based on jitter-related USB events and jitter-related government affairs events, and to determine the identifier of the perturbation chain;

[0047] The label pointing module is used to define the target perturbation chain based on the identifier of the perturbation chain and obtain the perturbation chain pointing label;

[0048] The data classification module is used to classify all government data units according to the perturbation chain pointing label to obtain perturbation-related government data units and security government data units;

[0049] The view generation module is used to obtain government service data views based on secure government data units.

[0050] Compared with the prior art, the beneficial effects of the present invention are:

[0051] 1. This invention unifies and correlates USB events and government business events generated during the operation of government self-service terminals, establishing a clear correspondence between interface state changes and specific government business execution processes in the time dimension. It can accurately identify the continuous time intervals in which business execution actually occurs during repeated interface state changes, and form a disturbance chain and its identifier. Instead of viewing abnormal dump data or single interface events in isolation, it starts from the overall operation process and clearly depicts the scope of the impact of interface state changes on government business execution, thereby effectively solving the problems of unclear abnormal dump background and difficulty in defining the impact boundary in the prior art.

[0052] 2. Based on the perturbation chain, this invention introduces dual-sequence tags and perturbation chain pointing tags to differentiate and process all government data units generated during the execution of government business. It clearly distinguishes between data generated under abnormal interface conditions and data generated under stable interface conditions, forming perturbation-related government data units and secure government data units. This prevents data generated under abnormal conditions from being mixed with normal business data and entering the subsequent processing flow, avoiding interference from abnormally dumped data on government service results, thereby improving the reliability and controllability of the government data processing process.

[0053] 3. This invention constructs a government service data view based solely on secure government data units, and transmits, displays, and outputs data through a secure data transmission link. This ensures that the data sources entering the transmission link and output stages are clear and the boundaries are well-defined, effectively reducing the risk of data being affected by abnormal operating environments during transmission and use. Attached Figure Description

[0054] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this application, illustrate exemplary embodiments of the invention and, together with their description, serve to explain the invention and do not constitute an undue limitation thereof. In the drawings:

[0055] Figure 1 This is a flowchart illustrating a data processing method for government services according to an embodiment of the present invention.

[0056] Figure 2 This is a functional block diagram of a data processing system for government services provided in an embodiment of the present invention. Detailed Implementation

[0057] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments.

[0058] Example: This example provides a data processing method for government services. See [link to example]. Figure 1 Specifically, including:

[0059] S1. Obtain jitter-related USB events from the USB events of the government self-service terminal;

[0060] In an embodiment of the present invention, obtaining jitter-related USB events from the USB events of the government self-service terminal includes:

[0061] Acquire multiple USB events generated by the USB interface in the government self-service terminal; wherein, the USB event includes USB event sequence number, USB interface status, USB interface identifier and USB event time information;

[0062] It should be noted that USB is a universal interface for data transfer and power supply between electronic devices. It enables communication between the terminal and external devices through physical connection. In government self-service terminals, it is mainly used to connect external hardware units such as card readers, printers, and scanners.

[0063] USB events refer to system-recorded information generated in government self-service terminals due to changes in the electrical connection or communication status of the USB interface. These events reflect the state changes experienced by the USB interface during actual operation.

[0064] USB event sequence number refers to the sequential identifier assigned to each USB event according to the order in which they occur, reflecting the chronological relationship of each USB event on the timeline; USB interface status refers to the working state of the USB interface at a certain moment, which is determined by the electrical connection status and communication feedback status of the interface, reflecting whether the interface is in a normal working, abnormal, or recovered state; USB interface identifier refers to the identification information used to distinguish different USB interfaces or different physical connection locations, which corresponds to the specific physical interface location and is used to determine the specific interface from which the USB event originated; USB event time information refers to the time record corresponding to the occurrence of the USB event, reflecting the time position of the USB event during the terminal's operation.

[0065] Specifically, during the operation of the government self-service terminal, the terminal's main control unit continuously monitors the working process of the USB interface. When the electrical connection status or communication status of the USB interface changes, the operating system kernel or device management module generates corresponding USB event record information and assigns a USB event sequence number that increments sequentially. Simultaneously, the operating system kernel or device management module reads the interface status information corresponding to the changed USB interface to characterize the working state of the USB interface at that moment, and reads the interface identification information of the USB interface in the terminal to determine the specific physical interface location that generated the USB event. While generating the USB event record information, the operating system kernel or device management module obtains the current system time and writes this system time as the USB event time information into the USB event record. Finally, through the above method, multiple USB event records are sequentially formed in the government self-service terminal, resulting in multiple USB events generated by the USB interface. Each USB event includes a corresponding USB event sequence number, USB interface status, USB interface identification, and USB event time information.

[0066] Based on the USB interface status, USB interface identifier, and USB event time information, all USB events are classified and processed to obtain jitter-related USB events and non-jitter USB events.

[0067] It should be noted that jitter-related USB events refer to USB events recorded by the system when physical components near the USB interface in a government self-service terminal experience slight displacement, loosening of contact, or changes in rebound, resulting in multiple changes in the electrical connection state of the USB interface within a short period of time. These USB events typically manifest as continuous changes in interface state under the same USB interface identifier, reflecting the repeated changes in the interface connection under an unstable state, and have no direct correlation with explicit operations such as device insertion or removal.

[0068] Specifically, after obtaining multiple USB events, the USB events are arranged chronologically according to their timing information, and grouped based on their USB interface identifiers, so that USB events belonging to the same USB interface identifier are grouped into the same event sequence. Subsequently, in each event sequence, the USB interface status and USB event timing information of the corresponding USB event are read one by one. USB events that occur consecutively in time and whose USB interface identifiers remain consistent are identified, and the interface status changes of these USB events are compared. When it is found that the interface status of the same USB interface changes repeatedly in adjacent USB events without being accompanied by changes in the interface identifier corresponding to device insertion or removal, the consecutively occurring USB events are identified as jitter-related USB events. The remaining USB events that do not belong to the above-mentioned consecutive state change situation are identified as non-jitter USB events.

[0069] S2. Obtain jitter-related government service events from the government service events of the government self-service terminal based on jitter-related USB events;

[0070] In embodiments of the present invention, obtaining jitter-related government service events from government service events of a government self-service terminal based on jitter-related USB events includes:

[0071] Retrieve multiple government service events generated during the execution of government services in government self-service terminals; each government service event includes a service event number and a service event time range.

[0072] It should be noted that a government service event refers to a record of the business processing process generated within the system during the operation of a government self-service terminal to complete a specific government matter. This event reflects the actual operation process that occurs when the terminal executes the business process. The service event sequence number refers to the sequence identifier assigned to each government service event according to the order in which they occur, used to indicate the sequential relationship of each government service event in the business process. The service event time interval refers to the time range corresponding to the start and end of a certain government service event, used to reflect the duration of the government service event during the terminal's operation.

[0073] Specifically, during the operation of the government self-service terminal, when a user initiates a government service transaction through the terminal, the terminal's business processing system executes the transaction step by step according to a predetermined business process. During this process, each actual transaction is recorded. When a transaction begins, the system records its start time; when it completes, it records its end time. The start and end times together form the time interval for the corresponding business event. Simultaneously, the system assigns an incrementing business event number to each recorded transaction, representing the sequential relationship of each event within the terminal's execution process. Through this method, multiple government business events are sequentially generated within the self-service terminal, resulting in multiple government business events generated during the execution of government services. Each government business event includes a corresponding event number and a time interval.

[0074] Based on the USB event time information and business event time range of jitter-related USB events, all government business events are classified and processed to obtain jitter-related government business events and non-jitter-related government business events.

[0075] It should be noted that jitter-related government service events refer to government service events generated during the execution of government services in government self-service terminals. These events overlap with jitter-related USB events within their time frame, indicating that the execution of the government service event occurs simultaneously with the interface state change caused by slight physical displacement or contact variations of the USB interface. This reflects the execution of the government service event under unstable USB interface connection conditions. Non-jitter-related government service events, on the other hand, refer to government service events whose time frame does not overlap with any jitter-related USB events, indicating that the execution of these events is not affected by USB interface jitter.

[0076] Specifically, the process reads the USB event time information corresponding to each jitter-related USB event and determines the occurrence time of the jitter-related USB event during the operation of the government self-service terminal based on the USB event time information. Subsequently, the process reads the business event time interval corresponding to each government business event one by one and compares the business event time interval of each government business event with the USB event time information of the jitter-related USB events. When the business event time interval of a government business event contains or covers the occurrence time of at least one jitter-related USB event, the government business event is identified as a jitter-related government business event. When the business event time interval of a government business event does not contain the occurrence time of any jitter-related USB event, the government business event is identified as a non-jitter government business event.

[0077] S3. Obtain the disturbance chain based on jitter-related USB events and jitter-related government affairs events, and determine the identifier of the disturbance chain;

[0078] In embodiments of the present invention, a disturbance chain is obtained based on jitter-related USB events and jitter-related government affairs events, and the identifier of the disturbance chain is determined, including:

[0079] Based on the temporal order of jitter-related USB events, jitter-related USB events that occur consecutively in time and have the same USB interface identifier are divided into at least one consecutive jitter segment;

[0080] It should be noted that the continuous jitter segment refers to the continuous state change process formed when the same USB interface repeatedly changes its connection state over a continuous period of time due to slight displacement, rebound, or loosening of nearby physical components during the operation of the government self-service terminal. This process reflects the actual operating state of the USB interface under unstable contact conditions.

[0081] Specifically, firstly, the jitter-related USB events are sorted according to their corresponding time information, so that they are arranged in chronological order. Then, the USB interface identifier is used as the grouping criterion, and jitter-related USB events with the same USB interface identifier are grouped into the same event sequence. In each event sequence, the USB event time information of adjacent jitter-related USB events is read sequentially, and jitter-related USB events that occur consecutively in time are merged. When no other jitter-related USB events with different USB interface identifiers are detected between adjacent jitter-related USB events, this part of the jitter-related USB events is divided into the same continuous jitter segment. When the USB interface identifier changes or the time sequence is interrupted by other jitter-related USB events, the current continuous jitter segment ends and a new continuous jitter segment begins. In this way, jitter-related USB events that occur consecutively in time and have the same USB interface identifier are divided into at least one continuous jitter segment.

[0082] The USB event number of the earliest jitter-related USB event within the continuous jitter segment is used as the starting USB event number.

[0083] Specifically, all jitter-related USB events belonging to the continuous jitter segment are acquired, and the jitter-related USB events are arranged in chronological order according to the USB event time information, so that each jitter-related USB event is arranged in the order in which it actually occurred. Then, from the arranged jitter-related USB events, the USB event number corresponding to each jitter-related USB event is read in sequence, and the first USB event number read is determined as the starting USB event number corresponding to the continuous jitter segment. This starting USB event number is used to characterize the starting position of the continuous jitter segment in the USB event sequence, thereby completing the determination of the starting USB event number of the continuous jitter segment.

[0084] The USB event number of the latest jitter-related USB event within the continuous jitter segment is used as the termination USB event number.

[0085] Specifically, based on the jitter-related USB events within the same continuous jitter segment, the jitter-related USB events are read sequentially according to the USB event time information, and the corresponding USB event sequence number is obtained one by one. During the reading process, the USB event sequence number corresponding to the last jitter-related USB event read is determined as the termination USB event sequence number corresponding to the continuous jitter segment. This termination USB event sequence number is used to characterize the end position of the continuous jitter segment in the USB event sequence, thereby completing the determination of the termination USB event sequence number of the continuous jitter segment.

[0086] It should be noted that the starting USB event number refers to the event number corresponding to the earliest jitter-related USB event within the continuous jitter segment, which is used to characterize the position of the start time of the continuous jitter segment in the USB event sequence; the ending USB event number refers to the event number corresponding to the latest jitter-related USB event within the continuous jitter segment, which is used to characterize the position of the end time of the continuous jitter segment in the USB event sequence.

[0087] Based on the time interval of the business events related to jitter and the time interval corresponding to the continuous jitter segments, all continuous jitter segments are filtered to obtain the disturbance chain;

[0088] It should be noted that the disturbance chain refers to the continuous correlation formed when the government self-service terminal performs business operations simultaneously during the continuous jitter period, so that the continuous state change process of the USB interface and the government business execution process exist simultaneously and overlap in time. This process reflects the time span during which the unstable state of the interface connection has a continuous impact on the government business operation environment.

[0089] Specifically, the time interval corresponding to each consecutive jitter segment is read one by one. This time interval is determined by the earliest and latest jitter-related USB event time information within the consecutive jitter segment. Then, the business event time interval corresponding to each jitter-related government business event is read one by one, and the business event time interval is compared with the time interval corresponding to each consecutive jitter segment. When at least one business event time interval overlaps with the time interval corresponding to a certain consecutive jitter segment, it is determined that the consecutive jitter segment and the government business execution process coexist, and the consecutive jitter segment is retained. When the time interval corresponding to a certain consecutive jitter segment does not overlap with any business event time interval, the consecutive jitter segment is excluded. Through the above method, all consecutive jitter segments are screened one by one, and finally, the consecutive jitter segments that overlap with the jitter-related government business events in time are determined as the disturbance chain.

[0090] Combine the start USB event number and the end USB event number into an ordered pair;

[0091] Ordered pairs are used as identifiers for perturbation chains.

[0092] Specifically, after determining the start and end USB event numbers corresponding to the continuous jitter segment, the start and end USB event numbers corresponding to the continuous jitter segment are read sequentially. The start USB event number is placed first, followed by the end USB event number, according to the order in which the events occurred, forming an ordered data pair. This ordered data pair is used to completely represent the start and end range of the continuous jitter segment in the USB event sequence. After completing the combination of the ordered data pairs, this ordered data pair is saved as a unique identifier for the continuous jitter segment, ensuring that each continuous jitter segment corresponds to a specific identifier. This realizes the mapping relationship from continuous jitter segments to disturbance chain identifiers, allowing the disturbance chain to be identified, referenced, and distinguished in subsequent processing, ensuring the continuity and traceability of the disturbance chain throughout the entire data processing flow.

[0093] During the operation of government self-service terminals, slight displacement, rebound, or contact changes in the USB interface dust cover or sealing components can easily cause the USB interface connection status to change repeatedly within a short period of time. This triggers the terminal's internal recording behavior for abnormal operating states, generating and retaining abnormal dump data even without any explicit device insertion or removal. This abnormal dump data often occurs during the execution of government services. Relying solely on a single USB event or a single government service event makes it difficult to accurately define the actual business scope and impact boundaries corresponding to the abnormal dump data. It is necessary to analyze both jitter-related USB events and jitter-related government service events simultaneously. By identifying the temporal correspondence between the two, the time intervals in which the interface status changes repeatedly and coexist with the government service execution process can be linked together to form a disturbance chain that reflects the overlapping relationship between interface anomalies and business execution. By assigning clear identifiers to the disturbance chain, the background of the abnormal dump data generation, the related business scope, and the impact range can be clearly and traceably located.

[0094] S4. Define the target perturbation chain based on the identifier of the perturbation chain, and obtain the perturbation chain pointing label;

[0095] In embodiments of the present invention, defining a target perturbation chain based on the identifier of the perturbation chain includes:

[0096] When an abnormal dump trigger condition is detected in the government self-service terminal, the abnormal dump object generated by the operating system of the government self-service terminal is obtained;

[0097] It should be noted that the abnormal dump trigger condition refers to the triggering situation formed when the government self-service terminal detects an abnormal change in the interface connection status or operation status during operation. This situation reflects an abnormal state in the terminal's operating environment. The abnormal dump object refers to the operation status record data generated and stored internally by the terminal when the above triggering situation occurs, which is used to reflect the interface status and related operation information at the time of the abnormality.

[0098] Specifically, during the operation of the government self-service terminal, the terminal's operating system continuously monitors the terminal's operating status and the interface's operating status. When an abnormal state change is detected during operation, the operating system determines that the abnormal dump triggering condition has been met and initiates the abnormal dump generation process. In this process, the operating system organizes the relevant operating information under the current operating status and generates corresponding abnormal dump data, while simultaneously forming an independent abnormal dump object for this abnormal dump data. The government self-service terminal reads the execution result of the abnormal dump generation process to obtain the abnormal dump object generated and stored by the operating system, thereby completing the acquisition operation of the abnormal dump object within the government self-service terminal.

[0099] When an abnormal dump object is generated, the business event sequence number and USB event sequence number corresponding to the abnormal dump object are determined.

[0100] Specifically, when an abnormal dump object is generated by the operating system of the government self-service terminal, the terminal synchronously records the time point of the abnormal dump object's generation. Using this time point as a reference, it reads backward the government business event information already recorded during the execution of government business, searches for the government business event that is being executed or recently completed at that time point, and obtains the business event sequence number corresponding to that government business event. At the same time, the terminal reads backward the USB event record sequence, searches for the USB interface status change record corresponding to the time point of the abnormal dump object's generation, and obtains the USB event sequence number corresponding to that USB interface status change record.

[0101] Define the USB event sequence number corresponding to the abnormal dump object as the current USB event sequence number;

[0102] It should be noted that the current USB event number refers to the USB event number corresponding to the time point when the abnormal dump object was generated, which is used to reflect the position of the USB interface state change at the time when the abnormal dump object was generated.

[0103] Determine the perturbation chain corresponding to the current USB event number based on the start USB event number and end USB event number defined by the perturbation chain identifier.

[0104] Specifically, after obtaining the identifiers of multiple perturbation chains, the starting USB event number and ending USB event number corresponding to the identifier of each perturbation chain are read one by one, and the starting USB event number and ending USB event number defined by the identifier of each perturbation chain are taken as the valid range of the perturbation chain in the USB event sequence. Then, the current USB event number corresponding to the abnormal dump object is read, and the current USB event number is compared with the range of USB event numbers defined by the identifiers of each perturbation chain one by one. When the current USB event number is between the starting USB event number and ending USB event number defined by the identifier of a certain perturbation chain, the perturbation chain corresponding to the identifier of that perturbation chain is determined to be the perturbation chain corresponding to the current USB event number.

[0105] Define the perturbation chain corresponding to the current USB event number as the target perturbation chain.

[0106] In an embodiment of the present invention, obtaining the perturbation chain pointing label includes:

[0107] Define the business event sequence number corresponding to the abnormal dump object as the current business event sequence number;

[0108] The current business event sequence number refers to the business event sequence number corresponding to the time point when the abnormal dump object was generated. It is used to indicate the specific business event that was being executed or recently completed when the abnormal dump object was generated.

[0109] Specifically, the process reads the business event sequence number corresponding to the abnormal dump object at the point of its generation. This business event sequence number originates from the business event records generated by the government self-service terminal during the execution of business operations. It is used to indicate the government business event that was being executed or recently completed when the abnormal dump object was generated. After reading, the business event sequence number corresponding to the abnormal dump object is explicitly assigned a value and recorded as the current business event sequence number. This ensures that the current business event sequence number can uniquely point to the business execution position at the time the abnormal dump object was generated, thereby completing the process of determining and defining the current business event sequence number.

[0110] The current business event sequence number, the current USB event sequence number, and the identifier of the target perturbation chain are combined to obtain the perturbation chain pointing label of the abnormal dump object.

[0111] The disturbance chain pointing label refers to the identification information formed by the combination of the current business event sequence number, the current USB event sequence number, and the identifier of the target disturbance chain. It is used to establish the correspondence between the abnormal dump object and the specific business execution process and the interface state change process.

[0112] Specifically, the current USB event sequence number corresponding to the time point of the abnormal dump object's generation is read, and the identifier of the target disturbance chain corresponding to the current USB event sequence number is obtained. The identifier of the target disturbance chain is used to represent a continuous interface state change process. Subsequently, the current business event sequence number, the current USB event sequence number, and the identifier of the target disturbance chain are combined according to a predetermined data order to form a unified identifier information. This identifier information is recorded as the disturbance chain pointing label of the abnormal dump object. The correspondence between the abnormal dump object and the specific business execution process and interface state change process is established through this disturbance chain pointing label.

[0113] S5. Classify all government data units according to the disturbance chain pointing label to obtain disturbance-related government data units and secure government data units;

[0114] In an embodiment of the present invention, all government data units are classified according to the disturbance chain pointing label to obtain disturbance-related government data units and secure government data units, including:

[0115] When any government business event generates a government data unit, the business event number and USB event number corresponding to the government data unit are recorded;

[0116] Specifically, when a government self-service terminal enters a government business event and begins generating government data during the execution of a business process, the terminal's business processing flow reads the business event sequence number corresponding to the currently executing government business event while generating the government data unit. This business event sequence number comes from the record information formed by the government business events in chronological order of occurrence. After completing the reading of the business event sequence number, it further reads the USB event sequence number corresponding to the time of generation of the government data unit. This USB event sequence number comes from the USB event record formed by the USB interface state changes in chronological order of occurrence and is used to reflect the event position of the USB interface when the government data unit is generated. Subsequently, the read business event sequence number and USB event sequence number are written together into the data record associated with the government data unit.

[0117] The business event sequence number and USB event sequence number corresponding to the government data unit are combined into a dual-sequence tag for the government data unit;

[0118] The dual-sequence tag refers to the identification information formed by combining the business event sequence number and the USB event sequence number corresponding to the government data unit, which is used to simultaneously represent the corresponding position of the government data unit in the business execution sequence and the USB interface state change sequence.

[0119] Specifically, the business event number and USB event number are read from the data records associated with the government data unit. The business event number and USB event number are combined sequentially to form a combined identification information that represents the generation background of the government data unit. The combined identification information is then associated with the corresponding government data unit, so that each government data unit corresponds to a dual-sequence tag composed of the business event number and the USB event number, thereby realizing the position marking of the government data unit during the business execution process and the USB interface state change process.

[0120] Based on the dual-sequence label and perturbation chain pointing label of the government data unit, all government data units are classified to obtain perturbation-related government data units and secure government data units.

[0121] It should be noted that "disturbance-related government data units" refer to government data units generated during the execution of business at government self-service terminals. The generation of these government data units corresponds to the continuous change in the USB interface connection status over time, indicating that the interface status was unstable in the terminal's operating environment when the data unit was formed. "Secure government data units" refer to government data units generated during the execution of business at government self-service terminals. The generation of these government data units does not correspond to the continuous change in the USB interface connection status over time, indicating that the terminal's operating environment was stable in the interface status when the data unit was formed.

[0122] Specifically, the dual-sequence tag corresponding to each government data unit and the disturbance chain pointing tag associated with the abnormal dump object are read one by one. The correspondence between the dual-sequence tag of each government data unit and the disturbance chain pointing tag is compared. When the business event number and USB event number in the dual-sequence tag of a government data unit correspond to the business event number and USB event number contained in the disturbance chain pointing tag, and the USB event number falls within the range of the start USB event number and end USB event number defined by the disturbance chain identifier, the government data unit is identified as a disturbance-related government data unit. When a government data unit does not meet the above correspondence, the government data unit is identified as a safe government data unit. Through the above processing method, all government data units are classified, thereby obtaining disturbance-related government data units and safe government data units.

[0123] It should be noted that, during the operation of the government self-service terminal, when the USB interface connection status changes repeatedly, abnormal dump data may be generated inside the terminal during the execution of government business. This results in the simultaneous existence of the abnormal interface status and the generation background of some government data, while the generation process of other government data is not affected by the interface status change. If the above two types of government data are not distinguished and processed, it is easy to cause abnormal dump data to be mixed with normal business data, thereby affecting the reliability of government service results and the security of data use.

[0124] By dividing all government data units into disturbance-related government data units and secure government data units, it is possible to clearly distinguish between data generated under abnormal interface conditions and data generated under stable interface conditions. This provides clear data boundaries for the output, storage, and transmission of subsequent government service data, and avoids adverse effects of data generated under abnormal conditions on normal government service processes.

[0125] S6. Obtain a government service data view based on the secure government data unit.

[0126] In an embodiment of the present invention, a government service data view is obtained based on a secure government data unit, including:

[0127] Sort all secure government data units to obtain a secure data unit sequence;

[0128] A secure government data unit sequence refers to the data arrangement result formed by arranging multiple secure government data units according to a predetermined business order, which is used to reflect the sequential relationship of secure government data in the business execution process.

[0129] Specifically, the business event sequence number in the dual-sequence tag corresponding to each secure government data unit is read one by one to represent the sequential position of the secure government data unit in the execution of government business. Then, all secure government data units are arranged in order according to the order of their business event sequence numbers, with the secure government data units with earlier business event sequence numbers placed first and the secure government data units with later business event sequence numbers placed last. During the sorting process, the position of each secure government data unit is adjusted only according to its corresponding business event sequence number to ensure that the sorting result is consistent with the actual execution order of government business.

[0130] The secure data unit sequence is transmitted to the view generation module through a secure data transmission link to obtain the government service data view.

[0131] A secure data transmission link refers to a data transmission channel used to carry government data between different processing units. This channel controls the data transmission path and process during transmission to ensure the integrity and stability of the data during transmission. A view generation module refers to a data processing unit used to organize and process the received government data and convert it into a form that can be displayed or output. A government service data view refers to the data display result formed by the view generation module based on a sequence of secure government data units. This result is used to present government service-related business information to users or for subsequent business output processing.

[0132] Specifically, according to the order of each secure government data unit in the secure data unit sequence, the secure government data units are sequentially encapsulated into transmittable data units and sent through a secure data transmission link. The secure data transmission link is used to carry the transmission of government data between different processing stages. During transmission, the secure data transmission link maintains the transmission order of each secure government data unit, ensuring that the secure government data unit sequence received by the receiving end is consistent with the secure data unit sequence sent by the sending end. When the view generation module receives the secure data unit sequence transmitted through the secure data transmission link, it reads and organizes the secure government data units according to the receiving order, and forms a government service data view for display or output based on the secure government data units, thereby completing the conversion process from the secure data unit sequence to the government service data view.

[0133] To use the government service data view as the final business data output carrier, it is transmitted to external business processing nodes or local output units through a secure data transmission link. During data transmission, the terminal only allows the government service data view, composed of secure government data units, to enter the secure data transmission link, preventing data related to interface status anomalies from participating in subsequent transmission, thereby ensuring the reliability of the transmitted data source. During transmission, the consistency of the data order within the government service data view is maintained, enabling the recipient to correctly parse and use the data according to the established business order. Once the government service data view is transmitted to the target processing location, it is used to perform government service result display, printout, electronic archiving, or cross-node data exchange operations, thereby completing the secure output and use of government service data while ensuring a clear data transmission path and controllable data source.

[0134] like Figure 2 The diagram shown is a functional block diagram of a data processing system for government services provided in an embodiment of the present invention.

[0135] In this embodiment, the functions of each module / unit are as follows:

[0136] The USB jitter module is used to obtain jitter-related USB events from the USB events of the government self-service terminal;

[0137] The business jitter module is used to obtain jitter-related government business events from the government self-service terminal based on jitter-related USB events;

[0138] The perturbation chain module is used to obtain the perturbation chain based on jitter-related USB events and jitter-related government affairs events, and to determine the identifier of the perturbation chain;

[0139] The label pointing module is used to define the target perturbation chain based on the identifier of the perturbation chain and obtain the perturbation chain pointing label;

[0140] The data classification module is used to classify all government data units according to the perturbation chain pointing label to obtain perturbation-related government data units and security government data units;

[0141] The view generation module is used to obtain government service data views based on secure government data units.

[0142] The above are merely preferred embodiments of the present invention, but the scope of protection of the present invention is not limited thereto. Any equivalent substitutions or modifications made by those skilled in the art within the scope of the technology disclosed in the present invention, based on the technical solution and inventive concept of the present invention, should be covered within the scope of protection of the present invention.

Claims

1. A data processing method for government services, characterized by, Includes the following steps: S1. Obtain jitter-related USB events from the USB events of the government self-service terminal; S2. Obtain jitter-related government service events from the government service events of the government self-service terminal based on jitter-related USB events; S3. Obtain the disturbance chain based on jitter-related USB events and jitter-related government affairs events, and determine the identifier of the disturbance chain; S4. Define the target perturbation chain based on the identifier of the perturbation chain, and obtain the perturbation chain pointing label; S5. Classify all government data units according to the disturbance chain pointing label to obtain disturbance-related government data units and secure government data units; S6. Obtain a government service data view based on the secure government data unit.

2. The data processing method for government services according to claim 1, wherein, Jitter-related USB events are obtained from the USB events of the government self-service terminal, including: Acquire multiple USB events generated by the USB interface in the government self-service terminal; wherein, the USB event includes USB event sequence number, USB interface status, USB interface identifier and USB event time information; Based on the USB interface status, USB interface identifier, and USB event time information, all USB events are classified and processed to obtain jitter-related USB events and non-jitter USB events.

3. The data processing method for government services according to claim 1, wherein, Based on jitter-related USB events, jitter-related government service events are obtained from government service events on government self-service terminals, including: Retrieve multiple government service events generated during the execution of government services in government self-service terminals; each government service event includes a service event number and a service event time range. Based on the USB event time information and business event time range of jitter-related USB events, all government business events are classified and processed to obtain jitter-related government business events and non-jitter-related government business events.

4. The data processing method for government services according to claim 2, wherein, The disturbance chain is obtained based on jitter-related USB events and jitter-related government affairs events, and the identifier of the disturbance chain is determined, including: Based on the temporal order of jitter-related USB events, jitter-related USB events that occur consecutively in time and have the same USB interface identifier are divided into at least one consecutive jitter segment; The USB event number of the earliest jitter-related USB event within the continuous jitter segment is used as the starting USB event number. The USB event number of the latest jitter-related USB event within the continuous jitter segment is used as the termination USB event number. Based on the time interval of the business events related to jitter and the time interval corresponding to the continuous jitter segments, all continuous jitter segments are filtered to obtain the disturbance chain; Combine the start USB event number and the end USB event number into an ordered pair; Ordered pairs are used as identifiers for perturbation chains.

5. The data processing method for government services according to claim 1, wherein, Define the target perturbation chain based on the identifier of the perturbation chain, including: When an abnormal dump trigger condition is detected in the government self-service terminal, the abnormal dump object generated by the operating system of the government self-service terminal is obtained; When an abnormal dump object is generated, the business event sequence number and USB event sequence number corresponding to the abnormal dump object are determined. Define the USB event sequence number corresponding to the abnormal dump object as the current USB event sequence number; Determine the perturbation chain corresponding to the current USB event number based on the start USB event number and end USB event number defined by the perturbation chain identifier. Define the perturbation chain corresponding to the current USB event number as the target perturbation chain.

6. The data processing method for government services according to claim 5, wherein, Obtain the perturbation chain pointing label, including: Define the business event sequence number corresponding to the abnormal dump object as the current business event sequence number; The current business event sequence number, the current USB event sequence number, and the identifier of the target perturbation chain are combined to obtain the perturbation chain pointing label of the abnormal dump object.

7. A data processing method for government services according to claim 1, characterized in that, All government data units are classified according to the disturbance chain pointing labels, resulting in disturbance-related government data units and security government data units, including: When any government business event generates a government data unit, the business event number and USB event number corresponding to the government data unit are recorded; The business event sequence number and USB event sequence number corresponding to the government data unit are combined into a dual-sequence tag for the government data unit; Based on the dual-sequence label and perturbation chain pointing label of the government data unit, all government data units are classified to obtain perturbation-related government data units and secure government data units.

8. A data processing method for government services according to claim 1, characterized in that, A government service data view is obtained based on secure government data units, including: Sort all secure government data units to obtain a secure data unit sequence; The secure data unit sequence is transmitted to the view generation module through a secure data transmission link to obtain the government service data view.

9. A data processing system for government services, characterized in that, The system includes: The USB jitter module is used to obtain jitter-related USB events from the USB events of the government self-service terminal; The business jitter module is used to obtain jitter-related government business events from the government self-service terminal based on jitter-related USB events; The perturbation chain module is used to obtain the perturbation chain based on jitter-related USB events and jitter-related government affairs events, and to determine the identifier of the perturbation chain; The label pointing module is used to define the target perturbation chain based on the identifier of the perturbation chain and obtain the perturbation chain pointing label; The data classification module is used to classify all government data units according to the perturbation chain pointing label to obtain perturbation-related government data units and security government data units; The view generation module is used to obtain government service data views based on secure government data units.