Data communication method, device and storage medium based on multi-screen multi-touch display system

By modifying the serial port connection and communication protocol in the multi-screen multi-touch display system, and using HTML format files to realize multi-terminal display, the problem of difficulty and high cost of multi-screen display is solved, and simplified multi-terminal display system development and low-cost expansion are achieved. .

CN117724671BActive Publication Date: 2024-10-22无锡宇宁科技集团股份有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311772639.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-20
Publication Date
2024-10-22
Estimated Expiration
2043-12-20

AI Technical Summary

Technical Problem

In the existing technology, multi-screen display is difficult and costly to implement, and under the simple secondary screen display requirement, the complexity of the equipment increases, making it difficult to expand the display of multiple screens.

Method used

By making a serial port connection between the master control system and the slave system, modify the communication protocol, define services to achieve serial port transceiver communication, compile the target data into an HTML format file and send it to the slave system for display, and send the operation information of the slave system to the master control system. The system uses independent main control systems and subsystems to control display and touch screen operations respectively.

Benefits of technology

It simplifies the implementation difficulty of the multi-terminal display system, reduces the cost, expands the applicable scenarios, improves the convenience of third-party development and the stability of the method, and realizes the operational convenience of different display and different touch.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117724671B_ABST
    Figure CN117724671B_ABST
Patent Text Reader

Abstract

The present invention discloses a data communication method based on a multi-screen multi-touch display system, comprising: after the master control system and the slave system are connected via serial ports, the communication protocol of the master control system is modified to debug the serial port communication between the master control system and the slave system; the serial port transceiver communication between the master control system and the slave system is realized by defining services; the target data is compiled into an HTML format file by the master control system, and sent to the slave system for display; the operation information of the slave system is sent to the master control system. The present invention also discloses a data communication device and a storage medium. The present invention can simplify the implementation method of the multi-screen display system and expand the applicable scenarios.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of multi-screen display technology, and in particular to a data communication method, device and storage medium based on a multi-screen multi-touch display system. Background Art

[0002] In the prior art, intelligent terminal devices need to realize multi-screen display based on other display interfaces other than the main screen on the main control chip. For example, under the condition that the MT8390 platform or RK3568 has a MIPIDSI interface, it can also connect to display devices with DP and eDP interfaces, but overall it can only connect to 2-3 screens. At the same time, the cost of devices made with such chip solutions is also relatively high. If you want to expand the display of several more screens, you need to make a cascade array of multiple high-end chips to customize the equipment, which increases the complexity and cost of the equipment and is not suitable for simple secondary screen display needs. Now many such products are forced to cascade multiple high-end SoC solutions to meet such needs. In terms of display content, a virtual screen based on the main system is displayed, and a dedicated application is used to display it. All displays and operational feedback on the display (TP feedback) are implemented within a system, which is technically difficult to implement. Summary of the invention

[0003] The main purpose of the present invention is to provide a data communication method, device and storage medium based on a multi-screen multi-touch display system, aiming to solve the problem that multi-screen display is difficult to implement in the prior art.

[0004] To achieve the above object, the present invention provides a data communication method.

[0005] Applied to a multi-terminal display system, the multi-terminal display system at least includes a master control system and a slave system that communicate via a serial port, the method includes:

[0006] After the master control system and the slave system are connected via serial ports, the communication protocol of the master control system is modified to debug the serial port communication between the master control system and the slave system;

[0007] Implement serial port transceiver communication between the master control system and the slave system by defining services;

[0008] The target data is compiled into an HTML format file by the master control system and sent to the slave system for display;

[0009] The operation information of the slave system is sent to the master control system.

[0010] Optionally, the step of debugging the communication between the serial ports of the master control system and the slave system by modifying the communication protocol of the master control system includes:

[0011] Find the general input / output interface GPIO of the main control system based on the hardware schematic diagram;

[0012] Customizing the default function of the GPIO using the platform tool of the main control system;

[0013] Modify the serial port mode of the GPIO;

[0014] Modify the communication direction of the GPIO.

