Method for mutually displaying and controlling central control screen in local area network
By using the TCP server and TCP/IP protocol in the LAN to realize mutual display and control of central screen control devices, the problem of inconvenience in the existing technology is solved, and the overall control and remote management of central screen control devices is realized, which improves the Convenience and management efficiency.
Patent Information
- Application Number
- CN202411413334.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-11
- Publication Date
- 2025-01-07
AI Technical Summary
The control method of existing central control screen devices is inconvenient. You can only have simple control functions through the mobile phone. You need to approach the device and operate it, so you cannot flexibly control multiple devices.
The TCP server and TCP/IP protocol are used to realize the mutual display and control of central screen devices in the LAN, allowing connection between devices, data transmission and control command processing, display and control screenshots in real time, and supporting proportional conversion of click and slide operations. Ensure precise control.
It realizes comprehensive control of central screen control equipment, improves convenience and flexibility, and users can remotely manage multiple devices, improving management efficiency.
Smart Images

Figure CN119276916A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of device control, and in particular to a method for mutually displaying and controlling a central control screen in a local area network. Background Art
[0002] With the increasing number of central control screen devices, each central control screen device has its own display screen, and the interface and size of each central control screen are different. If you want to control the central control screen device, you either need to control it with your mobile phone or walk in front of the central control screen device to control it.
[0003] The traditional method has the following defects: only the main functions can be simply controlled through the mobile phone, and all the functions in the central control screen device cannot be operated. When controlling through the central control screen device, you need to walk to the device to control it. When you want to control other devices, you need to walk to another device to control it. It is not convenient and flexible enough. For this reason, we proposed a method for mutual display and control of central control screens in a local area network. Summary of the invention
[0004] Based on the technical problems existing in the background technology, the present invention proposes a method for mutual display and mutual control of a central control screen in a local area network.
[0005] The present invention provides a method for mutual display and mutual control of a central control screen in a local area network, comprising the following steps:
[0006] S1: Each device creates a TCP server locally to receive connection requests from other devices and process data transmission and control instructions;
[0007] S2: Broadcast via the TCP / IP protocol in the local area network to search for central control screen devices that can be connected. After searching for a list of connectable devices and their connection information, the control end device can select the target device to connect to;
[0008] S3: After receiving the connection request, the target device determines whether it has been connected to other devices. If it has not been connected, it establishes a connection with the control end device;
[0009] S4: After the connection is established, the target device compresses and sends the current screenshot information to the control device in real time;
[0010] S5: The control end device receives the information in S4 and displays the compressed image sent by the target device in real time, and displays it in equal proportion on the current interface;
[0011] S6: After the connection is successfully established, the device can be controlled. After clicking on the current control device, the click coordinates of the target device are converted according to the ratio, and the control command is sent to the target device; after sliding, the start and end positions of the sliding and the sliding trajectory are converted according to the ratio and sent to the target device;
[0012] S7: After receiving the control and sliding events sent by the control end device, the target device executes the corresponding control and sliding events according to the provided coordinate information;
[0013] S8: The control end device can disconnect from the target device and turn off the display, then select another device to connect to continue the display and control operations;
[0014] S9: The target device can actively disconnect from the control device and connect to other devices: after disconnecting, it can be used as a control end to connect to other devices in the LAN.
[0015] Preferably, in S1, a TCP server is used to monitor connection requests from other devices. The main responsibilities of the TCP server are to receive client connection requests, process data transmission, and respond to control instructions from the client.
[0016] Preferably, in S2, after receiving the list of connectable devices and their connection information, the control end device can filter and sort the devices according to the names, models, and location information of the devices, so as to more conveniently select the target device.
[0017] Preferably, in S3, in order to ensure the safety and stability of the device, the control state management should not accept new connection requests when a device is connected and controlled by other devices.
[0018] Preferably, in S5, the current interface can be enlarged or the display area can be reduced. When enlarging, the display area is gradually enlarged according to a preset enlargement ratio to ensure the clarity of the image information. When reducing, the display area is gradually reduced according to a preset reduction ratio to ensure the integrity of the image information.
[0019] Preferably, the user's zoom-in and zoom-out operation habits are recorded so that the default settings can be made according to the user's habits the next time the application is used, allowing the user to customize the zoom-in and zoom-out operation methods, such as through gestures, buttons or shortcut keys.
[0020] Preferably, in S6, during the process of converting the click position into the click coordinates of the target device, the accuracy of the conversion is ensured and the error is within an acceptable range. The conversion of the starting position, the ending position and the sliding trajectory of the sliding operation should accurately reflect the user's operation on the current device to achieve precise control of the target device.
[0021] Preferably, in S6, for different types of target devices, the conversion ratio can be adaptively adjusted through device information collection, model building, real-time monitoring, dynamic adjustment and learning optimization to ensure control compatibility.
[0022] Compared with the prior art, the present invention has the following beneficial effects:
[0023] 1. More comprehensive control functions: The central control screen device can be connected to other devices using the local area network, so that the mobile phone can more comprehensively control the various functions of the central control screen device, not just the simple main functions;
[0024] 2. In a LAN environment, users can remotely control each central control screen device through a mobile phone or other networked devices without having to go to the device, which improves the convenience and flexibility of control. Multiple central control screen devices can be centrally managed, making it convenient for users to perform unified operations and settings on multiple devices, thereby improving management efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 A flow chart of a control terminal device and a target device in a method for mutual display and mutual control of a central control screen in a local area network proposed by the present invention;
[0026] Figure 2 The present invention provides a flow chart of a method for mutual display and control of central control screens in a local area network. DETAILED DESCRIPTION
[0027] The present invention will be further explained below in conjunction with specific embodiments.
[0028] Example
[0029] Reference Figure 1-2 This embodiment proposes a method for mutual display and mutual control of a central control screen in a local area network, comprising the following steps:
[0030] S1: Each device creates a TCP server locally to receive connection requests from other devices and process data transmission and control instructions. The TCP server is used to listen to connection requests from other devices. The main responsibilities of the TCP server are to receive client connection requests, process data transmission, and respond to client control instructions;
[0031] S2: Broadcast through the TCP / IP protocol in the local area network to search for central control screen devices that can be connected. After searching for a list of connectable devices and their connection information, the control end device can select the target device to be connected. After receiving the list of connectable devices and their connection information, the control end device can filter and sort the devices according to the device name, model, and location information to more conveniently select the target device.
[0032] S3: After receiving the connection request, the target device determines whether it has been connected by other devices. If it has not been connected, it establishes a connection with the control device and controls the state management. To ensure the security and stability of the device, when a device is connected and controlled by other devices, the device should not accept new connection requests.
[0033] S4: After the connection is established, the target device compresses and sends the current screenshot information to the control device in real time;
[0034] S5: The control end device receives the information in S4 and displays the compressed image sent by the target device in real time, and displays it in proportion on the current interface. The current interface can be enlarged or reduced in display area. When enlarging, the display area is gradually enlarged according to the preset enlargement example to ensure the clarity of the image information. When reducing, the display area is gradually reduced according to the preset reduction ratio to ensure the integrity of the image information. At the same time, the user's enlargement and reduction operation habits are recorded so that the default settings can be made according to the user's habits when used next time, allowing the user to customize the operation method of enlarging and reducing, such as through gestures, buttons or shortcut keys;
[0035] S6: After the connection is successfully established, the device can be controlled. After clicking on the current control device, the click coordinates of the target device are converted according to the ratio, and the control command is sent to the target device; after sliding, the start and end positions of the slide and the sliding trajectory are converted according to the ratio and sent to the target device. In the process of converting the click position into the click coordinates of the target device, the accuracy of the conversion is ensured, and the error is within an acceptable range. The conversion of the start and end positions of the sliding operation and the sliding trajectory should accurately reflect the user's operation on the current device to achieve precise control of the target device. For different types of target devices, the conversion ratio can be adaptively adjusted through device information collection, model establishment, real-time monitoring, dynamic adjustment and learning optimization to ensure control compatibility;
[0036] S7: After receiving the control and sliding events sent by the control end device, the target device executes the corresponding control and sliding events according to the provided coordinate information;
[0037] S8: The control end device can disconnect from the target device and turn off the display, then select another device to connect to continue the display and control operations;
[0038] S9: The target device can actively disconnect from the control device and connect to other devices: after disconnecting, it can be used as a control end to connect to other devices in the LAN;
[0039] This invention utilizes a local area network to connect the central control screen device with other devices, so that the mobile phone can more comprehensively control the various functions of the central control screen device, rather than just the simple main functions. In a local area network environment, users can remotely control each central control screen device through a mobile phone or other networked device without having to go to the device, thereby improving the convenience and flexibility of control. Multiple central control screen devices can be centrally managed, making it convenient for users to perform unified operations and settings on multiple devices, thereby improving management efficiency.
[0040] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. A method for mutual display and control of central control screens in a local area network, characterized in that: The following steps are involved: S1: Each device creates a TCP server locally to receive connection requests from other devices and process data transmission and control instructions; S2: Broadcast via the TCP / IP protocol in the local area network to search for central control screen devices that can be connected. After searching for a list of connectable devices and their connection information, the control end device can select the target device to connect to; S3: After receiving the connection request, the target device determines whether it has been connected to other devices. If it has not been connected, it establishes a connection with the control end device; S4: After the connection is established, the target device compresses and sends the current screenshot information to the control device in real time; S5: The control end device receives the information in S4 and displays the compressed image sent by the target device in real time, and displays it in equal proportion on the current interface; S6: After the connection is successfully established, the device can be controlled. After clicking on the current control device, the click coordinates of the target device are converted according to the ratio, and the control command is sent to the target device; after sliding, the start and end positions of the sliding and the sliding trajectory are converted according to the ratio and sent to the target device; S7: After receiving the control and sliding events sent by the control end device, the target device executes the corresponding control and sliding events according to the provided coordinate information; S8: The control end device can disconnect from the target device and turn off the display, then select another device to connect to continue the display and control operations; S9: The target device can actively disconnect from the control device and connect to other devices: after disconnecting, it can be used as a control end to connect to other devices in the LAN.
2. A method for mutual display and control of central control screens in a local area network according to claim 1, characterized in that: In S1, a TCP server is used to monitor connection requests from other devices. The main responsibilities of the TCP server are to receive client connection requests, process data transmission, and respond to control instructions from the client.
3. The method for mutual display and control of central control screens in a local area network according to claim 1, characterized in that: In S2, after receiving the list of connectable devices and their connection information, the control end device can filter and sort the devices according to the names, models, and location information of the devices, so as to more conveniently select the target device.
4. The method for mutual display and control of central control screens in a local area network according to claim 1, characterized in that: In S3, control state management is to ensure the safety and stability of the device. When a device is connected and controlled by other devices, the device should not accept new connection requests.
5. The method for mutual display and control of central control screens in a local area network according to claim 1, characterized in that: In S5, the current interface can be enlarged or the display area can be reduced. When enlarging, the display area is gradually enlarged according to a preset enlargement ratio to ensure the clarity of the image information. When reducing, the display area is gradually reduced according to a preset reduction ratio to ensure the integrity of the image information.
6. A method for mutual display and control of central control screens in a local area network according to claim 4, characterized in that: Record the user's zoom in and zoom out operation habits so that the default settings can be made according to the user's habits the next time the application is used, allowing the user to customize the zoom in and zoom out operation methods.
7. The method for mutual display and control of central control screens in a local area network according to claim 1, characterized in that: In S6, during the process of converting the click position into the click coordinates of the target device, the accuracy of the conversion is ensured and the error is within an acceptable range. The conversion of the starting position, the ending position and the sliding trajectory of the sliding operation should accurately reflect the user's operation on the current device to achieve precise control of the target device.
8. The method for mutual display and control of central control screens in a local area network according to claim 1, characterized in that: In S6, for different types of target devices, the conversion ratio can be adaptively adjusted through device information collection, model building, real-time monitoring, dynamic adjustment and learning optimization to ensure control compatibility.