Touch data transmission method for multi-operating system touch display device
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- GUANGZHOU LANGO ELECTRONICS TECH CO LTD
- Filing Date
- 2024-12-16
- Publication Date
- 2026-07-30
AI Technical Summary
Existing multi-operating system touch display devices have a problem with touch data pass-through when two systems are displayed simultaneously, which causes touch operations in one system to be erroneously responded to by the other system.
The system acquires touch frame data, preprocesses and converts it into a standard format, selects an appropriate transmission protocol, sets up a touch data transmission channel, serializes and deserializes the touch data, determines touch data conflicts, and responds according to priority.
This effectively avoids data pass-through during touch, improves the success rate of data transmission and the accuracy of system response, and enhances the user experience.
Smart Images

Figure CN2024139774_30072026_PF_FP_ABST
Abstract
Description
A method for touch data transmission in multi-operating system touch display devices Technical Field
[0001] This invention belongs to the field of data transmission and relates to touch data transmission technology, specifically a touch data transmission method for multi-operating system touch display devices. Background Technology
[0002] Multi-operating system touch display devices refer to display devices that support multiple operating systems and have touch interaction capabilities, and are used in education, conferencing, retail, entertainment and other fields. Touch data transmission allows users to interact with the device through intuitive finger touch, a simple and easy-to-understand operation method that is easy for users to understand and use. Touch data transmission has the characteristic of real-time response, and the operation performed by the user on the touch screen can be responded to and fed back immediately. This immediacy enhances the user's operating experience and makes the interaction smoother. Multi-operating system touch display devices can support multiple operating systems. Through a unified touch data transmission standard or protocol, devices under different operating systems can realize touch interaction, thereby breaking down the barriers between operating systems.
[0003] Existing dual-system touch display devices transmit touch data between the touch frame and two systems via touch data channels. When one system is displaying, the touch data channel between the touch frame and the other system is closed, and the two systems do not affect each other. However, when both systems need to be displayed simultaneously, the touch data channels between the touch frame and both systems are opened. When the touch point of a touch operation falls on one system, the other system will also respond, resulting in a problem of touch data pass-through. If only the touch data channel between the touch frame and one system is opened, then when the touch point of a touch operation falls on the other system, the other system will not be able to respond to the touch operation.
[0004] This invention provides a touch data transmission method for multi-operating system touch display devices to solve the above-mentioned technical problems. Summary of the Invention
[0005] The present invention aims to at least solve one of the technical problems existing in the prior art; to this end, the present invention proposes a touch data transmission method for multi-operating system touch display devices, which solves the technical problem of touch data pass-through when the touch data transmission channels of two systems are opened at the same time in the prior art.
[0006] To achieve the above objectives, a first aspect of the present invention provides a touch data transmission method for a multi-operating system touch display device, comprising:
[0007] Step S1: Obtain touch frame data, preprocess the touch frame data to obtain raw touch data; convert the raw touch data into a standard format to obtain the final touch data.
[0008] Step S2: Obtain the transmission conditions of the two systems, determine the transmission protocol of the system based on the transmission conditions; initialize the protocol parameters based on the transmission protocol and set the touch data transmission channel;
[0009] Step S3: Serialize the touch data and package it into a data frame; transmit the data frame to the corresponding system through the touch data transmission protocol;
[0010] Step S4: After receiving the data frame, the operating system deserializes the data frame to obtain parsed data; generates touch events based on the parsed data; and performs corresponding operations based on the touch events.
[0011] Step S5: When two systems are displayed simultaneously, determine whether there is a conflict between them based on their touch data; if yes, analyze the priority of the two touch data; if no, continue to detect the touch data of both; respond to the two systems in sequence according to the priority settings.
[0012] Preferably, the preprocessing of the touch frame data to obtain the original touch data includes:
[0013] Retrieve touch frame data; the touch frame data includes a timestamp and coordinate system position;
[0014] Determine whether the touch frame data contains all sub-data. If yes, retain the corresponding touch frame data; otherwise, complete the missing sub-data.
[0015] The retained touch frame data and the supplemented touch frame data are filtered to obtain the original touch data.
[0016] It should be noted that the sub-data includes timestamps or coordinate system positions. Analyzing the sub-data of the touch box data can ensure the integrity of the data.
[0017] This invention detects and analyzes the sub-data of touch frame data to ensure its integrity, which helps to ensure the validity of the data. It also filters the complete touch frame data to improve the data quality and facilitate subsequent data analysis.
[0018] Preferably, the step of converting the raw touch data into a standard format to obtain touch data includes:
[0019] Retrieve raw touch data; the format of raw touch data is: (x_raw, y_raw, t_raw);
[0020] The original touch data is converted into a standard format (x, y, t) using the formulas x = f(x_raw), y = f(y_raw), and t = t_raw. Here, f(x) and f(y) are coordinate transformation functions.
[0021] The raw touch data, converted to a standard format, is labeled as touch data.
[0022] This invention converts the original touch data into a standard format, which maintains the consistency of coordinate systems across different systems, providing a data foundation for subsequent analysis and improving the efficiency of data analysis.
[0023] Preferably, determining the system's transmission protocol based on transmission conditions includes:
[0024] Retrieve the transmission conditions of the two systems; obtain the transmission protocol library; the transmission conditions are determined according to the type of the system.
[0025] The transmission conditions are matched with the transmission protocol library to obtain the transmission protocols corresponding to the two systems.
[0026] This invention selects the corresponding transmission protocol based on the system's transmission conditions, enabling the adoption of appropriate transmission conditions for different systems. This provides a data foundation for the subsequent setup of touch data transmission channels and helps ensure transmission efficiency and quality.
[0027] Preferably, the transmission conditions are determined according to the type of system, including:
[0028] Obtain the basic data of the system; the basic data includes encryption mechanism, transmission rate and network bandwidth; integrate the basic data of the two systems into two sets of input sequences.
[0029] The type analysis model is invoked, and the two sets of type input sequences are input into the type analysis model to obtain the corresponding type labels; the types of the two systems are determined according to the type labels; the corresponding transmission conditions are matched according to the types of the two systems; the type labels are set to positive integers; the type analysis model is built based on an artificial intelligence model.
[0030] This invention acquires basic system data, analyzes the system data using a model to determine the system type, and determines transmission conditions based on the system type; this enables more accurate classification of system types and lays the foundation for subsequent determination of transmission protocols.
[0031] Preferably, the type analysis model is built based on an artificial intelligence model, including:
[0032] Obtain the standard dataset; the standard dataset includes standard input data consistent with the content attributes of the type input sequence, and standard output data consistent with the content attributes of the type label.
[0033] The standard dataset is divided into a training set, a validation set, and a test set. The training set is used to train the artificial intelligence model. The validation set is used to adjust the coefficient parameters in the artificial intelligence model. The test set is used to validate the artificial intelligence model and determine whether the performance parameters of the artificial intelligence model are greater than the parameter threshold. If yes, the artificial intelligence model is marked as a type analysis model; otherwise, the artificial intelligence model is retrained.
[0034] It should be noted that the performance parameters of an artificial intelligence model include accuracy, F1 score, recall, and stability.
[0035] Preferably, the step of initializing protocol parameters and setting the touch data transmission channel based on the transmission protocol includes:
[0036] Step S21: Retrieve the transport protocol and set the physical layer parameters according to the transport protocol; the physical layer parameters include IP address, subnet mask, gateway, and port number;
[0037] Step S22: Initialize device parameters; set the touchscreen as a client, set the communication interface, and configure the communication parameters; set both systems as servers, set the device addresses, and configure the communication parameters;
[0038] Step S23: Select the corresponding channel type according to the transmission protocol, configure the data transmission parameters, write the communication program, connect the touch screen to the two systems, and conduct a communication test; when the data is transmitted correctly, the touch data transmission channel is successfully set up; the data transmission parameters include the data area, function code, and data format.
[0039] This invention selects the channel type and initializes device parameters according to the transmission protocol, enabling the selection of a suitable transmission channel; it connects the touchscreen to two systems and performs communication tests; this helps ensure normal transmission and guarantees transmission speed.
[0040] Preferably, the step of serializing the touch data and packaging it into data frames includes:
[0041] Retrieve touch data, serialize the touch data using an accumulation checksum algorithm, and obtain the processing result checksum;
[0042] The touch data and processing results are integrated and packaged into a data frame (x, y, t, checksum); where: checksum = sum(x + y + t).
[0043] This invention serializes touch data, transforming complex data structures into a format suitable for transmission over a network. This facilitates data exchange between different systems, avoids data transmission failures due to compatibility issues, and improves the success rate of data transmission.
[0044] Preferably, after receiving a data frame, the operating system performs deserialization processing on the data frame to obtain parsed data, including:
[0045] The data frame is retrieved, and its integrity is verified by checking the frame check sequence. When the data frame is complete, the start and end positions of the data frame are identified, and the header information of the data frame is parsed to obtain the control information.
[0046] The format of the data payload is identified based on the header information. The corresponding parser is used to transform the data payload according to the format. The control information and the transformed data payload are then integrated into parsed data.
[0047] It should be noted that if the data frame is incomplete, the data frame will be discarded.
[0048] This invention verifies the integrity of data frames, analyzes the control information in the data frames, transforms the data payload, and enables the parsing of received data frames, laying the foundation for subsequent analysis of the parsed data and helping to ensure the effectiveness of data processing.
[0049] Preferably, generating touch events based on parsed data includes:
[0050] The system retrieves and analyzes data, identifies the location and time of touch points based on the data, generates touch events based on the location and time of touch points, transmits the touch events to the corresponding system, and stores the touch events in the corresponding database.
[0051] Preferably, the corresponding operation based on the touch event includes:
[0052] Retrieve the location of the touch event; Obtain the touch operation library;
[0053] Match the location of the touch event with the touch operation library; perform the corresponding operation on the system based on the matching result.
[0054] This invention analyzes the position and time of touch points based on parsed data and generates touch events; it performs corresponding operations based on the position of the touch time, enabling timely responses to touches and improving the user experience.
[0055] Preferably, determining whether there is a conflict between the two based on their touch data includes:
[0056] Retrieve the touch data from both sources and determine if the timestamps of the touch data are consistent. If they are, analyze the coordinate system position of the touch data. If not, determine that there is no conflict between the two.
[0057] Determine whether the coordinate systems of the touch data overlap; if yes, determine that there is a conflict between them; otherwise, determine that there is no conflict between them.
[0058] Preferably, determining whether the coordinate systems of the touch data overlap includes:
[0059] Retrieve the coordinate system position of the touch data; calculate the distance between the touch points of the two systems based on the coordinate system positions of the touch data of the two systems;
[0060] If the distance between touch points is less than a distance threshold, it is determined that the coordinate system positions of the touch data overlap; otherwise, it is determined that the coordinate system positions of the touch data do not overlap.
[0061] This invention calculates the distance between touch points and compares the distance with a distance threshold. When the distance is less than the distance threshold, it is determined that there is overlap. This allows for timely handling of conflicts, which helps maintain the normal operation of the system.
[0062] Preferably, the priority of analyzing the two touch data includes:
[0063] Acquire a performance score for touch data; label the type score, importance score, and processing score in the performance score as LF, ZF, and CF, respectively;
[0064] The priority coefficients of touch data are calculated using the formula YX=α×LF+β×ZF+γ×CF, where α, β and γ are weight coefficients greater than 0.
[0065] Preferably, the step of responding to the two systems sequentially according to the priority setting includes:
[0066] Retrieve the priority coefficients of the two touch data sets, sort the two touch data sets according to the priority coefficients from largest to smallest, and obtain the sorting result; respond to the touch data of the two systems in turn according to the sorting result.
[0067] This invention calculates the priority coefficient of touch data based on the performance score of touch data, and processes the touch data sequentially according to the priority coefficient; when conflicts occur, it can process the touch data with higher priority before processing the remaining touch data; this is beneficial for prioritizing the handling of emergency events and avoids the transparent transmission of touch data.
[0068] Compared with the prior art, the beneficial effects of the present invention are:
[0069] 1. This invention acquires touch frame data, detects sub-data within the touch frame data, analyzes the integrity of the touch frame data to ensure data validity, and filters the complete touch frame data to improve data quality. It converts the original touch data format into a standard format to maintain consistency across different system coordinate systems. By selecting the appropriate transmission protocol based on the system's transmission conditions, suitable transmission conditions can be adopted for different systems, providing a data foundation for subsequent touch data transmission channel setup and ensuring transmission efficiency and quality. It acquires basic system data, analyzes the system's basic data using a model to determine the system type, and determines transmission conditions based on the system type, enabling more accurate system type classification and laying the foundation for subsequent transmission protocol determination. It selects the channel type based on the transmission protocol and initializes device parameters to choose a suitable transmission channel. Connecting the touchscreen to two systems and conducting communication tests ensures normal transmission and guarantees transmission speed.
[0070] 2. This invention serializes touch data, transforming complex data structures into a format suitable for network transmission. This facilitates data exchange between different systems, avoids data transmission failures due to compatibility issues, and improves data transmission success rates. It verifies the integrity of data frames, analyzes control information within them, and transforms the data payload. This enables the parsing of received data frames, laying the foundation for subsequent analysis and ensuring the effectiveness of data processing. It analyzes the position and time of touch points based on the parsed data and generates touch events. Based on the position and time of the touch, it performs corresponding operations, enabling timely touch responses and improving user experience. It calculates the distance between touch points and compares it to a distance threshold; if the distance is less than the threshold, overlap is determined. This allows for timely handling of conflicts, maintaining normal system operation. It calculates the priority coefficient of touch data based on its performance score and processes the touch data sequentially according to this priority coefficient. This facilitates the priority handling of emergency events and prevents the transparent transmission of touch data. Attached Figure Description
[0071] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. 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.
[0072] Figure 1 is a schematic diagram of the overall steps of the present invention;
[0073] Figure 2 is a schematic diagram of the data processing and transmission channel setting steps of the present invention;
[0074] Figure 3 is a schematic diagram of the touch event generation and processing steps of the present invention;
[0075] Figure 4 is a schematic diagram of the conflict detection and processing steps of the present invention. Detailed Implementation
[0076] The technical solution of the present invention will be clearly and completely described below with reference to the embodiments. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0077] Please refer to Figure 1. A first aspect embodiment of the present invention provides a touch data transmission method for a multi-operating system touch display device, comprising:
[0078] Step S1: Obtain touch frame data, preprocess the touch frame data to obtain raw touch data; convert the raw touch data into a standard format to obtain the final touch data.
[0079] Step S2: Obtain the transmission conditions of the two systems, determine the transmission protocol of the system based on the transmission conditions; initialize the protocol parameters based on the transmission protocol and set the touch data transmission channel;
[0080] Step S3: Serialize the touch data and package it into a data frame; transmit the data frame to the corresponding system through the touch data transmission protocol;
[0081] Step S4: After receiving the data frame, the operating system deserializes the data frame to obtain parsed data; generates touch events based on the parsed data; and performs corresponding operations based on the touch events.
[0082] Step S5: When two systems are displayed simultaneously, determine whether there is a conflict between them based on their touch data; if yes, analyze the priority of the two touch data; if no, continue to detect the touch data of both; respond to the two systems in sequence according to the priority settings.
[0083] Please refer to Figure 2 to obtain the touch frame data, which includes a timestamp and coordinate system position. Determine if the touch frame data contains all sub-data; if yes, retain the corresponding touch frame data; otherwise, complete the missing sub-data. Filter the retained and completed touch frame data to obtain the original touch data. The original touch data is in the format (x_raw, y_raw, t_raw). Convert the format of the original touch data using the formulas x = f(x_raw), y = f(y_raw), and t = t_raw to obtain the standard format (x, y, t). Here, f(x) and f(y) are coordinate transformation functions. Mark the converted original touch data as touch data.
[0084] For example: Suppose we have three sets of touch frame data. We analyze the three sets of touch frame data. The first set of touch frame data is missing a timestamp, so we fill in the timestamp. After filtering the three sets of touch frame data, we get the original touch data. We convert the format of the three sets of original touch data to get the first set of original touch data (x1, y1, t1); the second set of original touch data (x2, y2, t2); and the third set of original touch data (x3, y3, t3).
[0085] The process involves: acquiring basic system data, including encryption mechanisms, transmission rates, and network bandwidth; integrating the basic data of the two systems into two sets of type input sequences; calling a type analysis model by inputting the two sets of type input sequences into the model to obtain corresponding type labels; determining the types of the two systems based on the type labels; matching the corresponding transmission conditions based on the types of the two systems; where the type labels are set to positive integers; and constructing the type analysis model based on an artificial intelligence model. The process also includes acquiring a transmission protocol library and matching the transmission conditions with the library to obtain the corresponding transmission protocols for the two systems.
[0086] For example: Suppose that the basic data of the two systems are integrated into type input sequences and input into the type analysis model, and the type label of system A is 12 and the type label of system B is 4; then the transmission condition is that it supports high-frequency touch data transmission, and the corresponding transmission protocol is USB HID (Human Interface Device) protocol; system B supports low-latency touch data transmission, and the corresponding transmission protocol is RTP (Real-time Transport Protocol).
[0087] The process involves retrieving the transmission protocol and setting the physical layer parameters accordingly. These parameters include the IP address, subnet mask, gateway, and port number. Device parameters are then initialized. The touchscreen is set as a client, and the communication interface and parameters are configured. Both systems are set as servers, and their device addresses and communication parameters are configured. The appropriate channel type is selected based on the transmission protocol, data transmission parameters are configured, a communication program is written, and the touchscreen is connected to both systems for communication testing. Successful data transmission indicates successful setup of the touchscreen data transmission channel. Data transmission parameters include the data area, function code, and data format.
[0088] It should be noted that the type analysis model is built on an artificial intelligence model, including:
[0089] Obtain the standard dataset; the standard dataset includes standard input data consistent with the content attributes of the type input sequence, and standard output data consistent with the content attributes of the type label.
[0090] The standard dataset is divided into a training set, a validation set, and a test set. The training set is used to train the artificial intelligence model. The validation set is used to adjust the coefficient parameters in the artificial intelligence model. The test set is used to validate the artificial intelligence model and determine whether the performance parameters of the artificial intelligence model are greater than the parameter threshold. If yes, the artificial intelligence model is marked as a type analysis model; otherwise, the artificial intelligence model is retrained.
[0091] Please refer to Figure 3. Touch data is retrieved and serialized using an accumulation checksum algorithm to obtain the processing result, checksum. The touch data and processing result are integrated and packaged into a data frame (x, y, t, checksum); where checksum = sum(x + y + t). The data frame is retrieved, and its integrity is verified using a checksum sequence. When the data frame is complete, the start and end positions are identified, and the header information is parsed to obtain control information. The format of the data payload is identified based on the header information, and the corresponding parser is used to transform the data payload. The control information and the transformed data payload are integrated into parsed data. The position and time of the touch point are identified based on the parsed data. A touch event is generated based on the position and time of the touch point and transmitted to the corresponding system. The touch event is stored in the corresponding database. The position of the touch event is retrieved. The touch operation library is obtained. The position of the touch event is matched with the touch operation library. The corresponding operation is performed on the corresponding system based on the matching result.
[0092] Please refer to Figure 4. Retrieve the touch data from both systems and determine if the timestamps of the touch data are consistent. If yes, analyze the coordinate system position of the touch data. If no, determine that there is no conflict between the two systems. Calculate the distance between the touch points based on the coordinate system positions of the touch data from the two systems. Determine if the distance between the touch points is less than the distance threshold. If yes, analyze the priority of the two touch data. If no, continue to detect the touch data from both systems.
[0093] Obtain the performance score of the touch data; label the type score, importance score, and processing score in the performance score as LF, ZF, and CF, respectively; calculate the priority coefficient of the touch data using the formula YX=α×LF+β×ZF+γ×CF, where α, β, and γ are weight coefficients greater than 0; sort the two touch data according to the priority coefficient from largest to smallest to obtain the sorting result; respond to the touch data of the two systems in sequence according to the sorting result.
[0094] For example: Suppose that two sets of touch data are collected at time T1 and time T2 respectively. Calculate the distance between the coordinates of the two sets of touch data. If the distance between the touch points at time T1 is greater than the distance threshold, then there is no conflict between the two systems; if the distance between the touch points at time T2 is less than the distance threshold, then there is a conflict between the two systems.
[0095] The performance score of the touch data is obtained, and the priority coefficients of the two are calculated, with α, β, and γ being 0.2, 0.5, and 0.3 respectively. The specific steps are as follows:
[0096] Touch data 1: Type score LF = 92; Importance score ZF = 90; Processing score CF = 88; Priority coefficient YX = 89.8; Touch data 2: Type score LF = 79; Importance score ZF = 87; Processing score CF = 94; Priority coefficient YX = 87.5;
[0097] The touch data is sorted according to priority, resulting in the following sorting result: touch data 1, touch data 2; then system B responds to touch data 1 first, and then system A responds to touch data 2.
[0098] Some of the data in the above formula are calculated by removing dimensions and taking their numerical values. The formula is the closest to the real situation obtained by software simulation of a large amount of collected data. The preset parameters and preset thresholds in the formula are set by those skilled in the art according to the actual situation or obtained through simulation of a large amount of data.
[0099] The working principle of this invention is as follows: This invention acquires touch frame data, preprocesses the touch frame data to obtain raw touch data; converts the raw touch data into a standard format to obtain touch data; acquires the transmission conditions of the two systems, and determines the transmission protocol of the system based on the transmission conditions; initializes the protocol parameters based on the transmission protocol and sets the touch data transmission channel; serializes the touch data and packages it into data frames; and transmits the data frames to the corresponding system through the touch data transmission protocol.
[0100] After receiving a data frame, the operating system deserializes the data frame to obtain parsed data; generates touch events based on the parsed data; performs corresponding operations based on the touch events; when two systems are displayed simultaneously, it determines whether there is a conflict between them based on their touch data; if yes, it analyzes the priority of the two touch data; if no, it continues to detect the touch data of both; and responds to the two systems in sequence according to the priority settings.
[0101] The above embodiments are only used to illustrate the technical methods 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 methods of the present invention without departing from the spirit and scope of the technical methods of the present invention.
Claims
1. A touch data transmission method for a multi-operating system touch display device, characterized by, include: Step S1: Obtain touch frame data and preprocess the touch frame data to obtain raw touch data; The raw touch data is converted into a standard format to obtain the touch data. Step S2: Obtain the transmission conditions of the two systems, and determine the transmission protocol of the systems based on the transmission conditions; Initialize protocol parameters and set up touch data transmission channels based on the transmission protocol; Step S3: Serialize the touch data and pack it into data frames; Data frames are transmitted to the corresponding system via the touch data transmission protocol; Step S4: After receiving the data frame, the operating system deserializes the data frame to obtain parsed data; generates touch events based on the parsed data; and performs corresponding operations based on the touch events. Step S5: When two systems are displayed simultaneously, determine whether there is a conflict between them based on their touch data; if yes, analyze the priority of the two touch data; if no, continue to detect the touch data of both; respond to the two systems in sequence according to the priority settings.
2. The touch data transmission method for a multi-OS touch display device according to claim 1, wherein, The process of preprocessing the touch frame data to obtain the raw touch data includes: Retrieve touch frame data; the touch frame data includes a timestamp and coordinate system position; Determine whether the touch frame data contains all sub-data. If yes, retain the corresponding touch frame data; otherwise, complete the missing sub-data. The retained touch frame data and the supplemented touch frame data are filtered to obtain the original touch data.
3. The touch data transmission method for a multi-OS touch display device according to claim 1, wherein, The process of converting raw touch data into a standard format to obtain touch data includes: Retrieve raw touch data; the format of raw touch data is: (x_raw, y_raw, t_raw); The original touch data is converted into a standard format (x, y, t) using the formulas x = f(x_raw), y = f(y_raw), and t = t_raw. Here, f(x) and f(y) are coordinate transformation functions. The raw touch data, converted to a standard format, is labeled as touch data.
4. The touch data transmission method for a multi-OS touch display device according to claim 1, wherein, The step of determining the system's transmission protocol based on transmission conditions includes: Retrieve the transmission conditions of the two systems; obtain the transmission protocol library; the transmission conditions are determined according to the type of the system. The transmission conditions are matched with the transmission protocol library to obtain the transmission protocols corresponding to the two systems.
5. The touch data transmission method for a multi-OS touch display device according to claim 4, wherein, The transmission conditions are determined according to the type of system, including: Obtain the basic data of the system; the basic data includes encryption mechanism, transmission rate and network bandwidth; integrate the basic data of the two systems into two sets of input sequences. The type analysis model is invoked, and the two sets of type input sequences are input into the type analysis model to obtain the corresponding type labels; the types of the two systems are determined according to the type labels; the corresponding transmission conditions are matched according to the types of the two systems; the type labels are set to positive integers; the type analysis model is built based on an artificial intelligence model.
6. The touch data transmission method for a multi-OS touch display device according to claim 5, wherein, The type analysis model is built based on an artificial intelligence model and includes: Obtain the standard dataset; the standard dataset includes standard input data consistent with the content attributes of the type input sequence, and standard output data consistent with the content attributes of the type label. The standard dataset is divided into a training set, a validation set, and a test set. The training set is used to train the artificial intelligence model. The validation set is used to adjust the coefficient parameters in the artificial intelligence model. The test set is used to validate the artificial intelligence model and determine whether the performance parameters of the artificial intelligence model are greater than the parameter threshold. If yes, the artificial intelligence model is marked as a type analysis model; otherwise, the artificial intelligence model is retrained.
7. The touch data transmission method for a multi-OS touch display device according to claim 1, wherein, The process of initializing protocol parameters and setting up the touch data transmission channel based on the transmission protocol includes: Step S21: Retrieve the transport protocol and set the physical layer parameters according to the transport protocol; the physical layer parameters include IP address, subnet mask, gateway, and port number; Step S22: Initialize device parameters; set the touchscreen as a client, set the communication interface, and configure the communication parameters; set both systems as servers, set the device addresses, and configure the communication parameters; Step S23: Select the corresponding channel type according to the transmission protocol, configure the data transmission parameters, write the communication program, connect the touch screen to the two systems, and conduct a communication test; when the data is transmitted correctly, the touch data transmission channel is successfully set; the data transmission parameters include the data area, function code, and data format.
8. The touch data transmission method for a multi-OS touch display device according to claim 1, wherein, The step of serializing the touch data and packaging it into data frames includes: Retrieve touch data, serialize the touch data using an accumulation checksum algorithm, and obtain the processing result checksum; The touch data and processing results are integrated and packaged into a data frame (x, y, t, checksum); where: checksum = sum(x + y + t).
9. The touch data transmission method for a multi-OS touch display device according to claim 1, wherein, After receiving the data frame, the operating system performs deserialization processing on the data frame to obtain parsed data, including: The data frame is retrieved, and its integrity is verified by checking the frame check sequence. When the data frame is complete, the start and end positions of the data frame are identified, and the header information of the data frame is parsed to obtain the control information. The format of the data payload is identified based on the header information. The corresponding parser is used to transform the data payload according to the format. The control information and the transformed data payload are then integrated into parsed data.
10. The touch data transmission method for a multi-OS touch display device according to claim 9, wherein, The step of generating touch events based on parsed data includes: The system retrieves and analyzes data, identifies the location and time of touch points based on the data, generates touch events based on the location and time of touch points, transmits the touch events to the corresponding system, and stores the touch events in the corresponding database.
11. The touch data transmission method for a multi-OS touch display device according to claim 1, wherein, The corresponding operation based on the touch event includes: Retrieve the location of the touch event; Obtain the touch operation library; Match the location of the touch event with the touch operation library; perform the corresponding operation on the system based on the matching result.
12. The touch data transmission method for a multi-OS touch display device according to claim 1, wherein, The step of determining whether there is a conflict between the two based on their touch data includes: Retrieve the touch data from both sources and determine if the timestamps of the touch data are consistent. If they are, analyze the coordinate system position of the touch data. If not, determine that there is no conflict between the two. Determine whether the coordinate systems of the touch data overlap; if yes, determine that there is a conflict between them; otherwise, determine that there is no conflict between them.
13. The touch data transmission method for a multi-OS touch display device according to claim 12, wherein, The determination of whether the coordinate systems of the touch data overlap includes: Retrieve the coordinate system position of the touch data; calculate the distance between the touch points of the two systems based on the coordinate system positions of the touch data of the two systems; If the distance between touch points is less than a distance threshold, it is determined that the coordinate system positions of the touch data overlap; otherwise, it is determined that the coordinate system positions of the touch data do not overlap.
14. The touch data transmission method for a multi-OS touch display device according to claim 1, wherein, The priority of analyzing the two touch data includes: Acquire a performance score for touch data; label the type score, importance score, and processing score in the performance score as LF, ZF, and CF, respectively; The priority coefficients of touch data are calculated using the formula YX=α×LF+β×ZF+γ×CF, where α, β and γ are weight coefficients greater than 0.
15. The touch data transmission method for a multi-OS touch display device according to claim 14, wherein, The step of responding to the two systems sequentially according to the priority settings includes: Retrieve the priority coefficients of the two touch data sets, sort the two touch data sets in descending order of priority coefficients, and obtain the sorting result; respond to the touch data of the two systems in turn according to the sorting result.