[0015] Optionally, the implementing serial port transceiver communication between the master control system and the slave system by defining a service includes:

[0016] Achieving the self-transmitting and self-receiving serial port communication between the master control system and the slave system by defining services;

[0017] Based on the defined service, serial port communication between the master control system and the slave system is realized.

[0018] Optionally, the step of implementing serial port transceiver communication between the master control system and the slave system by defining a service includes:

[0019] Define serial port communication service SerialPortService;

[0020] Define a data receiving thread ReadThread and a data sending thread SendThread in the SerialPortService;

[0021] Start the service and initialize the serial port information;

[0022] Initialize input stream object and output stream object;

[0023] Instantiate a thread ReadThread object, and start the ReadThread to monitor and receive data from the input stream object;

[0024] Call the SendThread to write data to the output stream object.

[0025] Optionally, after the step of starting the service and initializing the port information of the serial port, the following steps are further included:

[0026] Using one end of the master control system and the slave system to send test data to the other end;

[0027] If the receiving end does not receive the test data within a preset time, secondary initialization is performed based on the standby port information.

[0028] Optionally, the step of compiling the target data into an HTML format file by the master control system and sending the file to the slave system for display includes:

[0029] Compiling an HTML format file based on the target data by the main control system;

[0030] Sending the HTML format file to the slave system through the master control system;

[0031] The HTML format file is interpreted and displayed by the slave system.

[0032] Optionally, the slave system includes an information extraction sensor device, and the step of sending the operation information of the slave system to the master control system includes:

[0033] extracting sensor data using the information extraction sensor device;

[0034] The sensor data is sent to the main control system for display by the main control system.

[0035] Optionally, the master control system includes an MT8781 platform, and the slave system includes an SC7731E platform; the SCAN_TXD1_RST port of the MT8781 platform is connected to the U3RXD of the SC7731E platform for communication, and the SCAN_RXD1_PDN port of the MT8781 platform is connected to the U3TXD of the SC7731E platform for communication.

[0036] To achieve the above object, the present invention further provides a data communication device based on a multi-screen multi-touch display system, the data communication device comprising:

[0037] A debugging module, used for debugging the serial port communication between the master control system and the slave system by modifying the communication protocol of the master control system after the master control system and the slave system are connected via serial ports;

[0038] A service definition module is used to implement serial port transceiver communication between the master control system and the slave system by defining services;

[0039] A first sending module, used to compile the target data into an HTML format file through the master control system, and send it to the slave system for display;

[0040] The second sending module is used to send the operation information of the slave system to the master control system.

[0041] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, on which a data communication program is stored, and when the data communication program is executed by a processor, the steps of the data communication method described above are implemented.

[0042] The data communication method, device and computer-readable storage medium based on the multi-screen multi-touch display system provided by the present invention, after the master control system and the slave system are connected by serial port, the communication protocol of the master control system is modified to debug the serial port communication between the master control system and the slave system; the serial port transceiver communication between the master control system and the slave system is realized by defining services; the target data is compiled into an HTML format file by the master control system and sent to the slave system for display; the operation information of the slave system is sent to the master control system. Compared with the prior art, its beneficial effects are:

[0043] A multi-terminal display system is built based on independent main control systems and subsystems. The control of display and TP is controlled by separate systems, which is convenient for control. The main control system and the system can independently handle their own display and TP operations, and even this does not increase the cost too much; the development of corresponding applications on their own systems is relatively easy, not only the display operation of different displays is easy to implement, but also the feedback of the display system through its own TP operation is relatively easy to implement

[0044] When information interaction is needed, serial communication between systems is used to achieve it, and the serial port channels of the master control system and the slave system are used for easy expansion;

[0045] The interaction of displayed information is implemented using the unified interface protocol HTML, which expands the applicable scenarios, improves the convenience of third-party intervention in development, and enhances the stability of method implementation;

[0046] There is no need to expand multiple master control systems, reducing the overall cost of the entire multi-terminal display system. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 It is a schematic diagram of the system structure of the hardware operating environment involved in the embodiment of the present invention;

[0048] Figure 2-1 A schematic diagram of the serial port of the MT8781 platform in an embodiment of the data communication method of the present invention;

[0049] Figure 2-2 A schematic diagram of the serial port of the SC7731E platform in an embodiment of the data communication method of the present invention;

[0050] Figure 3 This is a flow chart of an embodiment of a data communication method of the present invention;

[0051] Figure 4 This is an example diagram of a display interface of a cashier bill in an embodiment of the data communication method of the present invention;

[0052] Figure 5 In the embodiment of the data communication method of the present invention Figure 4 The corresponding HTML format file example. DETAILED DESCRIPTION

[0053] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0054] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0055] In the prior art, the multi-terminal display system is difficult to implement.

[0056] In order to solve the above technical problems, the present invention provides a data communication method based on a multi-screen multi-touch display system, which is applied to a multi-terminal display system, wherein the multi-terminal display system at least includes a master control system and a slave system that communicate via a serial port connection, and the method includes: after the master control system and the slave system are connected via a serial port, by modifying the communication protocol of the master control system, debugging the serial port communication between the master control system and the slave system; by defining services, realizing the serial port transceiver communication between the master control system and the slave system; by the master control system, compiling the target data into an HTML format file, and sending it to the slave system for display; sending the operation information of the slave system to the master control system. Thus, a multi-terminal display system is constructed based on the data communication between the master control system and the slave system, simplifying the method and difficulty of the multi-terminal display system, and expanding the applicable scenarios.

[0057] like Figure 1 As shown, Figure 1 It is a schematic diagram of the system structure of the hardware operating environment involved in the embodiment of the present invention.

[0058] The terminal of the embodiment of the present invention can be a terminal device with computing capability, or a PC, or a smart phone, a tablet computer, an e-book reader, an MP3 (Moving Picture Experts Group Audio Layer III) player, an MP4 (Moving Picture Experts Group AudioLayer IV) player, a portable computer, or other mobile terminal devices with display capabilities.

[0059] like Figure 1 As shown, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0060] Optionally, the terminal may also include a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, and the like. Among them, sensors include light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display screen according to the brightness of the ambient light, and the proximity sensor may turn off the display screen and / or backlight when the mobile terminal is moved to the ear. As a type of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; of course, the mobile terminal may also be equipped with other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which will not be repeated here.

[0061] Those skilled in the art will understand that Figure 1 The terminal structure shown in the figure does not constitute a limitation on the terminal, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0062] like Figure 1 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a data communication program.

[0063] exist Figure 1 In the terminal shown, the network interface 1004 is mainly used to connect to the backend server and perform data communication with the backend server; the user interface 1003 is mainly used to connect to the client (user end) and perform data communication with the client; and the processor 1001 can be used to call the data communication program stored in the memory 1005 and perform the following operations:

[0064] After the master control system and the slave system are connected via serial ports, the communication protocol of the master control system is modified to debug the serial port communication between the master control system and the slave system;

[0065] Implement serial port transceiver communication between the master control system and the slave system by defining services;

[0066] The target data is compiled into an HTML format file by the master control system and sent to the slave system for display;

[0067] The operation information of the slave system is sent to the master control system.

[0068] Further, the processor 1001 may call the data communication program stored in the memory 1005, and further perform the following operations:

[0069] Find the general input / output interface GPIO of the main control system based on the hardware schematic diagram;

[0070] Customizing the default function of the GPIO using the platform tool of the main control system;

[0071] Modify the serial port mode of the GPIO;

[0072] Modify the communication direction of the GPIO.

[0073] Further, the processor 1001 may call the data communication program stored in the memory 1005, and further perform the following operations:

[0074] Achieving the self-transmitting and self-receiving serial port communication between the master control system and the slave system by defining services;

[0075] Based on the defined service, serial port communication between the master control system and the slave system is realized.

[0076] Further, the processor 1001 may call the data communication program stored in the memory 1005, and further perform the following operations:

[0077] Define serial port communication service SerialPortService;

