Touch data transmission method for multi-operating system touch display device
By preprocessing and standard format conversion of touch frame data, selecting appropriate transmission protocols and priority response mechanisms, the problem of touch data pass-through in multi-operating system touch display devices is solved, improving the success rate of data transmission and user experience.
Patent Information
- Application Number
- CN202411439024.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-15
- Publication Date
- 2026-01-13
- Estimated Expiration
- 2044-10-15
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 CN119356545B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application belongs to the field of data transmission, and relates to a touch data transmission technology, in particular to a touch data transmission method for a multi-operating system touch display device. BACKGROUND
[0002] The multi-operating system touch display device refers to a display device capable of supporting multiple operating systems and having a touch interaction function, and is applied to the fields of education, conference, retail, entertainment and the like; the touch data transmission enables a user to interact with the device through intuitive finger touch, and this operation mode is simple and easy to understand, facilitating the user's understanding and use; the touch data transmission has the characteristic of real-time response, and the operation of the user on the touch screen can be immediately responded and fed back, and this instantaneity enhances the operation experience of the user and makes the interaction more smooth; the multi-operating system touch display device can support multiple operating systems, and through a unified touch data transmission standard or protocol, the devices under different operating systems can all realize touch interaction, thereby breaking the barrier between operating systems.
[0003] The existing dual-system touch display device has touch frames thereon, and the touch frames respectively perform touch data transmission with two systems through touch data channels; when one of the systems is displayed, 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 the two systems need to be displayed simultaneously, the touch data channels of the touch frame and the two systems are opened simultaneously, and when the touch point of the touch operation falls on one of the systems, the other system will also respond, and there is a problem of touch data transparent transmission; if only the touch data channel between the touch frame and one of the systems is opened, then when the touch point of the touch operation falls on the other system, the other system will not be able to respond to the touch operation.
[0004] The present application provides a touch data transmission method for a multi-operating system touch display device to solve the above technical problems. SUMMARY
[0005] The present application aims to at least solve one of the technical problems existing in the prior art; for this purpose, the present application provides a touch data transmission method for a multi-operating system touch display device, which is used to solve the technical problem of touch data transparent transmission when the touch data transmission channels of the two systems are opened simultaneously in the prior art.
[0006] To achieve the above-mentioned purpose, the first aspect of the present application provides a touch data transmission method for a multi-operating system touch display device, comprising:
[0007] Step S1: obtaining touch frame data, pre-processing the touch frame data to obtain original touch data; converting the original touch data into a standard format to obtain 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 and set the touch data transmission channel based on the transmission protocol;
[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 This is a schematic diagram illustrating the overall steps of the present invention;
[0073] Figure 2 This is a schematic diagram illustrating the data processing and transmission channel setup steps of the present invention;
[0074] Figure 3 This is a schematic diagram of the touch event generation and processing steps of the present invention;
[0075] Figure 4 This 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 see Figure 1 The first aspect of this 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 and set the touch data transmission channel based on the transmission protocol;
[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 see Figure 2The process involves acquiring touch frame data, which includes a timestamp and coordinate system position; determining whether the touch frame data contains all sub-data; retaining the corresponding touch frame data if yes, and supplementing the missing sub-data if no; filtering the retained and supplemented touch frame data to obtain the original touch data; the original touch data is in the format (x_raw, y_raw, t_raw); converting the original touch data format to the standard format (x, y, t) using the formulas x = f(x_raw), y = f(y_raw), and t = t_raw; where f(x) and f(y) are coordinate transformation functions; and marking 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 see Figure 3 The system retrieves touch data and serializes it using an accumulation checksum algorithm to obtain a checksum. It then integrates the touch data and the checksum, packaging them into a data frame (x, y, t, checksum), where checksum = sum(x + y + t). The system retrieves the data frame and verifies its integrity using a checksum sequence. When the data frame is complete, it identifies the start and end positions and parses the header information to obtain control information. Based on the header information, it identifies the data payload format and uses a corresponding parser to transform the data payload. The system integrates the control information and the transformed data payload into parsed data. Based on the parsed data, it identifies the touch point's location and time. A touch event is generated based on the touch point's location and time and transmitted to the corresponding system. The touch event is stored in the corresponding database. The system retrieves the location of the touch event and obtains a touch operation library. It matches the touch event location with the touch operation library and performs the corresponding operation on the system based on the matching result.
[0092] Please see Figure 4The system retrieves touch data from both systems and determines whether the timestamps of the touch data are consistent. If they are, it analyzes the coordinate system position of the touch data. If not, it determines that there is no conflict between the two systems. Based on the coordinate system position of the touch data from the two systems, it calculates the distance between the touch points of the two systems. It determines whether the distance between the touch points is less than the distance threshold. If it is, it analyzes the priority of the two touch data. If not, it continues to detect the touch data of 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 method for touch data transmission in a multi-operating system touch display device, characterized in that, 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. The two systems will respond sequentially according to their respective priorities. 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 if the coordinate systems of the touch data overlap; if yes, determine if there is a conflict; otherwise, determine if there is no conflict. 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.
2. The touch data transmission method for a multi-operating system touch display device according to claim 1, characterized in that, 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-operating system touch display device according to claim 1, characterized in that, 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-operating system touch display device according to claim 1, characterized in that, 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. A touch data transmission method for a multi-operating system touch display device according to claim 4, characterized in that, 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. A touch data transmission method for a multi-operating system touch display device according to claim 5, characterized in that, 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. A touch data transmission method for a multi-operating system touch display device according to claim 1, characterized in that, 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 up; the data transmission parameters include the data area, function code, and data format.
8. A touch data transmission method for a multi-operating system touch display device according to claim 1, characterized in that, 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. A touch data transmission method for a multi-operating system touch display device according to claim 1, characterized in that, 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. A touch data transmission method for a multi-operating system touch display device according to claim 9, characterized in that, 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. A touch data transmission method for a multi-operating system touch display device according to claim 1, characterized in that, 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. A touch data transmission method for a multi-operating system touch display device according to claim 1, characterized in that, 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.
13. A touch data transmission method for a multi-operating system touch display device according to claim 12, characterized in that, 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 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.
Citation Information
Patent Citations
Data transmission method between heterogeneous systems and data transmission system
CN101754221A
Touch method and a touch device of multi-system touch display equipment
CN109918016A