CN115733893B - Touch screen networking monitoring method, device, equipment and readable storage medium - Google Patents

Touch screen networking monitoring method, device, equipment and readable storage medium Download PDF

Info

Publication number
CN115733893B
CN115733893B CN202211427786.6A CN202211427786A CN115733893B CN 115733893 B CN115733893 B CN 115733893B CN 202211427786 A CN202211427786 A CN 202211427786A CN 115733893 B CN115733893 B CN 115733893B
Authority
CN
China
Prior art keywords
monitoring
networking
data
touch screen
command
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211427786.6A
Other languages
Chinese (zh)
Other versions
CN115733893A (en
Inventor
李嘉辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Inovance Technology Co Ltd
Original Assignee
Shenzhen Inovance Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Inovance Technology Co Ltd filed Critical Shenzhen Inovance Technology Co Ltd
Priority to CN202211427786.6A priority Critical patent/CN115733893B/en
Publication of CN115733893A publication Critical patent/CN115733893A/en
Application granted granted Critical
Publication of CN115733893B publication Critical patent/CN115733893B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Closed-Circuit Television Systems (AREA)

Abstract

The application discloses a touch screen networking monitoring method, a device, electronic equipment and a readable storage medium, which are applied to the technical field of touch screen monitoring, wherein the touch screen networking monitoring method is applied to a client, and comprises the following steps: receiving a first networking monitoring command sent by a browser, wherein the first networking monitoring command is a websockets data packet; the method comprises the steps that a first networking monitoring command is sent to a server side, so that the server side converts the first networking monitoring command into a second networking monitoring command, the server side determines monitoring data of a touch screen to be networked according to the second networking monitoring command, the server side sends the monitoring data to a client side, and the second networking monitoring command is a TCP data packet; and receiving the monitoring data, and sending the monitoring data to the browser, so that the browser draws and displays a monitoring picture corresponding to the monitoring data to perform networking monitoring on the touch screen to be networked. The application solves the technical problem of low remote monitoring efficiency of the touch screen.

Description

Touch screen networking monitoring method, device, equipment and readable storage medium
Technical Field
The present application relates to the field of touch screen monitoring technologies, and in particular, to a method, an apparatus, a device, and a readable storage medium for monitoring a touch screen networking.
Background
Along with the high-speed development of technology, the remote monitoring technology of the touch screen is also developed to be more mature, in the existing remote monitoring technology of the touch screen, a client and a server cannot directly communicate, an agent server is generally required to be installed between the client and the server, and data forwarding between the client and the server is realized by taking the agent server as an intermediary, so that the data communication efficiency between the client and the server is low, and the remote monitoring efficiency of the touch screen is low.
Disclosure of Invention
The application mainly aims to provide a touch screen networking monitoring method, a device, electronic equipment and a readable storage medium, and aims to solve the technical problem of low remote monitoring efficiency of a touch screen in the prior art.
In order to achieve the above object, the present application provides a method for monitoring a touch screen networking, which is applied to a client, and the method for monitoring a touch screen networking includes:
Receiving a first networking monitoring command sent by a browser, wherein the first networking monitoring command is a websockets data packet;
The first networking monitoring command is sent to a server side, so that the server side converts the first networking monitoring command into a second networking monitoring command, the server side determines monitoring data of a touch screen to be networked according to the second networking monitoring command, the server side sends the monitoring data to a client side, and the second networking monitoring command is a TCP (Transmission Control Protocol ) data packet;
and receiving the monitoring data, and sending the monitoring data to the browser, so that the browser draws and displays a monitoring picture corresponding to the monitoring data to perform networking monitoring on the touch screen to be networked.
Optionally, before the step of sending the first networking monitoring command to the server, the method includes:
encoding the first networking monitoring command;
the step of sending the first networking monitoring command to the server side comprises the following steps:
and sending the encoded first networking monitoring command to a server.
Optionally, the step of receiving the monitoring data and sending the monitoring data to the browser, so that the browser draws and displays a monitoring screen corresponding to the monitoring data includes:
receiving the monitoring data and detecting whether the monitoring data is matched with the IP address of the touch screen to be networked or not;
if the monitoring data are matched with the IP address of the touch screen to be networked, the monitoring data are sent to the browser so that the browser can draw and display a monitoring picture corresponding to the monitoring data;
And if the monitoring data is not matched with the IP address of the touch screen to be networked, returning to the step of executing the first networking monitoring command sent by the receiving browser.
Optionally, before the step of sending the monitoring data to the browser, the method includes:
decoding the monitoring data;
the step of sending the monitoring data to the browser includes:
and sending the decoded monitoring data to the browser.
In order to achieve the above object, the present application further provides a method for monitoring a touch screen networking, which is applied to a server, and the method for monitoring a touch screen networking comprises:
receiving a first networking monitoring command sent by a client, wherein the first networking monitoring command is a websockets data packet;
Converting the first networking monitoring command into a second networking monitoring command, wherein the second networking monitoring command is a TCP data packet;
And determining monitoring data of the touch screen to be networked according to the second networking monitoring command, and sending the monitoring data to a client, wherein the client sends the monitoring data to a browser so that the browser draws and displays a monitoring picture corresponding to the monitoring data to perform networking monitoring on the touch screen to be networked.
Optionally, the step of determining the monitoring data of the touch screen to be networked according to the second networking monitoring command includes:
determining first interface data of the touch screen to be networked according to the second networking monitoring command, wherein the first interface data is a TCP data packet;
And converting the first interface data into second interface data, determining the second interface data as the monitoring data of the touch screen to be networked, wherein the second interface data is a websockets data packet.
In order to achieve the above object, the present application further provides a touch screen networking monitoring device, where the touch screen networking monitoring device includes a client, where the client includes a first receiving module, a first sending module and a monitoring module, the first receiving module is configured to receive a first networking monitoring command sent by a browser, the first networking monitoring command is a websockets data packet, the first sending module is configured to send the first networking monitoring command to a server, so that the server converts the first networking monitoring command into a second networking monitoring command, the server determines monitoring data of a touch screen to be networked according to the second networking monitoring command, the server sends the monitoring data to the client, the second networking monitoring command is a TCP data packet, and the monitoring module is configured to receive the monitoring data and send the monitoring data to the browser, so that the browser displays a monitoring picture corresponding to the monitoring data, and performs networking monitoring on the touch screen to be networked; or alternatively
The touch screen networking monitoring device comprises a server, the server comprises a second receiving module, a conversion module and a second sending module, the second receiving module is used for receiving a first networking monitoring command sent by a client, the first networking monitoring command is a websockets data packet, the conversion module is used for converting the first networking monitoring command into a second networking monitoring command, the second networking monitoring command is a TCP data packet, the second sending module is used for determining monitoring data of a touch screen to be networked according to the second networking monitoring command and sending the monitoring data to the client, and the client sends the monitoring data to a browser so that the browser draws and displays a monitoring picture corresponding to the monitoring data to perform networking monitoring on the touch screen to be networked.
The application also provides a touch screen networking monitoring device, which comprises: the system comprises a memory, a processor and a program of the touch screen networking monitoring method, wherein the program of the touch screen networking monitoring method is stored in the memory and can run on the processor, and the program of the touch screen networking monitoring method can realize the steps of the touch screen networking monitoring method when being executed by the processor.
The application also provides a computer readable storage medium, the computer readable storage medium stores a program for realizing the touch screen networking monitoring method, and the program for realizing the touch screen networking monitoring method when being executed by a processor.
The application also provides a computer program product comprising a computer program which, when executed by a processor, implements the steps of the touch screen networking monitoring method as described above.
Compared with a method for indirectly communicating a touch screen with a browser by forwarding communication data between a server and the client through a proxy server, the method for remotely monitoring the touch screen comprises the steps that the method is applied to the client and a first networking monitoring command sent by the browser is received, and the first networking monitoring command is a websocket data packet; the first networking monitoring command is sent to a server side, so that the server side can convert the first networking monitoring command into a second networking monitoring command, the server side can determine monitoring data of a touch screen to be networked according to the second networking monitoring command, the server side can send the monitoring data to a client side, and the second networking monitoring command is a TCP data packet; and receiving the monitoring data, and sending the monitoring data to the browser, so that the browser draws and displays a monitoring picture corresponding to the monitoring data, networking monitoring is carried out on the touch screen to be networked, and a server is used for carrying out data type conversion on a networking monitoring command, so that a proxy server is not required to be installed between a server and a client to forward communication data between the server and the client, the forwarding and processing time of the proxy server is reduced, and the remote monitoring efficiency of the touch screen is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the application or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, and it will be obvious to a person skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a flowchart of a first embodiment of a method for monitoring a touch screen networking of the present application;
FIG. 2 is a flowchart of a second embodiment of the method for monitoring a touch screen networking of the present application;
FIG. 3 is a diagram illustrating an exemplary communication connection between a touch screen and a browser in a method for monitoring a touch screen networking according to the present application;
Fig. 4 is a schematic device structure diagram of a hardware operating environment related to a touch screen networking monitoring method in an embodiment of the present application.
The achievement of the objects, functional features and advantages of the present application will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
In order to make the above objects, features and advantages of the present application more comprehensible, the following description of the embodiments accompanied with the accompanying drawings will be given in detail. It will be apparent that the described embodiments are only some, but not all, embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Example 1
In a first embodiment of the touch screen networking monitoring method, referring to fig. 1, the touch screen networking monitoring method is applied to a client, and includes:
step S10, a first networking monitoring command sent by a browser is received, wherein the first networking monitoring command is a websockets data packet;
Step S20, the first networking monitoring command is sent to a server side, so that the server side can convert the first networking monitoring command into a second networking monitoring command, the server side can determine monitoring data of a touch screen to be networked according to the second networking monitoring command, the server side can send the monitoring data to a client side, and the second networking monitoring command is a TCP data packet;
and step S30, receiving the monitoring data, and sending the monitoring data to the browser so that the browser can draw and display a monitoring picture corresponding to the monitoring data to perform networking monitoring on the touch screen to be networked.
In this embodiment, the touch screen is a terminal device having a touch display function. The server is a server with vnc (Virtual Network Console ) connection function and can be used for a browser, and the server can be a vnc server. The browser is a Web browser. The first networking monitoring command is a command for monitoring a networking touch screen. And displaying and monitoring the position of each networking touch screen preset on the browser at the preset position. The client can be arranged outside the touch screen and the browser, can be integrated on the touch screen and the browser, and can be integrated on the browser. The server can be arranged outside the touch screen and the browser, and can also be integrated with the touch screen.
It can be understood that when there are a plurality of touch screens requiring remote monitoring, the remote monitoring is easy to be inefficient by a method of transmitting monitoring commands to each of the touch screens one by one.
To solve the above-described drawbacks, steps S10 to S20 exemplarily include: receiving a first networking monitoring command sent by a browser through the client, wherein the first networking monitoring command is a websockets data packet; the first networking monitoring command is sent to a server side, so that the server side can convert the first networking monitoring command into a second networking monitoring command, the server side can determine monitoring data of a touch screen to be networked according to the second networking monitoring command, the server side can send the monitoring data to a client side, and the second networking monitoring command is a TCP data packet; the monitoring data are received and sent to the browser, so that the browser draws and displays a monitoring picture corresponding to the monitoring data, networking monitoring is conducted on the touch screen to be networked, networking monitoring commands are sent to servers corresponding to all the networking touch screens through clients, the servers receive the networking monitoring commands, the monitoring data are determined according to the networking monitoring commands, networking monitoring is conducted on all the networking touch screens through the browser, and the technical defect that remote monitoring efficiency is low easily caused when a method of sending monitoring commands to all the touch screens one by one is adopted is avoided, so that remote networking efficiency is improved.
Optionally, before the step of receiving the first networking monitoring command sent by the browser, the first networking monitoring command is a websocket data packet, the method further includes:
And receiving an IP address and a Web port number corresponding to a touch screen to be networked, which are input by a user, through the browser, generating a first networking monitoring command according to the IP address and the Web port number, and sending the first networking monitoring command to the client so that the client can receive the first networking monitoring command. And/or the number of the groups of groups,
Generating touch screen types corresponding to the touch screens according to the touch screen type information corresponding to the touch screens, wherein the touch screen type information at least comprises one of touch screen page types and user operation page types; according to the touch screen type, the touch screen to be networked is determined, an IP address and a Web port number corresponding to the touch screen to be networked are determined, the first networking monitoring command is generated according to the IP address and the Web port number and is sent to the client so that the client can receive the first networking monitoring command, and it is understood that when the page similarity of a plurality of touch screens is higher or the same operation for the plurality of touch screens is detected, for example, the touch screens are operated one by one, the condition that the remote operation efficiency of the touch screens is low easily occurs.
In step S20, before the step of sending the first network monitoring command to the server, the method includes:
Step S21, coding the first networking monitoring command;
in step S20, the step of sending the first network monitoring command to the server includes:
step S22, the encoded first networking monitoring command is sent to a server.
It can be understood that when the browser detects that the IP address and the Web port number corresponding to the touch screen to be networked input by the user are received, the first networking monitoring command is generated, and at this time, the first networking monitoring command is operation data of the user, so that the first networking monitoring command needs to be encoded.
Illustratively, steps S21 through S22 include: acquiring a preset coding rule, wherein the preset coding rule is a rule followed by preset program codes; coding the first networking monitoring command according to the preset coding rule; and sending the encoded first networking monitoring command to a server.
In step S30, the step of receiving the monitoring data and drawing and displaying a monitoring picture corresponding to the monitoring data to perform networking monitoring on the touch screen to be networked includes:
Step S31, receiving the monitoring data and detecting whether the monitoring data is matched with the IP address of the touch screen to be networked;
Step S32, if the monitoring data are matched with the IP address of the touch screen to be networked, the monitoring data are sent to the browser so that the browser can draw and display a monitoring picture corresponding to the monitoring data;
And step S33, if the monitoring data is not matched with the IP address of the touch screen to be networked, returning to the step of executing the first networking monitoring command sent by the receiving browser.
It can be understood that when the number of networking touch screens is large, the situation that the client side sends the first networking monitoring command to the corresponding server side of other non-networking touch screens by mistake may occur, so that the accuracy of networking monitoring is low.
To overcome the above-described drawbacks, steps S31 to S32 exemplarily include: receiving monitoring data sent by the server through the client, and detecting whether the monitoring data is matched with the IP address of the touch screen to be networked or not; if the monitoring data are matched with the IP address of the touch screen to be networked, the monitoring data are sent to the browser so that the browser can draw and display a monitoring picture corresponding to the monitoring data; and if the monitoring data is not matched with the IP address of the touch screen to be networked, returning to the step of executing the first networking monitoring command sent by the receiving browser.
Wherein, in step S32, before the step of sending the monitoring data to the browser, the method includes:
step B10, decoding the monitoring data;
Wherein, in step S32, the step of sending the monitoring data to the browser includes:
and step B20, sending the decoded monitoring data to the browser.
It can be appreciated that, when the server receives the first network monitoring command sent by the client, the server does not decode the first network monitoring command, so that the first network monitoring command needs to be decoded.
Illustratively, steps B10 through B20 include: acquiring a preset decoding rule corresponding to a preset coding rule, wherein the preset decoding rule is a preset rule corresponding to the preset coding rule and applicable to program decoding; decoding the monitoring data according to the preset decoding rule; and sending the decoded monitoring data to the browser.
Optionally, after the browser receives the client decoded monitoring data, drawing the monitoring data through a drawing script in the browser to obtain a monitoring picture, where the drawing script is a script for drawing data, the drawing script may be canvas, the monitoring picture is displayed at a preset position of the browser, so as to perform networking monitoring on the touch screen to be networked, and the preset position is a preset position for displaying the monitoring picture on the browser.
Optionally, after the step of receiving the monitoring data and transmitting the monitoring data to the browser, the method further includes:
If the browser detects that networking countercontrol data aiming at networking touch screens are received, wherein the networking countercontrol data are countercontrol data aiming at the networking touch screens on the browser, a first networking countercontrol command is generated according to the networking countercontrol data, the first networking countercontrol command is sent to the client, and the first networking countercontrol command is websockets data packets when the client receives the first networking countercontrol command sent by the browser; the first networking reverse control command is sent to a server side, so that the server side converts the first networking reverse control command into a second networking reverse control command, the server side executes the second networking reverse control command, determines reverse control data of a touch screen to be networked according to the second networking reverse control command, and sends the reverse control data to a client side, wherein the second networking reverse control command is a TCP data packet; and receiving the countercontrol data, and sending the countercontrol data to the browser, so that the browser draws and displays a monitoring picture corresponding to the countercontrol data to perform networking countercontrol monitoring on the touch screen to be networked.
Compared with a method for indirectly communicating a touch screen with a browser by forwarding communication data between a server and a client through a proxy server so as to realize remote monitoring of the touch screen, the method for monitoring the touch screen networking is applied to the client and is used for receiving a first networking monitoring command sent by the browser, wherein the first networking monitoring command is a websockets data packet; the first networking monitoring command is sent to a server side, so that the server side can convert the first networking monitoring command into a second networking monitoring command, the server side can determine monitoring data of a touch screen to be networked according to the second networking monitoring command, the server side can send the monitoring data to a client side, and the second networking monitoring command is a TCP data packet; and receiving the monitoring data, and sending the monitoring data to the browser, so that the browser draws and displays a monitoring picture corresponding to the monitoring data, networking monitoring is carried out on the touch screen to be networked, and a server is used for carrying out data type conversion on a networking monitoring command, so that a proxy server is not required to be installed between a server and a client to forward communication data between the server and the client, the forwarding and processing time of the proxy server is reduced, and the remote monitoring efficiency of the touch screen is improved.
Example two
Further, in another embodiment of the present application, the same or similar content as that of the first embodiment may be referred to the above description, and will not be repeated. On the basis of the above-mentioned combination of the above-mentioned components,
The embodiment of the application also provides a touch screen networking monitoring method, referring to fig. 2, which is applied to a server and comprises the following steps:
step C10, receiving a first networking monitoring command sent by a client, wherein the first networking monitoring command is a websockets data packet;
step C20, converting the first networking monitoring command into a second networking monitoring command, wherein the second networking monitoring command is a TCP data packet;
And step C30, determining monitoring data of the touch screen to be networked according to the second networking monitoring command, and sending the monitoring data to a client, wherein the client sends the monitoring data to a browser so that the browser can draw and display a monitoring picture corresponding to the monitoring data to perform networking monitoring on the touch screen to be networked.
It will be appreciated that the types of data receivable between the client and the server are different and therefore cannot be communicated directly.
In this embodiment, it should be noted that the server includes a data type conversion module and a data processing module, where the data type conversion module is a module for data type conversion. The processing module is a module for data processing.
To overcome the above-described drawbacks, steps C10 to C30 illustratively include: receiving a first networking monitoring command sent by a client through the server, wherein the first networking monitoring command is a websockets data packet; converting the first networking monitoring command into a second networking monitoring command according to a Websocket to Tcp function through the data type conversion module, wherein the second networking monitoring command is a TCP data packet; and determining monitoring data of the touch screen to be networked according to the second networking monitoring command through the data processing module and the data type conversion module, and sending the monitoring data to a client, wherein the client sends the monitoring data to a browser so that the browser draws and displays a monitoring picture corresponding to the monitoring data to perform networking monitoring on the touch screen to be networked, and the data type conversion module in the server converts the communication data between the client and the server so that the two ends can respectively identify the communication data, thereby realizing communication between the client and the server.
In step C30, the step of determining the monitoring data of the touch screen to be networked according to the second networking monitoring command includes:
Step C31, determining first interface data of the touch screen to be networked according to the second networking monitoring command, wherein the first interface data is a TCP data packet;
And step C32, converting the first interface data into second interface data, determining the second interface data as the monitoring data of the touch screen to be networked, wherein the second interface data is a websockets data packet.
Illustratively, steps C31 through C32 include: determining first interface data of the touch screen to be networked according to the second networking monitoring command through the data processing module, wherein the first interface data is a TCP data packet; and converting the first interface data into second interface data according to a Tcp to Websocket function through the data type conversion module, and determining the second interface data as the monitoring data of the touch screen to be networked, wherein the second interface data is a Websocket data packet.
As an example, referring to fig. 3, fig. 3 is a diagram illustrating a communication connection of a scenario between a touch screen and a browser, and fig. 3 includes: the touch screen data processing system comprises a browser (a Web browser 7 shown in the figure), a touch screen, a server (a vnc server 10 shown in the figure), an ip+Web port number of the touch screen, a client (a Webvnc client 8 shown in the figure) and a data type conversion module (a data conversion module 9 shown in the figure), wherein a command is generated according to the ip+Web port number of the touch screen through the browser, the command is sent to the client, the command is sent to the server through the client, the command is subjected to data type conversion through the data type conversion module in the server, the command is processed through the server, touch screen return data is obtained, the data type conversion is carried out on the touch screen return data through the data type conversion module, the touch screen return data is sent to the client, and the touch screen return data is sent to the browser through the client.
Compared with a method for indirectly communicating a touch screen with a browser by forwarding communication data between a server and a client through a proxy server so as to realize remote monitoring of the touch screen, the method for monitoring the touch screen networking is applied to the server and is used for receiving a first networking monitoring command sent by the client, wherein the first networking monitoring command is a websocket data packet; converting the first networking monitoring command into a second networking monitoring command, wherein the second networking monitoring command is a TCP data packet; and determining monitoring data of the touch screen to be networked according to the second networking monitoring command, sending the monitoring data to a client, and sending the monitoring data to a browser by the client so that the browser draws and displays a monitoring picture corresponding to the monitoring data to perform networking monitoring on the touch screen to be networked, and performing data type conversion on the networking monitoring command through a server, so that a proxy server is not required to be installed between the server and the client to forward communication data between the server and the client, thereby reducing the forwarding and processing time of the proxy server and further improving the remote monitoring efficiency of the touch screen.
Example III
The embodiment of the application also provides a touch screen networking monitoring device, which comprises a client, wherein the client comprises:
The first receiving module is used for receiving a first networking monitoring command sent by the browser, wherein the first networking monitoring command is a websocket data packet;
The first sending module is used for sending the first networking monitoring command to a server, the server converts the first networking monitoring command into a second networking monitoring command, the server determines monitoring data of a touch screen to be networked according to the second networking monitoring command, the server sends the monitoring data to the client, and the second networking monitoring command is a TCP data packet;
And the monitoring module is used for receiving the monitoring data and sending the monitoring data to the browser so that the browser can draw and display a monitoring picture corresponding to the monitoring data to perform networking monitoring on the touch screen to be networked.
Optionally, before the step of sending the first networking monitoring command to the server,
Encoding the first networking monitoring command;
the first sending module is further configured to:
and sending the encoded first networking monitoring command to a server.
Optionally, the monitoring module is further configured to:
receiving the monitoring data and detecting whether the monitoring data is matched with the IP address of the touch screen to be networked or not;
if the monitoring data are matched with the IP address of the touch screen to be networked, the monitoring data are sent to the browser so that the browser can draw and display a monitoring picture corresponding to the monitoring data;
And if the monitoring data is not matched with the IP address of the touch screen to be networked, returning to the step of executing the first networking monitoring command sent by the receiving browser.
Optionally, before the step of sending the monitoring data to the browser, the client is further configured to:
decoding the monitoring data;
the monitoring module is also used for:
and sending the decoded monitoring data to the browser.
The touch screen networking monitoring device provided by the application solves the technical problem of low remote monitoring efficiency of the touch screen by adopting the touch screen networking monitoring method in the embodiment. Compared with the prior art, the beneficial effects of the touch screen networking monitoring device provided by the embodiment of the application are the same as those of the touch screen networking monitoring method provided by the embodiment, and other technical features of the touch screen networking monitoring device are the same as those disclosed by the method of the embodiment, so that the description is omitted herein.
Example IV
The embodiment of the application also provides a touch screen networking monitoring device, which comprises a server, wherein the server comprises:
The second receiving module is used for receiving a first networking monitoring command sent by the client, wherein the first networking monitoring command is a websockets data packet;
The conversion module is used for converting the first networking monitoring command into a second networking monitoring command, wherein the second networking monitoring command is a TCP data packet;
the second sending module is used for determining the monitoring data of the touch screen to be networked according to the second networking monitoring command, sending the monitoring data to the client, and sending the monitoring data to the browser by the client so that the browser can draw and display a monitoring picture corresponding to the monitoring data to perform networking monitoring on the touch screen to be networked.
Optionally, the second sending module is further configured to:
determining first interface data of the touch screen to be networked according to the second networking monitoring command, wherein the first interface data is a TCP data packet;
And converting the first interface data into second interface data, determining the second interface data as the monitoring data of the touch screen to be networked, wherein the second interface data is a websockets data packet.
The touch screen networking monitoring device provided by the application solves the technical problem of low remote monitoring efficiency of the touch screen by adopting the touch screen networking monitoring method in the embodiment. Compared with the prior art, the beneficial effects of the touch screen networking monitoring device provided by the embodiment of the application are the same as those of the touch screen networking monitoring method provided by the embodiment, and other technical features of the touch screen networking monitoring device are the same as those disclosed by the method of the embodiment, so that the description is omitted herein.
Example five
An embodiment of the present application provides an electronic device, including: at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute the touch screen networking monitoring method in the above embodiment.
Referring now to fig. 4, a schematic diagram of an electronic device suitable for use in implementing embodiments of the present disclosure is shown. The electronic devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like, and stationary terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 4 is merely an example and should not be construed to limit the functionality and scope of use of the disclosed embodiments.
As shown in fig. 4, the electronic device may include a processing means (e.g., a central processing unit, a graphic processor, etc.), which may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) or a program loaded from the storage means into a Random Access Memory (RAM). In the RAM, various programs and data required for the operation of the electronic device are also stored. The processing device, ROM and RAM are connected to each other via a bus. An input/output (I/O) interface is also connected to the bus.
In general, the following systems may be connected to the I/O interface: input devices including, for example, touch screens, touch pads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc.; output devices including, for example, liquid crystal monitors (LCDs), speakers, vibrators, etc.; storage devices including, for example, magnetic tape, hard disk, etc.; a communication device. The communication means may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. While electronic devices having various systems are shown in the figures, it should be understood that not all of the illustrated systems are required to be implemented or provided. More or fewer systems may alternatively be implemented or provided.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via a communication device, or installed from a storage device, or installed from ROM. The above-described functions defined in the methods of the embodiments of the present disclosure are performed when the computer program is executed by a processing device.
The electronic equipment provided by the application adopts the touch screen networking monitoring method in the embodiment, so that the technical problem of low remote monitoring efficiency of the touch screen is solved. Compared with the prior art, the beneficial effects of the electronic device provided by the embodiment of the application are the same as those of the touch screen networking monitoring method provided by the embodiment, and other technical features of the electronic device are the same as those disclosed by the method of the embodiment, so that the description is omitted herein.
It should be understood that portions of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof. In the description of the above embodiments, particular features, structures, materials, or characteristics may be combined in any suitable manner in any one or more embodiments or examples.
The foregoing is merely illustrative of the present application, and the present application is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Example six
The present embodiment provides a computer-readable storage medium having computer-readable program instructions stored thereon for performing the method of the touch screen networking monitoring method in the above embodiment.
The computer readable storage medium according to the embodiments of the present application may be, for example, a usb disk, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this embodiment, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, or device. Program code embodied on a computer readable storage medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
The above-described computer-readable storage medium may be contained in an electronic device; or may exist alone without being assembled into an electronic device.
The computer-readable storage medium carries one or more programs that, when executed by an electronic device, cause the electronic device to: receiving a first networking monitoring command sent by a browser, wherein the first networking monitoring command is a websockets data packet; the first networking monitoring command is sent to a server side, so that the server side can convert the first networking monitoring command into a second networking monitoring command, the server side can determine monitoring data of a touch screen to be networked according to the second networking monitoring command, the server side can send the monitoring data to a client side, and the second networking monitoring command is a TCP data packet; and receiving the monitoring data, and sending the monitoring data to the browser, so that the browser draws and displays a monitoring picture corresponding to the monitoring data to perform networking monitoring on the touch screen to be networked.
Or receiving a first networking monitoring command sent by a client, wherein the first networking monitoring command is a websockets data packet; converting the first networking monitoring command into a second networking monitoring command, wherein the second networking monitoring command is a TCP data packet; and determining monitoring data of the touch screen to be networked according to the second networking monitoring command, and sending the monitoring data to a client, wherein the client sends the monitoring data to a browser so that the browser draws and displays a monitoring picture corresponding to the monitoring data to perform networking monitoring on the touch screen to be networked.
Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present disclosure may be implemented in software or hardware. Wherein the name of the module does not constitute a limitation of the unit itself in some cases.
The computer readable storage medium provided by the application stores the computer readable program instructions for executing the touch screen networking monitoring method, and solves the technical problem of low remote monitoring efficiency of the touch screen. Compared with the prior art, the beneficial effects of the computer readable storage medium provided by the embodiment of the application are the same as those of the touch screen networking monitoring method provided by the implementation, and are not described in detail herein.
Example seven
The application also provides a computer program product comprising a computer program which, when executed by a processor, implements the steps of the touch screen networking monitoring method as described above.
The computer program product provided by the application solves the technical problem of low remote monitoring efficiency of the touch screen. Compared with the prior art, the beneficial effects of the computer program product provided by the embodiment of the application are the same as those of the touch screen networking monitoring method provided by the embodiment, and are not described in detail herein.
The foregoing description is only of the preferred embodiments of the present application, and is not intended to limit the scope of the application, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein, or any application, directly or indirectly, within the scope of the application.

