Elevator smart screen remote debugging system and method

Through the remote debugging system, Open SSL program and long connection technology are used to realize rapid troubleshooting and repair of elevator smart screens, solving the problems of long debugging time and high cost in the existing technology, improving operation and maintenance efficiency and reducing costs. .

CN114615253BActive Publication Date: 2024-10-15ZHEJIANG NEW ZAILING TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210304117.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-25
Publication Date
2024-10-15
Estimated Expiration
2042-03-25

AI Technical Summary

Technical Problem

In the existing technology, the debugging process of elevator smart screen faults is time-consuming and costly, and it is difficult to respond in time. Especially when software problems do not need to be returned to the factory for resolution, the return method wastes resources.

Method used

Design an elevator smart screen remote debugging system, including a control terminal, a smart screen terminal and a server. Through the Open SSL program and long connection technology, the control terminal and the smart screen terminal can communicate and debug in the server's virtual LAN, using the adb tool Perform remote troubleshooting and repair.

Benefits of technology

It achieves fast and accurate resolution of smart screen faults, reduces operation and maintenance costs, improves debugging efficiency, and avoids unnecessary expenses of returning to the factory.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114615253B_ABST
    Figure CN114615253B_ABST
Patent Text Reader

Abstract

The present invention relates to an elevator smart screen remote debugging system and method, the system comprising: a control terminal, a smart screen terminal and a server, the control terminal and the smart screen terminal can be in the same local area network as the server, and the smart screen terminal can establish a long connection with the server. The present invention can solve the problems of long debugging time and high cost in the existing operation and maintenance technology.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a remote debugging system and method for an elevator intelligent screen. Background Art

[0002] With the development of science and technology, more and more elevators are installing smart screens for advertising promotion. In the existing technology, if a smart screen fails, the process is usually property warranty-> after-sales support-> elevator smart screen returned to the factory for inspection and repair. This method is very time-consuming (several days to several weeks), and due to the limited number of after-sales support personnel and the wide coverage area of ​​technical support, it is difficult to respond in time. In addition, after the smart screen returns to the factory, due to changes in the environment, some problems are difficult to reproduce, especially in the actual use process. Some software problems do not need to be returned to the factory for resolution. You only need to take a picture of the specific problem and upgrade the system program. Therefore, the after-sales return to the factory method is a huge waste of cost. Summary of the invention

[0003] The object of the present invention is to provide a remote debugging system and method for an elevator smart screen.

[0004] To achieve the above-mentioned purpose, the present invention provides an elevator smart screen remote debugging system and method, the system comprising: a control terminal, a smart screen terminal and a server, the control terminal and the smart screen terminal can be in the same local area network as the server, and the smart screen terminal can establish a long connection with the server.

[0005] According to one aspect of the present invention, the control terminal is a PC running an Open SSL program, which is used to connect to the server and be in the same local area network as the server;

[0006] The control terminal can log in to the CRM system of the server and issue corresponding instructions to enable and view the virtual IP address of the smart screen terminal;

[0007] The smart screen terminal runs a long connection program and an Open SSL program;

[0008] The long connection program can establish a long connection with the server, the Open SSL program can connect to the server and be in the same local area network with the server, and communicate with the control terminal through the forwarding function of the server;

[0009] The server can accept logins from the control terminal and the smart screen terminal;

[0010] When the smart screen terminal establishes a long connection with the server, the server may add the smart screen terminal to a current online device list and provide the list to the control terminal.

[0011] According to one aspect of the present invention, the smart screen terminal and the server realize a long connection through the TCP protocol, and the control terminal and the server communicate through the Https service;

[0012] The smart screen terminal and the control terminal are both connected to the server network through the UDP service to achieve adb connection and debugging based on the local area network.

[0013] A remote debugging method for an elevator smart screen comprises the following steps:

[0014] a. Establish a long connection between the smart screen terminal and the server;

[0015] b. Find the faulty smart screen terminal through the server;

[0016] c. Connect the control terminal to the server and the faulty smart screen terminal;

[0017] d. Investigate and analyze the cause of the faulty smart screen terminal.

