CN111343270B - Screen control method and system, cloud server and controller - Google Patents

Screen control method and system, cloud server and controller Download PDF

Info

Publication number
CN111343270B
CN111343270B CN202010120261.2A CN202010120261A CN111343270B CN 111343270 B CN111343270 B CN 111343270B CN 202010120261 A CN202010120261 A CN 202010120261A CN 111343270 B CN111343270 B CN 111343270B
Authority
CN
China
Prior art keywords
target
information
web page
request
led screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010120261.2A
Other languages
Chinese (zh)
Other versions
CN111343270A (en
Inventor
崔占庚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur General Software Co Ltd
Original Assignee
Inspur General Software 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 Inspur General Software Co Ltd filed Critical Inspur General Software Co Ltd
Priority to CN202010120261.2A priority Critical patent/CN111343270B/en
Publication of CN111343270A publication Critical patent/CN111343270A/en
Application granted granted Critical
Publication of CN111343270B publication Critical patent/CN111343270B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/22Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
    • G09G3/30Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels
    • G09G3/32Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a screen control method, a screen control system, a cloud server and a controller, wherein the method applied to the cloud server comprises the following steps: presetting a request response service and a JavaScript script, calling the request response service, and acquiring at least one target parameter for accessing a target web page from an information issuing request when monitoring the information issuing request sent by an external controller through an IHttpHandler interface; storing at least one target parameter; and calling a JavaScript script, controlling a target LED screen corresponding to the information publishing request to access a target web page according to at least one target parameter, and displaying the accessed information. The scheme can reduce the difficulty of releasing information on the LED screen.

Description

Screen control method and system, cloud server and controller
Technical Field
The invention relates to the technical field of computers, in particular to a screen control method, a screen control system, a cloud server and a controller.
Background
With the progress of modern technology, LED screens are increasingly entering people's lives. An LED screen is a new type of imaging electronics made with light emitting diodes arranged in sequence. Due to its high brightness, wide viewing angle, long service life, etc., it is widely used in products such as outdoor advertisement screens.
At present, if information needs to be distributed on an LED screen, the LED screen is generally connected with a controller through a data line. However, this situation requires wiring operations, which increases the difficulty of distributing information on the LED screen.
Disclosure of Invention
The embodiment of the invention provides a screen control method, a screen control system, a cloud server and a controller, which can reduce the difficulty of issuing information on an LED screen.
In a first aspect, the present invention provides a screen control method applied to a cloud server, including: presetting a request response service and a JavaScript script;
calling the request response service, and acquiring at least one target parameter for accessing a target web page from an information release request when monitoring the information release request sent by an external controller through an IHttpHandler interface;
storing the at least one target parameter;
calling the JavaScript script, controlling a target LED screen corresponding to the information publishing request to access the target web page according to the at least one target parameter, and displaying the accessed information.
Preferably, the first and second electrodes are formed of a metal,
before the obtaining of the at least one target parameter for accessing the target web page from the information publishing request, further comprising:
setting a control model comprising at least one field name;
the storing the at least one target parameter includes:
s1: determining an element information set and a model set, wherein the unprocessed set comprises the at least one target parameter, and the model set comprises at least one field name in the control model;
s2: determining a current target parameter from the element information set;
s3: determining a current field name matching the current target parameter from the model set;
s4: recording the current target parameter at a position indicated by the current field name in the control model;
s5: deleting the current target parameter from the element information set;
s6: determining whether the number of target parameters in the element information set is greater than 1, if so, executing S2, otherwise, executing the JavaScript script, and controlling a target LED screen corresponding to the information publishing request to access the target web page according to the at least one target parameter;
the invoking the JavaScript script and controlling a target LED screen corresponding to the information publishing request to access the target web page according to the at least one target parameter comprises:
calling the JavaScript script, controlling a target LED screen corresponding to the information issuing request to execute an action according to the at least one target parameter recorded in the control model, accessing the target web page, and deleting the at least one target parameter recorded in the control model after the action is executed.
Preferably, the first and second electrodes are formed of a metal,
the at least one target parameter comprises: a page name, a page ID, a page function key name, a page function key ID, and a page action type of the target web page.
Preferably, the first and second electrodes are formed of a metal,
when an information publishing request sent by an external controller through an IHttpHandler interface is monitored, before the obtaining of at least one target parameter for accessing a target web page from the information publishing request, the method further comprises:
and determining whether the message format of the information issuing request is the same as a preset format agreed in advance by the controller, if so, executing the step of acquiring at least one target parameter for accessing a target web page from the information issuing request, and otherwise, sending prompt information for prompting the abnormity of the information issuing request to the controller through the IHttpHandler interface.
In a second aspect, the present invention provides a screen control method applied to a controller, including:
for a target LED screen in at least one LED screen, when a user accesses a target web page in at least one web page accessible by the target LED screen, generating an information publishing request according to an operation executed by the user to access the target web page;
and sending the information issuing request to an external cloud server through an IHttpHandler interface, so that the cloud server controls the target LED screen to access the target web page according to the information issuing request and displays the accessed information.
Preferably, the first and second electrodes are formed of a metal,
before the generating an information publishing request according to the operation executed by the user to access the target web page, the method further includes:
for each said web page accessible to each said LED screen, storing at least one element information matching said web page;
the generating an information publishing request according to the operation of the user when accessing the target web page includes:
d1: determining a set of elements, wherein the set of elements includes the at least one element information matching the target web page;
d2: determining current element information from the set of elements;
d3: determining whether the user calls a target parameter corresponding to the current element information when accessing the target web page, if so, executing D4, otherwise, executing D5;
d4: recording the target parameters, and executing D5;
d5: deleting the current element information, and executing D6;
d6: and determining whether the number of the element information in the element set is greater than 1, if so, returning to D2, otherwise, generating an information publishing request according to the recorded target parameters.
In a third aspect, the present invention provides a cloud server, including:
the program setting module is used for presetting a request response service and a JavaScript script;
the parameter processing module is used for calling the request response service set by the program setting module, and acquiring at least one target parameter for accessing a target web page from an information issuing request when monitoring the information issuing request sent by an external controller through an IHttpHandler interface;
the data storage module is used for storing the at least one target parameter acquired by the parameter processing module;
and the webpage access module is used for calling the JavaScript script set by the program setting module, controlling a target LED screen corresponding to the information publishing request to access the target web page according to the at least one target parameter stored by the data storage module, and displaying the accessed information.
In a fourth aspect, the present invention provides a controller comprising:
the request generating module is used for generating an information publishing request according to the operation executed by the user to access the target web page when the user accesses the target web page in at least one web page accessible by the target LED screen aiming at the target LED screen in at least one LED screen;
and the request sending module is used for sending the information issuing request generated by the request generating module to an external cloud server through an IHttpHandler interface so that the cloud server controls the target LED screen to access the target web page according to the information issuing request and displays the accessed information.
In a fifth aspect, the present invention provides a screen control system comprising: the controller of any preceding claim, the cloud server of any preceding claim, and at least one LED screen;
the cloud server is connected with each LED screen;
and the LED screen is used for displaying the information in the accessed target web page.
In a sixth aspect, the present invention also provides a storage medium comprising; at least one memory and at least one processor;
the at least one memory to store a machine readable program;
the at least one processor is configured to invoke the machine-readable program to execute the screen control method according to any one of the above.
In a seventh aspect, the present invention also provides a computer readable medium having stored thereon computer instructions, which, when executed by a processor, cause the processor to execute a method of performing screen control according to any one of the above.
The invention provides a screen control method, a system, a cloud server and a controller, wherein a request response service is deployed on the cloud server connected with an LED screen, an information issuing request from an external controller can be monitored through the request response service, because the information issuing request is issued through an IHttpHandler interface, at least one target parameter required when a target web page is accessed can be obtained based on the information issuing request, the LED screen can be controlled to access the target web page and display the accessed web page by calling a JavaScript script according to the obtained target parameters, and the LED screen is not required to be connected with the controller in a wiring mode, so that the wiring operation can be reduced, and the difficulty in issuing information on the LED screen is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a flowchart of a screen control method according to an embodiment of the present invention;
FIG. 2 is a flowchart of a screen control method according to another embodiment of the present invention;
fig. 3 is a schematic structural diagram of a cloud server according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a controller according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a screen control system according to an embodiment of the present invention;
fig. 6 is a flowchart of a screen control method according to another embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer and more complete, the technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention, and based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without creative efforts belong to the scope of the present invention.
As shown in fig. 1, an embodiment of the present invention provides a screen control method, which is applied to a cloud server, and includes:
step 101: presetting a request response service and a JavaScript script;
step 102: calling the request response service, and acquiring at least one target parameter for accessing a target web page from an information issuing request when the information issuing request sent by an external controller through an IHttpHandler interface is monitored;
step 103: storing the at least one target parameter;
step 104: and calling the JavaScript script, controlling a target LED screen corresponding to the information publishing request to access the target web page according to the at least one target parameter, displaying the accessed information, and displaying the accessed information.
In the embodiment of the invention, the request response service is deployed on the cloud server connected with the LED screen, the request response service can monitor the information issuing request from the external controller, the information issuing request is sent through the IHttpHandler interface, so that at least one target parameter required by accessing a target web page can be obtained based on the information issuing request, the LED screen can be controlled to access the target web page by calling the JavaScript according to the obtained target parameters, the accessed web page is displayed, and the LED screen is not required to be connected with the controller in a wiring manner, so that the wiring operation can be reduced, and the difficulty of issuing information on the LED screen is reduced.
Specifically, to ensure that the LED screen can access the target web page, the at least one target parameter includes: a page name of the target web page (e.g., "abc"), a page ID (encoding ID "123" of the page name "abc"), a page function key name (e.g., "click next page", "refresh", or "back"), a page function key ID (e.g., "click next page" ID is "4", and "refresh" function key ID is "5"), and a page action type (e.g., "refresh current page" or "back to previous web page").
In order to improve the control experience of the user on the web page, the target parameters may further include: the execution order (i.e., TaskOrder), and the execution time (i.e., TaskTime).
In order to facilitate management of the obtained target parameters, in an embodiment of the present invention, before obtaining at least one target parameter for accessing a target web page from the information publishing request, the method further includes:
setting a control model comprising at least one field name;
the storing the at least one target parameter includes:
s1: determining an element information set and a model set, wherein the unprocessed set comprises the at least one target parameter, and the model set comprises at least one field name in the control model;
s2: determining a current target parameter from the element information set;
s3: determining a current field name matching the current target parameter from the model set;
s4: recording the current target parameter at a position indicated by the current field name in the control model;
s5: deleting the current target parameter from the element information set;
s6: determining whether the number of target parameters in the element information set is greater than 1, if so, executing S2, otherwise, executing the JavaScript script, and controlling a target LED screen corresponding to the information publishing request to access the target web page according to the at least one target parameter;
the invoking the JavaScript script and controlling a target LED screen corresponding to the information publishing request to access the target web page according to the at least one target parameter comprises:
calling the JavaScript script, controlling a target LED screen corresponding to the information release request to execute an action according to the at least one target parameter recorded in the control model, accessing the target web page, and deleting the at least one target parameter recorded in the control model after the action is executed.
In the embodiment of the invention, a control model, such as a control table, is arranged on a cloud server connected with an LED screen. Each target parameter obtained from the information release request may be recorded in a position indicated by a field name corresponding to each target parameter in the control model, so that each target parameter is recorded in the control model according to the format of the control model, and the storage operation of the target parameter is completed. So as to control the LED screen to execute the operation according to the target parameter in the control model through the JavaScript script, thereby completing the access operation of the web page. In order to prevent the LED screen from accessing wrong web pages due to excessive parameters in the control model next time, the JavaScript script clears the target parameters recorded in the control model after the control LED screen finishes executing the action corresponding to the target parameters.
In order to ensure that the LED screen can access the target web page, in an embodiment of the present invention, when an information distribution request sent by an external controller through an IHttpHandler interface is monitored, before obtaining at least one target parameter for accessing the target web page from the information distribution request, the method further includes:
and determining whether the message format of the information issuing request is the same as a preset format agreed in advance by the controller, if so, executing the step of acquiring at least one target parameter for accessing a target web page from the information issuing request, and otherwise, sending prompt information for prompting the abnormity of the information issuing request to the controller through the IHttpHandler interface.
In the embodiment of the present invention, after the external controller sends the information issue request, it is necessary to determine whether the message format of the information issue request is abnormal, for example, determine whether the information issue request includes a parameter of a mandatory fill target for accessing the target web page, if any one parameter of the mandatory fill is absent, it may determine that the message format of the information issue request is abnormal, and may return information prompting that the message format is abnormal to the controller, so that the controller knows the reason why the information cannot be issued on the web page.
As shown in fig. 2, the present invention provides a screen control method applied to a controller, including:
step 201: aiming at a target LED screen in at least one LED screen, when a user accesses a target web page in at least one web page accessible by the target LED screen, generating an information publishing request according to an operation executed by the user to access the target web page;
step 202: and sending the information issuing request to an external cloud server through an IHttpHandler interface, so that the cloud server controls the target LED screen to access the target web page according to the information issuing request and displays the accessed information.
In the embodiment of the invention, if a user needs to publish information on a target LED screen in at least one LED screen, the user can perform corresponding operation on a target web page in the controller, then an information publishing request for accessing the target web page is generated through the operation of the user and is sent to an external cloud server through an IHttpHandler interface, and the cloud server can control the target LED screen to access the target web page and display the target web page, and the LED screen is not required to be connected with the controller in a wiring manner, so that the wiring operation can be reduced, and the difficulty of publishing information on the LED screen is reduced.
In order to ensure that the target LED screen can access the target web page, in an embodiment of the present invention, before generating the information publishing request according to the operation performed by the user to access the target web page, the method further includes:
storing, for each of the web pages accessible to each of the LED screens, at least one element information matching the web page;
the generating an information publishing request according to the operation of the user when accessing the target web page includes:
d1: determining a set of elements, wherein the set of elements includes the at least one element information matching the target web page;
d2: determining current element information from the set of elements;
d3: determining whether the user calls a target parameter corresponding to the current element information when accessing the target web page, if so, executing D4, otherwise, executing D5;
d4: recording the target parameters, and executing D5;
d5: deleting the current element information, and executing D6;
d6: and determining whether the number of the element information in the element set is greater than 1, if so, returning to D2, otherwise, generating an information publishing request according to the recorded target parameters.
In the embodiment of the invention, the LED screen access web page needs basic element information, such as specific parameter information of a page name, a page ID and the like, so that the corresponding target parameters can be obtained based on the element information to be filled and the operation executed by a user on the target web page, and the cloud server can control the target LED screen to access the content in the target web page according to the target parameters.
As shown in fig. 3, an embodiment of the present invention provides a cloud server, including:
a program setting module 301, configured to preset a request response service and a JavaScript script;
a parameter processing module 302, configured to invoke the request response service set by the program setting module 301, and obtain at least one target parameter for accessing a target web page from an information issue request sent by an external controller through an IHttpHandler interface when the information issue request is monitored;
a data storage module 303, configured to store the at least one target parameter obtained by the parameter processing module 302;
a web page access module 304, configured to invoke the program setting module 301 to set the JavaScript script, control the target LED screen corresponding to the information issue request to access the target web page according to the at least one target parameter stored in the data storage module 303, and display accessed information.
In the embodiment of the invention, the request response service is deployed through the program setting module, the parameter processing module can monitor the information publishing request from the external controller through the request response service, because the information publishing request is sent through the IHttpHandler interface, at least one target parameter required by accessing a target web page can be obtained based on the information publishing request, then the target parameter is stored through the data processing module, the webpage accessing module can control the LED screen to access the target web page and display the accessed web page by calling the JavaScript according to the stored target parameters, and the LED screen is not required to be connected with the controller in a wiring manner, so that the wiring operation can be reduced, and the difficulty of publishing information on the LED screen is reduced.
In an embodiment of the present invention, the program setting module is further configured to set a control model including at least one field name;
the data storage module is used for executing:
s1: determining an element information set and a model set, wherein the unprocessed set comprises the at least one target parameter, and the model set comprises at least one field name in the control model;
s2: determining a current target parameter from the element information set;
s3: determining a current field name matching the current target parameter from the model set;
s4: recording the current target parameter at a position indicated by the current field name in the control model;
s5: deleting the current target parameter from the element information set;
s6: determining whether the number of target parameters in the element information set is greater than 1, if so, executing S2, otherwise, executing the JavaScript script, and controlling a target LED screen corresponding to the information publishing request to access the target web page according to the at least one target parameter;
the webpage access module is used for calling the JavaScript script, controlling a target LED screen corresponding to the information release request to execute an action according to the at least one target parameter recorded in the control model, accessing the target web page, and deleting the at least one target parameter recorded in the control model after the action is executed.
In an embodiment of the present invention, the at least one target parameter includes: a page name, a page ID, a page function key name, a page function key ID, and a page action type of the target web page.
In an embodiment of the present invention, the parameter processing module is further configured to determine whether a message format of the information distribution request is the same as a preset format agreed in advance by the controller, if so, perform the obtaining of at least one target parameter for accessing a target web page from the information distribution request, and otherwise, send a prompt message prompting that the information distribution request is abnormal to the controller through the IHttpHandler interface.
It is to be understood that the structure illustrated in the embodiment of the present invention does not specifically limit the cloud server. In other embodiments of the invention, the cloud server may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Because the information interaction, execution process, and other contents between the units in the device are based on the same concept as the method embodiment of the present invention, specific contents may refer to the description in the method embodiment of the present invention, and are not described herein again.
As shown in fig. 4, an embodiment of the present invention provides a controller, including:
a request generating module 401, configured to generate, for a target LED screen in at least one LED screen, an information publishing request according to an operation performed by a user when the user accesses a target web page in at least one web page accessible by the target LED screen;
a request sending module 402, configured to send the information issue request generated by the request generating module 401 to an external cloud server through an IHttpHandler interface, so that the cloud server controls the target LED screen to access the target web page according to the information issue request, and displays the accessed information.
In the embodiment of the invention, if a user needs to publish information on a target LED screen in at least one LED screen, the corresponding operation can be performed on a target web page in the controller, the request generation module generates an information publishing request for accessing the target web page through the operation of the user, the request sending module sends the information publishing request to an external cloud server through an IHttpHandler interface, and the cloud server can control the target LED screen to access the target web page and display the target LED screen, and the LED screen is not required to be connected with the controller in a wiring manner, so that the wiring operation can be reduced, and the difficulty of publishing information on the LED screen is reduced.
In an embodiment of the present invention, the controller further comprises: an element information storage module;
the element information storage module is used for storing at least one piece of element information matched with each web page accessible by each LED screen;
the request generation module is configured to perform:
d1: determining a set of elements, wherein the set of elements includes the at least one element information matching the target web page;
d2: determining current element information from the set of elements;
d3: determining whether the user calls a target parameter corresponding to the current element information when accessing the target web page, if so, executing D4, otherwise, executing D5;
d4: recording the target parameters, and executing D5;
d5: deleting the current element information, and executing D6;
d6: and determining whether the number of the element information in the element set is greater than 1, if so, returning to D2, otherwise, generating an information publishing request according to the recorded target parameters.
It is to be understood that the illustrated structure of the embodiment of the present invention does not constitute a specific limitation to the controller. In other embodiments of the invention, the controller may include more or fewer components than illustrated, or some components may be combined, or some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Because the information interaction, execution process, and other contents between the units in the device are based on the same concept as the method embodiment of the present invention, specific contents may refer to the description in the method embodiment of the present invention, and are not described herein again.
As shown in fig. 5, an embodiment of the present invention provides a screen control system, including:
the controller 501 according to any of the above embodiments, the cloud server 502 according to any of the above embodiments, and the at least one LED screen 503;
the cloud server 502 is connected to each of the LED screens 503;
and the LED screen is used for displaying the information in the accessed target web page.
In the embodiment of the invention, the request response service is deployed on the cloud server connected with each LED screen, the request response service can monitor the information issue request from the external controller, the information issue request is issued through the IHttpHandler interface, so that at least one target parameter required by accessing a target web page can be acquired based on the information issue request, the LED screen can be controlled to access the target web page by calling the JavaScript script according to the acquired target parameters, the accessed web page is displayed, and the LED screen is not required to be connected with the controller in a wiring manner, so that the wiring operation can be reduced, and the difficulty of issuing information on the LED screen is reduced.
Fig. 5 shows 3 LED screens.
In order to more clearly illustrate the technical solutions and advantages of the present invention, the following takes an LED screen b among an LED screen a, an LED screen b, and an LED screen c as a target LED screen, and a web page z, a web page x, and a web page x among web pages z, x, and v that are accessible to the target LED screen as a target web page, and a screen control method of a screen control system provided by an embodiment of the present invention is described in detail, as shown in fig. 6, specifically including the following steps:
step 601: and setting a request response service and a JavaScript script in the cloud server, and setting a control model comprising at least one field name.
Specifically, in order to realize remote control of the LED screen by the controller through the network without wiring a connection between the controller and the LED screen, a request response service may be provided to realize the IHttpHandler interface through a class of the request response service, through which an access request for handling its corresponding URL is made, and control of request information sent and sending of response contents is controlled. In addition, in order to facilitate management of the target parameters in the information issuance request from the controller, a control model including field names necessary for accessing the web page, for example, a control table may be provided so that the respective target parameters in the information issuance request are recorded in the control table, facilitating data management.
Step 602: at least one element information matching the web page x is stored in the controller.
In particular, the LED screen access web page requires basic element information so that the LED screen can access a target web page operated by a user. The element information necessary to access the web page may include: a page name of the web page, a page ID, a page function key name, a page function key ID, a page action type (e.g., "open page" LD and "refresh page" LC).
Step 603: when a user accesses the LED screen to access the web page x, determining an element set including at least one element information matched with the web page x through the controller.
Specifically, in order to facilitate the extraction of some information missed when the user operates the web page x, the matched element information of the web page x may be set as an element set, so as to perform parameter extraction based on the element set.
Step 604: current element information is determined from the set of elements by the controller.
Step 605: determining, by the controller, whether a user calls a target parameter corresponding to the current element information when accessing the web page x, if so, performing step 606, otherwise, performing step 607.
Specifically, when the element set includes "page name", "page ID", and "page function key name", one element information may be arbitrarily determined therefrom as the current element information, and then it is determined whether a target parameter corresponding to the current element information is called when the user operates the web page x, and if so, the target parameter may be recorded so that the LED screen b performs a corresponding action based on the target parameter. Otherwise, the current element information may be deleted from the element set, and then one more element information may be determined from the element set as the current element information.
Step 606: step 607 is performed by the controller recording the target parameter.
Step 607: the current element information is deleted by the controller and step 608 is performed.
Step 608: determining, by the controller, whether the number of element information in the element set is greater than 1, and if so, returning to step 604, otherwise, performing step 609.
Specifically, after a current element information is processed, if there is an element information in the element set, step 604 is continued until there is no element information in the element set.
For example, according to the operation of the user on the web page x, the target parameters of "baixxx" as the page name "," 356dd "as the page ID", and "play" as the page function key name can be extracted.
Step 609: and generating an information issuing request according to the recorded target parameters through the controller.
Step 610: and sending the information issuing request to the cloud server through the IHttpHandler interface through the controller.
Specifically, an information issue request including "baixxx" as a page name, "356 dd" as a page ID, and "play" as a page function key name is generated and sent to the cloud server through the IHttpHandler interface.
Step 611: and calling a request response service through the cloud server, and acquiring at least one target parameter for accessing the web page x from the information publishing request when the information publishing request sent by the controller is monitored.
In particular, the cloud server may invoke a request response service, e.g., a generic handler listens for request information from the controller. When the information publishing request is monitored, it may be determined whether a message format of the information publishing request is abnormal, for example, whether the message format is the same as a preset format agreed in advance, or whether information in the information publishing request includes parameters that must be called when the LED screen accesses a web page. If the message format of the information publishing request is normal, the information required for accessing the target web page can be extracted from the information publishing request, otherwise, prompt information with abnormal message format is returned to the controller.
Step 612: a set of element information including respective target parameters and a set including at least one field name model are determined.
Specifically, in order to facilitate management of the target parameters extracted from the information distribution request, the element information set and the model set including the field names may be set so that the acquired target parameters are recorded in accordance with the model set.
For example, the setting includes: the field names are a model set of "ID", "netpage page name", "page ID", "netpage function key name", "function key ID", "page action name", "jump parameter", "execution order", and "execution time".
Step 613: a current target parameter is determined from the set of element information.
Specifically, from the target parameters in the element information set: any one of "baixxx" as the "page name", "356 dd" as the "page ID", and "play" as the "page function key name" determines a current target parameter "baixxx".
Step 614: a current field name matching the current target parameter is determined from the set of models.
Specifically, the field name "netpage name" in the model set matches the current target parameter "baixxx", and thus, the field name "netpage name" is the current field name.
Step 615: and recording the current target parameter at the position indicated by the current field name in the control model.
Specifically, the current target parameter "baixxx" is recorded in a row or column indicated by the field name "netpage page name" in the control model.
Step 616: the current target parameter is deleted from the set of element information.
Step 617: it is determined whether the number of target parameters in the set of element information is greater than 1, if so, step 613 is performed, otherwise, step 618 is performed.
Specifically, after the current target parameter is recorded in the control model, in order to avoid repeatedly recording the parameter, the current target parameter "baixxx" may be deleted from the element information set, and the next current target parameter may be determined therefrom until the target parameters in the element set are all recorded in the control model.
Step 618: and calling a JavaScript script, controlling the LED screen b to execute actions according to the target parameters recorded in the control model, accessing the web page x, and displaying the accessed information.
Specifically, a JavaScript script is called, the LED screen b is controlled to access the target web page with the "baixxx" as the page name and the "356 dd" as the page ID, and the function key with the "play" as the page function key name is triggered to play the content in the target web page.
Step 619: and calling the JavaScript script, and deleting at least one target parameter recorded in the control model after the LED screen b executes the action.
Specifically, in order to prevent the LED screen b from accessing a wrong web page, resulting in issuing wrong information, the target parameters recorded in the control model are deleted after the LED screen b has executed the target parameters recorded in the control model.
In one embodiment of the present invention, a storage medium includes; at least one memory and at least one processor;
the at least one memory to store a machine readable program;
the at least one processor is configured to invoke the machine-readable program to execute the screen control method in any of the above embodiments.
In an embodiment of the present invention, a computer readable medium having stored thereon computer instructions, which, when executed by a processor, cause the processor to execute the screen control method described in any of the above embodiments.
Specifically, a system or an apparatus equipped with a storage medium on which software program codes that realize the functions of any of the above-described embodiments are stored may be provided, and a computer (or a CPU or MPU) of the system or the apparatus is caused to read out and execute the program codes stored in the storage medium.
In this case, the program code itself read from the storage medium can realize the functions of any of the above-described embodiments, and thus the program code and the storage medium storing the program code constitute a part of the present invention.
Examples of the storage medium for supplying the program code include a floppy disk, a hard disk, a magneto-optical disk, an optical disk (e.g., CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD + RW), a magnetic tape, a nonvolatile memory card, and a ROM. Alternatively, the program code may be downloaded from a server computer via a communications network.
Further, it should be clear that the functions of any one of the above-described embodiments may be implemented not only by executing the program code read out by the computer, but also by causing an operating system or the like operating on the computer to perform a part or all of the actual operations based on instructions of the program code.
Further, it is to be understood that the program code read out from the storage medium is written to a memory provided in an expansion board inserted into the computer or to a memory provided in an expansion unit connected to the computer, and then causes a CPU or the like mounted on the expansion board or the expansion unit to perform part or all of the actual operations based on instructions of the program code, thereby realizing the functions of any of the above-described embodiments.
The technical scheme of the invention can bring the following beneficial effects:
1. and (3) releasing information in real time: the traditional LED display screen can only fixedly display information stored in a controller, and if new information needs to be released, the information can only be updated by connecting a computer. The method can enable the display screen to receive the information issued by the control system at any time.
3. The WEB technology is strong in object-oriented performance and can adapt to benign expansion of the whole system in the future, so that the instability of a module and the increase of development cost caused by repeated development are avoided.
It should be noted that not all steps and modules in the above flows and system structure diagrams are necessary, and some steps or modules may be omitted according to actual needs. The execution order of the steps is not fixed and can be adjusted as required. The system structures described in the above embodiments may be physical structures or logical structures, that is, some modules may be implemented by the same physical entity, or some modules may be implemented by a plurality of physical entities separately, or some components may be implemented together in a plurality of independent devices.
In the above embodiments, the hardware unit may be implemented mechanically or electrically. For example, a hardware element may comprise permanently dedicated circuitry or logic (such as a dedicated processor, FPGA or ASIC) to perform the corresponding operations. A hardware element may also comprise programmable logic or circuitry (e.g., a general-purpose processor or other programmable processor) that may be temporarily configured by software to perform the corresponding operations. The specific implementation (mechanical, or dedicated permanent, or temporarily set) may be determined based on cost and time considerations.
While the invention has been particularly shown and described with reference to the preferred embodiments and drawings, it is not intended to be limited to the specific embodiments disclosed, and it will be understood by those skilled in the art that various other combinations of code approval means and various embodiments described above may be made, and such other embodiments are within the scope of the present invention.

Claims (3)

1. The screen control method is applied to a cloud server, and the method is characterized in that a request response service and a JavaScript script are preset, and comprises the following steps:
calling the request response service, and acquiring at least one target parameter for accessing a target web page from an information issuing request when the information issuing request sent by an external controller through an IHttpHandler interface is monitored;
storing the at least one target parameter;
calling the JavaScript script, controlling a target LED screen corresponding to the information publishing request to access the target web page according to the at least one target parameter, and displaying the accessed information;
before the obtaining at least one target parameter for accessing a target web page from the information publishing request, further comprising:
setting a control model comprising at least one field name;
the storing the at least one target parameter includes:
s1: determining an element information set and a model set, wherein the element information set comprises the at least one target parameter, and the model set comprises at least one field name in the control model;
s2: determining a current target parameter from the element information set;
s3: determining a current field name matching the current target parameter from the model set;
s4: recording the current target parameter at a position indicated by the current field name in the control model;
s5: deleting the current target parameter from the element information set;
s6: determining whether the number of target parameters in the element information set is greater than 1, if so, executing S2, otherwise, executing the JavaScript script, and controlling a target LED screen corresponding to the information publishing request to access the target web page according to the at least one target parameter;
the invoking the JavaScript script and controlling a target LED screen corresponding to the information publishing request to access the target web page according to the at least one target parameter comprises:
calling the JavaScript script, controlling a target LED screen corresponding to the information release request to execute an action according to the at least one target parameter recorded in the control model, accessing the target web page, and deleting the at least one target parameter recorded in the control model after the action is executed;
the external controller is used for generating an information publishing request according to an operation executed by a user accessing a target web page when the user accesses the target web page in at least one web page accessible by a target LED screen aiming at the target LED screen in at least one LED screen;
and sending the information issuing request to an external cloud server through an IHttpHandler interface, so that the cloud server controls the target LED screen to access the target web page according to the information issuing request and displays the accessed information.
2. The screen control method according to claim 1,
the at least one target parameter comprises: the page name, the page ID, the page function key name, the page function key ID and the page action type of the target web page;
and/or the presence of a gas in the atmosphere,
when an information publishing request sent by an external controller through an IHttpHandler interface is monitored, before the obtaining of at least one target parameter for accessing a target web page from the information publishing request, the method further comprises:
and determining whether the message format of the information issuing request is the same as a preset format agreed in advance by the controller, if so, executing the step of acquiring at least one target parameter for accessing a target web page from the information issuing request, and otherwise, sending prompt information for prompting the abnormity of the information issuing request to the controller through the IHttpHandler interface.
3. The screen control method is characterized by being applied to a controller and comprising the following steps:
for a target LED screen in at least one LED screen, when a user accesses a target web page in at least one web page accessible by the target LED screen, generating an information publishing request according to an operation executed by the user to access the target web page;
before the generating an information publishing request according to the operation executed by the user to access the target web page, the method further includes:
for each said web page accessible to each said LED screen, storing at least one element information matching said web page;
the generating an information publishing request according to the operation of the user when accessing the target web page comprises:
d1: determining a set of elements, wherein the set of elements includes the at least one element information matching the target web page;
d2: determining current element information from the set of elements;
d3: determining whether the user calls a target parameter corresponding to the current element information when accessing the target web page, if so, executing D4, otherwise, executing D5;
d4: recording the target parameters, and executing D5;
d5: deleting the current element information, and executing D6;
d6: determining whether the number of the element information in the element set is greater than 1, if so, returning to D2, otherwise, generating an information release request according to the recorded target parameters;
the cloud server presets a request response service and a JavaScript script, and the method comprises the following steps:
calling the request response service, and acquiring at least one target parameter for accessing a target web page from an information issuing request when the information issuing request sent by an external controller through an IHttpHandler interface is monitored;
storing the at least one target parameter;
and calling the JavaScript script, controlling a target LED screen corresponding to the information publishing request to access the target web page according to the at least one target parameter, and displaying the accessed information.
CN202010120261.2A 2020-02-26 2020-02-26 Screen control method and system, cloud server and controller Active CN111343270B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010120261.2A CN111343270B (en) 2020-02-26 2020-02-26 Screen control method and system, cloud server and controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010120261.2A CN111343270B (en) 2020-02-26 2020-02-26 Screen control method and system, cloud server and controller

Publications (2)

Publication Number Publication Date
CN111343270A CN111343270A (en) 2020-06-26
CN111343270B true CN111343270B (en) 2022-08-23

Family

ID=71187935

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010120261.2A Active CN111343270B (en) 2020-02-26 2020-02-26 Screen control method and system, cloud server and controller

Country Status (1)

Country Link
CN (1) CN111343270B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104616620A (en) * 2015-02-02 2015-05-13 福建迈顶信息科技有限公司 Remote control system for outdoor LED card
CN108023918A (en) * 2016-11-02 2018-05-11 阿里巴巴集团控股有限公司 A kind of information on services acquisition methods, apparatus and system
CN108733738A (en) * 2017-04-25 2018-11-02 腾讯科技(深圳)有限公司 A kind of page loading method, system, server and terminal
CN109241470A (en) * 2018-09-27 2019-01-18 北京小米移动软件有限公司 Page display method, apparatus and system
CN109815430A (en) * 2018-11-30 2019-05-28 北京金山云网络技术有限公司 Request processing method, device, data processing server and readable storage medium storing program for executing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104616620A (en) * 2015-02-02 2015-05-13 福建迈顶信息科技有限公司 Remote control system for outdoor LED card
CN108023918A (en) * 2016-11-02 2018-05-11 阿里巴巴集团控股有限公司 A kind of information on services acquisition methods, apparatus and system
CN108733738A (en) * 2017-04-25 2018-11-02 腾讯科技(深圳)有限公司 A kind of page loading method, system, server and terminal
CN109241470A (en) * 2018-09-27 2019-01-18 北京小米移动软件有限公司 Page display method, apparatus and system
CN109815430A (en) * 2018-11-30 2019-05-28 北京金山云网络技术有限公司 Request processing method, device, data processing server and readable storage medium storing program for executing

Also Published As

Publication number Publication date
CN111343270A (en) 2020-06-26

Similar Documents

Publication Publication Date Title
CN112036824A (en) Business approval method, system, storage medium and electronic equipment
CN110708343B (en) Account login method, device, equipment and storage medium
CN111324535B (en) Control abnormity detection method and device and computer equipment
JP2009104229A (en) Input check device and input check method
CN113868446A (en) Page display method, device, equipment and storage medium
CN111343270B (en) Screen control method and system, cloud server and controller
CN114090602A (en) Configuration file updating method and device, server and storage medium
CN107277146B (en) Distributed storage service flow model generation method and system
CN110417601B (en) Information prompting method, device and system in client and readable storage medium
CN111124781A (en) Display card testing method and device, electronic equipment and storage medium
CN115858049A (en) RPA flow componentization arrangement method, device, equipment and medium
CN107479982B (en) data synchronization method and terminal
CN112307384B (en) Page snapshot display method and device, electronic equipment and storage medium
CN111913776B (en) Content display method, device and equipment
CN110765610B (en) PDM integration method, PDM integration device, computer equipment and storage medium
CN110995806B (en) Resource state conversion method, device, equipment and storage medium
CN113961127A (en) Visualization server management method and device, electronic equipment and computer storage medium
CN110825390A (en) Visualization large screen project rapid deployment
CN112306838A (en) Page layout compatibility testing method, device and equipment and readable storage medium
CN110048940A (en) Sending method, device, server and the readable storage medium storing program for executing of instant communication message
CN115080152B (en) Broker configuration method and device of message middleware, computer equipment and medium
CN114338789A (en) Multimedia file remote pushing method and system
WO2024065780A1 (en) Data interaction model updating method, apparatus, electronic device, and storage medium
US7617485B2 (en) Apparatus for pointing an action attribute of electronic application system
CN115686544A (en) Method and device for burning chip, storage medium and burner

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20220729

Address after: No. 1036, Shandong high tech Zone wave road, Ji'nan, Shandong

Applicant after: Inspur Genersoft Co.,Ltd.

Address before: 250100 No. 2877 Kehang Road, Sun Village Town, Jinan High-tech District, Shandong Province

Applicant before: SHANDONG INSPUR GENESOFT INFORMATION TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant