Data communication protocol adaptation methods, equipment and media for mine digital twins

By recording the interaction characteristics of the device's acknowledgment frames and control frames, a dynamic control model for link reliability is constructed, which solves the problem of insufficient communication protocol adaptation in the mine digital twin system and achieves high stability and real-time response of the device status.

CN122093376AActive Publication Date: 2026-05-26CHANGCHUN GOLD DESIGN INST
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
CHANGCHUN GOLD DESIGN INST
Filing Date
2026-04-22
Publication Date
2026-05-26

AI Technical Summary

Technical Problem

In existing mine digital twin systems, the communication protocol adaptation capability is insufficient, which makes it difficult to guarantee data stability and timing consistency, and affects the real-time response capability of equipment status.

Method used

By scanning devices and establishing communication connections, the interaction rhythm, sequence number increment pattern, and acknowledgment retransmission interaction mode of acknowledgment frames and control frames are recorded to generate reliable transmission behavior characteristics of the link layer. A dynamic control model for link reliability is constructed, and a behavior-aware time window filtering algorithm is used for filtering to generate a real-time high-stability response sequence and push it to the message bus.

Benefits of technology

It improves the accuracy and continuity of the digital twin model's response to changes in equipment operating status, ensures the stability and consistency of data transmission, and enhances the real-time response capability of equipment status.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122093376A_ABST
    Figure CN122093376A_ABST
Patent Text Reader

Abstract

This invention discloses a data communication protocol adaptation method, device, and medium for mine digital twins, relating to the field of communication protocol adaptation technology. The method includes: constructing a dynamic link reliability control model based on reliable transmission protocol variant types and access call procedure order, employing a reliability state analysis layer, a transmission quality assessment layer, and a time alignment correction layer, and standardizing and encapsulating it to generate reliable transmission control parameters; based on the reliable transmission control parameters, performing dual filtering using a behavior-aware time window filtering algorithm and calculating link reliability indicators for priority scheduling to obtain a real-time high-stability response sequence; and asynchronously pushing the real-time high-stability response sequence to the message bus to drive the digital twin model to generate the twin state of the equipment object. This invention, by employing a behavior-aware time window filtering algorithm to perform dual filtering of effectiveness and continuity, effectively improves the accuracy and continuity of the next-generation information network's response to changes in equipment operating status.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of communication protocol adaptation technology, and in particular to data communication protocol adaptation methods, equipment and media for mine digital twins. Background Technology

[0002] As mining production continues to evolve towards intelligence and digitalization, digital twin technology is gradually being introduced into key aspects such as mine production monitoring, equipment operation analysis, and safety management. By constructing a digital model in virtual space through next-generation information networks that corresponds to the real mine environment and equipment operating status, and relying on on-site equipment data for continuous driving, dynamic perception, predictive analysis, and decision support for the mining production process can be achieved. Existing mine digital twins typically rely on real-time data access from a large number of on-site devices, including mining equipment, transportation equipment, ventilation and safety monitoring devices. The data communication process involves multiple industrial communication protocols, equipment from different manufacturers, and a complex network transmission environment.

[0003] Existing technologies still have two shortcomings. First, existing gold mining equipment data access and communication protocol adaptation usually adopts a method based on fixed protocol parsing rules or pre-configured protocol types to complete data collection and forwarding, which has limited adaptability to protocol version changes, private protocol extensions, and complex link transmission behaviors. Second, some solutions focus on data cleaning and quality control at the application layer or platform layer, which makes it difficult to effectively guarantee data stability and timing consistency in the event of network fluctuations or equipment communication anomalies, thereby affecting the real-time response capability of the digital twin model to the equipment status. Summary of the Invention

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

[0005] Therefore, this invention provides a data communication protocol adaptation method for mine digital twins to solve the problems of insufficient communication protocol adaptation capability and low stability of digital twin data-driven systems.

[0006] To solve the above-mentioned technical problems, the present invention provides the following technical solution: In a first aspect, the present invention provides a data communication protocol adaptation method for mine digital twins, comprising: scanning gold mine equipment and establishing a communication connection; recording the interaction rhythm, sequence number increment pattern, and acknowledgment retransmission interaction mode of the acknowledgment and control frames returned by the equipment by sending link handshake messages to generate equipment object and link layer reliable transmission behavior characteristics; clustering the link layer reliable transmission behavior characteristics into feature vectors, and determining the reliable transmission protocol variant type by parsing the acknowledgment retransmission interaction mode to generate access call procedure sequence; based on the reliable transmission protocol variant type and access call procedure sequence, constructing a link reliability dynamic control model using a reliability state analysis layer, a transmission quality assessment layer, and a time alignment correction layer, and performing standardized encapsulation to generate reliable transmission control parameters; based on the reliable transmission control parameters, performing dual filtering using a behavior-aware time window filtering algorithm and calculating link reliability indicators for priority scheduling to obtain a real-time high-stability response sequence; and pushing the real-time high-stability response sequence to the message bus asynchronously to drive the digital twin model to generate the equipment object twin state.