[0078] Define a data receiving thread ReadThread and a data sending thread SendThread in the SerialPortService;

[0079] Start the service and initialize the serial port information;

[0080] Initialize input stream object and output stream object;

[0081] Instantiate a thread ReadThread object, and start the ReadThread to monitor and receive data from the input stream object;

[0082] Call the SendThread to write data to the output stream object.

[0083] Further, the processor 1001 may call the data communication program stored in the memory 1005, and further perform the following operations:

[0084] Using one end of the master control system and the slave system to send test data to the other end;

[0085] If the receiving end does not receive the test data within a preset time, secondary initialization is performed based on the standby port information.

[0086] Further, the processor 1001 may call the data communication program stored in the memory 1005, and further perform the following operations:

[0087] Compiling an HTML format file based on the target data by the main control system;

[0088] Sending the HTML format file to the slave system through the master control system;

[0089] The HTML format file is interpreted and displayed by the slave system.

[0090] Further, the processor 1001 may call the data communication program stored in the memory 1005, and further perform the following operations:

[0091] extracting sensor data using the information extraction sensor device;

[0092] The sensor data is sent to the main control system for display by the main control system.

[0093] The data communication method of the present invention is applied to a multi-terminal display system, and the multi-terminal display system at least includes a master control system and a slave system that communicate via a serial port. In a specific implementation scenario of a multi-terminal display system, the number of master control systems and / or slave systems can be one or more than two, and the number is not limited. Specifically, the master control system includes but is not limited to the MT8781 platform, and the slave system includes but is not limited to the SC7731E platform. The embodiments of the present invention are described by taking the master control system as the MT8781 platform and the slave system as the SC7731E platform as an example. Refer to 2-1 and Figure 2-2 As shown, Figure 2-1 This is a schematic diagram of the serial port of the MT8781 platform in an embodiment of the data communication method of the present invention. Figure 2-1 It is a schematic diagram of the serial port of the SC7731E platform in an embodiment of the data communication method of the present invention; when the data communication method of the present invention is implemented, in a multi-terminal display system, the SCAN_TXD1_RST port of the MT8781 is connected to the U3RXD of the SC7731E for communication, and the SCAN_RXD1_PDN port of the MT8781 is connected to the U3TXD of the SC7731E for communication.

[0094] Due to the existing technical solutions, a single main control system, such as the MT8781 platform SoC, will not have multiple display interfaces. Generally, the mainstream main controller chips on the market will not support multiple display interfaces on the SoC, because a single main control chip cannot meet the needs of multiple screen displays. The display needs also require input control for reverse operation, which is generally achieved by using a touch screen. In this way, even if there is a multi-touch hardware control channel on the main control system, the software implementation also requires support from the corresponding system. It is necessary to add multi-TP operation modifications to the system (Android) of the main control chip, and this control needs to be re-implemented in the system. The corresponding application development also needs to consider multi-touch.

[0095] Based on the data communication method of the present invention, two independent Android systems control the display and TP by separate systems, which is convenient for control. When information interaction is needed, serial communication between the two systems is used to achieve it. Both systems have 4 pairs of serial communication channels, which is convenient for expanding the display to 4 groups. The four groups of SC7731E subsystems can independently handle their own display and TP operations, and even so, it does not increase the cost too much. The display information is implemented using the unified interface protocol HTML, which has a wider application in the design of the existing commonly used intelligent system UI interface display, and can expand the applicable scenarios of multi-terminal display systems.

[0096] Reference Figure 3 , Figure 3This is a flow chart of an embodiment of a data communication method of the present invention. In some embodiments, the data communication method includes:

[0097] Step S10, after the master control system and the slave system are connected via serial ports, the communication protocol of the master control system is modified to debug the serial port communication between the master control system and the slave system.

[0098] Specifically, in some embodiments, step S10 includes:

[0099] Step S11, searching for the general purpose input / output interface GPIO of the main control system based on the hardware schematic diagram.

[0100] Step S12: Customize the default function of the GPIO using the platform tool of the main control system.