[0018] According to one aspect of the present invention, in step (a), the smart screen terminal starts the authentication service after being powered on and connected to the Internet, calls the server interface to obtain the server's long connection address and port, the server starts the Socket Server service, the long connection program uses the long connection address and port to start the Socket Client, and establishes a long connection with the server. The server's CRM system updates the online elevator smart screen device list and displays the online / offline status of all current devices.

[0019] According to one aspect of the present invention, in step (b), when a smart screen terminal fails, the smart screen terminal is found in the device list through the server's CRM system, and a connection instruction is sent to it to start the Open SSL program of the smart screen terminal so that it can connect to the server, and the virtual IP address of the smart screen terminal is obtained through the server's CRM system.

[0020] According to one aspect of the present invention, in step (c), the Open SSL program of the control terminal is started to connect it to the server, and the virtual IP address of the corresponding smart screen terminal is obtained, and the smart screen terminal is in the same virtual local area network.

[0021] According to one aspect of the present invention, in step (d), the control terminal is connected to the smart screen terminal through an adb command tool to view real-time logs and historical logs to troubleshoot and analyze the cause of the fault.

[0022] According to one aspect of the present invention, the step (d) of performing two-way communication by means of data forwarding by the server includes:

[0023] d1. The server uses tun technology as a communication tunnel to receive data sent by the control terminal and forwards the data to the corresponding smart screen terminal;

[0024] d2. The server and the smart screen terminal maintain a long connection service through the TCP service. After receiving the instruction from the server, the smart screen terminal executes the operation of opening / closing the Open SSL program and obtaining the IP address after successfully logging into the server.

[0025] According to one aspect of the present invention, it also includes:

[0026] e. After debugging is completed, release the adb connection and Open SSL program between the control terminal and the smart screen terminal, and send a command in the server's CRM system to disconnect the Open SSL program between the smart screen terminal and the server. If the shutdown time expires, perform an automatic disconnection operation.

[0027] According to the concept of the present invention, a remote debugging system and a corresponding debugging method for an elevator smart screen are proposed to solve the problems of long debugging time and high cost in the existing operation and maintenance technology.

[0028] According to the solution of the present invention, when a smart TV fails, the remote elevator smart screen Open SSL program is started, so that the elevator smart screen is connected to the server as a client. At the same time, the control terminal uses the Open SSL program to log in to the server to establish a UDP connection, so that the elevator smart screen and the control terminal are in the same virtual local area network, so that the adb tool in the control terminal is used to connect to the elevator smart screen, realize two-way data communication, and then troubleshoot and repair the remote faulty elevator smart screen. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 It is a schematic block diagram of a remote debugging system for an elevator smart screen according to an embodiment of the present invention. DETAILED DESCRIPTION

[0030] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0031] The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments. The embodiments cannot be described one by one here, but the embodiments of the present invention are not therefore limited to the following embodiments.

[0032] See also Figure 1The elevator smart screen remote debugging system based on the Android system of the present invention can be used for the maintenance of the elevator smart screen, including: a control terminal (i.e., PC), a smart screen terminal (i.e., smart screen / TV) and a server (i.e., Server). The control terminal and the server use HTTP and UDP to communicate, and the smart screen terminal and the server use TCP and UDP protocols to connect, respectively, to implement long connection services and Open SSL access to the server. The data packet sent to enable the Open SSL service of the smart screen terminal during communication includes a header, content, and trailer, and the protocol type is defined in the header. The control terminal and the smart screen terminal use UDP to log in to the server, and the data encryption method is AES-256-CBC.

[0033] In the present invention, both the control terminal and the smart screen terminal can be in the same local area network as the server, and the smart screen terminal can establish a long connection with the server. In this way, operation and maintenance services can be provided to customers in a timely and accurate manner, which facilitates technicians to troubleshoot and analyze problems of smart screens used on site, thereby improving operation and maintenance efficiency and quickly solving problems in the use of smart screen terminals, thereby reducing after-sales operation and maintenance costs and solving the problems of long time and high cost of existing debugging technologies.

[0034] Among them, the control terminal is a PC, running an Open SSL program (remote debugging control terminal program), which is used to connect to the server after being turned on, so that the control terminal and the server are in the same LAN (virtual network) environment. The control terminal can log in to the CRM system (backstage) of the server to issue corresponding instructions to turn on and view the virtual IP address of the smart screen terminal. The smart screen terminal runs a long connection program and an Open SSL program (remote controlled program). After being turned on remotely, the long connection program can establish and maintain a long connection service with the server. The Open SSL program can connect to the server and be in the same LAN with it, that is, to realize the virtual LAN service, and communicate with the control terminal bound to it through the forwarding function of the server, that is, the control terminal and the smart screen terminal can also be in the same LAN.

[0035] The server can accept logins from control terminals and smart screen terminals, and is used for registration and connection of smart screen terminals. It uses long connections and Open SSL to provide Server services, open IP addresses and ports, ensure communication between the server and smart screen terminals, and provide CRM services. When the control terminal logs in to the server CRM system, it can display the current online smart screen terminal data. The technician selects the smart screen terminal with the problem, chooses to enable the Open SSL service, waits for the smart screen terminal Open SSL initialization to complete and connect to the server, queries the virtual IP address of the device in the CRM background, and returns.

[0036] When the smart screen terminal establishes a long connection with the server, the server can add the smart screen terminal to the current online device list and provide it to the control terminal of the CRM system that logs in to the server, so that it can query the online smart screen terminal list and choose to bind the corresponding faulty elevator smart screen. The server also issues instructions through the CRM system to enable the smart screen terminal to start the OpenSSL service and provide the communication data forwarding function between the control terminal and the smart screen terminal. At the same time, the server provides a TCP channel for the smart screen terminal to connect and a heartbeat mechanism to ensure a long connection with the smart screen.

[0037] In the present invention, the smart screen terminal and the server communicate through the TCP protocol to maintain a long connection, each control terminal communicates with the server through the Https service to obtain online smart screen terminal data, and the control terminal is connected to the smart screen terminal through adb. Both the smart screen terminal and the control terminal are connected to the server network through the UDP service to realize adb connection and debugging based on the local area network.

[0038] The remote debugging method for the elevator smart screen of the present invention first establishes a long connection between the smart screen terminal and the server, finds the faulty smart screen terminal through the server, connects the control terminal to the server and the faulty smart screen terminal, and investigates and analyzes the cause of the fault of the faulty smart screen terminal.

[0039] Among them, the smart screen terminal starts the authentication service after it is turned on (powered on) and connected to the network, calls the server interface to obtain the server's long connection address and port, the server starts the Socket Server service, the long connection program uses the long connection address and port to start the Socket Client, establishes and maintains a long connection service with the server, and the server's CRM system updates the online elevator smart screen device list to display the online / offline status of all current devices. When a smart screen terminal has a playback failure (reported by property personnel), the technician can log in to the server's CRM system (smart screen terminal operation and maintenance platform), obtain the online device list, find the faulty smart screen terminal in the device list, and send a connection instruction to the smart screen terminal, start the Open SSL program of the smart screen terminal, log in to the server to establish a connection with it, and return the smart screen terminal IP address. The technician then obtains the virtual IP address of the smart screen terminal through the server's CRM system. Then, the technician starts the Open SSL program of the control terminal to connect to the server, obtains the corresponding virtual IP address, and is in the same virtual LAN (i.e., the same network segment) as the smart screen terminal. The technician uses the adb command tool to connect the control terminal to the smart screen terminal, so as to analyze the cause of the fault of the smart screen terminal and perform corresponding operations. Specifically, you can view real-time logs and historical logs to realize the troubleshooting and analysis of the cause of the fault. The two-way communication through the data forwarding method of the server includes: the server uses tun technology as a communication tunnel to receive the data sent by the control terminal, and forwards the data to the corresponding smart screen terminal to realize two-way communication; the server and the smart screen terminal maintain a long connection service through the TCP service. After the smart screen terminal receives the instruction from the server, it performs the corresponding operation, including opening / closing the Open SSL program and obtaining the IP address after the Open SSL program successfully logs in to the server. When the technician completes this remote debugging (that is, the problem troubleshooting is over), manually release the adb connection between the control terminal and the corresponding smart screen terminal, close the OpenSSL program, and issue a command in the CRM system of the server to close the Open SSL program between the smart screen terminal and the server, and disconnect the smart screen terminal from the server. If the manual closing time times out, the automatic disconnection operation is performed.

[0040] To sum up, by applying the system of the present invention, when the elevator smart screen fails to play advertisements, the elevator smart screen control program can be remotely started through the command line and connected to the server, so that the server, the elevator smart screen, and the control terminal device are in the same virtual network. The technician can remotely connect to the elevator smart screen through the Android adb command line to realize the remote debugging function.

[0041] The above description is only an embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. An elevator smart screen remote debugging system, characterized in that: include: A control terminal, a smart screen terminal and a server, wherein the control terminal and the smart screen terminal can be in the same local area network as the server, and the smart screen terminal can establish a long connection with the server; The control terminal runs an Open SSL program and is used to connect to the server and be in the same local area network as the server; The smart screen terminal runs a long connection program and an Open SSL program; The long connection program can establish a long connection with the server, the Open SSL program can connect to the server and be in the same local area network with the server, and communicate with the control terminal through the forwarding function of the server; The server can accept logins from the control terminal and the smart screen terminal; When the smart screen terminal establishes a long connection with the server, the server may add the smart screen terminal to a current online device list and provide the list to the control terminal; The control terminal can log in to the CRM system of the server and issue corresponding instructions to enable and view the virtual IP address of the smart screen terminal; When a smart screen terminal fails, the server's CRM system finds the smart screen terminal in the device list, sends a connection instruction to it, starts the Open SSL program of the smart screen terminal, connects it to the server, and obtains the virtual IP address of the smart screen terminal through the server's CRM system; By starting the Open SSL program of the control terminal to connect to the server, the virtual IP address of the corresponding smart screen terminal is obtained, and the smart screen terminal is in the same virtual local area network.

2. The system according to claim 1, characterized in that The control terminal is a PC.

3. The system according to claim 1, characterized in that The smart screen terminal and the server are connected to each other through the TCP protocol, and the control terminal and the server communicate through the Https service; The smart screen terminal and the control terminal are both connected to the server network through the UDP service to achieve adb connection and debugging based on the local area network.

4. A debugging method using the elevator smart screen remote debugging system according to any one of claims 1 to 3, comprising the following steps: a. Establish a long connection between the smart screen terminal and the server; b. Find the faulty smart screen terminal through the server; c. Connect the control terminal to the server and the faulty smart screen terminal; d. Investigate and analyze the causes of faulty smart screen terminals; In step b, when a smart screen terminal fails, the smart screen terminal is found in the device list through the CRM system of the server, and a connection instruction is sent to it to start the Open SSL program of the smart screen terminal so that it can connect to the server, and the virtual IP address of the smart screen terminal is obtained through the CRM system of the server; In step c, the Open SSL program of the control terminal is started to connect it to the server, and the virtual IP address of the corresponding smart screen terminal is obtained, and the smart screen terminal is in the same virtual local area network.

5. The method according to claim 4, characterized in that In step a, the smart screen terminal starts the authentication service after being powered on and connected to the Internet, calls the server interface to obtain the server's long connection address and port, the server starts the SocketServer service, the long connection program uses the long connection address and port to start the Socket Client, and establishes a long connection with the server. The server's CRM system updates the online elevator smart screen device list and displays the online / offline status of all current devices.

6. The method according to claim 4, characterized in that In step d, the control terminal is connected to the smart screen terminal through the adb command tool to view the real-time log and historical log, and to troubleshoot and analyze the cause of the fault.

7. The method according to claim 6, characterized in that The two-way communication is performed by forwarding data from the server in step d, including: d1. The server uses tun technology as a communication tunnel to receive data sent by the control terminal and forwards the data to the corresponding smart screen terminal; d2. The server and the smart screen terminal maintain a long connection service through the TCP service. After receiving the instruction from the server, the smart screen terminal executes the operation of opening / closing the Open SSL program and obtaining the IP address after successfully logging into the server.

8. The method according to claim 4, characterized in that Also includes: e. After debugging is completed, release the adb connection and Open SSL program between the control terminal and the smart screen terminal, and send a command in the server's CRM system to disconnect the Open SSL program between the smart screen terminal and the server. If the shutdown time expires, perform an automatic disconnection operation.