[0007] As a preferred embodiment of the data communication protocol adaptation method for mine digital twins described in this invention, the steps of scanning gold mine equipment and establishing a communication connection, and recording the interaction rhythm, sequence number increment pattern, and acknowledgment retransmission interaction mode of the acknowledgment and control frames returned by the equipment by sending link handshake messages, are as follows: Scan the gold mining equipment and establish a communication connection, send link handshake messages and collect the acknowledgment frames and control frames returned by the equipment to obtain the handshake session frame sequence; Based on the handshake session frame sequence, timing analysis is performed on the acknowledgment frames and control frames. The interaction rhythm, sequence number increment pattern, and acknowledgment retransmission interaction mode of the acknowledgment frames and control frames returned by the device are recorded to obtain a set of descriptions of link layer interaction behaviors.

[0008] As a preferred embodiment of the data communication protocol adaptation method for mine digital twins described in this invention, the reliable transmission behavior characteristics of the link layer include interaction rhythm characteristics, sequence number evolution characteristics, and acknowledgment retransmission closed-loop characteristics. The device object and link layer reliable transmission behavior characteristics are generated by performing joint encoding on the link layer interaction behavior description set.

[0009] As a preferred embodiment of the data communication protocol adaptation method for mine digital twins described in this invention, the steps of clustering the reliable transmission behavior characteristics of the link layer into feature vectors, determining the reliable transmission protocol variant type by parsing and confirming the retransmission interaction mode, and generating the access invocation procedure sequence are as follows. The interaction rhythm features, sequence number evolution features, and acknowledgment retransmission closed-loop features are jointly encoded and expanded to obtain a set of reliable transmission behavior feature vectors. Perform feature vector clustering on the set of reliable transmission behavior feature vectors to generate a set of reliable transmission behavior categories; Based on the set of reliable transmission behavior categories, the reliable transmission protocol variant type is determined by parsing the confirmation retransmission interaction pattern; The acknowledgment and retransmission interaction mode corresponding to the reliable transport protocol variant type is used as the order constraint condition, and constraint propagation is performed to generate the access call procedure order.

[0010] As a preferred embodiment of the data communication protocol adaptation method for mine digital twins described in this invention, the following steps are taken: Based on reliable transmission protocol variant types and access call procedure order, a dynamic control model for link reliability is constructed using a reliability state resolution layer, a transmission quality assessment layer, and a time alignment correction layer. The reliability state resolution layer performs state expansion and state marking processing on the sequential constraints based on the reliable transport protocol variant type and the access call procedure order, generating a reliability state sequence. The transmission quality assessment layer calculates the magnitude of state changes based on the reliability state sequence, performs consistency verification, and generates a transmission quality feature vector. The timing alignment and correction layer generates a set of timing transmission quality features based on the transmission quality feature vector through time-related alignment and correction encapsulation operations; By using the access call procedure sequence as a unified association index, the reliability status parsing layer, transmission quality assessment layer and time alignment correction layer are bound to their positions and aligned in sequence to construct a dynamic control model for link reliability.

[0011] As a preferred embodiment of the data communication protocol adaptation method for mine digital twins described in this invention, the generation of reliable transmission control parameters refers to the standardized encapsulation of the reliability state sequence and the time-series transmission quality feature set based on the link reliability dynamic control model to generate reliable transmission control parameters.

[0012] As a preferred embodiment of the data communication protocol adaptation method for mine digital twins described in this invention, the steps of performing dual filtering and calculating link reliability indicators based on reliable transmission control parameters to obtain a real-time high-stability response sequence are as follows: The reliable transmission control parameters are divided into continuous time windows according to the time correlation alignment relationship, forming a set of time window control parameters; Based on the set of time window control parameters, a behavior consistency index is calculated using a behavior-aware time window filtering algorithm. Based on the behavioral consistency index, the time window control parameter set is subjected to dual filtering for effectiveness and continuity, and the link reliability index is calculated for priority scheduling to obtain a real-time high-stability response sequence.

[0013] As a preferred embodiment of the data communication protocol adaptation method for mine digital twins described in this invention, the specific steps for asynchronously pushing the real-time high-stability response sequence to the message bus to drive the digital twin model to generate the twin state of the device object are as follows. The real-time high-stability response sequence is asynchronously decomposed to generate a response event sequence and pushed to the message bus asynchronously to obtain the message bus event stream; Based on the message bus event stream, perform state change mapping on device objects and obtain state update instructions; Drive the digital twin model according to the state update instructions, and perform state update operations to generate the twin state of the device object.

[0014] In a second aspect, the present invention provides a computer device, including a memory and a processor, wherein the memory stores a computer program, wherein when the computer program is executed by the processor, it implements any step of the data communication protocol adaptation method for mine digital twins as described in the first aspect of the present invention.

[0015] Thirdly, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein: when the computer program is executed by a processor, it implements any step of the data communication protocol adaptation method for mine digital twins as described in the first aspect of the present invention.

[0016] The beneficial effects of this invention are as follows: by constructing a dynamic control model for link reliability, the reliability state sequence and time-series transmission quality characteristics are standardized and encapsulated to generate reliable transmission control parameters. Furthermore, a behavior-aware time window filtering algorithm is adopted to perform dual filtering of the effectiveness and continuity of the control parameters, which effectively improves the accuracy and continuity of the next-generation information network's response to changes in the operating status of equipment. Attached Figure Description

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

[0018] Figure 1 A flowchart illustrating a data communication protocol adaptation method for mine digital twins.

[0019] Figure 2A flowchart for generating reliable transmission behavior characteristics at the link layer.

[0020] Figure 3 A flowchart for generating the access call procedure sequence.

[0021] Figure 4 A flowchart for obtaining a real-time, highly stable response sequence.

[0022] Figure 5 This is a comparison chart of equipment status mismatch rates.

[0023] Figure 6 A comparison chart of device reliable update density. Detailed Implementation

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

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

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

[0027] Reference Figures 1-6 As one embodiment of the present invention, this embodiment provides a data communication protocol adaptation method for mine digital twins, including the following steps: S1: Scan gold mining equipment and establish communication connections. Record the interaction rhythm, sequence number increment pattern, and acknowledgment retransmission interaction mode of the acknowledgment and control frames returned by the equipment by sending link handshake messages, and generate equipment objects and reliable transmission behavior characteristics of the link layer.

[0028] S1.1: Scan the gold mining equipment and establish a communication connection, send a link handshake message and collect the acknowledgment frames and control frames returned by the equipment, and obtain the handshake session frame sequence.

[0029] Specifically, in the mine communication network, connection request messages are sent sequentially to different devices, and the return messages corresponding to each connection request are received. When a return message is received, a communication connection corresponding to the source of the return message is established based on the communication confirmation field in the return message, and the communication connection is bound and recorded with the corresponding gold mine equipment.

[0030] Send link handshake messages to the corresponding gold mining equipment along the established communication connection, continuously receive return frames in the communication connection, and parse the frame type field of each received return frame; record acknowledgment frames and control frames respectively, and add a receiving order identifier to each recorded return frame.

[0031] Based on the acknowledgment frames and control frames recorded in the same communication connection, the acknowledgment frames and control frames are arranged in order according to the receiving order identifier to obtain the handshake session frame sequence.

[0032] It should be noted that the link handshake message is a control message sent by the communication initiator to the gold mining equipment. The message contains basic fields for requesting link acknowledgment and control response. After receiving the link handshake message, the gold mining equipment returns acknowledgment frames and control frames according to its own communication implementation mode, thereby forming an observable acknowledgment, control and retransmission interaction process on the communication connection, which is used for subsequent analysis and characterization of reliable transmission behavior at the link layer.

[0033] S1.2: Based on the handshake session frame sequence, perform timing analysis on the acknowledgment frames and control frames, record the interaction rhythm, sequence number increment pattern and acknowledgment retransmission interaction mode of the acknowledgment frames and control frames returned by the device, and obtain a set of link layer interaction behavior descriptions.

[0034] Specifically, following the frame arrangement order of the handshake session frame sequence, the acknowledgment frame and control frame are read sequentially, and the order of appearance of the acknowledgment frame and control frame on the sequence axis is organized based on the arrangement position of the frame in the handshake session frame sequence; the alternation of the acknowledgment frame and control frame in the handshake session frame sequence is statistically analyzed, and the arrangement interval and repetition characteristics between the acknowledgment frame and control frame are used as the interaction rhythm of the acknowledgment frame and control frame.

[0035] When sequentially reading the confirmation frames, the sequence number information contained in the confirmation frames is extracted, and the changes in the sequence numbers are compared according to the arrangement order in the handshake session frame sequence. The trend of the sequence number changes between adjacent confirmation frames is recorded to form an increasing sequence number pattern.

[0036] Based on the increasing sequence number pattern and the repeated arrangement of acknowledgment and control frames in the handshake session frame sequence, the cases where acknowledgment frames appear multiple times within the same sequence number range are organized to record the acknowledgment retransmission interaction mode.

[0037] The interaction rhythm between acknowledgment frames and control frames, the incrementing pattern of sequence numbers, and the acknowledgment retransmission interaction mode are summarized and organized to obtain a set of descriptions of link layer interaction behaviors.

[0038] S1.3: Perform joint encoding on the set of link layer interaction behavior descriptions to generate device objects and link layer reliable transmission behavior characteristics.

[0039] Specifically, the interaction rhythm, sequence number increment pattern, and acknowledgment retransmission interaction mode of the acknowledgment and control frames recorded in the link layer interaction behavior description set are aligned and organized in turn; the interaction rhythm of acknowledgment and control frames is used as the interaction timing description item, the sequence number increment pattern is used as the sequence evolution description item, and the acknowledgment retransmission interaction mode is used as the closed-loop behavior description item.

[0040] The interaction time series description item, sequence evolution description item, and closed-loop behavior description item are aligned according to the fields of "interaction time series description item, sequence evolution description item, and closed-loop behavior description item", and written into the same joint encoding record in the order of arrangement to form a joint description result.

[0041] Based on the joint description results, corresponding device objects are established for the gold mining equipment in the communication connection, and the joint description results are recorded as the link layer reliable transmission behavior characteristics of the device objects, thus generating the device objects and link layer reliable transmission behavior characteristics.

[0042] S1.4: The reliable transmission behavior characteristics of the link layer include interaction rhythm characteristics, sequence number evolution characteristics, and acknowledgment and retransmission closed-loop characteristics.

[0043] Specifically, during the sequential reading of the handshake session frame sequence, the acknowledgment frames and control frames are traversed one by one according to the receiving order identifier. By recording the arrangement position of the acknowledgment frames and control frames in the handshake session frame sequence and the sequential interval between adjacent acknowledgment frames and control frames, the frequency of alternation of acknowledgment frames and control frames is statistically analyzed, and an interaction rhythm feature reflecting the density and arrangement rhythm of the interaction between acknowledgment frames and control frames is generated.

