Multi-screen communication method, apparatus, device, and storage medium

By detecting and transmitting only the changing page and control data in multi-screen communication, the problem of large data transmission volume in existing technologies is solved, achieving more efficient and stable communication.

CN115766651BActive Publication Date: 2026-04-21SHENZHEN INOVANCE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHENZHEN INOVANCE TECH CO LTD
Filing Date
2022-11-23
Publication Date
2026-04-21

AI Technical Summary

Technical Problem

In multi-screen communication, existing technologies require sending all modified page and control data to the slave screen, resulting in a large amount of data transmission and reduced communication efficiency and stability.

Method used

By acquiring frame data from the slave screen, detecting whether page and control data have changed, and only performing frame processing on the changed data, the main screen frame data is generated and then sent to the target slave screen for display.

Benefits of technology

It reduces the amount of data transmitted during multi-screen communication, improving communication efficiency and stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115766651B_ABST
    Figure CN115766651B_ABST
Patent Text Reader

Abstract

This invention discloses a multi-screen communication method, apparatus, device, and storage medium. In this embodiment, slave screen frame data is acquired. This slave screen frame data includes data from the target slave touchscreen after frame processing of slave screen page data and slave screen control data. The page is then displayed based on the slave screen frame data, and the system detects whether the page data and / or control data in the displayed page have changed. If so, the changed page data and / or changed control data are framed to obtain main screen frame data, which is then sent to the target slave touchscreen so that the target slave touchscreen displays according to the main screen frame data. This embodiment, by framing the changed page data and / or changed control data, only requires sending the changed page data and / or changed control data to the slave touchscreen, thereby reducing the amount of data transmitted during multi-screen communication and improving communication efficiency and stability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of industrial control technology, and in particular to a multi-screen communication method, apparatus, device, and storage medium. Background Technology

[0002] With the rapid development of industrial control and touchscreen technology, the demands on touchscreens are increasing. The advancements in touchscreen functionality and performance have led to a shift in interaction scenarios from one-to-one to one-to-many or many-to-one. Multi-screen communication refers to communication between a main screen (not directly connected to the control device) and multiple slave screens (directly connected to the control device). The main screen can switch between different slave screens by setting their IP addresses. When an operator modifies the page and control data on a slave screen from the main screen, the main screen needs to send all the modified page and control data to the slave screen for the slave screen to respond. Each modification requires sending all modified page and control data to the slave screen, resulting in a large data volume and reduced communication efficiency and stability. Therefore, reducing the data transmission volume during multi-screen communication and improving communication efficiency and stability has become a pressing issue.

[0003] The above content is only used to help understand the technical solution of the present invention and does not represent an admission that the above content is prior art. Summary of the Invention

[0004] The main objective of this invention is to provide a multi-screen communication method, apparatus, device, and storage medium, aiming to solve the technical problem of how to reduce the amount of data transmitted during multi-screen communication and improve communication efficiency and stability.

[0005] To achieve the above objectives, the present invention provides a multi-screen communication method, which is applied to a communication network consisting of at least one main touchscreen and at least one slave touchscreen. The multi-screen communication method includes the following steps:

[0006] Acquire slave screen frame data, which includes data fed back from the target touchscreen after frame processing of slave screen page data and slave screen control data;

[0007] The page is displayed according to the frame data of the screen group, and the page data and / or control data in the displayed page are detected to see if they have changed.

[0008] If so, then perform frame assembly processing on the changed page data and / or changed control data to obtain the main screen frame assembly data;

[0009] The main screen frame data is sent to the target touch screen so that the target touch screen displays according to the main screen frame data.

[0010] Optionally, the step of acquiring the slave screen group frame data specifically includes:

[0011] Upon receiving a communication switching instruction, an address acquisition instruction is sent to at least one of the slave touchscreens, so that the at least one slave touchscreen returns the slave screen IP address;

[0012] Set the default IP address according to the IP address of the slave screen;

[0013] The target slave screen IP address is determined based on the user's input settings instructions;

[0014] Determine whether the default IP address is consistent with the target slave screen IP address;

[0015] If so, a slave screen interface acquisition instruction is sent to the target slave touchscreen corresponding to the target slave screen IP address, so that the target slave touchscreen can feed back slave screen group frame data.

[0016] Optionally, if so, the step of sending a slave screen interface acquisition instruction to the target slave touchscreen corresponding to the target slave screen IP address, so that the target slave touchscreen can feedback slave screen grouping data, specifically includes:

[0017] If so, then determine the target touchscreen corresponding to the target screen IP address;

[0018] A communication channel is established between the target screen and the target touchscreen using the target screen's IP address;

[0019] The communication channel is used to send a command to the target touchscreen to obtain the interface from the screen, so that the target touchscreen can feed back screen frame data.

[0020] Optionally, the step of displaying the page based on the slave screen group frame data specifically includes:

[0021] The slave screen group frame data is parsed to obtain the parsed slave screen page data and the parsed slave screen control data;

[0022] The parsed slave screen page data and the parsed slave screen control data are processed into data streams to obtain page data streams and control data streams, respectively.

[0023] The page is displayed based on the page data stream and the control data stream.

[0024] Optionally, if so, the step of performing frame assembly processing on the changed page data and / or changed control data to obtain main screen frame data specifically includes:

[0025] If so, respond to the page data and / or control data displayed on the page to obtain response information;

[0026] The changed page data and / or changed control data are determined based on the response information;

[0027] The changed page data and / or changed control data are framed to obtain main screen frame data.

[0028] Optionally, the step of performing frame assembly processing on the changed page data and / or changed control data to obtain main screen frame data specifically includes:

[0029] Obtain the invariant control data corresponding to the changed page data, perform frame assembly processing on the changed page data and the invariant control data, and obtain the main screen frame assembly data;

[0030] Alternatively, obtain the invariant page data corresponding to the changed control data, perform frame assembly processing on the changed control data and the invariant page data, and obtain the main screen frame assembly data;

[0031] Alternatively, obtain the changed control data corresponding to the changed page data, perform frame assembly processing on the changed control data and the changed page data, and obtain the main screen frame assembly data.

[0032] Optionally, the step of obtaining the invariant control data corresponding to the changed page data, and performing frame assembly processing on the changed page data and the invariant control data to obtain the main screen frame data specifically includes:

[0033] Obtain the invariant control data corresponding to the changed page data;

[0034] The frame data format is determined according to the preset frame protocol;

[0035] Select the target control data corresponding to each page data in the changed page data from the unchanging control data;

[0036] The data of each page and the data of the target control are processed into frames according to the frame data format to obtain the main screen frame sub-data.

[0037] The main screen group frame data is determined based on the main screen group frame sub-data.

[0038] Furthermore, to achieve the above objectives, the present invention also provides a multi-screen communication device, the multi-screen communication device comprising:

[0039] The data acquisition module is used to acquire the frame data of the screen, which includes the data fed back by the target from the touch screen after frame processing of the screen page data and screen control data;

[0040] The data judgment module is used to display the page based on the frame data of the screen group and to detect whether the page data and / or control data in the displayed page have changed;

[0041] The data framing module is used to perform framing processing on the changed page data and / or changed control data when the page data and / or control data in the display page changes, so as to obtain the main screen frame data.

[0042] The data display module is used to send the main screen frame data to the target touch screen so that the target touch screen can display according to the main screen frame data.

[0043] Furthermore, to achieve the above objectives, the present invention also proposes a multi-screen communication device, which includes: a memory, a processor, and a multi-screen communication program stored in the memory and executable on the processor, wherein the multi-screen communication program is configured to implement the steps of the multi-screen communication method described above.

[0044] In addition, to achieve the above objectives, the present invention also proposes a storage medium storing a multi-screen communication program, which, when executed by a processor, implements the steps of the multi-screen communication method as described above.

[0045] This invention acquires slave screen frame data, which includes framed data of slave screen page data and control data fed back by the target slave touchscreen. The page is then displayed based on this slave screen frame data, and the system detects whether the page data and / or control data in the displayed page have changed. If so, the changed page data and / or control data are framed to obtain master screen frame data, which is then sent to the target slave touchscreen so that the target slave touchscreen displays according to the master screen frame data. This invention, by framing the changed page data and / or control data, allows the target slave touchscreen to display according to the master screen frame data. Compared to existing methods that require sending all modified page data and control data to the slave touchscreen, this invention only needs to send the changed page data and / or control data to the slave touchscreen, thereby reducing the amount of data transmitted during multi-screen communication and improving communication efficiency and stability. Attached Figure Description

[0046] Figure 1 This is a schematic diagram of the structure of a multi-screen communication device in the hardware operating environment involved in the embodiments of the present invention;

[0047] Figure 2 This is a flowchart illustrating the first embodiment of the multi-screen communication method of the present invention;

[0048] Figure 3 This is a schematic diagram of a communication network according to an embodiment of the multi-screen communication method of the present invention;

[0049] Figure 4 This is a flowchart illustrating the second embodiment of the multi-screen communication method of the present invention;

[0050] Figure 5 This is a flowchart illustrating the third embodiment of the multi-screen communication method of the present invention;