[0101] Step S13, modifying the serial port mode of the GPIO;

[0102] Step S14, modifying the communication direction of the GPIO.

[0103] Specifically, for the MT8781 platform as the main control system, you can first check the hardware schematic diagram to find that the GPIO port corresponding to SCAN_RXD1_PDN is 21, and the GPIO port corresponding to SCAN_TXD1_RST is 23. Then use the platform tool: mediatek / dct / DrvGen.exe tool to customize the default function of the GPIO port. Then modify the initial mode Def.Mode of GPIO21 and GPIO23 to 4, that is, the serial port mode (the corresponding function can be selected in the DCT Tool tool). Modify the direction of GPIO, that is, the output / input function; change the data transmission direction of GPIO21 to input, and change the data transmission direction of GPIO23 to output, thereby completing the configuration of the serial port mode. For the 7731E platform, the system's built-in serial port is used by default, and you only need to block the output of the serial port log.

[0104] Step S20, implementing serial port transceiver communication between the master control system and the slave system by defining services.

[0105] Specifically, in some embodiments, step S20 includes:

[0106] Step S21, realizing the serial port autonomous communication between the master control system and the slave system by defining services;

[0107] Step S22, based on the defined service, serial port communication between the master control system and the slave system is implemented.

[0108] When implementing step S20, firstly, the UART serial port on the MT8781 Kernel 5.10 system is realized by defining services, then the UART serial port on the SC7731E Kernel 4.19 system is realized, and then the SCAN_TXD1 on the MT8781 Kernel 5.10 system is realized to send and the U3RXD of the SC7731E is received. At the same time, the U3TXD of the SC7731E sends and the SCAN_RXD1_PDN on the MT8781 Kernel 5.10 system is received.

[0109] Specifically, in some embodiments, to achieve self-transmission and self-reception as well as mutual communication between the master control system and the slave system, step S20 includes:

[0110] Step S23, defining the serial port communication service SerialPortService.

[0111] Specifically, the RX interface of the serial port is used to receive data, and the TX interface of the serial port is used to send data; in terms of hardware, the SCAN_TXD1_RST port of MT8781 is connected to the U3RXD of SC7731E, so that the MT8781 can send data and the SC7731E can receive data; in terms of hardware, the SCAN_RXD1_PDN port of MT8781 is connected to the U3TXD of SC7731E, so that the SC7731E can send data and the MT8781 can receive data.

[0112] It can be implemented based on the Android system with the help of Google's open source framework android-serialport-api, defining a service named SerialPortService, which is the serial port communication service.

[0113] Step S24, defining a data receiving thread ReadThread and a data sending thread SendThread in the SerialPortService.

[0114] A data receiving thread named ReadThread is defined inside the service. A while loop is used in the thread to read data from the input stream. A data sending thread named SendThread is also defined to write data to the output stream.

[0115] Step S25, start the service and initialize the port information of the serial port.

[0116] Start the service, define the service through the open source framework to realize data sending and receiving. In order to ensure the stability of sending and receiving, the serial port needs to be uniformly initialized (initialize the port and baud rate). When the service is created, initialize the port information of the serial port, such as the port number and baud rate, including: setting the baud rate; setting the data flow control; setting the frame format.

[0117] In some embodiments, step S25 further includes:

[0118] Step S251, using one end of the master control system and the slave system to send test data to the other end;

[0119] Step S252: If the receiving end does not receive the test data within a preset time, a secondary initialization is performed based on the standby port information.

[0120] Since each end of the multi-terminal display system performs initialization operations separately, it is possible that the initialization of one end fails (for example, the port number is occupied, etc.). Therefore, after the initialization is successful, a communication test is required through the established service (the test content includes sending data and receiving data). If the corresponding receiving data is not received within the set time, the two ends are based on the backup port information (to prevent the current port information from failing to initialize normally) for secondary initialization. Among them, the test data is the communication test data used to test whether each end is initialized normally. During the test, the main control system and one end of the slave system in the multi-terminal display system can be used as the sending end, and the other ends can be used as the data receiving end. The sending end sends test data to the receiving end, and then timing is performed to determine whether the receiving end receives the test data within the preset time. If the receiving end receives the test data within the preset time, the port has been initialized normally. If the receiving end does not receive the test data within the preset time, the port initialization is abnormal and secondary initialization is required.