[0044] Sequence number information is extracted from the acknowledgment frames in the handshake session frame sequence, and the sequence numbers corresponding to adjacent acknowledgment frames are compared before and after according to the receiving order identifier. By recording whether the sequence number increases continuously in the handshake session frame sequence, a sequence number evolution feature reflecting the continuous change trend of the sequence number is generated.

[0045] The acknowledgment frames with the same sequence number in the handshake session frame sequence are collected and organized. Based on the recurrence of acknowledgment frames in the handshake session frame sequence, the recurrence arrangement of acknowledgment frames corresponding to the same sequence number is recorded to generate an acknowledgment retransmission closed-loop feature that reflects the acknowledgment frame retransmission behavior.

[0046] S2: Cluster the reliable transmission behavior characteristics of the link layer into feature vectors, and determine the reliable transmission protocol variant type by parsing and confirming the retransmission interaction mode, and generate the access call procedure sequence.

[0047] S2.1: Perform joint encoding expansion on the interaction rhythm features, sequence number evolution features, and acknowledgment retransmission closed-loop features to obtain a set of reliable transmission behavior feature vectors.

[0048] Specifically, the interaction rhythm features, sequence number evolution features, and acknowledgment retransmission closed-loop features are sequentially aligned and expanded into a feature sequence according to a fixed arrangement. The interaction rhythm features, sequence number evolution features, and acknowledgment retransmission closed-loop features are then concatenated item by item, and the interaction rhythm features, sequence number evolution features, and acknowledgment retransmission closed-loop features at corresponding positions in the same handshake session are merged into a joint feature term.

[0049] Each set of joint feature terms is arranged in chronological order according to the handshake session frame sequence to form a feature vector that can fully reflect the evolution of a single link interaction behavior; the feature vectors generated for different handshake sessions are collected and organized to obtain a set of reliable transmission behavior feature vectors.

[0050] S2.2: Perform feature vector clustering on the set of reliable transmission behavior feature vectors to generate a set of reliable transmission behavior categories.

[0051] Specifically, one reliable transmission behavior feature vector is selected sequentially from the set of reliable transmission behavior feature vectors as the baseline vector; another reliable transmission behavior feature vector is selected sequentially from the set of reliable transmission behavior feature vectors as the comparison vector.

[0052] For the baseline vector and the comparison vector, the joint feature terms in the feature vector are aligned and read one by one in order. During the alignment and reading process, the consistency of the interaction rhythm feature, sequence number evolution feature and confirmation retransmission closed loop feature in the joint feature terms are compared respectively, and each comparison result is recorded as a consistent record or an inconsistent record.

[0053] The total number of inconsistent records is counted, and the statistical results are used as the difference count between the baseline vector and the comparison vector. When the difference count results corresponding to multiple reliable transmission behavior feature vectors are the same, the reliable transmission behavior feature vectors are merged into the same set to form a fixed reliable transmission behavior category.

[0054] Generate a set of reliable transmission behavior categories by analyzing all reliable transmission behavior feature vectors in the statistical reliable transmission behavior feature vector set.

[0055] S2.3: Based on the set of reliable transmission behavior categories, determine the reliable transmission protocol variant type by parsing the confirmation retransmission interaction mode.

[0056] Specifically, based on the set of reliable transmission behavior categories, the reliable transmission behavior feature vectors corresponding to each reliable transmission behavior category are centrally organized, and the confirmation and retransmission closed-loop features of all reliable transmission behavior feature vectors within the same reliable transmission behavior category are aligned according to the order of the confirmation and retransmission closed-loop features in the reliable transmission behavior feature vectors.

[0057] The system statistically analyzes the recurring positions and order of acknowledgment and retransmission loop features within reliable transmission behavior categories. When the order of acknowledgment and retransmission loop features remains consistent within a reliable transmission behavior category, the corresponding order is organized into a stable set of acknowledgment and retransmission interaction patterns. These organized acknowledgment and retransmission interaction patterns are used as the criteria for identifying reliable transmission behavior categories. The reliable transmission behavior categories are then identified, and finally, a unique reliable transmission protocol variant type is determined for each reliable transmission behavior category.

[0058] It should be noted that the acknowledgment retransmission interaction mode refers to the interaction behavior in which acknowledgment frames are repeatedly sent by the device within the same sequence number range because they have not been validly acknowledged, and form a specific repetition order with control frames.

[0059] Reliable transport protocol variants are used to describe different reliable transport behaviors that arise under the same basic communication protocol framework due to differences in device implementation or link interaction. They are distinguished by comprehensively characterizing the interaction rhythm of acknowledgment frames and control frames, the incrementing pattern of sequence numbers, and the closed-loop characteristics of acknowledgment and retransmission. They are used to characterize the specific interaction methods and sequence characteristics followed by different devices when performing acknowledgment and retransmission control at the link layer, thereby providing a clear protocol behavior constraint basis for the subsequent generation of access call procedure order.

[0060] S2.4: Use the acknowledgment and retransmission interaction mode corresponding to the reliable transport protocol variant type as the order constraint condition, and perform constraint propagation to generate the access call procedure order.

[0061] Specifically, the acknowledgment and retransmission interaction mode corresponding to the reliable transport protocol variant type is read, and the order of acknowledgment frames and control frames in the acknowledgment and retransmission interaction mode is used as the order constraint condition; the order of calling acknowledgment frames and control frames appearing in subsequent link interactions is limited according to the order constraint condition, and the order constraint condition is applied to the access call process item by item.

[0062] Under the influence of sequence constraints, consistency checks are performed on the order in which acknowledgment frames are triggered, the order in which control frames are responded, and the location of acknowledgment retransmissions during the access process. By organizing all access sequences that satisfy the sequence constraints, an access call procedure sequence is generated to constrain subsequent link layer access behavior.

[0063] It should be noted that the access invocation procedure order refers to the order in which acknowledgment frames and control frames interact and execute in the link layer communication process, which is determined by the order and position of occurrence of the reliable transport protocol variant and is used to constrain the communication access and response process.

[0064] S3: Based on the reliable transmission protocol variants and access call procedure order, a link reliability dynamic control model is constructed using a reliability state resolution layer, a transmission quality assessment layer, and a time alignment correction layer, and then standardized and encapsulated to generate reliable transmission control parameters.

[0065] S3.1: The reliability state resolution layer performs state expansion and state marking processing on the sequential constraints based on the reliable transport protocol variant type and the access call procedure order, generating a reliability state sequence.

[0066] Specifically, based on the reliable transport protocol variant type and the access call procedure order, the reliability state resolution layer reads the acknowledgment and retransmission interaction mode corresponding to the reliable transport protocol variant type in sequence according to the access call procedure order. It then expands each interaction position in the acknowledgment and retransmission interaction mode, including each acknowledgment occurrence, each retransmission trigger, and each loop closure end, as a state node.

[0067] Each status node is assigned a sequence mark consistent with the access call procedure. A status that has only been confirmed once is marked as a confirmed status. A status where the confirmation frame corresponding to the same sequence number appears repeatedly is marked as a retransmission status. A status where the confirmation frame repetition ends and the next sequence number advances in the confirmation and retransmission interaction mode is marked as a closed loop completion status.

[0068] The marked state nodes are arranged sequentially according to the access call procedure, and consecutively appearing state nodes are organized into a complete state progression link to generate a reliability state sequence.

[0069] S3.2: The transmission quality assessment layer calculates the magnitude of state changes based on the reliability state sequence, performs consistency verification, and generates a transmission quality feature vector.

[0070] Specifically, the transmission quality assessment layer reads adjacent state nodes one by one according to the order of the state nodes in the reliability state sequence, compares the differences in state markers between adjacent state nodes one by one, and records the changes in state markers such as from acknowledgment state to retransmission state, and from retransmission state to closed loop completion state.

[0071] After completing the item-by-item comparison of adjacent state nodes, the change records of all state nodes in the reliability state sequence are summarized, and the state change amplitude is calculated. Based on the reliability state sequence, the transmission quality assessment layer compares the state change amplitude corresponding to the same sequential position item by item. When the state change amplitude maintains the same change result in different reliability state sequences, it is determined to be consistent. When there is a difference in the change result, it is determined to be inconsistent, and the consistency verification result is obtained.

[0072] The expression for calculating the magnitude of the state change is: ; in, The magnitude of the state change. This represents the number of state nodes. This represents the number of state label changes that occur between adjacent state nodes. For indicator functions The value is 1 if true, and 0 if false. For the first The state flag corresponding to each state node.

[0073] It should be noted that the amplitude of state change is composed of the ratio of the indication result of whether the state flag has changed to the number of state nodes. The quantities involved in the calculation are all dimensionless counts and logical judgment results. Therefore, the calculated amplitude of state change is dimensionless, and the overall dimensions remain consistent.

[0074] The state change magnitude and consistency verification results are arranged and combined in the order of access call procedure to generate a transmission quality feature vector.

[0075] S3.3: The time alignment and correction layer generates a set of timing transmission quality features based on the transmission quality feature vector through time-related alignment and correction encapsulation operations.

[0076] Specifically, the time alignment correction layer uses the access call procedure order as the time association benchmark, identifies the sequential position of each feature item in the transmission quality feature vector, and binds it one by one with the corresponding sequential position in the access call procedure order; it keeps the feature items in the same sequential position in different transmission quality feature vectors consistent in the time dimension.

[0077] The time alignment correction layer compares the order of transmission quality feature vectors at adjacent sequential positions according to the access call procedure. When there is a misalignment or missing position when comparing with the access call procedure order, the arrangement position is readjusted according to the access call procedure order and encapsulated.

[0078] The transmission quality feature vectors, arranged in the order of access call procedures and after correction and encapsulation, are collected and organized to generate a time-series transmission quality feature set.

[0079] S3.4: Using the access call procedure sequence as a unified association index, the reliability status parsing layer, transmission quality assessment layer and time alignment correction layer are bound in position and aligned in order to build a dynamic control model for link reliability.

[0080] Specifically, the access call procedure order is used as a unified association index. A corresponding sequence number is generated for each access call position according to the order of the access call procedure. The sequence number is written into the reliability state sequence entry output by the reliability state parsing layer, the transmission quality feature vector item output by the transmission quality assessment layer, and the timing transmission quality feature set item output by the time alignment correction layer. The reliability state sequence, transmission quality feature vector, and time-series transmission quality feature set are synchronously arranged according to sequential numbering; the reliability state entries, transmission quality feature items, and time-series transmission quality feature items corresponding to the same access call location are combined and organized to construct a dynamic control model for link reliability.

[0081] S3.5: Based on the link reliability dynamic control model, the reliability state sequence and the set of time-series transmission quality characteristics are standardized and encapsulated to generate reliable transmission control parameters.

[0082] Specifically, the reliability state sequence entries and timing transmission quality feature set entries corresponding to each access call position in the link reliability dynamic control model are read one by one according to the access call procedure order, and position alignment confirmation is performed; the content of the state nodes in the reliability state sequence entries is used as the data point field, the corresponding sequence number in the access call procedure order is used as the time sequence basis and written into the timestamp field, and the change amplitude in the timing transmission quality feature set entries is used as the quality value field.

[0083] The data point field, timestamp field, and quality value field corresponding to each access call location are combined and encapsulated to ensure that each encapsulation result is expressed using a consistent data structure. For example, they are recorded in a fixed order of "data point field - timestamp field - quality value field". The encapsulation results corresponding to all access call locations are arranged sequentially according to the access call procedure to generate reliable transmission control parameters.

[0084] S4: Based on reliable transmission control parameters, a behavior-aware time window filtering algorithm is used to perform dual filtering and calculate link reliability indicators for priority scheduling to obtain real-time high-stability response sequences.

[0085] like Figure 5This figure illustrates the overall distribution and local magnified comparison results of the equipment state mismatch rate across the equipment dimension when using a data communication protocol adaptation method for mine digital twins and different comparison methods. The horizontal axis represents the equipment number, and the vertical axis represents the state mismatch rate between the equipment state in the digital twin model and the actual equipment operating state, used to characterize the accuracy of the digital twin model's response to changes in equipment operating state. Through analysis of... Figure 5 By zooming in locally, within device ranges where state changes are frequent or link quality fluctuates, the state mismatch rate in the control method shows an increased phenomenon. By constructing a dynamic control model for link reliability and standardizing the encapsulation of reliability state sequences and time-series transmission quality characteristics, unreliable or discontinuous transmission behaviors can be effectively filtered during state update processes, improving the digital twin model's ability to accurately perceive changes in device operating state.

[0086] S4.1: Divide the reliable transmission control parameters into continuous time windows according to the time correlation alignment relationship to form a set of time window control parameters.

[0087] Specifically, the timestamp field and access call location of each reliable transmission control parameter are read one by one, and the reliable transmission control parameters are sorted chronologically according to the timestamp field to form a reliable transmission control parameter sequence arranged in ascending order of time.

[0088] In the reliable transmission control parameter sequence, the reliable transmission control parameters that meet the criteria in the timestamp field are grouped into the same group based on whether the timestamp fields of adjacent reliable transmission control parameters are consecutively associated.

[0089] For each group, the original access call position and reliable transmission control parameter content are retained unchanged, and the start and end positions of each group are marked to obtain the group boundary; each group boundary is mapped to a time window to form a time window control parameter set.

[0090] S4.2: Based on the set of time window control parameters, a behavior-aware time window filtering algorithm is used to calculate the behavior consistency index.

[0091] Specifically, based on the time window control parameter set, the reliable transmission control parameter entry sequence corresponding to each consecutive time window is read sequentially, and the behavior-aware time window filtering algorithm is used to compare the reliable transmission control parameters item by item according to the access call procedure.

[0092] Within each consecutive time window, extract the encapsulated reliability status, timestamp field, and quality value field from the reliable transmission control parameters, compare whether the reliability status at adjacent sequential positions remains the same, and compare whether the quality value field at adjacent sequential positions is consistent; mark the reliable transmission control parameters where the reliability status at adjacent sequential positions remains the same and the quality value field at adjacent sequential positions is consistent as having achieved consistency.

[0093] The number of times consistency was achieved and the total number of comparisons were counted separately. The consistency comparison results of status flags and the consistency comparison results of transmission quality value changes were summarized and counted. The ratio of the number of consistency hits to the total number of hits was used as the behavior consistency index.

[0094] S4.3: Based on the behavior consistency index, the time window control parameter set is subjected to dual filtering of validity and continuity, and the link reliability index is calculated for priority scheduling to obtain a real-time high-stability response sequence.

[0095] Specifically, the behavioral consistency index is associated with each consecutive time window in the time window control parameter set. The change amplitude at adjacent sequential positions is compared with all the change amplitudes within the same time window. When the change amplitude does not exceed the maximum change amplitude that has appeared within the time window, the quality value change is determined to be within an acceptable range, and the consecutive time windows that pass the validity judgment are marked as valid time windows.

[0096] Based on the behavior consistency index corresponding to adjacent valid time windows, the status flags corresponding to the behavior consistency index between adjacent valid time windows are compared to see if a reverse transition occurs from the acknowledgment state or the closed loop completion state to the retransmission state; when a reverse transition occurs, it is recorded as discontinuous, and when no reverse transition occurs, it is recorded as continuous.

[0097] A candidate time window set is formed by filtering continuous time windows that simultaneously satisfy both validity and continuity determination processes. Based on the candidate time window set, and combining the reliability state sequence and timing transmission quality feature set corresponding to the reliable transmission control parameters within the candidate time windows, the link reliability index is calculated, expressed as: ; in, For link reliability indicators, The number of sequential positions in the time window control parameter set. For sequential position index, For the first Behavioral consistency indicators corresponding to each sequential position Quantified value of consistency verification result.

[0098] It should be noted that the quantized value of the consistency verification result is obtained by comparing the reliability state sequence marking result at adjacent sequential positions with the corresponding quality bit item by item. When the state mark and the quality bit are consistent at adjacent sequential positions, it is recorded as 0, and when either is inconsistent, it is recorded as 1.

