CN115580606A - Control method, device and equipment for large visual screen and storage medium - Google Patents

Control method, device and equipment for large visual screen and storage medium Download PDF

Info

Publication number
CN115580606A
CN115580606A CN202110676874.9A CN202110676874A CN115580606A CN 115580606 A CN115580606 A CN 115580606A CN 202110676874 A CN202110676874 A CN 202110676874A CN 115580606 A CN115580606 A CN 115580606A
Authority
CN
China
Prior art keywords
control
server
visual
screen
screens
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.)
Pending
Application number
CN202110676874.9A
Other languages
Chinese (zh)
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.)
China United Network Communications Group Co Ltd
Unicom Big Data Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Unicom Big Data 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 China United Network Communications Group Co Ltd, Unicom Big Data Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202110676874.9A priority Critical patent/CN115580606A/en
Publication of CN115580606A publication Critical patent/CN115580606A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • H04L69/162Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms

Abstract

The invention provides a control method, a device, equipment and a storage medium for a visual large screen, wherein the system comprises the following steps: the mobile terminal is used for acquiring a WebSocket address corresponding to each server, displaying a plurality of control options on a control interface, and determining the corresponding server and the corresponding large visual screen after detecting that a user selects any control option from the plurality of control options; establishing connection with a corresponding server through a WebSocket address of the corresponding server, displaying a control sub-interface corresponding to a control option, wherein at least one function option for controlling a corresponding visual large screen is arranged on the control sub-interface, and sending an instruction corresponding to the function option to the server establishing connection after the function option selected by a user is detected; the server is used for adjusting the corresponding large visual screens according to the instructions, so that the control of the large visual screens is flexibly and conveniently realized.

Description

Control method, device and equipment for large visual screen and storage medium
Technical Field
The invention relates to the technical field of communication, in particular to a control method, a device, equipment and a storage medium for a visual large screen.
Background
With the gradual importance of data in China, the use scenes of a visual large screen are more and more, particularly in the business scenes of government, business, finance, manufacturing and other industries. Therefore, how to better control the large visual screen becomes a hot spot problem.
Most of the existing technical schemes adopt a terminal to control a large visual screen. This method is inconvenient and costly when faced with the control of multiple large visual screens.
Disclosure of Invention
The embodiment of the invention provides a method, a device and equipment for controlling a large visual screen and a storage medium, which are used for solving the problem of higher cost when a plurality of large visual screens are controlled.
In a first aspect, an embodiment of the present invention provides a control system for a large visual screen, including a mobile terminal, a plurality of servers, and a plurality of large visual screens;
the number of the servers is the same as that of the large visual screens, and the large visual screens are in one-to-one correspondence communication with the servers;
the mobile terminal is used for: acquiring a WebSocket address corresponding to each server in the plurality of servers; displaying a plurality of control options on a control interface for controlling a plurality of visual large screens, wherein the control options correspond to the servers one by one; after detecting that the user selects any control option from the plurality of control options, determining a server corresponding to the control option selected by the user and a corresponding large visual screen; establishing connection with the corresponding server through the WebSocket address of the corresponding server; displaying a control sub-interface corresponding to the control option, wherein at least one function option for controlling the corresponding visual large screen is arranged on the control sub-interface; after detecting the function option selected by the user, sending an instruction corresponding to the function option to a server establishing connection;
the server is configured to: and after the instruction sent by the mobile terminal is obtained, adjusting the corresponding visual large screen according to the instruction.
Optionally, when the mobile terminal establishes a connection with the corresponding server through the WebSocket address of the corresponding server, the mobile terminal is specifically configured to:
after determining a server corresponding to a control option selected by a user, creating a WebSocket instance corresponding to the server;
and establishing connection with a corresponding server through the WebSocket instance.
Optionally, the large visualization screen includes a control terminal and a display screen;
the control terminal is used for: establishing connection with a corresponding server through a WebSocket protocol; controlling the display screen according to the information acquired from the server;
the server is specifically configured to: and after the instruction sent by the mobile terminal is obtained, sending information corresponding to the instruction to the control terminal.
Optionally, when the control terminal controls the large visual screen according to the information acquired from the server, the control terminal is specifically configured to:
monitoring information sent by a corresponding server through a WebSocket instance;
and comparing the monitored information with locally stored data through a browser, and switching a display page of the display screen according to a comparison result.
Optionally, when the mobile terminal displays a plurality of control options on the control interface for controlling the plurality of large visual screens, the mobile terminal is specifically configured to:
acquiring people flow information in a preset range of each visual large screen;
sequencing the plurality of visual large screens according to the corresponding people flow information of each visual large screen;
and displaying the control options corresponding to the plurality of visual large screens on the control interface according to the sequencing result.
In a second aspect, an embodiment of the present invention provides a method for controlling a plurality of large visual screens, where the plurality of large visual screens are in one-to-one correspondence with a plurality of servers, and the method includes:
acquiring a WebSocket address corresponding to each server in the plurality of servers;
displaying a plurality of control options on a control interface for controlling a plurality of visual large screens, wherein the control options correspond to the servers one by one;
after detecting that the user selects any control option from the control options, determining a server corresponding to the control option selected by the user and a corresponding visual large screen;
establishing connection with the corresponding server through the WebSocket address of the corresponding server;
displaying a control sub-interface corresponding to the control option, wherein at least one function option for controlling the corresponding visual large screen is arranged on the control sub-interface;
and after detecting the function option selected by the user, sending an instruction corresponding to the function option to a server establishing connection so that the server adjusts the corresponding visual large screen according to the instruction.
In a third aspect, an embodiment of the present invention provides a control apparatus for a large visual screen, where the apparatus is configured to control a plurality of large visual screens, and the plurality of large visual screens are in one-to-one correspondence with a plurality of servers, and the apparatus includes:
the acquisition module is used for acquiring the Websocket address corresponding to each server in the plurality of servers;
the first display module is used for controlling a plurality of control options to be displayed on a control interface of a plurality of visual large screens, and the control options are in one-to-one correspondence with the servers;
the determining module is used for determining a server corresponding to the control option selected by the user and a corresponding visual large screen after detecting that the user selects any control option from the plurality of control options;
the connection module is used for establishing connection with the corresponding server through the WebSocket address of the corresponding server;
the second display module is used for displaying a control sub-interface corresponding to the control option, and at least one function option for controlling a corresponding visual large screen is arranged on the control sub-interface;
and the sending module is used for sending an instruction corresponding to the function option to a server establishing connection after the function option selected by the user is detected, so that the server adjusts the corresponding visual large screen according to the instruction.
In a fourth aspect, an embodiment of the present invention provides an electronic device, including:
a processor and a memory;
the memory stores computer execution 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 described in the second aspect above.
In a fifth aspect, the embodiment of the present invention provides a computer-readable storage medium, in which computer-executable instructions are stored, and when the computer-executable instructions are executed by a processor, the computer-readable storage medium is used for implementing the control method for the visualization large screen according to the second aspect.
In a sixth aspect, an embodiment of the present invention provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the computer program implements the control method for visualizing a large screen as described in the second aspect.
The embodiment of the invention provides a control method, a device, equipment and a storage medium of a visual large screen, wherein a WebSocket address corresponding to each server in a plurality of servers can be acquired through a mobile terminal, a plurality of control options are displayed on a control interface for controlling the plurality of visual large screens, the control options correspond to the servers in a one-to-one mode, a server corresponding to a control option selected by a user and a corresponding visual large screen are determined after any control option is detected from the control options, a connection is established between the WebSocket address of the corresponding server and the corresponding server, a control sub-interface corresponding to the control option is displayed, at least one function option for controlling the corresponding visual large screen is arranged on the control sub-interface, an instruction corresponding to the function option is sent to the server after the function option selected by the user is detected, the corresponding visual large screen is adjusted according to the instruction after the instruction sent by the server, so that a single mobile terminal can control the plurality of visual large screens based on a WebSocket technology, the operation of the visual large screens is more flexible and more convenient to control, and the operation of the visual large screens is more convenient and the control is more convenient.
Drawings
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.
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a control system of a large visual screen according to an embodiment of the present invention;
fig. 3 is a schematic page switching diagram of a control system of a large visual screen according to an embodiment of the present invention;
fig. 4 is a schematic control principle diagram of a large visual screen according to an embodiment of the present invention;
fig. 5 is a schematic flowchart of a control method for a large visual screen according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a control device of a visual large screen according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
With the above figures, there are shown certain embodiments of the invention and will be described in more detail hereinafter. The drawings and the description are not intended to limit the scope of the inventive concept in any way, but rather to illustrate it by those skilled in the art with reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. The following description refers to the accompanying drawings in which 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. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
The following describes the technical solution of the present invention and how to solve the above technical problems in detail by specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
The following explains an application scenario provided by an embodiment of the present invention:
the scheme provided by the embodiment of the invention can be applied to control of a visual large screen. The large visualization screen is a very effective data visualization tool, and can display key indexes of business on one or more LED (Light Emitting Diode) screens in a visualization manner, and express boring data through graphic design, so that more accurate and more efficient data analysis and expression are realized, business personnel can quickly and directly find important data from complex business data, and a decision maker can be assisted.
In some technologies, a terminal is adopted to control one large visual screen for controlling the large visual screens, and generally, a mouse is used for operating on the terminal to directly control the corresponding single large visual screen. The method is inconvenient to operate and affects the efficiency of the visual large-screen control due to the limitation of the fixed position of the terminal.
In some improved technologies, a single large visual 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 visual screen terminal to complete control of the mobile terminal on the large visual screen. Although the mobile terminal is convenient to operate, when a plurality of large screens are operated, the plurality of mobile terminals are required to operate different large screens, so that specific terminal equipment can be confused to control which visual large screen, the operation is inconvenient, and the cost is high due to the plurality of mobile terminals.
Therefore, the embodiment of the invention provides a control system for a large visual screen, which can remotely control a plurality of large visual screens through a single mobile terminal device. The method comprises the steps that corresponding software is installed on the mobile terminal equipment, the mobile terminal sends data to a server corresponding to a single visual large-screen terminal by means of a WebSocket network transmission protocol, then the server sends the corresponding data to a browser page in the corresponding terminal equipment, a program in the browser page monitors the data sent by the server in real time to conduct comparison analysis, corresponding operation is executed, control efficiency of the visual large-screen terminal is improved, and the operation process is more convenient.
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present invention. As shown in fig. 1, when the mobile terminal sends an instruction to one of the plurality of servers, the corresponding server receives the instruction, transmits the instruction to the corresponding large visual screen, and adjusts the page of the corresponding large visual screen, thereby implementing the control of the large visual screen by the mobile terminal. The server and the large visual screen are in one-to-one correspondence. In the embodiment of the invention, A corresponds to B one by one, which means that n A and n B exist, n is an integer more than or equal to 2, the ith A corresponds to the ith B, and the values of i are 1, 2, \8230, 8230and n. Specifically, when the mobile terminal sends an instruction to the server 1, the server 1 transmits the instruction to the large visual screen 1 after receiving the corresponding instruction, and performs an adjustment operation on the large visual screen 1. Therefore, the control of the mobile terminal on the large visualization screen 1 can be realized. The mobile terminal sends instructions to different servers, and the servers send the instructions to the corresponding large visual screens, so that the mobile terminal controls the large visual screens.
Some embodiments of the invention are described in detail below with reference to the accompanying drawings. The features of the embodiments and examples described below may be combined with each other without conflict between the embodiments.
Fig. 2 is a schematic structural diagram of a control system of a large visual screen according to an embodiment of the present invention. As shown in fig. 2, the mobile terminal comprises a mobile terminal, a plurality of servers and a plurality of large visual screens, wherein the number of the servers is the same as that of the large visual screens, and the large visual screens are in one-to-one correspondence communication with the servers.
The visual large screens correspond to the servers one by one, namely a communication channel is established between one server and one visual large screen.
The mobile terminal is used for: acquiring a WebSocket address corresponding to each server in the plurality of servers; displaying a plurality of control options on a control interface for controlling a plurality of visual large screens, wherein the control options correspond to the servers one by one; after detecting that the user selects any control option from the control options, determining a server corresponding to the control option selected by the user and a corresponding visual large screen; establishing connection with the corresponding server through the WebSocket address of the corresponding server; displaying a control sub-interface corresponding to the control option, wherein at least one function option for controlling the corresponding visual large screen is arranged on the control sub-interface; and after detecting the function options selected by the user, sending instructions corresponding to the function options to the server establishing the connection.
Optionally, the mobile terminal may obtain a WebSocket address corresponding to each server, and establish a connection with the corresponding server through the WebSocket address in real time. The server creates a Websocket address, information is sent to the control terminal and the large visual screen in the operation process, the control terminal and the large visual screen can be connected to the corresponding server through the WebSocket address, and the servers correspond to the large visual screen one to one. The server receives the instruction through the port and sends information to the mobile terminal, the large screens can be controlled, the mobile terminal renders the information to the control interface, the number of the corresponding visual large screen is automatically filled into the corresponding input frame, and the control options on the control interface of the mobile terminal are obtained and correspond to the server one by one. When a user selects and presses a certain control button, a server and a visual large screen controlled by a mobile terminal can be determined, a WebSocket instance is established to be connected with the server, the control interface of the mobile terminal is switched to a control sub-interface, namely a function option button of the visual large screen to be operated, an operation button needing to be operated is selected, the button is clicked, and an instruction is sent to the server through a sending attribute (send attribute) in the WebSocket instance object.
The function option buttons may include a switching menu, a voice command, a theme change, a 3D model conversion, and the like. At least one function option button of any visual large screen is used for controlling and operating the visual large screen.
The server is configured to: and after the instruction sent by the mobile terminal is obtained, adjusting the corresponding visual large screen according to the instruction.
Optionally, after receiving the operation instruction sent by the mobile terminal, the server transmits the operation instruction to the corresponding large visual screen, and correspondingly adjusts the large visual screen.
Fig. 3 is a schematic page switching diagram of a control system of a large visual screen according to an embodiment of the present invention. As shown in fig. 3, if three large visual screens need to be controlled, the mobile terminal obtains a WebSocket address created by each server, knows that the three large visual screens are controlled, renders information of the three large visual screens to the control interface, and automatically fills the serial numbers of the large visual screens into the corresponding input boxes to obtain a control page shown in the first step, which can be displayed on the control page, for example: the system comprises a large visual screen 1, a large visual screen 2 and a large visual screen 3.
And step two, if the operation of starting the voice command is required to be performed on the large visual screen 2, the option button of the large visual screen 2 can be clicked, at the moment, the mobile terminal can acquire the WebSocket address of the server corresponding to the large visual screen 2 and switch to the control sub-interface for controlling the large visual screen 2, the function option button for the large visual screen 2 is provided, and the user can find the button for starting the voice command and click the button.
And thirdly, the mobile terminal is switched to a voice instruction function page, a user can press an option button corresponding to the control interface for a long time to dictate that the brightness is improved, the mobile terminal starts a corresponding instruction to a corresponding server, the server receives the instruction and transmits the instruction to the large visual screen, the brightness of the large visual screen can be improved according to the instruction, and the user can control the large visual screen 2.
The control system provided by the embodiment comprises a mobile terminal, a plurality of servers and a plurality of large visual screens, wherein the number of the servers is the same as that of the large visual screens, and the large visual screens are in one-to-one communication with the servers. The mobile terminal is used for obtaining a WebSocket address corresponding to each server in the servers, displaying a plurality of control options on a control interface used for controlling the large visual screens, wherein the control options correspond to the servers in a one-to-one mode, determining the server corresponding to the control option selected by a user and the corresponding large visual screen after detecting that the user selects any control option from the control options, establishing connection with the corresponding server through the WebSocket address of the corresponding server, displaying a control sub-interface corresponding to the control option, wherein at least one function option used for controlling the corresponding large visual screen is arranged on the control sub-interface, sending an instruction corresponding to the function option to the connected server after detecting the function option selected by the user, and the server is used for adjusting the corresponding large visual screen according to the instruction after obtaining the instruction sent by the mobile terminal, so that a single mobile terminal can control the large visual screens based on a WebSocket technology, operation of the large visual screens is more flexible and convenient, control cost is effectively saved, and control efficiency is improved.
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, the mobile terminal is specifically configured to:
after determining a server corresponding to a control option selected by a user, creating a WebSocket instance corresponding to the server; and establishing connection with a corresponding server through the WebSocket instance.
When the mobile terminal obtains the Websocket address of the server, the mobile terminal establishes connection with the server according to the Websocket address, after the control option of the mobile terminal is determined, the corresponding server is determined, a Websocket instance is created and connected with the corresponding server, and the corresponding switching page of the mobile terminal displays each function option button of the controlled visual large screen.
Specifically, the mobile terminal displays options of each large visual screen on a control interface, when a user clicks a button corresponding to option 1 of the large visual screen, a Websocket instance corresponding to the server is automatically created to be connected, page switching of the mobile terminal is achieved, and function option buttons of the large visual screen 1 are displayed on a control sub-interface of the mobile terminal. For example, a plurality of menus on a large visual screen switch different pages, corresponding buttons are also displayed in a control interface of the corresponding mobile terminal, and when one button is clicked, a corresponding instruction is sent to the server through a sending attribute (send attribute) in the WebSocket instance object.
In the embodiment, the server is connected through the WebSocket transmission protocol, so that the pressure of the server during transmission is relieved, and the transmission efficiency is improved.
Optionally, the large visual screen comprises a control terminal and a display screen;
the control terminal is used for: establishing connection with a corresponding server through a WebSocket protocol; controlling the display screen according to the information acquired from the server;
the server is specifically configured to: and after the instruction sent by the mobile terminal is obtained, sending information corresponding to the instruction to the control terminal.
The server receives an instruction sent by the mobile terminal and transmits the instruction to the control terminal of the visual large screen. And the control terminal compares the acquired information, executes the acquired information and displays the information on a display screen of a visual large screen. In the embodiment, the operation of frequently accessing the server is avoided by establishing the WebSocket protocol of the server and the visual large screen, the input and the output of the network are reduced, and the transmission performance is improved.
Optionally, when the control terminal controls the large visual screen according to the information acquired from the server, the control terminal is specifically configured to:
monitoring information sent by a corresponding server through a WebSocket instance;
and comparing the monitored information with locally stored data through the browser, and switching the display page of the display screen according to the comparison result.
The method comprises the steps that a control terminal is connected with a corresponding server through a URL (Uniform Resource Locator) address by using a WebSocket protocol in a JavaScript script, when the server transmits an instruction, a browser in the control terminal monitors the comparison between the instruction and local data sent by the server in real time through an onmessage attribute in a WebSocket instance object, and executes corresponding page switching operation on a large visual screen and displays the page switching operation on the screen.
JavaScript is a web page programming technique used to add interactive behaviors to an HTML (Hyper Text Markup Language) page.
Specifically, menu switching corresponds to 1,3D model and 2 in local data, a replacement subject corresponds to 3, after a server receives a command of replacing the subject, the control terminal establishes connection with the server through a URL address in a WebSocket protocol, data 3 sent by the server is sent to the control terminal, data monitored by a browser in the control terminal through an onmessage attribute is 3, the data is compared with the local data, 3 represents the replacement subject, and a browser page executes the operation of replacing the subject and renders the operation to a large visual screen.
In the embodiment, the URL address is created, and the connection between the server and the terminal equipment is created in a one-to-one mode, so that the transmission efficiency between the server and the terminal equipment is improved.
With reference to the foregoing embodiments, fig. 4 is a schematic diagram of a control principle of a large visual screen according to an embodiment of the present invention. As shown in fig. 4, the mobile terminal requests the server to obtain WebSocket connection addresses corresponding to all servers. According to the WebSocket address, the mobile terminal is connected with the servers and sends data to one of the servers, the server sends the corresponding data to the control terminal through the WebSocket connection address after receiving the data, a browser at the control terminal monitors the data sent by the servers in real time, compares the data with local data, executes related operation and renders the data on a display screen of a large visual screen.
Specifically, if two option buttons of a large visual traffic screen and a large visual electric power screen are displayed on a mobile phone, respectively, if related personnel want to perform 3D model conversion operation on the large visual traffic screen, the option buttons of the large visual traffic screen can be clicked, at the moment, a mobile phone end is connected with a server of the large visual traffic screen, a corresponding mobile phone page is switched to a series of function option buttons of the large visual traffic screen, and the option buttons of the 3D model conversion are clicked, a data instruction is sent to the server corresponding to the large visual traffic screen through attributes sent by a WebSocket instance object, the server receives the data instruction and then sends the data instruction to a control terminal of the large visual screen, and a browser in a computer monitors the information and performs 3D model conversion operation on the large visual traffic screen.
In the embodiment, the server is connected through the WebSocket transmission protocol, long-link communication is established, and the control efficiency of a plurality of visual large screens is improved.
On the basis of the technical solutions provided by the above embodiments, optionally, the present invention further provides a specific code implementation solution.
Optionally, a TCP (Transmission Control Protocol) application may be installed on the server, and a WebSocket process created at the server by any port following a specific Protocol on the server is monitored, and a plurality of WebSocket addresses may be created by a plurality of servers.
The WebSocket server is realized by creating a code, a server.js is newly built in a project in the ws module, a service is created, an 8181 port is designated, and a received message log is output. ws is a WebSocket library of nodejs (JavaScript runtime environment based on Chrome V8 engine) that can be used to create services. The code may refer to the following examples:
Figure BDA0003120975070000111
optionally, a code is created at the large-screen visualization terminal, and an instruction sent by the server is received, where the code may refer to the following example:
Figure BDA0003120975070000112
optionally, the connection between the mobile terminal and the server may be implemented by using a code, a WebSocket connection is established between the mobile terminal and the server, and a message is sent by using a sending method (send method). The code of the mobile terminal may refer to the following examples:
Figure BDA0003120975070000113
optionally, when the mobile terminal displays a plurality of control options on the control interface for controlling the plurality of large visual screens, the mobile terminal is specifically configured to:
acquiring people flow information within a preset range of each visual large screen; sequencing the plurality of large visual screens according to the pedestrian flow information corresponding to each large visual screen; and displaying the control options corresponding to the plurality of visual large screens on the control interface according to the sequencing result.
The method comprises the steps of monitoring the pedestrian flow information in a certain fixed range of the large visual screens in real time, counting the pedestrian flow information in the fixed range of each large visual screen, sequencing the large visual screens according to the counting result, and displaying control options corresponding to the large visual screens on a control interface according to the sequencing result. For example, the number of people in a large fixed range of the visualization screen per hour may be determined and ranked.
Specifically, five large visual screens are provided, wherein the numbers of the five large visual screens are respectively 01, 02, 03, 04 and 05, the statistics of the real-time pedestrian volume information is carried out on the five large visual screens, and the statistics of the number of people in front of the five large visual screens in the range of 8 meters in front of the screen in each hour is carried out. If the obtained statistical results are 425, 584, 652, 321 and 632 (unit: person/hour), the visual large screen can be ranked as 03, 05, 02, 01 and 04 according to the obtained statistical results, and finally the ranking displayed on the control interface is 03, 05, 02, 01 and 04.
In this embodiment, through visual big screen the people flow information within range of predetermineeing to visual big screen rank order, show at control interface, let the operator find the higher visual big screen of heat more fast, can save time, improve operating efficiency.
The method is characterized in that people flow in a preset range of the large visual screen is counted and sorted, and a sorting result is displayed in a control interface, and generally the large visual screen in a public place is controlled. In other cases, the large visualization screen may have a different statistical ordering.
In an alternative embodiment, the frequency of use of the visualization large screen is statistically ranked. Counting the use frequency of a visual large screen to be controlled according to historical data, giving a threshold value, placing the visual large screen with the use frequency lower than the threshold value in an unusual visual large screen label, placing the visual large screen with the use frequency higher than the threshold value in a usual visual large screen label, displaying the usual visual large screen label and the unusual large screen label on a control interface, and when a label button of the usual visual large screen of the control interface is clicked, switching pages to display the usual visual large screens sorted according to the use frequency.
Specifically, four large visualization screens, labeled 11, 12, 13, and 14 respectively, are counted, and the frequency of use of the four large visualization screens in the past six months is counted, and a threshold value of 0.3 is given. If the frequency of use of the last six months for obtaining the four large visualization screens is 0.5,0.6,0.1,0.87, respectively, the large visualization screen 13 is obtained as an unusual large visualization screen. When the tab button of the commonly used large visual screen of the control interface is clicked, the large visual screens labeled 14, 12 and 11 can be seen on the switching page.
The control options corresponding to the plurality of large visual screens on the control interface can be unified sequencing of the large visual screens according to a certain attribute, and can also be label classification of the large visual screens. The visual large screen can be classified and sorted differently according to actual conditions.
Fig. 5 is a schematic flow chart of a control method for a large visual screen according to an embodiment of the present invention. The method in this embodiment is used for controlling a plurality of large visual screens, and the large visual screens are in one-to-one correspondence with a plurality of servers. As shown in fig. 5, the method may include:
and 501, acquiring a Websocket address corresponding to each server in the plurality of servers.
Step 502, displaying a plurality of control options on a control interface for controlling a plurality of visual large screens, wherein the plurality of control options are in one-to-one correspondence with the plurality of servers.
Step 503, after detecting that the user selects any control option from the plurality of control options, determining a server corresponding to the control option selected by the user and a corresponding large visual screen.
And step 504, establishing connection with the corresponding server through the WebSocket address of the corresponding server.
And 505, displaying a control sub-interface corresponding to the control option, wherein at least one function option for controlling the corresponding visual large screen is arranged on the control sub-interface.
Step 506, after detecting the function option selected by the user, sending an instruction corresponding to the function option to the server establishing the connection, so that the server adjusts the corresponding visual large screen according to the instruction.
According to the control method of the large visual screen, the Websocket address corresponding to each server in the multiple servers can be obtained, multiple control options are displayed on the control interface used for controlling the multiple large visual screens, the multiple control options correspond to the multiple servers in a one-to-one mode, after a user selects any control option from the multiple control options, the server corresponding to the control option selected by the user and the corresponding large visual screen are determined, connection is established between the Websocket address of the corresponding server and the corresponding server, and the control sub-interface corresponding to the control option is displayed, at least one function option used for controlling the corresponding large visual screen is arranged on the control sub-interface, and after the function option selected by the user is detected, an instruction corresponding to the function option is sent to the server which is connected, so that the server adjusts the corresponding large visual screen according to the instruction, the Websocket protocol technology is used, a single mobile terminal can control the multiple large visual screens based on the socket technology, operation of the large visual screens is more flexible, websocket protocol technology is used, and control cost is effectively saved.
Optionally, when the connection is established between the WebSocket address of the corresponding server and the corresponding server, the method includes: after determining a server corresponding to a control option selected by a user, creating a WebSocket instance corresponding to the server; and establishing connection with a corresponding server through the WebSocket instance.
Optionally, the controlling terminal controls the large visual screen according to the information acquired from the server, including: monitoring information sent by a corresponding server through a WebSocket instance; and comparing the monitored information with locally stored data through the browser, and switching the display page of the display screen according to the comparison result. Optionally, displaying, by the mobile terminal, a plurality of control options on a control interface for controlling a plurality of large visual screens, including: acquiring people flow information in a preset range of each visual large screen; sequencing the plurality of visual large screens according to the corresponding people flow information of each visual large screen; and displaying control options corresponding to the plurality of visual large screens on the control interface according to the sorting result.
Specific implementation principles and processes of each step in the control method for the large visual screen in the embodiment may refer to the foregoing embodiments, and are not described herein again.
Fig. 6 is a schematic structural diagram of a control device of a large visual screen according to an embodiment of the present invention. The method and the device are used for controlling a plurality of large visual screens, and the large visual screens are in one-to-one communication with a plurality of servers, as shown in fig. 6, the control device for large visual screens provided by this embodiment may include:
an obtaining module 601, configured to obtain a WebSocket address corresponding to each server in the multiple servers;
a first display module 602, configured to control a plurality of control options to be displayed on a control interface of a plurality of large visual screens, where the control options correspond to the servers in a one-to-one manner;
a determining module 603, configured to determine, after it is detected that the user selects any control option from the multiple control options, a server corresponding to the control option selected by the user and a corresponding large visualization screen;
a connection module 604, configured to establish a connection with the corresponding server through the WebSocket address of the corresponding server;
a second display module 605, configured to display a control sub-interface corresponding to the control option, where the control sub-interface is provided with at least one function option for controlling a corresponding large visual screen;
a sending module 606, configured to send, after detecting a function option selected by a user, an instruction corresponding to the function option to a server that establishes a connection, so that the server adjusts a corresponding large visual screen according to the instruction.
The apparatus provided in this embodiment may implement the technical solutions of the method embodiments shown in fig. 1 to fig. 5, and the implementation principles and technical effects are similar, which are not described herein again.
Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. As shown in fig. 7, the apparatus provided in this embodiment may include: a processor 71 and a memory 72;
the memory 72 stores computer-executable instructions;
the processor 71 executes the computer-executable instructions stored in the memory 72, so that the processor 71 executes the method according to any of the above embodiments.
Wherein the memory 72 and the processor 71 may be connected by a bus 73.
For specific implementation principles and effects of the device provided in this embodiment, reference may be made to relevant descriptions and effects corresponding to the embodiments shown in fig. 1 to fig. 5, which are not described herein in detail.
The embodiment of the invention also provides a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and the computer program is executed by a processor to realize the user number processing method provided by any embodiment of the invention.
The embodiment of the present invention further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the method for processing a user number according to any embodiment of the present invention is implemented.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of modules is merely a division of logical functions, and an actual implementation may have another division, for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to implement the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each module may exist alone physically, or two or more modules are integrated into one unit. The unit formed by the modules can be realized in a hardware form, and can also be realized in a form of hardware and a software functional unit.
The integrated module implemented in the form of a software functional module may be stored in a computer-readable storage medium. The software functional module is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a processor to execute some steps of the methods according to the embodiments of the present invention.
It should be understood that the Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of hardware and software modules.
The memory may comprise a high speed RAM memory, and may further comprise a non-volatile storage NVM, such as at least one magnetic disk memory, and may also be a usb disk, a removable hard disk, a read-only memory, a magnetic or optical disk, or the like.
The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (Extended Industry Standard Architecture) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, the buses in the figures of the present invention are not limited to only one bus or one type of bus.
The storage medium may be implemented by any type or combination of volatile or non-volatile memory devices, 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 or optical disks. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an Application Specific Integrated Circuits (ASIC). Of course, the processor and the storage medium may reside as discrete components in an electronic device or host device.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. The invention is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements that have been described above and shown in the drawings, and that various modifications and changes can be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (10)