[0051] Figure 6 This is a structural block diagram of the first embodiment of the multi-screen communication device of the present invention.

[0052] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0053] It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of the invention.

[0054] Reference Figure 1 , Figure 1 This is a schematic diagram of the structure of a multi-screen communication device in the hardware operating environment involved in the embodiments of the present invention.

[0055] like Figure 1 As shown, the multi-screen communication device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen and an input unit such as a keyboard; optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wireless-Fidelity (Wi-Fi) interface). The memory 1005 may be high-speed random access memory (RAM) or stable non-volatile memory (NVM), such as a disk drive. The memory 1005 may also optionally be a storage device independent of the aforementioned processor 1001.

[0056] Those skilled in the art will understand that Figure 1The structure shown does not constitute a limitation on multi-screen communication devices and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0057] like Figure 1 As shown, the memory 1005, which serves as a storage medium, may include an operating system, a network communication module, a user interface module, and a multi-screen communication program.

[0058] exist Figure 1 In the multi-screen communication device shown, the network interface 1004 is mainly used for data communication with the network server; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the multi-screen communication device of the present invention can be set in the multi-screen communication device, and the multi-screen communication device calls the multi-screen communication program stored in the memory 1005 through the processor 1001 and executes the multi-screen communication method provided in the embodiment of the present invention.

[0059] Based on the aforementioned multi-screen communication device, this invention provides a multi-screen communication method, referring to... Figure 2 , Figure 2 This is a flowchart illustrating the first embodiment of the multi-screen communication method of the present invention.

[0060] In this embodiment, the multi-screen communication method includes the following steps:

[0061] Step S10: Obtain the slave screen frame data, which includes the data fed back by the target from the touch screen after frame processing of the slave screen page data and slave screen control data;

[0062] It should be noted that the execution entity in this embodiment can be the main touchscreen, which refers to a touchscreen that is not directly connected to the control device. The following description uses the main touchscreen as an example to illustrate this embodiment and the subsequent embodiments.

[0063] It is understood that the multi-screen communication method described in this embodiment can be applied to a communication network consisting of at least one main touchscreen and at least one slave touchscreen. The main touchscreen refers to a touchscreen that is not directly connected to the control device, while the slave touchscreen refers to a touchscreen that is directly connected to the control device. For example... Figure 3 As shown, Figure 3 This is a schematic diagram of a communication network according to an embodiment of the multi-screen communication method of the present invention. Figure 3The communication network can include a master touchscreen and at least one slave touchscreen. The master touchscreen can switch between different slave touchscreens, thereby enabling control of the controllers corresponding to the slave touchscreens. In this embodiment, the master and slave touchscreens can be human-machine interfaces (HMIs), and the controller can be a programmable logic controller (PLC). Alternatively, the communication network can also include multiple touchscreens, with each master touchscreen corresponding to multiple slave touchscreens. The master and slave touchscreens can communicate with each other using a serial port or a network port.

[0064] It should be understood that the slave screen frame data refers to the data after the target slave touch screen performs frame processing on the slave screen page data and slave screen control data. The target slave touch screen refers to the slave touch screen that has established a communication connection with the main touch screen. The slave screen page data refers to the page data in the display page of the target slave touch screen, such as the display content and display area of ​​the display page. The slave screen control data refers to the control data corresponding to each control on the display page of the target slave touch screen, such as the configuration data and storage data corresponding to each control. It may also include other data, but this embodiment does not impose specific limitations on this.

[0065] In a specific implementation, frame assembly refers to combining slave screen page data and slave screen control data into a set of data that can be transmitted over the network. In this embodiment, the data length corresponding to a frame of data can be set, and then a frame header and a frame tail can be set for each frame of data. The data format is set according to the frame protocol, so that the slave screen page data and slave screen control data can be combined with a frame header and a frame tail according to the data format to obtain multiple frame data, that is, slave screen frame assembly data.

[0066] Step S20: Display the page according to the frame data of the slave screen group, and detect whether the page data and / or control data in the displayed page have changed;

[0067] It is understood that in this embodiment, the page can be displayed based on the frame data of the slave screen, that is, the main touch screen displays the page on the main touch screen based on the frame data of the slave screen.

[0068] It should be understood that this embodiment can also detect whether the page data and / or control data in the displayed page have changed. That is, it detects whether the page data and / or control data corresponding to the currently displayed page are consistent with the page data and / or control data corresponding to the displayed page before receiving the slave screen frame data after the main touch screen receives the slave screen frame data. If they are inconsistent, it indicates that the page data and / or control data in the displayed page have changed; if they are consistent, it indicates that the page data and / or control data in the displayed page have not changed. It can also detect whether the user has modified the page data and / or control data. If they have modified it, it indicates that the page data and / or control data in the displayed page have changed; if they have not modified it, it indicates that the page data and / or control data in the displayed page have not changed.