[0099] The formula for calculating the link reliability index consists of state tag consistency results and verification judgment results, all of which are dimensionless logical judgment quantities. After unified normalization processing, they are combined for calculation, so the calculated link reliability index maintains a unified dimension.

[0100] Candidate time windows are prioritized according to the size of the link reliability index, and the corresponding reliable transmission control parameter entries are selected in descending order of the ranking results to generate a real-time high-stability response sequence.

[0101] It should be noted that the behavior-aware time window filtering algorithm constructs a dynamic time window that matches the rhythm of device state changes based on device communication behavior and link transmission characteristics, and uniformly manages and evaluates state updates entering the time window. During the filtering process, the arrival time of state updates, link reliability status, and temporal continuity between adjacent updates are considered. Updates that do not meet the requirements of validity and continuity are suppressed, and only state updates that meet the requirements in both time and quality dimensions are retained for digital twin model updates.

[0102] S5: Pushes the real-time high-stability response sequence to the message bus asynchronously, driving the digital twin model to generate the twin state of the device object.

[0103] like Figure 6 This paper presents the distribution of trusted update density across different methods at the device level, under the same mine communication environment and equipment scale, along with a local magnified comparison. The horizontal axis represents the device number, and the vertical axis represents the number of trusted updates accepted by the digital twin model and used for state updates per unit time, characterizing the continuity and effectiveness of the digital twin model's response to changes in device state. The overall distribution shows that when using the data communication protocol adaptation method for mine digital twins, the trusted update density corresponding to each device is higher than that of control methods A and B, and the distribution is more concentrated. Figure 6 Further observations in the magnified local area reveal that the data communication protocol adaptation method for mine digital twins performs dual filtering on the effectiveness and continuity of reliable transmission control parameters, resulting in higher and more stable state updates entering the digital twin model in both the quality and time dimensions.

[0104] S5.1: Asynchronously decompose the real-time high-stability response sequence, generate a response event sequence, and push it to the message bus asynchronously to obtain the message bus event stream.

[0105] Specifically, the real-time high-stability response sequence is read one by one along the order of the real-time high-stability response sequence, and the response content in each real-time high-stability response sequence is decomposed into response event entries containing access call procedure sequence identifiers, corresponding reliable transmission control parameter reference relationships, and time identifiers.

[0106] The generated response event entries are arranged sequentially according to the reading order to obtain a response event sequence that corresponds one-to-one with the real-time high-stability response sequence; the response event sequence is asynchronously pushed one by one and written into the message bus to obtain the message bus event stream.

[0107] S5.2: Based on the message bus event stream, perform state change mapping on the device object and obtain state update instructions.

[0108] Specifically, based on the message bus event stream, the response event entries in the message bus event stream are read one by one, and the response device object identifier and response status content are extracted from each response event entry; the response device object identifier is matched one by one with the device object, and the response status content is mapped to a status change item that the device object can recognize.

[0109] The response device object identifier and the corresponding state change item are structured and encapsulated so that each encapsulation result contains both the device object's location information and the explicit state change content, thereby obtaining the state update instruction.

[0110] S5.3: Drive the digital twin model according to the state update instruction, and perform state update operations to generate the twin state of the device object.

[0111] Specifically, the device object identifier and status change item contained in each status update instruction are read one by one, and the device object identifier is matched with the device object with which a corresponding relationship has been established in the digital twin model; the status change item is written into the corresponding device object in the digital twin model, and the writing result is used as a new status record to overwrite the original status record.

[0112] The system continuously processes data according to status update instructions, synchronously updates the status records of each device object in the digital twin model, and generates the twin status of the device objects.

[0113] It should be noted that the digital twin model is used to establish a one-to-one state mapping relationship with gold mining equipment objects, synchronously representing the actual operating status of the equipment. The digital twin model uses the equipment object as the index entry, receives the state change items carried in the state update instruction, and writes the state change items into the corresponding equipment object state structure, continuously reflecting the latest changes in the equipment in terms of link communication reliability, control response, and operating status.

[0114] This embodiment also provides a computer device applicable to the data communication protocol adaptation method for mine digital twins, including: a memory and a processor; the memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions to implement the data communication protocol adaptation method for mine digital twins as proposed in the above embodiment.

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

[0116] This embodiment also provides a storage medium storing a computer program, which, when executed by a processor, implements the data communication protocol adaptation method for mine digital twins as proposed in the above embodiments. The storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read Only Memory (EPROM), Programmable Red-Only Memory (PROM), Read-Only Memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.

[0117] In summary, this invention improves the accuracy and continuity of the next-generation information network's response to changes in device operating status by: constructing a dynamic control model for link reliability, standardizing and encapsulating reliability state sequences and time-series transmission quality characteristics, generating reliable transmission control parameters, and further employing a behavior-aware time window filtering algorithm to perform dual filtering on the effectiveness and continuity of the control parameters.

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

Claims

