Control method, device, equipment and storage medium of large-scale visualization screen
Obtaining the WebSocket address of the server through the mobile terminal and establishing a connection with the server solves the problem of high cost of controlling multiple visual large screens and achieves convenient multi-screen operation and efficient control.
Patent Information
- Application Number
- CN202110676874.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-18
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2041-06-18
AI Technical Summary
The existing technology is costly and inconvenient to operate when controlling multiple large visualization screens, especially in scenarios where multiple large visualization screens are faced.
Obtain the WebSocket addresses of multiple servers through the mobile terminal, display multiple control options, and establish connections with the corresponding servers through the WebSocket protocol to achieve flexible control of multiple large visual screens.
It realizes the convenient control of multiple large visual screens by a single mobile terminal, reduces costs and improves control efficiency.
Smart Images

Figure CN115580606B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a control method, device, equipment and storage medium for a large visualization screen. Background Art
[0002] As China gradually attaches more importance to data, the use of visualization screens is increasing, especially in business scenarios in government, commerce, finance, manufacturing and other industries. Therefore, how to better control visualization screens has become a hot issue.
[0003] At present, most technical solutions adopt one terminal to control one large visualization screen. This method is not convenient when facing the control of multiple large visualization screens and has high cost. Summary of the invention
[0004] The embodiments of the present invention provide a control method, device, equipment and storage medium for a large visualization screen, so as to solve the problem of high cost when controlling multiple large visualization screens.
[0005] In a first aspect, an embodiment of the present invention provides a control system for a large visualization screen, including a mobile terminal, multiple servers, and multiple large visualization screens;
[0006] The number of the servers is the same as the number of the large visualization screens, and the multiple large visualization screens communicate with the multiple servers in a one-to-one correspondence;
[0007] The mobile terminal is used to: obtain a WebSocket address corresponding to each of the multiple servers; display multiple control options on a control interface for controlling multiple large visualization screens, wherein the multiple control options correspond to the multiple servers one by one; after detecting that a user selects any control option from the multiple control options, determine the server and the corresponding large visualization screen corresponding to the control option selected by the user; establish a connection with the corresponding server through the WebSocket address of the corresponding server; display a control sub-interface corresponding to the control option, wherein the control sub-interface is provided with at least one function option for controlling the corresponding large visualization screen; after detecting that the function option selected by the user, send an instruction corresponding to the function option to the server with which the connection is established;
[0008] The server is used to: after acquiring the instruction sent by the mobile terminal, adjust the corresponding large visualization screen according to the instruction.
[0009] Optionally, when the mobile terminal establishes a connection with the corresponding server through the WebSocket address of the corresponding server, it is specifically used to:
[0010] After determining the server corresponding to the control option selected by the user, creating a WebSocket instance corresponding to the server;
[0011] A connection is established with the corresponding server through the WebSocket instance.
[0012] Optionally, the large visualization screen includes a control terminal and a display screen;
[0013] The control terminal is used to: establish a connection with the corresponding server through the WebSocket protocol; and control the display screen according to the information obtained from the server;
[0014] The server is specifically configured to: after acquiring the instruction sent by the mobile terminal, send information corresponding to the instruction to the control terminal.
[0015] Optionally, when the control terminal controls the visualization large screen according to the information obtained from the server, it is specifically used to:
[0016] Monitor the information sent by the corresponding server through the WebSocket instance;
[0017] The monitored information is compared with the locally stored data through the browser, and the display page of the display screen is switched according to the comparison result.
[0018] Optionally, when the mobile terminal displays multiple control options on a control interface for controlling multiple large visualization screens, the mobile terminal is specifically used to:
[0019] Obtain the flow of people information within the preset range of each large visual screen;
[0020] Sorting the plurality of visualization large screens according to the flow of people information corresponding to each visualization large screen;
[0021] Control options corresponding to multiple visualization large screens are displayed on the control interface according to the sorting results.
[0022] In a second aspect, an embodiment of the present invention provides a control method for a large visualization screen, the method is used to control multiple large visualization screens, the multiple large visualization screens communicate with multiple servers in a one-to-one correspondence, and the method includes:
[0023] Obtaining a WebSocket address corresponding to each of the multiple servers;
[0024] Displaying a plurality of control options on a control interface for controlling a plurality of large visualization screens, wherein the plurality of control options correspond one-to-one to the plurality of servers;
[0025] After detecting that the user selects any one of the multiple control options, determining a server and a corresponding visualization screen corresponding to the control option selected by the user;
[0026] Establishing a connection with the corresponding server via the WebSocket address of the corresponding server;
[0027] Displaying a control sub-interface corresponding to the control option, wherein the control sub-interface is provided with at least one function option for controlling the corresponding visualization large screen;
[0028] After detecting the function option selected by the user, an instruction corresponding to the function option is sent to the connected server, so that the server adjusts the corresponding visualization large screen according to the instruction.
[0029] In a third aspect, an embodiment of the present invention provides a control device for a large visualization screen, the device is used to control multiple large visualization screens, the multiple large visualization screens communicate with multiple servers in a one-to-one correspondence, and the device includes:
[0030] An acquisition module, used to acquire a WebSocket address corresponding to each server in the plurality of servers;
[0031] A first display module, used to control the display of multiple control options on the control interface of the multiple visualization large screens, wherein the multiple control options correspond to the multiple servers one by one;
[0032] A determination module, configured to determine a server and a corresponding visualization screen corresponding to the control option selected by the user after detecting that the user selects any control option from the multiple control options;
[0033] A connection module, used to establish a connection with the corresponding server through the WebSocket address of the corresponding server;
[0034] A second display module, used for displaying a control sub-interface corresponding to the control option, wherein the control sub-interface is provided with at least one function option for controlling the corresponding visualization large screen;
[0035] The sending module is used to send an instruction corresponding to the function option to the connected server after detecting the function option selected by the user, so that the server adjusts the corresponding visualization large screen according to the instruction.
[0036] In a fourth aspect, an embodiment of the present invention provides an electronic device, including:
[0037] Processor and memory;
[0038] The memory stores computer-executable instructions;
[0039] The processor executes the computer-executable instructions stored in the memory, so that the processor executes the control method of the large visualization screen as described in the second aspect above.
[0040] In a fifth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer execution instructions, and when the computer execution instructions are executed by a processor, they are used to implement the control method of the large visualization screen as described in the second aspect above.
[0041] In a sixth aspect, an embodiment of the present invention provides a computer program product, including a computer program, which, when executed by a processor, implements the control method of the visualization large screen as described in the second aspect above.
[0042] The embodiment of the present invention provides a control method, device, equipment and storage medium for a large visualization screen. The WebSocket address corresponding to each server in a plurality of servers can be obtained through a mobile terminal, and a plurality of control options can be displayed on a control interface for controlling the plurality of large visualization screens. The plurality of control options correspond to the plurality of servers one-to-one. After detecting that a user selects any control option from the plurality of control options, the server corresponding to the control option selected by the user and the corresponding large visualization screen are determined, and a connection is established with the corresponding server through the WebSocket address of the corresponding server, and a control sub-interface corresponding to the control option is displayed. The control sub-interface is provided with at least one function option for controlling the corresponding large visualization screen. After detecting the function option selected by the user, an instruction corresponding to the function option is sent to the server with which the connection is established. After the server obtains the instruction sent by the mobile terminal, the corresponding large visualization screen is adjusted according to the instruction. Thus, a single mobile terminal can control the plurality of large visualization screens based on the WebSocket technology, and the operation of the large visualization screen is more flexible and convenient, and the control cost is effectively saved and the control efficiency is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0044] Figure 1 A schematic diagram of an application scenario provided by an embodiment of the present invention;
[0045] Figure 2 A schematic diagram of the structure of a control system for a large-scale visualization screen provided by an embodiment of the present invention;
[0046] Figure 3 A schematic diagram of page switching of a control system of a large-screen visualization provided by an embodiment of the present invention;
[0047] Figure 4 A schematic diagram of the control principle of a large visual screen provided by an embodiment of the present invention;
[0048] Figure 5 A schematic flow chart of a control method for a large visual screen provided by an embodiment of the present invention;
[0049] Figure 6 A schematic diagram of the structure of a control device for a large visual screen provided by an embodiment of the present invention;
[0050] Figure 7 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention.
[0051] The above drawings have shown clear embodiments of the present invention, which will be described in more detail below. These drawings and text descriptions are not intended to limit the scope of the present invention in any way, but to illustrate the concept of the present invention for those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0052] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.
[0053] The following specific embodiments are used to describe in detail the technical solution of the present invention and how the technical solution of the present invention solves the above technical problems. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.
[0054] An application scenario provided by an embodiment of the present invention is explained below:
[0055] The solution provided by the embodiment of the present invention can be applied to the control of a visualization screen. A visualization screen is a very effective data visualization tool that can display key indicators of a business in a visual manner on one or more LED (Light Emitting Diode) screens, and use graphic design to represent boring data, thereby achieving more accurate and efficient data analysis and expression, which not only enables business personnel to quickly and directly find important data from complex business data, but also can assist decision makers.
[0056] In some technologies, the control of the visualization screen is to use one terminal to control one visualization screen, and generally the corresponding single visualization screen is directly controlled by operating the mouse on the terminal. Due to the fixed position of the terminal, this method is not convenient to operate and also affects the efficiency of controlling the visualization screen.
[0057] In some improved technologies, a single large visualization screen is controlled by a mobile terminal. Specifically, the mobile terminal sends an operation instruction to the server, and the server receives the operation instruction and transmits the instruction to the large visualization screen terminal to complete the control of the large visualization screen by the mobile terminal. Although the mobile terminal is convenient to operate, when operating multiple large screens, multiple mobile terminals are required to operate different large screens, which may confuse which terminal device controls which large visualization screen, which is not convenient to operate, and multiple mobile terminals are required, which is costly.
[0058] Therefore, the embodiment of the present invention provides a control system for a large visualization screen, which can remotely control multiple large visualization screens through a single mobile terminal device. The corresponding software is installed on the mobile terminal device, and the WebSocket network transmission protocol is used. The mobile terminal sends data to the server corresponding to the single large visualization screen terminal, and then the server sends the corresponding data to the browser page in the corresponding terminal device. The program in the browser page monitors the data sent by the server in real time for comparison and analysis, and performs corresponding operations, thereby improving the control efficiency of the large visualization screen and making the operation process more convenient.
[0059] Figure 1 A schematic diagram of an application scenario provided by an embodiment of the present invention. Figure 1 As shown, when the mobile terminal sends an instruction to one of the multiple servers, the corresponding server receives the instruction and transmits the instruction to the corresponding visualization large screen, adjusts the corresponding visualization large screen screen page, thereby realizing the control of the visualization large screen by the mobile terminal. Among them, the server and the visualization large screen are in a one-to-one correspondence. In the embodiment of the present invention, A corresponds to B one-to-one, which may mean that there are n A and n B, n is an integer greater than or equal to 2, the i-th A corresponds to the i-th B, and the value of i is 1, 2, ..., n. Specifically, when the mobile terminal sends an instruction to server 1, server 1 will transmit the instruction to visualization large screen 1 after receiving the corresponding instruction, and adjust visualization large screen 1. Therefore, the control of visualization large screen 1 by the mobile terminal can be realized. The mobile terminal sends instructions to different servers, and the server sends the instructions to the corresponding visualization large screen, so as to realize the control of multiple visualization large screens by the mobile terminal.
[0060] In the following, some embodiments of the present invention are described in detail in conjunction with the accompanying drawings. In the case where there is no conflict between the embodiments, the following embodiments and features in the embodiments can be combined with each other.
[0061] Figure 2 The schematic diagram of the structure of a control system of a large-screen visualization provided by an embodiment of the present invention. Figure 2 As shown, it includes a mobile terminal, multiple servers and multiple large visualization screens. The number of the servers is the same as the number of the large visualization screens, and the multiple large visualization screens communicate with the multiple servers in a one-to-one correspondence.
[0062] Among them, the visualization large screen and the server are one-to-one corresponding, that is, a server establishes a communication channel with a visualization large screen.
[0063] The mobile terminal is used to: obtain a WebSocket address corresponding to each of the multiple servers; display multiple control options on a control interface for controlling multiple large visualization screens, and the multiple control options correspond one-to-one to the multiple servers; after detecting that a user selects any control option from the multiple control options, determine the server and the corresponding large visualization screen corresponding to the control option selected by the user; establish a connection with the corresponding server through the WebSocket address of the corresponding server; display a control sub-interface corresponding to the control option, and the control sub-interface is provided with at least one function option for controlling the corresponding large visualization screen; after detecting the function option selected by the user, send an instruction corresponding to the function option to the server with which the connection is established.
[0064] Optionally, the mobile terminal can obtain the WebSocket address corresponding to each server, and establish a connection with the corresponding server through the WebSocket address in real time. Among them, the server creates a WebSocket address, sends information to the control terminal and the visualization screen during the operation, and the control terminal and the visualization screen can be connected to the corresponding server through the websocket address, and the server and the visualization screen are one-to-one. The server receives instructions through the port and sends information to the mobile terminal which large screens can be controlled. The mobile terminal renders the information to the control interface, and the number of the corresponding visualization screen is automatically filled in the corresponding input box, so that the control options on the mobile terminal control interface correspond to the server one-to-one. When the user selects and presses a control button, the server and the visualization screen controlled by the mobile terminal can be determined, and a connection is established with the server by creating a WebSocket instance. At this time, the control interface of the mobile terminal switches to the control sub-interface, that is, the function option button of the visualization screen to be operated, selects the operation button to be performed, and clicks the button, and a command is sent to the server through the send attribute (send attribute) in the WebSocket instance object.
[0065] Among them, the function option button may include switching menus, starting voice commands, changing themes, 3D model conversion, etc. Any visualization screen has at least one function option button to control the visualization screen.
[0066] The server is used to: after acquiring the instruction sent by the mobile terminal, adjust the corresponding large visualization screen according to the instruction.
[0067] Optionally, after receiving the operation instruction sent by the mobile terminal, the server transmits the operation instruction to the corresponding large visualization screen and makes corresponding adjustments to the large visualization screen.
[0068] Figure 3 A schematic diagram of page switching of a control system of a large-screen visualization provided by an embodiment of the present invention. Figure 3 As shown, if three large visualization screens need to be controlled, the mobile terminal obtains the WebSocket address created by each server, and learns that the three large visualization screens need to be controlled. The information of the three large visualization screens is rendered to the control interface, and the numbers of the large visualization screens are automatically filled in the corresponding input boxes to obtain the control page shown in the first step. For example, the control page can display: large visualization screen 1, large visualization screen 2, and large visualization screen 3.
[0069] In the second step, if you need to enable voice commands for the visual large screen 2, you can click the option button of the visual large screen 2. At this time, the mobile terminal will obtain the WebSocket address of the server corresponding to the visual large screen 2, and switch to the control sub-interface of controlling the visual large screen 2. There are function option buttons for the visual large screen 2. Users can find the button to enable voice commands and click it.
[0070] In the third step, the mobile terminal switches to the voice command function page. The user can long press the option button corresponding to the control interface and speak the command "increase brightness". The mobile terminal sends the corresponding command to the corresponding server. The server receives the command and transmits it to the visualization large screen. The visualization large screen will increase the brightness according to the command, thereby enabling the user to control the visualization large screen 2.
[0071] The control system provided in this embodiment includes a mobile terminal, multiple servers and multiple visualization screens, the number of the servers is the same as the number of the visualization screens, and the multiple visualization screens communicate with the multiple servers in a one-to-one correspondence. The mobile terminal is used to obtain the WebSocket address corresponding to each of the multiple servers, and display multiple control options on the control interface for controlling the multiple visualization screens. The multiple control options correspond to the multiple servers in a one-to-one correspondence. After detecting that the user selects any control option from the multiple control options, the server and the corresponding visualization screen corresponding to the control option selected by the user are determined, and a connection is established with the corresponding server through the WebSocket address of the corresponding server, and a control sub-interface corresponding to the control option is displayed. The control sub-interface is provided with at least one function option for controlling the corresponding visualization screen. After detecting the function option selected by the user, an instruction corresponding to the function option is sent to the server to establish the connection. The server is used to adjust the corresponding visualization screen according to the instruction after obtaining the instruction sent by the mobile terminal, so that a single mobile terminal can control multiple visualization screens based on the WebSocket technology, and the operation of the visualization screen is more flexible and convenient, and the control cost is effectively saved and the control efficiency is improved.
[0072] On the basis of the technical solution provided in the above embodiment, optionally, when the mobile terminal establishes a connection with the corresponding server through the WebSocket address of the corresponding server, it is specifically used to:
[0073] After determining the server corresponding to the control option selected by the user, a WebSocket instance corresponding to the server is created; and a connection is established with the corresponding server through the WebSocket instance.
[0074] Among them, when the mobile terminal obtains the WebSocket address of the server, the mobile terminal establishes a connection with the server according to the WebSocket address. When the control option of the mobile terminal is determined, the corresponding server is also determined. At this time, a WebSocket instance is created to establish a connection with the corresponding server, and the mobile terminal switches pages accordingly to display the various function option buttons of the controlled visualization large screen.
[0075] Specifically, the mobile terminal displays the options of each visualization screen on the control interface. When the user clicks the button corresponding to the visualization screen 1 option, the WebSocket instance corresponding to the server is automatically created for connection, and the page switching of the mobile terminal is realized. The function option button of the visualization screen 1 is displayed on the control sub-interface of the mobile terminal. For example, when multiple menus on the visualization screen switch to different pages, the corresponding buttons will also be displayed in the control interface of the corresponding mobile terminal. When a button is clicked, the corresponding instruction will be sent to the server through the send attribute (send attribute) in the WebSocket instance object.
[0076] In this embodiment, the server is connected via the WebSocket transmission protocol, which reduces the pressure on the server during transmission and improves transmission efficiency.
[0077] Optionally, the large visualization screen includes a control terminal and a display screen;
[0078] The control terminal is used to: establish a connection with the corresponding server through the WebSocket protocol; and control the display screen according to the information obtained from the server;
[0079] The server is specifically configured to: after acquiring the instruction sent by the mobile terminal, send information corresponding to the instruction to the control terminal.
[0080] The server receives the command sent by the mobile terminal and transmits the command to the control terminal of the visualization screen. The control terminal obtains information for comparison, executes the obtained information, and displays it on the display screen of the visualization screen. In this embodiment, by establishing a WebSocket protocol between the server and the visualization screen, frequent access to the server is avoided, the input and output of the network are reduced, and the transmission performance is improved.
[0081] Optionally, when the control terminal controls the visualization large screen according to the information obtained from the server, it is specifically used to:
[0082] Monitor the information sent by the corresponding server through the WebSocket instance;
[0083] The monitored information is compared with the locally stored data through the browser, and the display page of the display screen is switched according to the comparison result.
[0084] Among them, the control terminal uses the WebSocket protocol in the JavaScript script to establish a connection with the corresponding server through the URL (Uniform Resource Locator) address. When the server transmits the instruction, the browser in the control terminal listens to the instructions sent by the server and compares them with the local data in real time through the onmessage attribute in the WebSocket instance object, executes the corresponding page switching operation on the visualization large screen and displays it on the screen.
[0085] Among them, JavaScript is a web page programming technology used to add interactive behaviors to HTML (Hyper Text Markup Language) pages.
[0086] Specifically, in the local data, the menu switch corresponds to 1, the 3D model corresponds to 2, and the theme change corresponds to 3. When the server receives the instruction to change the theme, the control terminal establishes a connection with the server through the URL address in the WebSocket protocol. The server sends data 3 to the control terminal. The browser in the control terminal listens to data 3 through the onmessage attribute. After comparing it with the local data, 3 represents the theme change. The browser page executes the theme change operation and renders it to the visualization screen.
[0087] In this embodiment, a one-to-one connection between the server and the terminal device is established by creating a URL address, thereby improving the transmission efficiency between the two.
[0088] In combination with the above embodiments, Figure 4 A schematic diagram of the control principle of a large visual screen provided by an embodiment of the present invention. Figure 4 As shown, the mobile terminal requests the server to obtain the WebSocket connection addresses corresponding to all servers. According to the WebSocket address, the mobile terminal establishes a connection with the server and sends data to one of the servers. After receiving the data, the server transmits the corresponding data to the control terminal through the WebSocket connection address. The browser at the control terminal monitors the data transmitted by the server in real time, compares it with the local data, performs related operations, and renders it on the display screen of the visualization large screen.
[0089] Specifically, if two option buttons of visualization screens are displayed on the mobile phone, namely the traffic visualization screen and the power visualization screen, if the relevant personnel want to perform 3D model conversion on the traffic visualization screen, they can click the traffic visualization screen option button. At this time, the mobile phone establishes a connection with the server of the traffic visualization screen, and the corresponding mobile phone page switches to a series of function option buttons of the traffic visualization screen. Click the 3D model conversion option button, and the data instruction will be sent to the server corresponding to the corresponding traffic visualization screen through the sending attribute in the WebSocket instance object. After receiving the data instruction, the server transmits it to the control terminal of the visualization screen. The browser in the computer will monitor this information and perform 3D model conversion in the traffic visualization screen.
[0090] In this embodiment, the server is connected through the WebSocket transmission protocol to establish a long link communication, thereby improving the control efficiency of multiple large visualization screens.
[0091] On the basis of the technical solutions provided in the above embodiments, optionally, the present invention further provides a specific code implementation solution.
[0092] Optionally, a TCP (Transmission Control Protocol) application may be installed on the server to monitor any port on the server that complies with a specific protocol and to create a WebSocket process on the server side. Multiple WebSocket addresses may be created through multiple servers.
[0093] The WebSocket server is implemented by creating code. Create a server.js in the project of the ws module, create a service, specify port 8181, and log the received messages. ws is a WebSocket library of nodejs (a JavaScript runtime environment based on the ChromeV8 engine) that can be used to create services. The code can be referred to in the following example:
[0094]
[0095] Optionally, create code on the visual large screen terminal to receive instructions sent by the server. The code can refer to the following example:
[0096]
[0097] Optionally, the connection between the mobile terminal and the server can be realized by code, establishing a WebSocket connection between the two, and sending messages using the send method. The code of the mobile terminal can refer to the following example:
[0098]
[0099] Optionally, when the mobile terminal displays multiple control options on a control interface for controlling multiple large visualization screens, the mobile terminal is specifically used to:
[0100] Obtaining the flow of people information within a preset range of each large visualization screen; sorting the plurality of large visualization screens according to the flow of people information corresponding to each large visualization screen; and displaying control options corresponding to the plurality of large visualization screens on a control interface according to the sorting results.
[0101] Among them, the flow of people within a fixed range of the visualization screen can be monitored in real time, and the flow of people within the fixed range of each visualization screen can be counted, and the visualization screens can be sorted according to the statistical results, and the sorting results can be displayed on the control interface as control options corresponding to multiple visualization screens. For example, the number of people within a fixed range of the visualization screen can be measured every hour and sorted.
[0102] Specifically, there are five visualization screens, numbered 01, 02, 03, 04, and 05. The real-time human traffic information of these five visualization screens is counted, and the number of people in front of the five screens within 8 meters in front of the screens per hour is counted. If the statistical results are 425, 584, 652, 321, and 632 (unit: person / hour), the visualization screens can be sorted as 03, 05, 02, 01, and 04 according to the statistical results, and the final order displayed on the control interface is 03, 05, 02, 01, and 04.
[0103] In this embodiment, the visualization large screens are sorted by the flow of people information within a preset range of the visualization large screens and displayed on the control interface, so that the operator can find the more popular visualization large screens more quickly, which can save time and improve operating efficiency.
[0104] By statistically sorting the flow of people on the visualization screen within a preset range and displaying the sorting results in the control interface, it is generally used to control the visualization screen in public places. The visualization screens in other occasions can have different statistical sorting.
[0105] In an optional implementation, the usage frequency of the visualization screen is statistically sorted. The usage frequency of the visualization screen that needs to be controlled is statistically counted from historical data, and a threshold is given. The visualization screens with a usage frequency lower than the threshold are placed in the uncommon visualization screen label, and the visualization screens with a usage frequency higher than the threshold are placed in the common visualization screen label. The common visualization screen labels and the uncommon screen labels are displayed on the control interface. When the label button of the common visualization screen on the control interface is clicked, the page is switched to display the common visualization screens sorted by usage frequency.
[0106] Specifically, four visualization screens are numbered 11, 12, 13, and 14. The usage frequencies of the four visualization screens in the past six months are counted, and the threshold is given as 0.3. If the usage frequencies of the four visualization screens in the past six months are 0.5, 0.6, 0.1, and 0.87, respectively, then visualization screen 13 is an uncommon visualization screen. When the label button of the commonly used visualization screens on the control interface is clicked, the visualization screens numbered 14, 12, and 11 can be seen by switching pages.
[0107] The control options corresponding to the multiple visualization screens on the control interface can be a unified sorting of the visualization screens according to a certain attribute, or can be a label classification of the visualization screens. The visualization screens can be classified and sorted differently according to actual conditions.
[0108] Figure 5 A flow chart of a control method for a large visualization screen provided by an embodiment of the present invention. The method in this embodiment is used to control multiple large visualization screens, and the multiple large visualization screens communicate with multiple servers in a one-to-one correspondence. Figure 5 As shown, the method may include:
[0109] Step 501: Obtain the WebSocket address corresponding to each server in the multiple servers.
[0110] Step 502: Display multiple control options on a control interface for controlling multiple large visualization screens, where the multiple control options correspond one-to-one to the multiple servers.
[0111] Step 503: after detecting that the user selects any one of the multiple control options, determine the server and the corresponding visualization large screen corresponding to the control option selected by the user.
[0112] Step 504: Establish a connection with the corresponding server through the WebSocket address of the corresponding server.
[0113] Step 505: display a control sub-interface corresponding to the control option, wherein the control sub-interface is provided with at least one functional option for controlling the corresponding visualization large screen.
[0114] Step 506: After detecting the function option selected by the user, send an instruction corresponding to the function option to the server to establish a connection, so that the server adjusts the corresponding visualization large screen according to the instruction.
[0115] The control method of the visualization large screen provided in this embodiment can obtain the WebSocket address corresponding to each server in the multiple servers, and display multiple control options on the control interface for controlling the multiple visualization large screens. The multiple control options correspond to the multiple servers one-to-one. After detecting that the user selects any control option from the multiple control options, the server corresponding to the control option selected by the user and the corresponding visualization large screen are determined, and a connection is established with the corresponding server through the WebSocket address of the corresponding server, and a control sub-interface corresponding to the control option is displayed. At least one function option for controlling the corresponding visualization large screen is set on the control sub-interface. After detecting the function option selected by the user, an instruction corresponding to the function option is sent to the server with the established connection, so that the server adjusts the corresponding visualization large screen according to the instruction. Based on the WebSocket protocol technology, a single mobile terminal can control multiple visualization large screens based on the WebSocket technology, and the operation of the visualization large screen is more flexible and convenient, and the control cost is effectively saved and the control efficiency is improved.
[0116] Optionally, when establishing a connection with the corresponding server through the WebSocket address of the corresponding server, it includes: after determining the server corresponding to the control option selected by the user, creating a WebSocket instance corresponding to the server; and establishing a connection with the corresponding server through the WebSocket instance.
[0117] Optionally, the control terminal controls the visualization screen according to the information obtained from the server, including: monitoring the information sent by the corresponding server through the WebSocket instance; comparing the monitored information with the locally stored data through the browser, and switching the display page of the display screen according to the comparison result. Optionally, multiple control options are displayed on the control interface for controlling multiple visualization screens through the mobile terminal, including: obtaining the flow of people information within the preset range of each visualization screen; sorting the multiple visualization screens according to the flow of people information corresponding to each visualization screen; and displaying the control options corresponding to the multiple visualization screens on the control interface according to the sorting result.
[0118] The specific implementation principles and processes of each step in the control method of the large visualization screen in this embodiment can be found in the aforementioned embodiments and will not be repeated here.
[0119] Figure 6 The present invention provides a schematic diagram of a control device for a large visualization screen. The method device is used to control multiple large visualization screens, and the multiple large visualization screens communicate with multiple servers in a one-to-one correspondence, such as Figure 6As shown, the control device of the large visualization screen provided in this embodiment may include:
[0120] An acquisition module 601 is used to acquire a WebSocket address corresponding to each server in the plurality of servers;
[0121] A first display module 602, used to control the display of multiple control options on the control interface of the multiple visualization large screens, wherein the multiple control options correspond to the multiple servers one by one;
[0122] A determination module 603 is used to determine a server and a corresponding visualization screen corresponding to the control option selected by the user after detecting that the user selects any control option from the multiple control options;
[0123] A connection module 604 is used to establish a connection with the corresponding server through the WebSocket address of the corresponding server;
[0124] A second display module 605, used to display a control sub-interface corresponding to the control option, wherein the control sub-interface is provided with at least one function option for controlling the corresponding visualization large screen;
[0125] The sending module 606 is used to send an instruction corresponding to the function option to the connected server after detecting the function option selected by the user, so that the server adjusts the corresponding visualization large screen according to the instruction.
[0126] The device provided in this embodiment can perform the following steps: Figure 1-Figure 5 The technical solution of the method embodiment shown has similar implementation principles and technical effects, which will not be repeated here.
[0127] Figure 7 FIG. 1 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. Figure 7 As shown, the device provided in this embodiment may include: a processor 71 and a memory 72;
[0128] The memory 72 stores computer-executable instructions;
[0129] The processor 71 executes the computer-executable instructions stored in the memory 72, so that the processor 71 executes the method described in any of the above embodiments.
[0130] The memory 72 and the processor 71 may be connected via a bus 73 .
[0131] The specific implementation principle and effect of the device provided in this embodiment can be found in Figure 1-Figure 5 The relevant descriptions and effects corresponding to the illustrated embodiments are not elaborated in detail here.
[0132] An embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. The computer program is executed by a processor to implement the user number processing method provided by any embodiment of the present invention.
[0133] An embodiment of the present invention further provides a computer program product, including a computer program, which implements the user number processing method described in any embodiment of the present invention when executed by a processor.
[0134] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules is only a logical function division, and there may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
[0135] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to implement the solution of this embodiment.
[0136] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, or each module may exist physically separately, or two or more modules may be integrated into one unit. The above-mentioned module-composed unit may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0137] The above-mentioned integrated module implemented in the form of a software function module can be stored in a computer-readable storage medium. The above-mentioned software function module is stored in a storage medium, and includes a number of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform some steps of the method described in each embodiment of the present invention.
[0138] It should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the invention may be directly implemented as being executed by a hardware processor, or may be implemented by a combination of hardware and software modules in the processor.
[0139] The memory may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk memory, and may also be a USB flash drive, a mobile hard disk, a read-only memory, a magnetic disk or an optical disk, etc.
[0140] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present invention is not limited to only one bus or one type of bus.
[0141] The above storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The storage medium can be any available medium that can be accessed by a general or special purpose computer.
[0142] An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application specific integrated circuit (ASIC). Of course, the processor and the storage medium can also exist as discrete components in an electronic device or a main control device.
[0143] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.
[0144] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. The present invention is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed by the present invention. The description and examples are to be considered exemplary only, and the true scope and spirit of the present invention is indicated by the following claims.
[0145] It should be understood that the present invention is not limited to the exact construction that has been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.
Claims
1. A control system for a large visual screen, It is characterized in that Including mobile terminals, multiple servers and multiple large visualization screens; The number of the servers is the same as the number of the large visualization screens, and the multiple large visualization screens communicate with the multiple servers in a one-to-one correspondence; the large visualization screen includes a control terminal and a display screen; The mobile terminal is used to: obtain a WebSocket address corresponding to each of the multiple servers, wherein the WebSocket address is created by the server; based on the multiple WebSocket addresses corresponding to the multiple servers, render the information of the corresponding multiple visual large screens to the control interface, and automatically fill the numbers of the corresponding multiple visual large screens into the corresponding input boxes to obtain multiple control options, wherein the multiple control options correspond to the multiple servers one by one; after detecting that a user selects any control option from the multiple control options, determine the target server and the corresponding target visual large screen corresponding to the control option selected by the user; create a WebSocket instance corresponding to the target server; establish a connection with the target server through the WebSocket instance, and switch to a control sub-interface displaying at least one function option for controlling the target visual large screen; after detecting the function option selected by the user, send an instruction corresponding to the function option to the target server; The server is used to: after acquiring the instruction sent by the mobile terminal, send the information corresponding to the instruction to the corresponding control terminal; the server and the corresponding control terminal establish a connection through the WebSocket protocol; The control terminal is used to: monitor information sent by the corresponding server through the WebSocket instance; and control the corresponding display screen according to the information.
2. The system according to claim 1, It is characterized in that When the control terminal controls the corresponding display screen according to the information, it is specifically used to: The monitored information is compared with the locally stored data through the browser, and the display page of the display screen is switched according to the comparison result.
3. The system according to claim 1 or 2, It is characterized in that The mobile terminal is further used for: Obtain the flow of people information within the preset range of each large visual screen; Sorting the plurality of visualization large screens according to the flow of people information corresponding to each visualization large screen; Control options corresponding to multiple visualization large screens are displayed on the control interface according to the sorting results.
4. A control method for a large visual screen, It is characterized in that The method is used to control multiple large visualization screens, the multiple large visualization screens communicate with multiple servers in a one-to-one correspondence, the large visualization screens include a control terminal and a display screen, and the method includes: Obtaining a WebSocket address corresponding to each of the multiple servers, where the WebSocket address is created by the server; Based on the multiple WebSocket addresses corresponding to the multiple servers, information of the corresponding multiple visualization large screens is rendered to the control interface, and the numbers of the corresponding multiple visualization large screens are automatically filled into the corresponding input boxes to obtain multiple control options, and the multiple control options correspond to the multiple servers one by one; After detecting that the user selects any one of the multiple control options, determining a target server and a corresponding target visualization screen corresponding to the control option selected by the user; Create a WebSocket instance corresponding to the target server; Establishing a connection with the target server through the WebSocket instance, and switching to a control sub-interface displaying at least one functional option for controlling the target visualization large screen; After detecting the function option selected by the user, an instruction corresponding to the function option is sent to the target server, so that after the target server obtains the instruction sent by the mobile terminal, the information corresponding to the instruction is sent to the corresponding control terminal, so that the control terminal listens to the information sent by the corresponding server through the WebSocket instance, and controls the corresponding display screen according to the information.
5. A control device for a large visual screen, It is characterized in that The device is used to control multiple large visualization screens, the multiple large visualization screens communicate with multiple servers in a one-to-one correspondence, the large visualization screens include a control terminal and a display screen, and the device includes: An acquisition module, used for acquiring a WebSocket address corresponding to each server among the multiple servers, wherein the WebSocket address is created by the server; A first display module is used to render information of the corresponding multiple visual large screens to a control interface based on the multiple WebSocket addresses corresponding to the multiple servers, and automatically fill the numbers of the corresponding multiple visual large screens into the corresponding input boxes to obtain multiple control options, wherein the multiple control options correspond to the multiple servers one by one; A determination module, configured to determine a target server and a corresponding target visualization large screen corresponding to the control option selected by the user after detecting that the user selects any control option from the multiple control options; A connection module, used to create a WebSocket instance corresponding to the target server; and establish a connection with the target server through the WebSocket instance; A second display module, used to switch to a control sub-interface displaying at least one function option for controlling the target visualization large screen; The sending module is used to send an instruction corresponding to the function option to the target server after detecting the function option selected by the user, so that the target server can send the information corresponding to the instruction to the corresponding control terminal after obtaining the instruction sent by the mobile terminal, so that the control terminal can monitor the information sent by the corresponding server through the WebSocket instance and control the corresponding display screen according to the information.
6. An electronic device, It is characterized in that include: Processor and memory; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the processor executes the control method of the visualization large screen as claimed in claim 4.
7. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer-executable instructions, which are used to implement the control method of the large visualization screen as claimed in claim 4 when executed by the processor.
8. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the control method of the large visualization screen described in claim 4 is implemented.