[0121] Step S26, initializing the input stream object and the output stream object.

[0122] Among them, the input stream object and the output stream object are used to read and write data from the serial port in the thread. Among them, the input stream object refers to reading the data of peripheral devices such as keyboard input, mouse, scanner, etc. into the memory (program). For a multi-terminal display system, the input stream object of a specific end (such as the main control system) also includes reading the data of other ends (such as the slave system) in the external multi-terminal display system into the memory (program). The output stream object refers to outputting the data in the memory (program) to the peripheral.

[0123] Step S27, instantiate the thread ReadThread object, and start the ReadThread to monitor and receive data from the input stream object.

[0124] Step S28, calling the SendThread to write data to the output stream object.

[0125] Instantiate the thread ReadThread object and start the thread to monitor whether there is data sent in the input stream. If there is data, read all the data in the input stream in a loop. When data needs to be sent to the serial port, call SendThread to write data to the output stream.

[0126] Step S30, compiling the target data into an HTML format file through the master control system and sending it to the slave system for display.

[0127] Specifically, in some embodiments, step S30 includes:

[0128] Step S31, compiling an HTML format file based on the target data by the main control system;

[0129] Step S32, sending the HTML format file to the slave system through the master control system;

[0130] Step S33, interpreting and displaying the HTML format file through the slave system.

[0131] Based on the above steps, after realizing the mutual communication between the master control system and the slave system, in the application process of the multi-terminal display system, when the data of the master control system needs to be displayed on the slave system, the target data corresponding to the content to be displayed is compiled into an HTML format file, and the communication function link between the master control system and the slave system realized based on the above steps is sent to the slave system through the serial port, and the slave system then parses the HTML format file and displays it.

[0132] Specifically, you can develop an upper-level application service that organizes and sends HTML files on the MT8781 Android13 system. The system predefines the interface to be displayed, the text display effect, and compiles it into an HTML format file. The interface to be displayed on the secondary screen is expressed in HTML language. For example, the display interface of the cash register bill, such as Figure 4 and Figure 5 As shown, Figure 4 This is an example diagram of a display interface of a cashier bill in an embodiment of the present invention. Figure 5 In the embodiment of the present invention Figure 4The corresponding HTML format file example diagram, organize the data on the MT8781Android13 system and prepare to send it to the Android13 system on the SC7731E side. The Android13 on the SC7731E side receives and parses the HTML file sent from the MT8781, and uses webview to parse the HTML for display. The corresponding display background image or animation can also embed the information in the HTML, but the resource file is preset in the Android13 system on the SC7731E side.

[0133] Through the above data communication method, data communication interaction between each end of the multi-terminal display system can be realized by using HTML format files, which can simplify the implementation method of communication interaction and expand the applicable scenarios of the multi-terminal display system.

[0134] Step S40: sending the operation information of the slave system to the master control system.

[0135] When there is a TP operation on the system side of the device SC7731E, the TP operation information is transmitted back to the Android13 side of MT8781 through the UART interface. Among them, the returned TP information is mainly the operation information content, which is transmitted back to the main control system with content. Taking the scene of the front desk's identity card information interaction authentication when checking in at a hotel as an example, the information of the front desk main control end operation should be displayed to the guests on another display terminal facing the check-in. At the same time, when the guests complete certain operations on the display subsystem, the corresponding operation information will be sent to the main control end for interaction.

[0136] In some embodiments, the slave system includes an information extraction sensor device. The information extraction sensor device refers to an information acquisition device with a sensing function, including but not limited to an NFC device, an image acquisition device, etc. Step 40 includes:

[0137] Step S41, extracting sensor data using the information extraction sensor device;

[0138] Step S42: sending the sensor data to the main control system for display by the main control system.