[0069] Furthermore, in order to realize the page display on the main touch screen, in this embodiment, step S20 includes: parsing the slave screen frame data to obtain parsed slave screen page data and parsed slave screen control data; performing data stream processing on the parsed slave screen page data and the parsed slave screen control data respectively to obtain page data stream and control data stream; and displaying the page according to the page data stream and the control data stream.

[0070] Understandably, the main touchscreen can parse the slave screen group frame data, that is, parse the data between the frame header and frame tail in each frame data. This allows it to separate the slave screen page data and slave screen control data in the slave screen group frame data, resulting in the parsed slave screen page data and the parsed slave screen control data.

[0071] It should be understood that data stream processing refers to transmitting data in the form of a stream, which can speed up data transmission. In this embodiment, the parsed slave screen page data and the parsed slave screen control data are processed separately to obtain page data stream and control data stream. The main touch screen can then display the page based on the page data stream and control data stream.

[0072] This embodiment parses the slave screen frame data, and then performs data stream processing on the parsed slave screen page data and the parsed slave screen control data respectively, which can speed up data transmission and enable the main touch screen to display pages faster.

[0073] Step S30: If so, perform frame assembly processing on the changed page data and / or changed control data to obtain the main screen frame assembly data;

[0074] It is understood that in this embodiment, both page data and control data may change, or only one of them may change, i.e., either the page data or the control data may change.

[0075] In specific implementation, this embodiment can perform frame assembly processing on the unchanging page data and the changed control data when the page data and / or control data change. It can also perform frame assembly processing on the changed page data and the unchanging control data. Specifically, the frame assembly processing can be performed according to the changes in the page data and control data to obtain the main screen frame data.

[0076] Step S40: Send the main screen frame data to the target touch screen so that the target touch screen displays according to the main screen frame data.

[0077] It should be understood that after the main screen frame data is sent to the target touch screen, the target touch screen displays the data according to the main screen frame data. Specifically, the target touch screen can parse the main screen frame data to obtain page data and control data, which can then be displayed on the target touch screen.

[0078] This embodiment acquires slave screen frame data, which includes framed data of slave screen page data and slave screen control data fed back by the target slave touchscreen. The page is then displayed based on the slave screen frame data, and the system detects whether the page data and / or control data in the displayed page have changed. If so, the changed page data and / or changed control data are framed to obtain main screen frame data, which is then sent to the target slave touchscreen so that the target slave touchscreen displays according to the main screen frame data. This embodiment, by framing the changed page data and / or changed control data, allows the target slave touchscreen to display according to the main screen frame data. Compared to existing methods that require sending all modified page data and control data to the slave touchscreen, this embodiment only needs to send the changed page data and / or changed control data to the slave touchscreen, thereby reducing the amount of data transmitted during multi-screen communication and improving communication efficiency and stability.

[0079] refer to Figure 4 , Figure 4 This is a flowchart illustrating the second embodiment of the multi-screen communication method of the present invention.

[0080] Based on the first embodiment described above, in this embodiment, step S10 includes:

[0081] Step S101: Upon receiving a communication switching instruction, send an address acquisition instruction to at least one slave touchscreen to enable the at least one slave touchscreen to return the slave screen IP address;

[0082] Understandably, a communication switching command refers to a command that switches from establishing a communication connection between the main touchscreen and a secondary touchscreen to establishing a communication connection with another secondary touchscreen. Before establishing a communication connection, it is necessary to physically connect the main touchscreen, the secondary touchscreen, and the controller. A physical connection is a means of connecting related objects using the physical properties of objects. It generally refers to what is used to connect two units of objects, such as using wires, radio waves, etc. In this embodiment, a physical connection can be established between the main touchscreen and the secondary touchscreen that needs to be controlled, and a physical connection can also be established between the secondary touchscreen and the controller that needs to be controlled.

[0083] In its implementation, when the main touchscreen receives a communication switching command, it can send an address retrieval command to at least one slave touchscreen that has established a physical connection with it. Upon receiving the address retrieval command, the slave touchscreen can send its IP address to the main touchscreen. The slave screen's IP address can include the IP addresses corresponding to each slave touchscreen. The main touchscreen can retrieve the slave screen's IP address and store it as a string.

[0084] Step S102: Set the default IP address according to the slave screen IP address;