Claims (10)

1. The touch screen networking monitoring method is characterized by being applied to a client, and comprises the following steps:
Receiving a first networking monitoring command sent by a browser, wherein the first networking monitoring command is a websockets data packet;
The first networking monitoring command is sent to a server side, so that the server side can convert the first networking monitoring command into a second networking monitoring command, the server side can determine monitoring data of a touch screen to be networked according to the second networking monitoring command, the server side can send the monitoring data to a client side, and the second networking monitoring command is a TCP data packet;
and receiving the monitoring data, and sending the monitoring data to the browser, so that the browser draws and displays a monitoring picture corresponding to the monitoring data to perform networking monitoring on the touch screen to be networked.
2. The method for monitoring the networking of the touch screen according to claim 1, wherein before the step of sending the first networking monitoring command to the server, the method comprises:
encoding the first networking monitoring command;
the step of sending the first networking monitoring command to the server side comprises the following steps:
and sending the encoded first networking monitoring command to a server.
3. The method for monitoring the networking of the touch screen according to claim 1, wherein the steps of receiving the monitoring data and sending the monitoring data to the browser for the browser to draw and display the monitoring picture corresponding to the monitoring data comprise:
receiving the monitoring data and detecting whether the monitoring data is matched with the IP address of the touch screen to be networked or not;
if the monitoring data are matched with the IP address of the touch screen to be networked, the monitoring data are sent to the browser so that the browser can draw and display a monitoring picture corresponding to the monitoring data;
And if the monitoring data is not matched with the IP address of the touch screen to be networked, returning to the step of executing the first networking monitoring command sent by the receiving browser.
4. The method for monitoring the networking of a touch screen according to claim 3, wherein before the step of transmitting the monitoring data to the browser, the method comprises:
decoding the monitoring data;
the step of sending the monitoring data to the browser includes:
and sending the decoded monitoring data to the browser.
5. The touch screen networking monitoring method is characterized by being applied to a server, and comprises the following steps:
receiving a first networking monitoring command sent by a client, wherein the first networking monitoring command is a websockets data packet;
Converting the first networking monitoring command into a second networking monitoring command, wherein the second networking monitoring command is a TCP data packet;
And determining monitoring data of the touch screen to be networked according to the second networking monitoring command, and sending the monitoring data to a client, wherein the client sends the monitoring data to a browser so that the browser draws and displays a monitoring picture corresponding to the monitoring data to perform networking monitoring on the touch screen to be networked.
6. The method for monitoring networking of touch screens according to claim 5, wherein the step of determining the monitoring data of the touch screens to be networked according to the second networking monitoring command comprises:
determining first interface data of the touch screen to be networked according to the second networking monitoring command, wherein the first interface data is a TCP data packet;
And converting the first interface data into second interface data, determining the second interface data as the monitoring data of the touch screen to be networked, wherein the second interface data is a websockets data packet.
7. The touch screen networking monitoring device is characterized by comprising a client, wherein the client comprises a first receiving module, a first sending module and a monitoring module, the first receiving module is used for receiving a first networking monitoring command sent by a browser, the first networking monitoring command is a websockets data packet, the first sending module is used for sending the first networking monitoring command to a server so that the server can convert the first networking monitoring command into a second networking monitoring command, the server can determine monitoring data of a touch screen to be networked according to the second networking monitoring command, the server can send the monitoring data to the client, the second networking monitoring command is a TCP data packet, and the monitoring module is used for receiving the monitoring data and sending the monitoring data to the browser so that the browser can draw and display a monitoring picture corresponding to the monitoring data so as to conduct networking monitoring on the touch screen to be networked; or alternatively
The touch screen networking monitoring device comprises a server, the server comprises a second receiving module, a conversion module and a second sending module, the second receiving module is used for receiving a first networking monitoring command sent by a client, the first networking monitoring command is a websockets data packet, the conversion module is used for converting the first networking monitoring command into a second networking monitoring command, the second networking monitoring command is a TCP data packet, the second sending module is used for determining monitoring data of a touch screen to be networked according to the second networking monitoring command and sending the monitoring data to the client, and the client sends the monitoring data to a browser so that the browser draws and displays a monitoring picture corresponding to the monitoring data to perform networking monitoring on the touch screen to be networked.
8. The utility model provides a touch-sensitive screen networking supervisory equipment which characterized in that, touch-sensitive screen networking supervisory equipment includes:
at least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores instructions executable by the at least one processor to enable the at least one processor to perform the steps of the touch screen networking monitoring method of any one of claims 1 to 6.
9. The touch screen networking monitoring device of claim 8, wherein the touch screen networking monitoring device comprises a client and a server as claimed in any one of claims 1 to 6.
10. A computer-readable storage medium, wherein a program for implementing a touch screen networking monitoring method is stored on the computer-readable storage medium, and the program for implementing the touch screen networking monitoring method is executed by a processor to implement the steps of the touch screen networking monitoring method according to any one of claims 1 to 6.
CN202211427786.6A 2022-11-15 2022-11-15 Touch screen networking monitoring method, device, equipment and readable storage medium Active CN115733893B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211427786.6A CN115733893B (en) 2022-11-15 2022-11-15 Touch screen networking monitoring method, device, equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211427786.6A CN115733893B (en) 2022-11-15 2022-11-15 Touch screen networking monitoring method, device, equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN115733893A CN115733893A (en) 2023-03-03
CN115733893B true CN115733893B (en) 2024-07-23

Family

ID=85295805

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211427786.6A Active CN115733893B (en) 2022-11-15 2022-11-15 Touch screen networking monitoring method, device, equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN115733893B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107391350A (en) * 2017-07-28 2017-11-24 郑州云海信息技术有限公司 A kind of display methods for monitoring view, apparatus and system
CN113821406A (en) * 2021-09-15 2021-12-21 北京沃东天骏信息技术有限公司 Method, device and equipment for monitoring webpage and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11206461B2 (en) * 2016-07-05 2021-12-21 Sharp Kabushiki Kaisha Systems and methods for communicating user settings in conjunction with execution of an application
US20220353335A1 (en) * 2021-04-28 2022-11-03 Microsoft Technology Licensing, Llc Session establishment in remote desktop infrastructure environments
CN114020400A (en) * 2021-10-12 2022-02-08 广州明珞装备股份有限公司 NoVNC-based remote virtual simulation method, system, device and medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107391350A (en) * 2017-07-28 2017-11-24 郑州云海信息技术有限公司 A kind of display methods for monitoring view, apparatus and system
CN113821406A (en) * 2021-09-15 2021-12-21 北京沃东天骏信息技术有限公司 Method, device and equipment for monitoring webpage and storage medium

Also Published As

Publication number Publication date
CN115733893A (en) 2023-03-03