1. A control system of a visual large screen is characterized by comprising a mobile terminal, a plurality of servers and a plurality of visual large screens;
the number of the servers is the same as that of the large visual screens, and the large visual screens are in one-to-one correspondence communication with the servers;
the mobile terminal is used for: acquiring a WebSocket address corresponding to each server in the plurality of servers; displaying a plurality of control options on a control interface for controlling a plurality of visual large screens, wherein the control options correspond to the servers one by one; after detecting that the user selects any control option from the plurality of control options, determining a server corresponding to the control option selected by the user and a corresponding large visual screen; establishing connection with the corresponding server through the WebSocket address of the corresponding server; displaying a control sub-interface corresponding to the control option, wherein at least one function option for controlling the corresponding visual large screen is arranged on the control sub-interface; after detecting the function option selected by the user, sending an instruction corresponding to the function option to a server establishing connection;
the server is configured to: and after the instruction sent by the mobile terminal is obtained, adjusting the corresponding visual large screen according to the instruction.
2. The system of claim 1, wherein the mobile terminal, when establishing a connection with the corresponding server through the WebSocket address of the corresponding server, is specifically configured to:
after determining a server corresponding to a control option selected by a user, creating a WebSocket instance corresponding to the server;
and establishing connection with a corresponding server through the WebSocket instance.
3. The system according to claim 1 or 2, wherein the large visualization screen comprises a control terminal and a display screen;
the control terminal is used for: establishing connection with a corresponding server through a WebSocket protocol; controlling the display screen according to the information acquired from the server;
the server is specifically configured to: and after the instruction sent by the mobile terminal is obtained, sending information corresponding to the instruction to the control terminal.
4. The system according to claim 3, wherein when the control terminal controls the large visual screen according to the information acquired from the server, the control terminal is specifically configured to:
monitoring information sent by a corresponding server through a WebSocket instance;
and comparing the monitored information with locally stored data through the browser, and switching the display page of the display screen according to the comparison result.
5. The system according to claim 1 or 2, wherein when the mobile terminal displays a plurality of control options on the control interface for controlling a plurality of large visual screens, the mobile terminal is specifically configured to:
acquiring people flow information in a preset range of each visual large screen;
sequencing the plurality of visual large screens according to the corresponding people flow information of each visual large screen;
and displaying control options corresponding to the plurality of visual large screens on the control interface according to the sorting result.
6. A control method of a large visual screen is used for controlling a plurality of large visual screens, wherein the large visual screens are in one-to-one correspondence communication with a plurality of servers, and the method comprises the following steps:
acquiring a WebSocket address corresponding to each server in the plurality of servers;
displaying a plurality of control options on a control interface for controlling a plurality of visual large screens, wherein the control options correspond to the servers one by one;
after detecting that the user selects any control option from the plurality of control options, determining a server corresponding to the control option selected by the user and a corresponding large visual screen;
establishing connection with the corresponding server through the WebSocket address of the corresponding server;
displaying a control sub-interface corresponding to the control option, wherein at least one function option for controlling the corresponding visual large screen is arranged on the control sub-interface;
and after detecting the function option selected by the user, sending an instruction corresponding to the function option to a server establishing connection so that the server adjusts the corresponding visual large screen according to the instruction.
7. The control device of a visual large screen is characterized in that the device is used for controlling a plurality of visual large screens, the visual large screens are in one-to-one communication with a plurality of servers, and the device comprises:
the acquisition module is used for acquiring the Websocket address corresponding to each server in the plurality of servers;
the first display module is used for controlling a plurality of control options to be displayed on a control interface of a plurality of visual large screens, and the control options correspond to the servers one by one;
the determining module is used for determining a server corresponding to the control option selected by the user and a corresponding visual large screen after detecting that the user selects any control option from the plurality of control options;
the connection module is used for establishing connection with the corresponding server through the WebSocket address of the corresponding server;
the second display module is used for displaying a control sub-interface corresponding to the control option, and at least one function option for controlling a corresponding visual large screen is arranged on the control sub-interface;
and the sending module is used for sending an instruction corresponding to the function option to the server establishing the connection after detecting the function option selected by the user, so that the server adjusts the corresponding visual large screen according to the instruction.
8. An electronic device, comprising: a processor and a memory;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored by the memory to cause the processor to perform the control method of visualizing a large screen as in claim 6.
9. A computer-readable storage medium having stored thereon computer-executable instructions for implementing the control method of a visualization large screen as recited in claim 6 when executed by a processor.
10. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, implements the control method of a visualization large screen according to claim 6.
CN202110676874.9A 2021-06-18 2021-06-18 Control method, device and equipment for large visual screen and storage medium Pending CN115580606A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110676874.9A CN115580606A (en) 2021-06-18 2021-06-18 Control method, device and equipment for large visual screen and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110676874.9A CN115580606A (en) 2021-06-18 2021-06-18 Control method, device and equipment for large visual screen and storage medium

Publications (1)

Publication Number Publication Date
CN115580606A true CN115580606A (en) 2023-01-06

Family

ID=84579314

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110676874.9A Pending CN115580606A (en) 2021-06-18 2021-06-18 Control method, device and equipment for large visual screen and storage medium

Country Status (1)

Country Link
CN (1) CN115580606A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104754052A (en) * 2015-04-01 2015-07-01 贵州电网公司信息通信分公司 Message pushing method based on Websocket
CN109241464A (en) * 2018-07-19 2019-01-18 上海小蚁科技有限公司 For the method for exhibiting data and device of data large-size screen monitors, storage medium, terminal
CN111352600A (en) * 2019-05-24 2020-06-30 鸿合科技股份有限公司 Large screen control system, method and device and electronic equipment
CN111597005A (en) * 2020-05-18 2020-08-28 深圳航天智慧城市系统技术研究院有限公司 Big data visualization three-dimensional GIS cloud rendering project generation system and method
CN112231387A (en) * 2020-09-30 2021-01-15 中国铁道科学研究院集团有限公司 Railway data visualization interaction system and method, electronic device and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104754052A (en) * 2015-04-01 2015-07-01 贵州电网公司信息通信分公司 Message pushing method based on Websocket
CN109241464A (en) * 2018-07-19 2019-01-18 上海小蚁科技有限公司 For the method for exhibiting data and device of data large-size screen monitors, storage medium, terminal
CN111352600A (en) * 2019-05-24 2020-06-30 鸿合科技股份有限公司 Large screen control system, method and device and electronic equipment
CN111597005A (en) * 2020-05-18 2020-08-28 深圳航天智慧城市系统技术研究院有限公司 Big data visualization three-dimensional GIS cloud rendering project generation system and method
CN112231387A (en) * 2020-09-30 2021-01-15 中国铁道科学研究院集团有限公司 Railway data visualization interaction system and method, electronic device and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
黄泽文;雷景生;: "WebSocket在电能实时监测系统中的研究与应用", 电子技术与软件工程, no. 15, 28 July 2016 (2016-07-28) *

Similar Documents

Publication Publication Date Title
CN108549671B (en) Method and device for realizing real-time data acquisition and visualization
CN106021449B (en) Searching method and device for mobile terminal and mobile terminal
EP3882792A1 (en) Method and apparatus for processing information, electronic device and storage medium
CN104993946A (en) Evaluation method, device and system for gated launch
CN110532159B (en) Data monitoring method, device, equipment and computer readable storage medium
CN104765746B (en) Data processing method and device for mobile communication terminal browser
CN111130987A (en) Automatic acquisition method and device for AWR report, electronic equipment and storage medium
CN112783783A (en) Webpage point burying method, device and equipment and readable storage medium
CN114239504A (en) Form configuration method, device, equipment, readable storage medium and program product
CN112491617A (en) Link tracking method, device, electronic equipment and medium
CN111813623B (en) Page monitoring method and device, electronic equipment and storage medium
CN111241396B (en) Information pushing method and device, electronic equipment and storage medium
CN108881345B (en) Message pushing method and routing equipment
CN112817817A (en) Buried point information query method and device, computer equipment and storage medium
CN115580606A (en) Control method, device and equipment for large visual screen and storage medium
CN104657805A (en) Real Estate Information Analysis Management System And Method
CN110807056A (en) Excel-based report processing method, Excel-based report processing device, Excel-based report processing medium and electronic equipment
CN114675921A (en) Method and device for customizing interface, electronic equipment and storage medium
CN110704219B (en) Hardware fault reporting method and device and computer storage medium
CN112148279A (en) Log information processing method and device, electronic equipment and storage medium
CN111611476A (en) Method and device for displaying special topic page
CN113486222A (en) Display method of power data display interface, user terminal, server and system
CN108153834B (en) Method and device for querying data by commercial intelligent application and electronic equipment
CN107704491B (en) Message processing method and device
US9864739B1 (en) Automatic layout of graphical user interface screens from object data

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