[0085] It should be understood that the default IP address refers to the IP address of the secondary touchscreen displayed on the main touchscreen, and can specifically be one of the secondary screen's IP addresses.

[0086] Step S103: Determine the target slave screen IP address based on the setting instructions input by the user;

[0087] Understandably, the target slave screen IP address refers to the IP address of the target touchscreen that the user wants to communicate with through the main touchscreen. The specific IP address can be determined based on the user's input settings, which may include the target slave screen IP address.

[0088] Step S104: Determine whether the default IP address is consistent with the target slave screen IP address;

[0089] Step S105: If yes, then send a slave screen interface acquisition instruction to the target slave touch screen corresponding to the target slave screen IP address, so that the target slave touch screen can feed back slave screen group frame data.

[0090] It should be understood that if the default IP address matches the target slave screen's IP address, it indicates that the communication switch between the master touchscreen and the slave touchscreen has been successful, and a slave screen interface retrieval command is sent to the target slave touchscreen corresponding to the target slave screen's IP address, so that the target slave touchscreen can respond with slave screen frame data. If the default IP address does not match the target slave screen's IP address, it indicates that the communication switch between the master touchscreen and the slave touchscreen has not been successful. In this case, the target slave screen's IP address needs to be reset until it matches the default IP address.

[0091] Furthermore, in order to enable the target to feed back the screen frame data from the touchscreen, in this embodiment, step S105 includes: if so, determining the target touchscreen corresponding to the target touchscreen IP address; establishing a communication channel between the target touchscreen and the target touchscreen through the target touchscreen IP address; and sending a screen interface acquisition instruction to the target touchscreen through the communication channel so that the target touchscreen feeds back the screen frame data.

[0092] Understandably, when the default IP address is the same as the target slave screen's IP address, the target slave touchscreen corresponding to the target slave screen's IP address can be determined. Then, a communication channel between the main touchscreen and the target slave touchscreen can be established through the target slave screen's IP address. Specifically, the communication channel can be established through the TCP / IP protocol.

[0093] In practical implementation, the main touchscreen can send a slave screen interface retrieval command to the target slave touchscreen via a communication channel. This command retrieves the corresponding interface information from the target slave touchscreen. After receiving the command, the target slave touchscreen can send slave screen frame data back to the main touchscreen. If the target slave touchscreen fails to receive the command within a specified time, the communication channel between the main touchscreen and the target slave touchscreen can be re-established, and the main touchscreen can resend the command to the target slave touchscreen to retrieve slave screen frame data.

[0094] This embodiment, upon receiving a communication switching command, sends an address retrieval command to at least one slave touchscreen, causing it to provide its slave screen IP address. Then, a default IP address is set based on the slave screen IP address, and the target slave screen IP address is determined based on the user-input setting command. It then checks if the default IP address matches the target slave screen IP address. If they do, a slave screen interface retrieval command is sent to the target slave touchscreen corresponding to the target slave screen IP address, causing it to provide slave screen frame data. This embodiment automatically obtains the IP addresses corresponding to each slave touchscreen from the main touchscreen and determines whether the communication connection between the main and slave touchscreens has been successfully switched. When the default IP address matches the target slave screen IP address, a slave screen interface retrieval command is sent to the target slave touchscreen corresponding to the target slave screen IP address, causing it to provide slave screen frame data. The user only needs to select and configure the IP address of the slave screen to be switched, i.e., the target slave screen IP address, to achieve communication switching, thereby improving user experience and convenience.

[0095] refer to Figure 5 , Figure 5 This is a flowchart illustrating the third embodiment of the multi-screen communication method of the present invention.

[0096] Based on the above embodiments, in this embodiment, step S30 includes:

[0097] Step S301: If yes, respond to the page data and / or control data in the displayed page to obtain response information;

[0098] Understandably, when the page data and / or control data on the displayed page changes, the main touchscreen can respond to the page data and / or control data on the displayed page, that is, trigger the corresponding event or message and obtain the response information.

[0099] Step S302: Determine the changed page data and / or changed control data based on the response information;

[0100] It should be understood that this embodiment can determine the changed page data and / or changed control data based on the response information. Specifically, the changed page data and / or changed control data can be obtained based on the triggered event or message.

[0101] Step S303: Perform frame assembly processing on the changed page data and / or changed control data to obtain main screen frame assembly data.

[0102] In a specific implementation, this embodiment can perform frame grouping processing based on the changing page data and / or the changing control data to obtain the main screen frame data. That is, set the data length corresponding to a frame data, then set a frame header and a frame tail for each frame data, and set the data format according to the frame protocol. In this way, the changing page data and / or the changing control data can be added with a frame header and a frame tail according to the data format to obtain multiple frame data, that is, the main screen frame data.

[0103] Furthermore, in order to determine the main screen frame data based on the changes in page data and control data, in this embodiment, step S303 includes: obtaining the unchanging control data corresponding to the changed page data, performing frame assembly processing on the changed page data and the unchanging control data to obtain main screen frame data; or, obtaining the unchanging page data corresponding to the changed control data, performing frame assembly processing on the changed control data and the unchanging page data to obtain main screen frame data; or, obtaining the changed control data corresponding to the changed page data, performing frame assembly processing on the changed control data and the changed page data to obtain main screen frame data.

[0104] It should be understood that the page data or control data in this embodiment may change, or only one type of data may change.

[0105] In its specific implementation, this embodiment can perform frame assembly processing on changing page data and unchanging control data to obtain main screen frame data; it can also perform frame assembly processing on changing control data and unchanging page data to obtain main screen frame data; and it can also perform frame assembly processing on changing control data and changing page data to obtain main screen frame data. Specifically, the frame assembly processing method can be selected based on the changes in page data and control data.

[0106] Furthermore, to accurately determine the main screen frame data, in this embodiment, the step of obtaining the invariant control data corresponding to the changed page data, and performing frame assembly processing on the changed page data and the invariant control data to obtain the main screen frame data specifically includes: obtaining the invariant control data corresponding to the changed page data; determining the frame data format according to a preset frame protocol; selecting target control data corresponding to each page data in the changed page data from the invariant control data; performing frame assembly processing on each page data and the target control data according to the frame data format to obtain main screen frame sub-data; and determining the main screen frame data based on the main screen frame sub-data.

[0107] Understandably, when page data changes but control data remains unchanged, the unchanging control data corresponding to the changed page data can be obtained, and the target control data corresponding to each page data in the changed page data can be selected from the unchanging control data, that is, the target control data corresponding to each changed page data.

[0108] It should be understood that the preset frame protocol is a pre-set frame protocol, such as TCP / IP protocol, TFTP frame protocol, etc., and this embodiment does not impose specific limitations on it. This embodiment can determine the framed data format according to the preset frame protocol, that is, the data length, data type, etc. of each segment of data in each frame.

[0109] In this embodiment, the data of each page and the target control data corresponding to each page can be processed into frames according to the frame data format, and a frame header and a frame tail can be set for each frame data to obtain the main screen frame sub-data. Then, the main screen frame sub-data can be combined to obtain the main screen frame data.

[0110] In the specific implementation, the changing control data and the unchanging page data are framed, or the changing control data and the changing page data are framed. The steps for frame-building are the same as those described above, and this embodiment will not elaborate further.

[0111] This embodiment performs frame processing on each page's data and the corresponding target control data according to the frame data format. This allows frame processing to be performed only on the changing page data, thereby reducing the amount of data processed and improving frame processing efficiency.

[0112] In this embodiment, when page data and / or control data on the displayed page change, a response is made to obtain response information. Then, based on the response information, the changed page data and / or control data are determined, and framing processing is performed on the changed page data and / or control data to obtain main screen frame data. In this embodiment, when a user modifies the page data and / or control data on the secondary touchscreen from the main touchscreen, the main touchscreen can detect the change in the relevant page data and / or control data. The framed data becomes the main screen frame data and is transmitted to the target secondary touchscreen. The secondary touchscreen parses and displays the changes, thereby reducing the amount of data transmitted and improving communication efficiency and stability.

[0113] Reference Figure 6 , Figure 6 This is a structural block diagram of the first embodiment of the multi-screen communication device of the present invention.

[0114] like Figure 6 As shown, the multi-screen communication device proposed in this embodiment of the invention includes:

[0115] Data acquisition module 10 is used to acquire slave screen frame data, which includes data fed back by the target from the touch screen after frame processing of slave screen page data and slave screen control data;

[0116] The data judgment module 20 is used to display the page according to the frame data of the slave screen group, and to detect whether the page data and / or control data in the displayed page have changed;

[0117] The data framing module 30 is used to perform framing processing on the changed page data and / or changed control data when the page data and / or control data in the display page changes, so as to obtain the main screen framing data.

[0118] The data display module 40 is used to send the main screen frame data to the target touch screen so that the target touch screen can display according to the main screen frame data.