[0139] Sensor data refers to the data extracted by the information extraction device. Take the scenario of a ticket purchasing system that requires on-site input of personnel identity information as an example. It is necessary to interact with the ticket seller on site. In a one-to-many situation, an NFC chip is added to the secondary screen to quickly identify the NFC information uploaded to the main control end, thereby realizing real-name or non-real-name ticket purchase. In this way, some important information on the display subsystem can be uploaded to the main system for processing, and the processing results are displayed on the display subsystem.

[0140] In summary, step S10 to step S40 are implemented on the intelligent terminal device, where the main system SoC controls several subsystems with a lightweight SoC to realize the multi-screen display function of the main control information, and more serial ports on the main chip are used to control the other two screens besides the main screen, and these two screens are controlled by the relatively lightweight SC7731E simplified chip. MT8781 and SC7731E realize serial port interconnection to realize simple data communication, and realize real-time character-level data communication on the serial port. The interface to be displayed on the subsystem is uploaded from MT8781 to SC7731E through the serial port in HTML format, and the layout interface information on HTML is parsed and displayed by the Android system of SC7731E. For relatively large pictures and animation information, they are pre-set in the SC7731E system according to certain rules in advance, and the display information is obtained by parsing the HTML uploaded from the MT8781 system, and the display of the secondary screen connected to SC7731E is realized by combining the call of the picture and video resources pre-set at the specified position of SC7731E. At the same time, since there are two systems, they can also operate independently in the control of TP operation. As long as the system information after the operation is exchanged through the serial port communication between the systems, both sides can operate on the interactive information.

[0141] In the above data communication method, the multi-terminal display system at least includes a master control system and a slave system that communicate through a serial port connection. After the master control system and the slave system are connected through a serial port, the serial port communication between the master control system and the slave system is debugged by modifying the communication protocol of the master control system; the serial port transceiver communication between the master control system and the slave system is realized by defining services; the target data is compiled into an HTML format file through the master control system, and sent to the slave system for display; the operation information of the slave system is sent to the master control system. In the above manner, since the display and the master control have their own independent systems, the development of the corresponding application on their own system is relatively easy. Not only is the display operation of the different display easy to implement, but it is also relatively easy to implement the feedback of the display system through its own TP operation. Whether it is different display or different touch, there is no need to do secondary development on the system, but the operation process of the existing system (such as Android system), which is convenient for development. In the process of transmitting display information from the main control system to the display subsystem, HTML, a more common UI processing method, is used, which brings more convenient unification when developing third-party UIs. It is easier for third parties to intervene in the development, and the method is more stable. This makes the solution more convenient in the development of specific business areas. In addition, there is no need to expand multiple main control systems, which can reduce the overall cost of the multi-terminal display system.

[0142] In addition, the present invention also provides a data communication device based on the multi-screen multi-touch display system.

[0143] The data communication device of the present invention comprises:

[0144] A debugging module, used for debugging the serial port communication between the master control system and the slave system by modifying the communication protocol of the master control system after the master control system and the slave system are connected via serial ports;

[0145] A service definition module is used to implement serial port transceiver communication between the master control system and the slave system by defining services;

[0146] A first sending module, used to compile the target data into an HTML format file through the master control system, and send it to the slave system for display;

[0147] The second sending module is used to send the operation information of the slave system to the master control system.

[0148] The specific implementation of the data communication device of the present invention can refer to the various embodiments of the data communication method of the present invention, which will not be described in detail here.

[0149] In addition, an embodiment of the present invention further provides a computer-readable storage medium.

[0150] The computer-readable storage medium of the present invention stores a data communication program, and when the data communication program is executed by a processor, the steps of the data communication method described above are implemented.

[0151] Among them, the method implemented when the data communication program running on the processor is executed can refer to the various embodiments of the data communication method of the present invention, and will not be repeated here.

[0152] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0153] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0154] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present invention.

[0155] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A data communication method based on a multi-screen multi-touch display system, It is characterized in that Applied to a multi-terminal display system, the multi-terminal display system at least includes a master control system and a slave system that communicate via a serial port, the method includes: After the master control system and the slave system are connected via serial ports, the general input / output interface GPIO of the master control system is searched based on the hardware schematic diagram; the default function of the GPIO is customized using the platform tool of the master control system; the serial port mode of the GPIO is modified; the communication direction of the GPIO is modified; the serial port self-transmitting and self-receiving communication between the master control system and the slave system is realized by defining services; and the serial port mutual communication between the master control system and the slave system is realized based on the defined services; The target data is compiled into an HTML format file by the master control system and sent to the slave system for display; Sending the operation information of the slave system to the master control system; The step of realizing serial port transceiver communication between the master control system and the slave system by defining a service comprises: Define serial port communication service SerialPortService; Define a data receiving thread ReadThread and a data sending thread SendThread in the SerialPortService; Start the service and initialize the serial port information; the initialization includes setting the baud rate, setting the data flow control and setting the frame format; Using one end of the master control system and the slave system to send test data to the other end; If the receiving end does not receive the test data within a preset time, a secondary initialization is performed based on the backup port information; Initialize input stream object and output stream object; Instantiate a thread ReadThread object, and start the ReadThread to monitor and receive data from the input stream object; Call the SendThread to write data to the output stream object; The master control system includes an MT8781 platform, and the slave system includes an SC7731E platform; a SCAN_TXD1_RST port of the MT8781 platform is communicatively connected to U3RXD of the SC7731E platform, and a SCAN_RXD1_PDN port of the MT8781 platform is communicatively connected to U3TXD of the SC7731E platform.

2. The data communication method according to claim 1, It is characterized in that The step of compiling the target data into an HTML format file through the master control system and sending it to the slave system for display comprises: Compiling an HTML format file based on the target data by the main control system; Sending the HTML format file to the slave system through the master control system; The HTML format file is interpreted and displayed by the slave system.

3. The data communication method according to claim 1, It is characterized in that The slave system includes an information extraction sensor device, and the step of sending the operation information of the slave system to the master control system includes: extracting sensor data using the information extraction sensor device; The sensor data is sent to the main control system for display by the main control system.

4. A data communication device based on a multi-screen multi-touch display system, It is characterized in that Applied to a multi-terminal display system, the multi-terminal display system at least includes a master control system and a slave system that communicate via a serial port, and the communication device includes: The debugging module is used to find the general input / output interface GPIO of the master control system based on the hardware schematic diagram after the master control system and the slave system are connected by serial port; customize the default function of the GPIO by using the platform tool of the master control system; modify the serial port mode of the GPIO; modify the communication direction of the GPIO; realize the serial port self-transmission and self-reception communication between the master control system and the slave system by defining services; realize the serial port mutual communication between the master control system and the slave system based on the defined services; A service definition module is used to implement serial port transceiver communication between the master control system and the slave system by defining services; A first sending module, used to compile the target data into an HTML format file through the master control system, and send it to the slave system for display; A second sending module, used for sending the operation information of the slave system to the master control system; The step of realizing serial port transceiver communication between the master control system and the slave system by defining services comprises: Define serial port communication service SerialPortService; Define a data receiving thread ReadThread and a data sending thread SendThread in the SerialPortService; Start the service and initialize the serial port information; Using one end of the master control system and the slave system to send test data to the other end; If the receiving end does not receive the test data within a preset time, a secondary initialization is performed based on the backup port information; Initialize input stream object and output stream object; Instantiate a thread ReadThread object, and start the ReadThread to monitor and receive data from the input stream object; Call the SendThread to write data to the output stream object; The master control system includes an MT8781 platform, and the slave system includes an SC7731E platform; a SCAN_TXD1_RST port of the MT8781 platform is communicatively connected to U3RXD of the SC7731E platform, and a SCAN_RXD1_PDN port of the MT8781 platform is communicatively connected to U3TXD of the SC7731E platform.

5. A computer-readable storage medium, It is characterized in that A data communication program is stored, and when the data communication program is executed by a processor, the steps of the data communication method according to any one of claims 1 to 3 are implemented.