1. A data communication protocol adaptation method for mine digital twins, characterized in that: include, Scan gold mining equipment and establish communication connections. Record the interaction rhythm, sequence number increment pattern and acknowledgment retransmission interaction mode of the acknowledgment and control frames returned by the equipment by sending link handshake messages, and generate equipment objects and reliable transmission behavior characteristics of the link layer. The reliable transmission behavior characteristics of the link layer are clustered into feature vectors, and the reliable transmission protocol variant type is determined by parsing and confirming the retransmission interaction mode, and the access call procedure sequence is generated. Based on the variant types of reliable transmission protocols and the order of access invocation procedures, a dynamic control model for link reliability is constructed using a reliability status resolution layer, a transmission quality assessment layer, and a time alignment correction layer. This model is then standardized and encapsulated to generate reliable transmission control parameters. Based on reliable transmission control parameters, a behavior-aware time window filtering algorithm is used to perform dual filtering and calculate link reliability indicators for priority scheduling to obtain real-time high-stability response sequences. The real-time, highly stable response sequence is pushed asynchronously to the message bus, driving the digital twin model to generate the twin state of the device object.

2. The data communication protocol adaptation method for mine digital twins as described in claim 1, characterized in that: The gold mining equipment is scanned and a communication connection is established. The interaction rhythm, sequence number increment pattern, and acknowledgment retransmission interaction mode of the acknowledgment and control frames returned by the equipment are recorded by sending link handshake messages. The specific steps are as follows: Scan the gold mining equipment and establish a communication connection, send link handshake messages and collect the acknowledgment frames and control frames returned by the equipment to obtain the handshake session frame sequence; Based on the handshake session frame sequence, timing analysis is performed on the acknowledgment frames and control frames. The interaction rhythm, sequence number increment pattern, and acknowledgment retransmission interaction mode of the acknowledgment frames and control frames returned by the device are recorded to obtain a set of descriptions of link layer interaction behaviors.

3. The data communication protocol adaptation method for mine digital twins as described in claim 2, characterized in that: The reliable transmission behavior characteristics of the link layer include interaction rhythm characteristics, sequence number evolution characteristics, and acknowledgment and retransmission closed-loop characteristics. The device object and link layer reliable transmission behavior characteristics are generated by performing joint encoding on the link layer interaction behavior description set.

4. The data communication protocol adaptation method for mine digital twins as described in claim 3, characterized in that: The steps for clustering the reliable transmission behavior characteristics at the link layer into feature vectors, determining the reliable transmission protocol variant type by parsing and confirming the retransmission interaction mode, and generating the access invocation procedure sequence are as follows. The interaction rhythm features, sequence number evolution features, and acknowledgment retransmission closed-loop features are jointly encoded and expanded to obtain a set of reliable transmission behavior feature vectors. Perform feature vector clustering on the set of reliable transmission behavior feature vectors to generate a set of reliable transmission behavior categories; Based on the set of reliable transmission behavior categories, the reliable transmission protocol variant type is determined by parsing the confirmation retransmission interaction pattern; The acknowledgment and retransmission interaction mode corresponding to the reliable transport protocol variant type is used as the order constraint condition, and constraint propagation is performed to generate the access call procedure order.

5. The data communication protocol adaptation method for mine digital twins as described in claim 4, characterized in that: The aforementioned dynamic control model for link reliability, based on reliable transport protocol variant types and access invocation procedure order, employs a reliability state resolution layer, a transmission quality assessment layer, and a time alignment correction layer. The specific steps are as follows: The reliability state resolution layer performs state expansion and state marking processing on the sequential constraints based on the reliable transport protocol variant type and the access call procedure order, generating a reliability state sequence. The transmission quality assessment layer calculates the magnitude of state changes based on the reliability state sequence, performs consistency verification, and generates a transmission quality feature vector. The timing alignment and correction layer generates a set of timing transmission quality features based on the transmission quality feature vector through time-related alignment and correction encapsulation operations; By using the access call procedure sequence as a unified association index, the reliability status parsing layer, transmission quality assessment layer and time alignment correction layer are bound to their positions and aligned in sequence to construct a dynamic control model for link reliability.

6. The data communication protocol adaptation method for mine digital twins as described in claim 5, characterized in that: The generation of reliable transmission control parameters refers to the standardized encapsulation of the reliability state sequence and the time-series transmission quality feature set based on the link reliability dynamic control model to generate reliable transmission control parameters.

7. The data communication protocol adaptation method for mine digital twins as described in claim 6, characterized in that: The process involves using reliable transmission control parameters, employing a behavior-aware time window filtering algorithm to perform dual filtering, calculating link reliability indicators for priority scheduling, and obtaining a real-time, highly stable response sequence. The specific steps are as follows: The reliable transmission control parameters are divided into continuous time windows according to the time correlation alignment relationship, forming a set of time window control parameters; Based on the set of time window control parameters, a behavior consistency index is calculated using a behavior-aware time window filtering algorithm. Based on the behavior consistency index, the time window control parameter set is subjected to dual filtering for effectiveness and continuity, and the link reliability index is calculated for priority scheduling to obtain a real-time high-stability response sequence.

8. The data communication protocol adaptation method for mine digital twins as described in claim 7, characterized in that: The steps for asynchronously pushing the real-time high-stability response sequence to the message bus to drive the digital twin model to generate the device object twin state are as follows: The real-time high-stability response sequence is asynchronously decomposed to generate a response event sequence and pushed to the message bus asynchronously to obtain the message bus event stream; Based on the message bus event stream, perform state change mapping on device objects and obtain state update instructions; Drive the digital twin model according to the state update instructions, and perform state update operations to generate the twin state of the device object.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, it implements the steps of the data communication protocol adaptation method for mine digital twins as described in any one of claims 1 to 8.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by the processor, it implements the steps of the data communication protocol adaptation method for mine digital twins as described in any one of claims 1 to 8.