[0119] This embodiment acquires slave screen frame data, which includes framed data of slave screen page data and slave screen control data fed back by the target slave touchscreen. The page is then displayed based on the slave screen frame data, and the system detects whether the page data and / or control data in the displayed page have changed. If so, the changed page data and / or changed control data are framed to obtain main screen frame data, which is then sent to the target slave touchscreen so that the target slave touchscreen displays according to the main screen frame data. This embodiment, by framing the changed page data and / or changed control data, allows the target slave touchscreen to display according to the main screen frame data. Compared to existing methods that require sending all modified page data and control data to the slave touchscreen, this embodiment only needs to send the changed page data and / or changed control data to the slave touchscreen, thereby reducing the amount of data transmitted during multi-screen communication and improving communication efficiency and stability.

[0120] It should be noted that the workflow described above is merely illustrative and does not limit the scope of protection of this invention. In practical applications, those skilled in the art can select some or all of the workflow to achieve the purpose of this embodiment according to actual needs, and no restrictions are imposed here.

[0121] In addition, for technical details not described in detail in this embodiment, please refer to the multi-screen communication method provided in any embodiment of the present invention, which will not be repeated here.

[0122] Based on the first embodiment of the multi-screen communication device of the present invention described above, a second embodiment of the multi-screen communication device of the present invention is proposed.

[0123] In this embodiment, the data acquisition module 10 is further configured to, upon receiving a communication switching instruction, send an address acquisition instruction to at least one slave touchscreen, so that the at least one slave touchscreen provides a slave screen IP address; set a default IP address based on the slave screen IP address; determine a target slave screen IP address based on a setting instruction input by the user; determine whether the default IP address is consistent with the target slave screen IP address; if so, send a slave screen interface acquisition instruction to the target slave touchscreen corresponding to the target slave screen IP address, so that the target slave touchscreen provides slave screen frame data.

[0124] Furthermore, the data acquisition module 10 is also used to determine the target touch screen corresponding to the target touch screen IP address when the default IP address is consistent with the target touch screen IP address; establish a communication channel between the target touch screen and the target touch screen through the target touch screen IP address; and send a touch screen interface acquisition instruction to the target touch screen through the communication channel so that the target touch screen can feed back touch screen frame data.

[0125] Furthermore, the data judgment module 20 is also used to parse the slave screen frame data to obtain parsed slave screen page data and parsed slave screen control data; to perform data stream processing on the parsed slave screen page data and the parsed slave screen control data respectively to obtain page data stream and control data stream; and to display the page according to the page data stream and the control data stream.

[0126] Furthermore, the data framing module 30 is also used to respond to the page data and / or control data in the display page when the page data and / or control data in the display page changes, and obtain response information; determine the changed page data and / or changed control data according to the response information; and perform framing processing on the changed page data and / or changed control data to obtain main screen frame data.

[0127] Furthermore, the data framing module 30 is also used to obtain the invariant control data corresponding to the changed page data, perform framing processing on the changed page data and the invariant control data to obtain main screen frame data; or, obtain the invariant page data corresponding to the changed control data, perform framing processing on the changed control data and the invariant page data to obtain main screen frame data; or, obtain the changed control data corresponding to the changed page data, perform framing processing on the changed control data and the changed page data to obtain main screen frame data.

[0128] Furthermore, the data framing module 30 is also used to acquire the invariant control data corresponding to the changed page data; determine the framing data format according to a preset frame protocol; select the target control data corresponding to each page data in the changed page data from the invariant control data; perform framing processing on each page data and the target control data according to the framing data format to obtain main screen framing sub-data; and determine the main screen framing data based on the main screen framing sub-data.

[0129] Other embodiments or specific implementations of the multi-screen communication device of the present invention can be referred to the above-described method embodiments, and will not be repeated here.

[0130] Furthermore, this embodiment of the invention also proposes a storage medium storing a multi-screen communication program, which, when executed by a processor, implements the steps of the multi-screen communication method described above.

[0131] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.

[0132] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0133] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as read-only memory / random access memory, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0134] The above are merely preferred embodiments of the present invention and do not limit the scope of the patent. Any equivalent structural or procedural transformations made based on the description and drawings of the present invention, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of the present invention.

Claims

1. A multi-screen communication method, characterized in that, The multi-screen communication method is applied to a communication network consisting of at least one main touchscreen and at least one slave touchscreen, and the multi-screen communication method includes the following steps: Acquire slave screen frame data, which includes data fed back from the target touchscreen after frame processing of slave screen page data and slave screen control data; The page is displayed according to the frame data of the screen group, and the page data and / or control data in the displayed page are detected to see if they have changed. If so, then perform frame assembly processing on the changed page data and / or changed control data to obtain the main screen frame assembly data; The main screen frame data is sent to the target touch screen so that the target touch screen displays according to the main screen frame data; The step of performing frame assembly processing on the changed page data and / or changed control data to obtain main screen frame data specifically includes: Obtain the invariant control data corresponding to the changed page data, perform frame assembly processing on the changed page data and the invariant control data, and obtain the main screen frame assembly data; Alternatively, obtain the invariant page data corresponding to the changed control data, perform frame assembly processing on the changed control data and the invariant page data, and obtain the main screen frame assembly data; Alternatively, obtain the changed control data corresponding to the changed page data, perform frame assembly processing on the changed control data and the changed page data, and obtain the main screen frame assembly data.

2. The multi-screen communication method as described in claim 1, characterized in that, The step of acquiring the slave screen group frame data specifically includes: Upon receiving a communication switching instruction, an address acquisition instruction is sent to at least one of the slave touchscreens, so that the at least one slave touchscreen returns the slave screen IP address; Set the default IP address according to the IP address of the slave screen; The target slave screen IP address is determined based on the user's input settings instructions; Determine whether the default IP address is consistent with the target slave screen IP address; If so, a slave screen interface acquisition instruction is sent to the target slave touchscreen corresponding to the target slave screen IP address, so that the target slave touchscreen can feed back slave screen group frame data.

3. The multi-screen communication method as described in claim 2, characterized in that, If so, the step of sending a slave screen interface acquisition instruction to the target slave touchscreen corresponding to the target slave screen IP address, so that the target slave touchscreen can feed back slave screen group frame data, specifically includes: If so, then determine the target touchscreen corresponding to the target screen IP address; A communication channel is established between the target screen and the target touchscreen using the target screen's IP address; The communication channel is used to send a command to the target touchscreen to obtain the interface from the screen, so that the target touchscreen can feed back screen frame data.

4. The multi-screen communication method as described in claim 1, characterized in that, The step of displaying the page based on the slave screen frame data specifically includes: The slave screen group frame data is parsed to obtain the parsed slave screen page data and the parsed slave screen control data; The parsed slave screen page data and the parsed slave screen control data are processed into data streams to obtain page data streams and control data streams, respectively. The page is displayed based on the page data stream and the control data stream.

5. The multi-screen communication method as described in claim 1, characterized in that, If so, the step of performing frame assembly processing on the changed page data and / or changed control data to obtain the main screen frame assembly data specifically includes: If so, respond to the page data and / or control data displayed on the page to obtain response information; The changed page data and / or changed control data are determined based on the response information; The changed page data and / or changed control data are framed to obtain main screen frame data.

6. The multi-screen communication method as described in claim 1, characterized in that, The step of obtaining the invariant control data corresponding to the changed page data, and performing frame assembly processing on the changed page data and the invariant control data to obtain the main screen frame data specifically includes: Obtain the invariant control data corresponding to the changed page data; The frame data format is determined according to the preset frame protocol; Select the target control data corresponding to each page data in the changed page data from the unchanging control data; The data of each page and the data of the target control are processed into frames according to the frame data format to obtain the main screen frame sub-data. The main screen group frame data is determined based on the main screen group frame sub-data.

7. A multi-screen communication device, characterized in that, The multi-screen communication device includes: The data acquisition module is used to acquire the frame data of the slave screen, which includes the data fed back by the target from the touch screen after frame processing of the slave screen page data and slave screen control data; The data judgment module is used to display the page based on the frame data of the screen group and to detect whether the page data and / or control data in the displayed page have changed; The data framing module is used to perform framing processing on the changed page data and / or control data when the page data and / or control data in the display page changes, so as to obtain the main screen frame data. The data display module is used to send the main screen frame data to the target touch screen, so that the target touch screen can display according to the main screen frame data; The data framing module is further configured to: acquire the invariant control data corresponding to the changed page data; perform framing processing on the changed page data and the invariant control data to obtain main screen frame data; or acquire the invariant page data corresponding to the changed control data; perform framing processing on the changed control data and the invariant page data to obtain main screen frame data; or acquire the changed control data corresponding to the changed page data; perform framing processing on the changed control data and the changed page data to obtain main screen frame data.

8. A multi-screen communication device, characterized in that, The device includes: a memory, a processor, and a multi-screen communication program stored in the memory and executable on the processor, the multi-screen communication program being configured to implement the steps of the multi-screen communication method as described in any one of claims 1 to 6.

9. A storage medium, characterized in that, The storage medium stores a multi-screen communication program, which, when executed by a processor, implements the steps of the multi-screen communication method as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Screen projection method, projector and terminal device

    CN113992951A

  • Synchronous display method, synchronous display device, electronic equipment and storage medium

    CN115052005A