Similar Documents

Publication Publication Date Title
CN107273083B (en) Interaction method, device, equipment and storage medium between terminal equipment
US11711441B2 (en) Method and apparatus for publishing video synchronously, electronic device, and readable storage medium
CN109510754B (en) Online document generation method, device and system and electronic equipment
CN109743381B (en) Long connection interaction method and device for client and server
CN108337246B (en) Media playback apparatus and media service apparatus preventing playback delay
US11861381B2 (en) Icon updating method and apparatus, and electronic device
CN115871691A (en) Vehicle running control method and device, electronic equipment and computer readable medium
CN107038024B (en) Operation configuration method and equipment thereof
CN112558933B (en) Component rendering method and device, readable medium and electronic equipment
CN115733893B (en) Touch screen networking monitoring method, device, equipment and readable storage medium
CN111193717A (en) FTP black and white list control method and device and electronic equipment
CN115766628A (en) Message combination method, device, equipment and storage medium
CN112203103B (en) Message processing method, device, electronic equipment and computer readable storage medium
CN115098052A (en) Screen projection method, device, equipment and storage medium
CN114760309A (en) Business interaction method, device, equipment and medium of terminal based on cloud service
CN114268930A (en) Remote control device matching method, electronic device and readable storage medium
CN115391770A (en) Program monitoring method, device, electronic equipment and computer readable storage medium
CN112969038A (en) Data transmission method and device, electronic equipment and computer readable storage medium
CN114866370B (en) Communication method, device, equipment and medium based on asymmetric binary tree link
CN110636180A (en) Data transmission method, device, equipment and storage medium
CN113038251A (en) Control method and control device
CN113382299B (en) Screen transmission method, system and storage medium
CN115190342B (en) Display device control method and device, electronic device and readable storage medium
CN113821248B (en) Service method of vehicle-end software, vehicle-end software and related equipment thereof
CN112019919B (en) Video sticker adding method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant