WO2022206606A1 - Control method and apparatus for led display device, storage medium, and electronic device - Google Patents

Control method and apparatus for led display device, storage medium, and electronic device Download PDF

Info

Publication number
WO2022206606A1
WO2022206606A1 PCT/CN2022/083085 CN2022083085W WO2022206606A1 WO 2022206606 A1 WO2022206606 A1 WO 2022206606A1 CN 2022083085 W CN2022083085 W CN 2022083085W WO 2022206606 A1 WO2022206606 A1 WO 2022206606A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
led display
display device
wifi
control
Prior art date
Application number
PCT/CN2022/083085
Other languages
French (fr)
Chinese (zh)
Inventor
范进华
Original Assignee
西安青松光电技术有限公司
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 西安青松光电技术有限公司 filed Critical 西安青松光电技术有限公司
Publication of WO2022206606A1 publication Critical patent/WO2022206606A1/en

Links

Images

Classifications

    • 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/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Definitions

  • the embodiments of the present application relate to the field of LED display devices, for example, to a control method, device, storage medium, and electronic device for an LED display device.
  • LED display equipment As a display screen that can display various information such as text, images, animation, etc., LED display equipment has the characteristics of high screen brightness, high definition, flexible display functions and any combination of screen area.
  • the LED display device in some technologies can be connected to a matching infrared or Bluetooth remote control, and the LED display device can be controlled through the infrared or Bluetooth remote control.
  • some technologies have at least the following problems: when controlling the LED display device, a matching remote control is required, and the control cannot be performed when the remote control is lost; and when the remote control is used for control, the There are certain restrictions on the distance and direction of the control.
  • the present application provides a control method, device, storage medium and electronic device for an LED display device, which have the limitation of reducing the control distance and direction, and at the same time, can avoid the problem that the remote control is lost and cannot be controlled. advantage.
  • a method for controlling an LED display device and a method for controlling an LED display device are provided, the method is applied to an electronic device, and the electronic device is installed with a host program, and the host program For providing a running environment for the applet, the method includes:
  • the applet code displayed by the LED display device through the host program to obtain the first information, the second information and the third information; wherein, the first information is used to point to the wireless local area network where the LED display device is located, The second information is the IP address of the LED display device in the wireless local area network, and the third information is used to instruct the LED display device to be controlled through a target applet;
  • a control operation triggered by the target applet is received, and a control signal corresponding to the control operation is transmitted to the LED display device through the communication channel.
  • a control device for an LED display device which is applied to an electronic device, where a host program is installed on the electronic device, and the host program is used to provide a running environment for the applet, and the device include:
  • An information acquisition module is used to scan the applet code displayed by the LED display device through the host program to obtain the first information, the second information and the third information; wherein, the first information is used to point to the location of the LED display device.
  • the wireless local area network at the location the second information is the IP address of the LED display device in the wireless local area network
  • the third information is used to instruct the LED display device to be controlled by the target applet;
  • a communication channel establishment module configured to establish a communication channel with the LED display device according to the first information and the second information
  • a target applet acquisition module configured to run the target applet in the host program according to the third information
  • a transmission module configured to receive a control operation triggered by the target applet, and transmit a control signal corresponding to the control operation to the LED display device through the communication channel.
  • an electronic device including a processor and a memory; the memory stores a computer program, and the computer program is adapted to be loaded by the processor and execute the LED as described above Displays the control method of the device.
  • a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the above-mentioned control method of an LED display device.
  • the host program scans the applet code displayed by the LED display device to obtain the first information, the second information and the third information, wherein the first information is used to point to the wireless local area network where the LED display device is located network, the second information is the IP address of the LED display device in the wireless local area network, and then establishes a communication channel with the LED display device according to the first information and the second information;
  • the target applet is run in the host program, so that the control operation is triggered in the target applet, and the control of the LED display device can be realized.
  • the communication channel of the device is based on the wireless local area network.
  • the application uses a small program for control, and does not need to install special application software, which saves the time for installing the application software and reduces the memory of the electronic device; and the application can automatically scan the small program code.
  • the wireless local area network is connected, the communication channel with the LED display device is automatically established and the applet is run, so that the applet can be controlled directly, the operation is simple and convenient, and the user experience is improved.
  • FIG. 1 is a schematic block diagram of an application environment of a method for controlling an LED display device according to an embodiment of the present application
  • FIG. 2 is a flowchart of a control method of an LED display device according to an embodiment of the application
  • FIG. 3 is a schematic block diagram of a control device of an LED display device according to an embodiment of the application.
  • FIG. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
  • Mini Program An application developed based on a programming language and running on the host program, that is, a cloud APP that can be used without downloading and installing, and the applet can be run in the host program.
  • Mini Program Code For the QR code used when accessing the Mini Program page, the access address of the Mini Program page is encoded to generate the Mini Program Code corresponding to the Mini Program page.
  • Host program In the computer environment, the software environment in which the software (such as the target applet in this application) lives is called the host environment, and the host environment is the running environment (ie, the host program).
  • the host environment (host program) can be an operating system, a server program, and an application program such as WeChat, Alipay, and QQ.
  • FIG. 1 is a schematic block diagram of an application environment of the control method for an LED display device according to an embodiment of the present application.
  • the application environment of the control method of the LED display device includes the LED display device 1000 , the server 2000 and the electronic device 3000 .
  • the LED display device 1000 can be any electronic device with an LED display screen, and can be an LED all-in-one machine, an LED engineering screen, etc., such as an LED display screen used in a large conference and an LED display screen used on a stage.
  • the LED display device 1000 can be installed with a small program code generation software, the small program code generation software is based on the first information, second information and third information input by the user, or according to the set first information, second information and After obtaining the corresponding information, the third information acquisition method generates an applet code 1100, and displays the applet code 1100 on the LED display device; wherein the first information is used to point to the location where the LED display device is located.
  • the second information is the IP address of the LED display device in the wireless local area network
  • the third information is used to instruct the LED display device to be controlled by the target applet through the target applet.
  • the server 2000 can be any one of a server, a server cluster composed of several servers, a virtual cloud storage or a cloud computing center, and the server 2000 is used to provide a background for the LED display device 1000 and the electronic device 3000
  • the server 2000 can provide the electronic device 3000 with a background service of transmitting control signals to the LED display device 1000, and can provide the LED display device 1000 with a background service of generating applet codes.
  • the server 2000 may also have data storage capability, such as storing relevant information related to the target applet controlling the LED display device and the like. It can be understood that the server 2000 may be the LED display device 1000 itself.
  • the electronic device 3000 can be any smart terminal, for example, can be a computer, a mobile phone, a tablet computer, an electronic device, etc.; This constitutes a limitation.
  • the electronic device 3000 has a camera function and a host program 3100 is installed.
  • the host program 3100 can provide an operating environment for the target applet, and the host program 3100 can have the functions of scanning the applet code and parsing the applet code.
  • host programs such as Alipay, WeChat and QQ are installed in the electronic device 3000; a camera component for scanning the applet code is installed in the electronic device, and the host program provides an interface for calling the camera component, such as in the host program
  • a scan code control 3110 is provided in the APP.
  • the camera component By triggering the scan code control 3110, the camera component is called to scan the applet code 1100.
  • the target applet 3200 After the electronic device 3000 scans the applet code through the host program, the target applet 3200 is run in the host program; according to the first information and the second information, a communication channel with the LED display device 1000 is established; Receive the trigger control operation in the target applet 3200, and transmit and control the LED display device 1000 through the communication channel.
  • the electronic device 3000 scans the applet code 1100 through the host program 3100, the first information, the second information and the third information can be obtained from the parsing of the applet code; wherein the third information includes a target The page address of the applet, the electronic device 3000 enters the page of the target applet 3200 by accessing the page address.
  • the target applet 3200 page displays control controls 3210; the control controls include at least one or more of switch control controls, color temperature control controls, brightness control controls, and screen sharing control controls, and the target applet passes the detection
  • the triggering operation of the control controls on the applet page such as clicking on the control controls, generates corresponding control signals, and transmits them to the LED display device through the communication channel with the LED display device, so that the LED display device can be
  • the control signal executes the corresponding action, thereby realizing the control of the LED display device, such as controlling the switch, brightness, color temperature, screen transmission, and other functions provided by the LED display device.
  • the control method of the LED display device disclosed in the embodiment of the present application is applied to an electronic device, and the electronic device is used as an electronic device for description below.
  • control method for an LED display device is applied to an electronic device, where a host program is installed on the electronic device, and the host program is used to provide an operating environment for a target applet, and the method includes: :
  • Step S110 Scan the applet code displayed by the LED display device through the host program to obtain the first information, the second information and the third information; wherein the first information is used to point to the wireless device where the LED display device is located. Local area network, the second information is the IP address of the LED display device in the wireless local area network, and the third information is used to instruct the LED display device to be controlled through a target applet.
  • the host program invokes the camera component of the electronic device to scan the applet displayed by the LED display device.
  • control-related information such as first information, second information, and third information, can be obtained.
  • Step S120 Establish a communication channel with the LED display device according to the first information and the second information.
  • the first information is used to point to the wireless local area network where the LED display device is located, and the second information is the IP address of the LED display device in the wireless local area network.
  • the first information can enable the electronic device to access the local area network where the LED display device is located, and according to the second information, the IP address of the LED display device in the wireless local area network can be obtained, and then establish Communication channel with the LED display device.
  • Step S130 Run the target applet in the host program according to the third information.
  • the third information includes a page address of the target applet, and the electronic device accesses the page address through the host program to enter the page of the target applet, and then runs the target applet.
  • the host program includes a Native API (local interface), which can communicate with the target applet through the Native API, and can also communicate with the open interface of the background server of the host program through the Native API;
  • the target applet includes a logic layer.
  • the module (UI: webview) and the rendering layer module (Logic: javascript), the logic layer module and the rendering layer module can communicate;
  • the logic layer module of the target applet can also communicate with the Native API of the host program;
  • the third-party server is
  • the server 2000 shown in FIG. 1 can communicate with the target applet through the Websocket protocol, the http protocol, and the https protocol;
  • the background server of the host program includes an open interface, and can communicate with the host program through the open interface, and can also communicate with the host program through the open interface. server to communicate.
  • the background server of the host program is a WeChat server.
  • the applet is loaded for the first time, the resource package of the target applet is obtained from the background server of the host program through the host program, and the resource package is parsed to create and obtain the target applet.
  • Step S140 Receive a control operation triggered by the target applet, and transmit a control signal corresponding to the control operation to the LED display device through the communication channel.
  • the target applet is displayed with a control control;
  • the control control includes at least one or more of a switch control control, a color temperature control control, a brightness control control, and a screen transfer control control, thereby realizing the control of the LED.
  • the control of the display device such as controlling the switch, brightness, color temperature, and screen transmission of the LED display device, provides functions provided by the LED display device.
  • the host program scans the applet code displayed by the LED display device to obtain the first information, the second information and the third information, wherein the first information is used to point to the wireless local area network where the LED display device is located network, the second information is the IP address of the LED display device in the wireless local area network, and then establishes a communication channel with the LED display device according to the first information and the second information;
  • the target applet is run in the host program, so that the control operation is triggered in the target applet, and the control of the LED display device can be realized.
  • the communication channel of the device is based on the wireless local area network.
  • the application uses a small program for control, and does not need to install special application software, which saves the time for installing the application software and reduces the memory of the electronic device; and the application can automatically scan the small program code.
  • the wireless local area network is connected, the communication channel with the LED display device is automatically established and the applet is run, so that the applet can be controlled directly, the operation is simple and convenient, and the user experience is improved.
  • the LED display device itself may provide a WIFI hotspot for the electronic device to access, therefore, the first information may be the WIFI link information transmitted by the LED display device, so that the After the electronic device is connected to the WIFI hotspot corresponding to the WIFI link information, the electronic device and the LED display device are in the same wireless local area network, thereby realizing that the electronic device and the LED display device are in the same wireless local area network.
  • the electronic device transmits a control signal to the LED display device.
  • the WIFI link information is information determined according to the unique identifier of the LED display device. For example, when the WIFI link information includes the WIFI name, all The WIFI name is the unique identification of the LED display device.
  • the first information is the WIFI link information corresponding to the first WIFI signal.
  • the LED display device transmits multiple WIFI signals, for example, a first WIFI signal and a second WIFI signal are transmitted, and the first WIFI signal is used to provide non-control signal transmission as other
  • the first WIFI signal is used to provide non-control signal transmission as other
  • the second WIFI signal is used to provide control signal transmission
  • the first information is the WIFI link information corresponding to the second WIFI signal, thereby realizing the security and unique control of the LED display device.
  • the LED display device not only needs to provide a second WIFI signal for the connection and access control of the electronic device controlling the LED display device, so as to realize the screen sharing control of the data data of the LED display device, and at the same time , it is also necessary to provide the first WIFI signal for the participants to connect and interact with each other.
  • the WIFI link information corresponding to the special second WIFI signal is used to generate the applet code.
  • the first information is WIFI link information of an external network connected to the LED display device.
  • the WIFI link information of the external network connected to the LED display device can be used as the first information.
  • the applet code is a dynamic code generated after the LED display device acquires the first information, the second information, and the third information in response to a trigger generation operation of the applet code.
  • the wireless local area network where the LED display device is located may change, for example, the WIFI hotspot emitted by the LED display device occurs. change or the external network to which the LED display device is connected changes, etc., and then the first information will also change; and the second information is the IP address of the LED display device in the wireless local area network, And if the wireless local area network where the LED display device is located changes, the corresponding IP address will also change.
  • the WIFI link information includes a WIFI name and a corresponding WIFI password, and the WIFI name and the corresponding WIFI password are used to identify the network where the LED display device is located and access the network.
  • step S120 establishing a communication channel with the LED display device according to the first information and the second information includes:
  • Step S121 Search and obtain a WIFI wireless local area network corresponding to the WIFI name according to the WIFI name.
  • Step S122 Fill in the corresponding WIFI password for the WIFI wireless local area network, and connect to the WIFI wireless local area network.
  • Step S123 Access the IP address through the WIFI wireless local area network to establish a communication channel with the LED display device.
  • the electronic device can be automatically connected to the wireless local area network of the LED display device, and then according to the IP address of the LED display device , and automatically establish a communication channel with the LED display device.
  • the control signal corresponding to the control operation includes a control instruction and user identification information, and the receiving is triggered by the target applet.
  • the control signal corresponding to the control operation After transmitting the control signal corresponding to the control operation to the LED display device through the communication channel, including: finding the user identification information in the authorized user identification information stored in the LED display device
  • the control instruction is executed, the result information of executing the control instruction is fed back; when the user identification information is not found in the authorized user identification information stored by the LED display device, the information that there is no authority control is fed back.
  • a control device 200 for an LED display device disclosed in an embodiment of the present application is applied to an electronic device.
  • the electronic device is installed with a host program, and the host program is used to provide an operating environment for the target applet.
  • the device includes:
  • the information acquisition module 210 is used to scan the applet code displayed by the LED display device through the host program to obtain the first information, the second information and the third information; wherein the first information is used to point to the LED display device the wireless local area network where it is located, the second information is the IP address of the LED display device in the wireless local area network, and the third information is used to instruct the LED display device to be controlled by the target applet;
  • a communication channel establishment module 220 configured to establish a communication channel with the LED display device according to the first information and the second information
  • a target applet acquiring module 230 configured to run the target applet in the host program according to the third information
  • the transmission module 240 is configured to receive the control operation triggered by the target applet, and transmit the control signal corresponding to the control operation to the LED display device through the communication channel.
  • the host program scans the applet code displayed by the LED display device to obtain the first information, the second information and the third information, wherein the first information is used to point to the wireless local area network where the LED display device is located network, the second information is the IP address of the LED display device in the wireless local area network, and then establishes a communication channel with the LED display device according to the first information and the second information;
  • the target applet is run in the host program, so that the control operation is triggered in the target applet, and the control of the LED display device can be realized.
  • the communication channel of the device is based on the wireless local area network.
  • the application uses a small program for control, and does not need to install special application software, which saves the time for installing the application software and reduces the memory of the electronic device; and the application can automatically scan the small program code.
  • the wireless local area network is connected, the communication channel with the LED display device is automatically established and the applet is run, so that the applet can be controlled directly, the operation is simple and convenient, and the user experience is improved.
  • the LED display device itself may provide a WIFI hotspot for the electronic device to access, therefore, the first information may be the WIFI link information transmitted by the LED display device, so that the After the electronic device is connected to the WIFI hotspot corresponding to the WIFI link information, the electronic device and the LED display device are in the same wireless local area network, thereby realizing that the electronic device and the LED display device are in the same wireless local area network. For example, the electronic device transmits a control signal to the LED display device.
  • the first information is the WIFI link information corresponding to the first WIFI signal.
  • the LED display device transmits multiple WIFI signals, for example, a first WIFI signal and a second WIFI signal are transmitted, and the first WIFI signal is used to provide non-control signal transmission as other
  • the first WIFI signal is used to provide non-control signal transmission as other
  • the second WIFI signal is used to provide control signal transmission
  • the first information is the WIFI link information corresponding to the second WIFI signal, thereby realizing the security and unique control of the LED display device.
  • the LED display device not only needs to provide a second WIFI signal for the connection and access control of the electronic device controlling the LED display device, so as to realize the screen sharing control of the data data of the LED display device, and at the same time , it is also necessary to provide the first WIFI signal for the participants to connect and interact with each other.
  • the WIFI link information corresponding to the special second WIFI signal is used to generate the applet code.
  • the first information is WIFI link information of an external network connected to the LED display device.
  • the WIFI link information of the external network connected to the LED display device can be used as the first information.
  • the applet code is a dynamic code generated after the LED display device acquires the first information, the second information, and the third information in response to a trigger generation operation of the applet code.
  • the wireless local area network where the LED display device is located may change, for example, the WIFI hotspot emitted by the LED display device occurs. change or the external network to which the LED display device is connected changes, etc., and then the first information will also change; and the second information is the IP address of the LED display device in the wireless local area network, If the wireless local area network where the LED display device is located changes, the corresponding IP address will also change. Therefore, in order to achieve effective control of the LED display device, the small program code displayed each time is The dynamic code regenerated after the LED display device acquires the first information, the second information and the third information.
  • the WIFI link information includes a WIFI name and a corresponding WIFI password, and the WIFI name and the corresponding WIFI password are used to identify the network where the LED display device is located and access the network.
  • the communication channel establishment module 220 includes:
  • the search module is used for searching and obtaining the WIFI wireless local area network corresponding to the WIFI name according to the WIFI name.
  • the network connection module is used to fill in the corresponding WIFI password for the WIFI wireless local area network, and connect the WIFI wireless local area network.
  • a communication channel establishment module is used to access the IP address through the WIFI wireless local area network to establish a communication channel with the LED display device.
  • the electronic device can be automatically connected to the wireless local area network of the LED display device, and then according to the IP address of the LED display device , and automatically establish a communication channel with the LED display device.
  • the control signal corresponding to the control operation includes a control instruction and user identification information
  • the apparatus further includes a feedback module; the feedback module is used for the permission user identification information stored in the LED display device
  • the feedback module is used for the permission user identification information stored in the LED display device
  • the following is a device embodiment of the present application, which can be used to execute the content of the method in Embodiment 1 of the present application.
  • the content of the method in Embodiment 1 of the present application please refer to the content of the method in Embodiment 1 of the present application.
  • the present application also provides an electronic device 300
  • the electronic device 300 can be any smart terminal, for example, can be a computer, a mobile phone, a tablet computer, an interactive tablet, etc.
  • the electronic device can include: at least one The processor 310 , at least one memory 320 , at least one display 330 , at least one network interface 340 , user interface 350 , at least one communication bus 360 , and at least one camera assembly 370 .
  • the display 330 includes a display layer and a touch layer, the display layer is used to display data processed by the processor; the touch layer may include: a capacitive screen, an electromagnetic screen or an infrared screen, etc. Generally speaking , the touch layer can receive a touch operation or a writing operation input by a user through a finger or an input device.
  • the user interface 350 is mainly used to provide an input interface for the user, and obtain the data input by the user.
  • the user interface 350 may further include a standard wired interface and a wireless interface.
  • the network interface 340 may optionally include a standard wired interface and a wireless interface (eg, a WI-FI interface).
  • the communication bus 360 is used to realize the connection and communication between these components.
  • the processor 310 may include one or more processing cores.
  • the processor 310 uses various interfaces and lines to connect various parts of the entire electronic device 300, and executes by running or executing the instructions, programs, code sets or instruction sets stored in the memory 320, and calling the data stored in the memory 320.
  • the processor 310 may adopt at least one of digital signal processing (Digital Signal Processing, DSP), field-programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). implemented in a hardware form.
  • DSP Digital Signal Processing
  • FPGA Field-Programmable Gate Array
  • PLA programmable logic array
  • the processor 310 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU), a modem, and the like.
  • CPU Central Processing Unit
  • GPU Graphics Processing Unit
  • the CPU mainly handles the operating system, user interface and application programs, etc.
  • the GPU is used for rendering and drawing the content that needs to be displayed on the display layer
  • the modem is used for handling wireless communication. It can be understood that, the above-mentioned modem may not be integrated into the processor 310, but is implemented by a single chip.
  • the memory 320 may include random access memory (Random Access Memory, RAM), or may include read-only memory (Read-Only Memory).
  • the memory 320 includes a non-transitory computer-readable storage medium.
  • Memory 320 may be used to store instructions, programs, codes, sets of codes, or sets of instructions.
  • the memory 320 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), Instructions and the like used to implement the above method embodiments; the storage data area may store the data and the like involved in the above method embodiments.
  • the memory 320 may optionally also be at least one storage device located remote from the aforementioned processor 310 . As shown in FIG. 4 , the memory 320 as a computer storage medium may include an operating system, a network communication module, and a user.
  • the electronic device 300 is installed with a host program, and the host program is used to provide a running environment for the target applet; the processor 310 can be used to call the application program of the control method of the LED display device stored in the memory 320, And perform the following operations: scan the applet code displayed by the LED display device through the host program to obtain the first information, the second information and the third information; wherein, the first information is used to point to the location where the LED display device is located the wireless local area network, the second information is the IP address of the LED display device in the wireless local area network, and the third information is used to instruct the LED display device to be controlled by the target applet; First information and the second information, establish a communication channel with the LED display device; run the target applet in the host program according to the third information; receive the control triggered by the target applet operation, and transmit the control signal corresponding to the control operation to the LED display device through the communication channel.
  • the host program scans the applet code displayed by the LED display device to obtain the first information, the second information and the third information, wherein the first information is used to point to the wireless local area network where the LED display device is located network, the second information is the IP address of the LED display device in the wireless local area network, and then establishes a communication channel with the LED display device according to the first information and the second information;
  • the target applet is run in the host program, so that the control operation is triggered in the target applet, and the control of the LED display device can be realized.
  • the communication channel of the device is based on the wireless local area network.
  • the application uses a small program for control, and does not need to install special application software, which saves the time for installing the application software and reduces the memory of the electronic device; and the application can automatically scan the small program code.
  • the wireless local area network is connected, the communication channel with the LED display device is automatically established and the applet is run, so that the applet can be controlled directly, the operation is simple and convenient, and the user experience is improved.
  • the LED display device itself may provide a WIFI hotspot for the electronic device to access, therefore, the first information may be the WIFI link information transmitted by the LED display device, so that the After the electronic device is connected to the WIFI hotspot corresponding to the WIFI link information, the electronic device and the LED display device are in the same wireless local area network, thereby realizing that the electronic device and the LED display device are in the same wireless local area network. For example, the electronic device transmits a control signal to the LED display device.
  • the first information is the WIFI link information corresponding to the first WIFI signal.
  • the LED display device transmits multiple WIFI signals, for example, a first WIFI signal and a second WIFI signal are transmitted, and the first WIFI signal is used to provide non-control signal transmission as other
  • the first WIFI signal is used to provide non-control signal transmission as other
  • the second WIFI signal is used to provide control signal transmission
  • the first information is the WIFI link information corresponding to the second WIFI signal, thereby realizing the security and unique control of the LED display device.
  • the LED display device not only needs to provide a second WIFI signal for the connection and access control of the electronic device controlling the LED display device, so as to realize the screen sharing control of the data data of the LED display device, and at the same time , it is also necessary to provide the first WIFI signal for the participants to connect and interact with each other.
  • the WIFI link information corresponding to the special second WIFI signal is used to generate the applet code.
  • the first information is WIFI link information of an external network connected to the LED display device.
  • the WIFI link information of the external network connected to the LED display device can be used as the first information.
  • the applet code is a dynamic code generated after the LED display device acquires the first information, the second information, and the third information in response to a trigger generation operation of the applet code.
  • the wireless local area network where the LED display device is located may change, for example, the WIFI hotspot emitted by the LED display device occurs. change or the external network to which the LED display device is connected changes, etc., and then the first information will also change; and the second information is the IP address of the LED display device in the wireless local area network, If the wireless local area network where the LED display device is located changes, the corresponding IP address will also change. Therefore, in order to achieve effective control of the LED display device, the small program code displayed each time is The dynamic code regenerated after the LED display device acquires the first information, the second information and the third information.
  • the WIFI link information includes a WIFI name and a corresponding WIFI password, and the WIFI name and the corresponding WIFI password are used to identify the network where the LED display device is located and access the network.
  • the processor 310 may be configured to call the application program of the control method of the LED display device stored in the memory 320, and execute, according to the first information and the second information, to establish and
  • the operation of the communication channel of the LED display device includes performing the following operations: searching and obtaining the WIFI wireless local area network corresponding to the WIFI name according to the WIFI name; filling in the corresponding WIFI for the WIFI wireless local area network password to connect to the WIFI wireless local area network; access the IP address through the WIFI wireless local area network to establish a communication channel with the LED display device.
  • the electronic device can be automatically connected to the wireless local area network of the LED display device, and then according to the IP address of the LED display device , and automatically establish a communication channel with the LED display device.
  • control signal corresponding to the control operation includes a control instruction and user identification information
  • the processor 310 may be further configured to call the application program of the control method of the LED display device stored in the memory 320 , and perform the following operations: when the user identification information is found in the authorized user identification information stored in the LED display device, feedback the result information of executing the control instruction; the authorized user identification stored in the LED display device When the user identification information is not found in the information, the information without permission control is fed back, so that only authorized users can control the LED display device.
  • the present application also provides a computer-readable storage medium, on which a computer program is stored, the instructions are suitable for being loaded by a processor and executing the method steps of the above-mentioned Embodiment 1, and the execution process can refer to the method shown in the first embodiment. The description is not repeated here.
  • the device where the storage medium is located may be an electronic device such as a personal computer, a notebook computer, a smart phone, and a tablet computer.
  • the device embodiments since they basically correspond to the method embodiments, reference may be made to the partial descriptions of the method embodiments for related parts.
  • the device embodiments described above are schematic, wherein the components described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in a local, or it can be distributed over multiple network elements. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of the present application. Those of ordinary skill in the art can understand and implement it without creative effort.
  • the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
  • computer-usable storage media including, but not limited to, disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions
  • An apparatus implements the functions selected in one or more of the flowcharts and/or one or more blocks of the block diagrams.
  • These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions selected in the flow or blocks of the flowcharts and/or the blocks or blocks of the block diagrams.
  • a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • processors CPUs
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • Memory may include non-persistent memory in computer readable media, random access memory (RAM) and/or non-volatile memory in the form of, for example, read only memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
  • RAM random access memory
  • ROM read only memory
  • flash RAM flash memory
  • Computer-readable media includes both persistent and non-permanent, removable and non-removable media, and storage of information may be implemented by any method or technology.
  • Information may be computer readable instructions, data structures, modules of programs, or other data.
  • Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Flash Memory or other memory technology, Compact Disc Read Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed by a computing device.
  • computer-readable media does not include transitory computer-readable media, such as modulated data signals and carrier waves.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

Provided in the embodiments of the present application are a control method and apparatus for an LED display device, a storage medium, and an electronic device, the method comprising: by means of a host program, scanning applet code displayed by an LED display device to acquire first information, second information, and third information; on the basis of the first information and the second information, establishing a communication channel with the LED display device; on the basis of the third information, running a target applet in the host program; receiving a control operation triggered in the target applet, and transmitting a control signal corresponding to the control operation to the LED display device by means of the communication channel. Restrictions on control distance and direction can be reduced and the problem of being unable to implement control when a remote controller is lost can be avoided without the need to install dedicated application software, saving the time of installing the application software, reducing the memory of the electronic device, having simple and convenient operation, and enhancing the user experience.

Description

LED显示设备的控制方法、装置、存储介质以及电子设备Control method, device, storage medium and electronic device for LED display device
本申请要求于2021年03月29日提交国家知识产权局、申请号为202110333086.X、发明名称为“LED显示设备的控制方法、装置、存储介质以及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application submitted to the State Intellectual Property Office on March 29, 2021, the application number is 202110333086.X, and the invention name is "control method, device, storage medium and electronic device for LED display equipment", The entire contents of which are incorporated herein by reference.
技术领域technical field
本申请实施例涉及LED显示设备领域,例如是涉及一种LED显示设备的控制方法、装置、存储介质以及电子设备。The embodiments of the present application relate to the field of LED display devices, for example, to a control method, device, storage medium, and electronic device for an LED display device.
背景技术Background technique
LED显示设备作为一种可显示文字、图像、动画等各种信息的显示屏幕,其具有屏幕亮度高、清晰度高、显示功能灵活多变以及屏体面积可任意组合的特点。As a display screen that can display various information such as text, images, animation, etc., LED display equipment has the characteristics of high screen brightness, high definition, flexible display functions and any combination of screen area.
一些技术中的LED显示设备可连接配套使用的红外或者蓝牙遥控器,通过红外或者蓝牙遥控器可实现对LED显示设备的控制。在实现本申请的过程中,发现一些技术中至少存在以下问题:对LED显示设备进行控制时,要有配套的遥控器,当遥控器丢失后就无法进行控制;而且通过遥控器进行控制时,控制的距离和方向都有一定的限制。The LED display device in some technologies can be connected to a matching infrared or Bluetooth remote control, and the LED display device can be controlled through the infrared or Bluetooth remote control. In the process of realizing this application, it is found that some technologies have at least the following problems: when controlling the LED display device, a matching remote control is required, and the control cannot be performed when the remote control is lost; and when the remote control is used for control, the There are certain restrictions on the distance and direction of the control.
发明内容SUMMARY OF THE INVENTION
为克服相关技术中存在的问题,本申请提供一种LED显示设备的控制方法、装置、存储介质以及电子设备,具有可降低控制距离和方向的限制,同时可以避免遥控器丢失无法控制的问题的优点。In order to overcome the problems existing in the related art, the present application provides a control method, device, storage medium and electronic device for an LED display device, which have the limitation of reducing the control distance and direction, and at the same time, can avoid the problem that the remote control is lost and cannot be controlled. advantage.
根据本申请实施例的第一方面,提供一种LED显示设备的控制方法,一种LED显示设备的控制方法,所述方法应用于电子设备,所述电子设备安装有宿主程序,所述宿主程序用于为小程序提供运行环境,所述方法包括:According to a first aspect of the embodiments of the present application, a method for controlling an LED display device and a method for controlling an LED display device are provided, the method is applied to an electronic device, and the electronic device is installed with a host program, and the host program For providing a running environment for the applet, the method includes:
通过所述宿主程序扫描LED显示设备显示的小程序码,获得第一信息、第二信息和第三信息;其中,所述第一信息用于指向所述LED显示设备所处的无线局域网络,所述第二信息为所述LED显示设备在所述无线局域网络中的IP地址,所述第三信息用于指示通过目标小程序控制所述LED显示设备;Scan the applet code displayed by the LED display device through the host program to obtain the first information, the second information and the third information; wherein, the first information is used to point to the wireless local area network where the LED display device is located, The second information is the IP address of the LED display device in the wireless local area network, and the third information is used to instruct the LED display device to be controlled through a target applet;
根据所述第一信息和所述第二信息,建立与所述LED显示设备的通信通道;establishing a communication channel with the LED display device according to the first information and the second information;
根据所述第三信息,在所述宿主程序中运行所述目标小程序;According to the third information, run the target applet in the host program;
接收在所述目标小程序触发的控制操作,将所述控制操作对应的控制信号通过所述通信通道传输至所述LED显示设备。A control operation triggered by the target applet is received, and a control signal corresponding to the control operation is transmitted to the LED display device through the communication channel.
根据本申请实施例的第二方面,提供一种LED显示设备的控制装置,应用于电子设备,所述电子设备安装有宿主程序,所述宿主程序用于为小程序提供运行环境,所述装置包括:According to a second aspect of the embodiments of the present application, a control device for an LED display device is provided, which is applied to an electronic device, where a host program is installed on the electronic device, and the host program is used to provide a running environment for the applet, and the device include:
信息获取模块,用于通过所述宿主程序扫描LED显示设备显示的小程序码,获得第一信息、第二信息和第三信息;其中,所述第一信息用于指向所述LED显示设备所处的无线局域网络,所述第二信息为所述LED显示设备在所述无线局域网络中的IP地址,所述第三信息用于指示通过目标小程序控制所述LED显示设备;An information acquisition module is used to scan the applet code displayed by the LED display device through the host program to obtain the first information, the second information and the third information; wherein, the first information is used to point to the location of the LED display device. The wireless local area network at the location, the second information is the IP address of the LED display device in the wireless local area network, and the third information is used to instruct the LED display device to be controlled by the target applet;
通信通道建立模块,用于根据所述第一信息和所述第二信息,建立与所述LED显示设备的通信通道;a communication channel establishment module, configured to establish a communication channel with the LED display device according to the first information and the second information;
目标小程序获取模块,用于根据所述第三信息,在所述宿主程序中运行所述目标小程序;a target applet acquisition module, configured to run the target applet in the host program according to the third information;
传输模块,用于接收在所述目标小程序触发的控制操作,将所述控制操作对应的控制信号通过所述通信通道传输至所述LED显示设备。A transmission module, configured to receive a control operation triggered by the target applet, and transmit a control signal corresponding to the control operation to the LED display device through the communication channel.
根据本申请实施例的第三方面,提供一种电子设备,包括处理器和存储器;所述存储器存储有计算机程序,所述计算机程序适于由所述处理器加载并执行如上述所述的LED显示设备的控制方法。According to a third aspect of the embodiments of the present application, there is provided an electronic device including a processor and a memory; the memory stores a computer program, and the computer program is adapted to be loaded by the processor and execute the LED as described above Displays the control method of the device.
根据本申请实施例的第四方面,提供一种计算机可读存储介质,其上储存有计算机程序,该计算机程序被处理器执行时实现如上述所述的LED显示设备的控制方法。According to a fourth aspect of the embodiments of the present application, there is provided a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the above-mentioned control method of an LED display device.
本申请实施例通过宿主程序扫描LED显示设备显示的小程序码,获得第一信息、第二信息和第三信息,其中,所述第一信息用于指向所述LED显示设备所处的无线局域网络,所述第二信息为所述LED显示设备在所述无线局域网络中的IP地址,进而根据所述第一信息和所述第二信息,建立与所述LED显示设备的通信通道;根据所述第三信息,在所述宿主程序中运行所述目标小程序,从而在所述目标小程序触发控制操作,即可实现对所述LED显示设备的控制,由于电子设备与所述LED显示设备的通信通道是基于无线局域网络的,因此,相比于采用遥控器控制的方式,可降低控制距离和方向的限制,同时可以避免遥控器丢失无法控制的问题。在一实施例中,本申请采用小程序进行控制的方式,不需要安装专门的应用软件,节省了安装应用软件的时间,减少了电子设备的内存;而且本申请通过扫描小程序码即可自动连接无线局域网络,自动建立与所述LED显示设备的通信通道并运行小程序,从而直接在小程序就可以进行控制,操作简单方便,提高了用户体验。In this embodiment of the present application, the host program scans the applet code displayed by the LED display device to obtain the first information, the second information and the third information, wherein the first information is used to point to the wireless local area network where the LED display device is located network, the second information is the IP address of the LED display device in the wireless local area network, and then establishes a communication channel with the LED display device according to the first information and the second information; For the third information, the target applet is run in the host program, so that the control operation is triggered in the target applet, and the control of the LED display device can be realized. The communication channel of the device is based on the wireless local area network. Therefore, compared with the remote control method, the control distance and direction restrictions can be reduced, and the problem of the remote control being lost and uncontrollable can be avoided. In one embodiment, the application uses a small program for control, and does not need to install special application software, which saves the time for installing the application software and reduces the memory of the electronic device; and the application can automatically scan the small program code. The wireless local area network is connected, the communication channel with the LED display device is automatically established and the applet is run, so that the applet can be controlled directly, the operation is simple and convenient, and the user experience is improved.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本申请。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not limiting of the present application.
为了更好地理解和实施,下面结合附图详细说明本申请。For better understanding and implementation, the present application is described in detail below with reference to the accompanying drawings.
附图说明Description of drawings
为了更清楚地说明本申请实施例或相关技术中的技术方案,下面将对实施例或相关技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present application or related technologies more clearly, the following briefly introduces the accompanying drawings that are used in the description of the embodiments or related technologies. Obviously, the drawings in the following description are the drawings of the present application For some embodiments of the present invention, for those of ordinary skill in the art, other drawings can also be obtained from these drawings without any creative effort.
图1为本申请一个实施例示出的LED显示设备的控制方法的应用环境的示意框图;1 is a schematic block diagram of an application environment of a method for controlling an LED display device according to an embodiment of the present application;
图2为本申请一个实施例示出的LED显示设备的控制方法的流程图;FIG. 2 is a flowchart of a control method of an LED display device according to an embodiment of the application;
图3为本申请一个实施例示出的LED显示设备的控制装置的示意框图;3 is a schematic block diagram of a control device of an LED display device according to an embodiment of the application;
图4为本申请一个实施例示出的电子设备的结构示意图。FIG. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
具体实施方式Detailed ways
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施例方式作详细描述。In order to make the objectives, technical solutions and advantages of the present application clearer, the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
应当明确,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其它实施例,都属于本申请保护的范围。It should be clear that the described embodiments are some, but not all, embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application, as recited in the appended claims.
在本申请的描述中,需要理解的是,术语“第一”、“第二”、“第三”等仅用于区别类似的对象,而不必用于描述特定的顺序或先后次序,也不能理解为指示或暗示相对重要性。对于本领域的普通技术人员而言,可以根据情况理解上述术语在本申请中的含义。在本申请和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。在此所使用的词语“如果”/“若”可以被解释成为“在……时”或“当……时”或“响应于确定”。此外,在本申请的描述中,除非另有说明,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。In the description of this application, it should be understood that the terms "first", "second", "third", etc. are only used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence, nor can understood as indicating or implying relative importance. For those of ordinary skill in the art, the meanings of the above terms in the present application can be understood according to the situation. As used in this application and the appended claims, the singular forms "a," "the," and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. The words "if"/"if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining". Also, in the description of the present application, unless otherwise specified, "a plurality" means two or more. "And/or", which describes the association relationship of the associated objects, means that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, A and B exist at the same time, and B exists alone. The character "/" generally indicates that the associated objects are an "or" relationship.
为了方便理解,下面对本申请实施例中涉及的名词进行解释说明。For the convenience of understanding, the terms involved in the embodiments of the present application are explained below.
小程序:一种基于编程语言开发完成、依赖于宿主程序运行的应用程序,即无需下载和安装就可以使用的云端APP,就可以在宿主程序中运行该小程序。Mini Program: An application developed based on a programming language and running on the host program, that is, a cloud APP that can be used without downloading and installing, and the applet can be run in the host program.
小程序码:为访问小程序页面时所使用的二维码,将小程序页面的访问地址进行编码,从而生成与该小程序页面对应的小程序码。Mini Program Code: For the QR code used when accessing the Mini Program page, the access address of the Mini Program page is encoded to generate the Mini Program Code corresponding to the Mini Program page.
宿主程序:在计算机环境下,软件(如本申请中的目标小程序)赖以生存的软件环境被称作是宿主环境,宿主环境就是运行环境(即宿主程序)。宿主环境(宿主程序)可以是操作系统,服务器程序,应用程序例如微信、支付宝和QQ等。Host program: In the computer environment, the software environment in which the software (such as the target applet in this application) lives is called the host environment, and the host environment is the running environment (ie, the host program). The host environment (host program) can be an operating system, a server program, and an application program such as WeChat, Alipay, and QQ.
请参阅图1,其是本申请一个实施例示出的LED显示设备的控制方法的应用环境的示意框图。如图1所示,所述LED显示设备的控制方法的应用环境包括LED显示设备1000、服务器2000和电子设备3000。Please refer to FIG. 1 , which is a schematic block diagram of an application environment of the control method for an LED display device according to an embodiment of the present application. As shown in FIG. 1 , the application environment of the control method of the LED display device includes the LED display device 1000 , the server 2000 and the electronic device 3000 .
所述LED显示设备1000可以为任何具有LED显示屏的电子设备,可以为LED一体机、LED工程屏等,例如大会议使用的LED显示屏以及舞台使用的LED显示屏等。所述LED显示设备1000内可安装有小程序码生成软件,该小程序码生成软件根据用户输入的第一信息、第二信息和第三信息,或者根据设置的第一信息、第二信息和第三信息的获取途径获取到对应的信息后,生成小程序码1100,并在所述LED显示设备显示该小程序码1100;其中,所述第一信息用于指向所述LED显示设备所处的无线局域网络,所述第二信息为所述LED显示设备在所述无线局域网络中的IP地址,所述第三信息用于指示通过目标小程序通过目标小程序控制所述LED显示设备。The LED display device 1000 can be any electronic device with an LED display screen, and can be an LED all-in-one machine, an LED engineering screen, etc., such as an LED display screen used in a large conference and an LED display screen used on a stage. The LED display device 1000 can be installed with a small program code generation software, the small program code generation software is based on the first information, second information and third information input by the user, or according to the set first information, second information and After obtaining the corresponding information, the third information acquisition method generates an applet code 1100, and displays the applet code 1100 on the LED display device; wherein the first information is used to point to the location where the LED display device is located. The second information is the IP address of the LED display device in the wireless local area network, and the third information is used to instruct the LED display device to be controlled by the target applet through the target applet.
所述服务器2000可以是一台服务器、若干台服务器组成的服务器集群、虚拟云存储或云计算中心中的任意一种,所述服务器2000用于为所述LED显示设备1000和电子设备3000提供后台服务,其中,所述服务器2000能够实现为所述电子设备3000提供向所述LED显示设备1000传输控制信号的后台服务,以及能够实现为所述LED显示设备1000提供生成小程序码的后台服务。此外,所述服务器2000还可具有数据存储能力,如存储有与目标小程序控制LED显示设备等等的相关信息。可以理解的是,所述服务器2000可以为所述LED显示设备1000本身。The server 2000 can be any one of a server, a server cluster composed of several servers, a virtual cloud storage or a cloud computing center, and the server 2000 is used to provide a background for the LED display device 1000 and the electronic device 3000 The server 2000 can provide the electronic device 3000 with a background service of transmitting control signals to the LED display device 1000, and can provide the LED display device 1000 with a background service of generating applet codes. In addition, the server 2000 may also have data storage capability, such as storing relevant information related to the target applet controlling the LED display device and the like. It can be understood that the server 2000 may be the LED display device 1000 itself.
所述电子设备3000可以为任何智能终端,例如,可以为计算机、手机、平板电脑、电子设备等;在本申请实施例中,所述电子设备3000为手机移动终端为例进行示意,但并不对此构成限定。所述电子设备3000具有摄像功能且安装有宿主程序3100,该宿主程序3100能够为目标小程序提供运行环境,且该宿主程序3100可以具有扫描小程序码以及解析小程序码的功能。例如,在所述电子设备3000内安装有支付宝、微信和QQ等宿主程序;在所述电子设备内安装有扫描小程序码的摄像组件,该宿主程序提供调用摄像组件的接口,如在宿主程序中提供有扫码控件3110,通过触发该扫码控件3110调用摄像组件扫描小程序码1100。当所述电子设备3000通过宿主程序扫描小程序码后,在所述宿主程序中运行所述目标小程序 3200;根据第一信息和第二信息,建立与所述LED显示设备1000的通信通道;接收在所述目标小程序3200的触发控制操作,通过所述通信通道传输控制所述LED显示设备1000。The electronic device 3000 can be any smart terminal, for example, can be a computer, a mobile phone, a tablet computer, an electronic device, etc.; This constitutes a limitation. The electronic device 3000 has a camera function and a host program 3100 is installed. The host program 3100 can provide an operating environment for the target applet, and the host program 3100 can have the functions of scanning the applet code and parsing the applet code. For example, host programs such as Alipay, WeChat and QQ are installed in the electronic device 3000; a camera component for scanning the applet code is installed in the electronic device, and the host program provides an interface for calling the camera component, such as in the host program A scan code control 3110 is provided in the APP. By triggering the scan code control 3110, the camera component is called to scan the applet code 1100. After the electronic device 3000 scans the applet code through the host program, the target applet 3200 is run in the host program; according to the first information and the second information, a communication channel with the LED display device 1000 is established; Receive the trigger control operation in the target applet 3200, and transmit and control the LED display device 1000 through the communication channel.
示例性的,所述电子设备3000通过宿主程序3100扫描小程序码1100后,从该小程序码解析可获得第一信息、第二信息和第三信息;其中,所述第三信息包括有目标小程序的页面地址,所述电子设备3000通过访问所述页面地址进入目标小程序3200的页面。所述目标小程序3200页面显示有控制控件3210;所述控制控件至少包括开关控制控件、色温控制控件、亮度控制控件、传屏控制控件中的一种或者多种,所述目标小程序通过检测在所述小程序页面的控制控件的触发操作如点击控制控件,生成对应的控制信号,并通过与所述LED显示设备之间的通信通道传输至LED显示设备,使所述LED显示设备根据所述控制信号执行对应的动作,进而实现对所述LED显示设备的控制如控制LED显示设备的开关、亮度、色温、传屏等LED显示设备提供的功能。Exemplarily, after the electronic device 3000 scans the applet code 1100 through the host program 3100, the first information, the second information and the third information can be obtained from the parsing of the applet code; wherein the third information includes a target The page address of the applet, the electronic device 3000 enters the page of the target applet 3200 by accessing the page address. The target applet 3200 page displays control controls 3210; the control controls include at least one or more of switch control controls, color temperature control controls, brightness control controls, and screen sharing control controls, and the target applet passes the detection The triggering operation of the control controls on the applet page, such as clicking on the control controls, generates corresponding control signals, and transmits them to the LED display device through the communication channel with the LED display device, so that the LED display device can be The control signal executes the corresponding action, thereby realizing the control of the LED display device, such as controlling the switch, brightness, color temperature, screen transmission, and other functions provided by the LED display device.
实施例1Example 1
本申请实施例公开的LED显示设备的控制方法,应用于电子设备,下面以所述电子设备为电子设备进行说明。The control method of the LED display device disclosed in the embodiment of the present application is applied to an electronic device, and the electronic device is used as an electronic device for description below.
请参阅图2,本申请实施例提供的LED显示设备的控制方法,应用于电子设备,所述电子设备安装有宿主程序,所述宿主程序用于为目标小程序提供运行环境,所述方法包括:Referring to FIG. 2 , the control method for an LED display device provided by an embodiment of the present application is applied to an electronic device, where a host program is installed on the electronic device, and the host program is used to provide an operating environment for a target applet, and the method includes: :
步骤S110:通过所述宿主程序扫描LED显示设备显示的小程序码,获得第一信息、第二信息和第三信息;其中,所述第一信息用于指向所述LED显示设备所处的无线局域网络,所述第二信息为所述LED显示设备在所述无线局域网络中的IP地址,所述第三信息用于指示通过目标小程序控制所述LED显示设备。Step S110: Scan the applet code displayed by the LED display device through the host program to obtain the first information, the second information and the third information; wherein the first information is used to point to the wireless device where the LED display device is located. Local area network, the second information is the IP address of the LED display device in the wireless local area network, and the third information is used to instruct the LED display device to be controlled through a target applet.
示例性实施例中,在所述电子设备通过宿主程序扫描小程序码的过程中,该宿主程序调用所述电子设备的摄像组件对所述LED显示设备所显示的小程序进行扫描。In an exemplary embodiment, during the process that the electronic device scans the applet code through the host program, the host program invokes the camera component of the electronic device to scan the applet displayed by the LED display device.
由于宿主程序是目标小程序所依赖的运行环境,因此,在一种可能的实施方式中,小程序码的解析规则是目标小程序与宿主程序预先设定好的。示例性实施例中,通过所述宿主程序对所述小程序码进行解析后可获得控制相关的信息,如第一信息、第二信息和第三信息。Since the host program is the running environment on which the target applet depends, in a possible implementation manner, the parsing rules of the applet code are preset by the target applet and the host program. In an exemplary embodiment, after the applet code is parsed by the host program, control-related information, such as first information, second information, and third information, can be obtained.
步骤S120:根据所述第一信息和所述第二信息,建立与所述LED显示设备的通信通道。Step S120: Establish a communication channel with the LED display device according to the first information and the second information.
示例性的,基于所述第一信息用于指向所述LED显示设备所处的无线局域网络,所述第二信息为所述LED显示设备在所述无线局域网络中的IP地址,因此根据所述第一信息可使所述电子设备接入所述LED显示设备所处的局域网络,根据所述第二信息,可获取所述LED显示设备在所述无线局域网络中的IP地址,进而建立与所述LED显示设备的通信通道。Exemplarily, the first information is used to point to the wireless local area network where the LED display device is located, and the second information is the IP address of the LED display device in the wireless local area network. The first information can enable the electronic device to access the local area network where the LED display device is located, and according to the second information, the IP address of the LED display device in the wireless local area network can be obtained, and then establish Communication channel with the LED display device.
步骤S130:根据所述第三信息,在所述宿主程序中运行所述目标小程序。Step S130: Run the target applet in the host program according to the third information.
示例性的,所述第三信息包括有目标小程序的页面地址,所述电子设备通过宿主程序访问所述页面地址进入目标小程序的页面,进而运行所述目标小程序。Exemplarily, the third information includes a page address of the target applet, and the electronic device accesses the page address through the host program to enter the page of the target applet, and then runs the target applet.
示例性的,宿主程序中包括Native API(本地接口),通过Native API可以与目标小程序进行通信,通过Native API也可以与宿主程序的后台服务器的开放接口进行通信;目标小程序中包括逻辑层模块(UI:webview)和渲染层模块(Logic:javascript),逻辑层模块和渲染层模块可以进行通信;目标小程序的逻辑层模块也可以与宿主程序的Native API进行通信;第三方服务器也即图1所示的服务器2000与目标小程序可以通过Websocket协议、http协议、https协议进行通信;宿主程序的后台服务器,包括开放接口,通过开放接口可以与宿主程序进行通信,通过开放接口也可以与服务器进行通信。当宿主程序为微信应用程序时,则宿主程序的后台服务器为微信服务器。当第一次加载小程序时,通过宿主程序向宿主程序的后台服务器获取目标小程序的资源包,解析资源包从而创建获取目标小程序。Exemplarily, the host program includes a Native API (local interface), which can communicate with the target applet through the Native API, and can also communicate with the open interface of the background server of the host program through the Native API; the target applet includes a logic layer. The module (UI: webview) and the rendering layer module (Logic: javascript), the logic layer module and the rendering layer module can communicate; the logic layer module of the target applet can also communicate with the Native API of the host program; the third-party server is The server 2000 shown in FIG. 1 can communicate with the target applet through the Websocket protocol, the http protocol, and the https protocol; the background server of the host program includes an open interface, and can communicate with the host program through the open interface, and can also communicate with the host program through the open interface. server to communicate. When the host program is a WeChat application, the background server of the host program is a WeChat server. When the applet is loaded for the first time, the resource package of the target applet is obtained from the background server of the host program through the host program, and the resource package is parsed to create and obtain the target applet.
步骤S140:接收在所述目标小程序触发的控制操作,将所述控制操作对应的控制信号通过所述通信通道传输至所述LED显示设备。Step S140: Receive a control operation triggered by the target applet, and transmit a control signal corresponding to the control operation to the LED display device through the communication channel.
示例性的,所述目标小程序显示有控制控件;所述控制控件至少包括开关控制控件、色温控制控件、亮度控制控件、传屏控制控件中的一种或者多种,进而实现对所述LED显示设备的控制如控制LED显示设备的开关、亮度、色温、传屏等LED显示设备提供的功能。Exemplarily, the target applet is displayed with a control control; the control control includes at least one or more of a switch control control, a color temperature control control, a brightness control control, and a screen transfer control control, thereby realizing the control of the LED. The control of the display device, such as controlling the switch, brightness, color temperature, and screen transmission of the LED display device, provides functions provided by the LED display device.
本申请实施例通过宿主程序扫描LED显示设备显示的小程序码,获得第一信息、第二信息和第三信息,其中,所述第一信息用于指向所述LED显示设备所处的无线局域网络,所述第二信息为所述LED显示设备在所述无线局域网络中的IP地址,进而根据所述第一信息和所述第二信息,建立与所述LED显示设备的通信通道;根据所述第三信息,在所述宿主程序中运行所述目标小程序,从而在所述目标小程序触发控制操作,即可实现对所述LED显示设备的控制,由于电子设备与所述LED显示设备的通信通道是基于无线局域网络的,因此,相比于采用遥控器控制的方式,可降低控制距离和方向的限制,同时可以避免遥控器丢失无法控制的问题。在一实施例中,本申请采用小程序进行控制的方式,不需要安装专门的应用软件,节省了安装应用软件的时间,减少了电子设备的内存;而且本申请通过扫描小程序码即可自动连接无线局域网络,自动建立与所述LED显示设备的通信通道并运行小程序,从而直接在小程序就可以进行控制,操作简单方便,提高了用户体验。In this embodiment of the present application, the host program scans the applet code displayed by the LED display device to obtain the first information, the second information and the third information, wherein the first information is used to point to the wireless local area network where the LED display device is located network, the second information is the IP address of the LED display device in the wireless local area network, and then establishes a communication channel with the LED display device according to the first information and the second information; For the third information, the target applet is run in the host program, so that the control operation is triggered in the target applet, and the control of the LED display device can be realized. The communication channel of the device is based on the wireless local area network. Therefore, compared with the remote control method, the control distance and direction restrictions can be reduced, and the problem of the remote control being lost and uncontrollable can be avoided. In one embodiment, the application uses a small program for control, and does not need to install special application software, which saves the time for installing the application software and reduces the memory of the electronic device; and the application can automatically scan the small program code. The wireless local area network is connected, the communication channel with the LED display device is automatically established and the applet is run, so that the applet can be controlled directly, the operation is simple and convenient, and the user experience is improved.
在一个示例性实施例中,所述LED显示设备本身可提供WIFI热点,以供所述电子设备接入,因此,所述第一信息可为所述LED显示设备发射的WIFI链接信息,从而在所述电子设备接入所述WIFI链接信息对应的WIFI热点后,所述电子设备和所述LED显示设备处于同一无线局域网络,进而实现所述电子设备与所述LED显示设备在同一无线局域网络中进行通信交 互,如所述电子设备向所述LED显示设备传输控制信号。在一实施例中,为实现对所述LED显示设备的唯一控制,所述WIFI链接信息为根据所述LED显示设备的唯一标识确定的信息,例如,所述WIFI链接信息包括WIFI名称时,所述WIFI名称为所述LED显示设备的唯一标识。In an exemplary embodiment, the LED display device itself may provide a WIFI hotspot for the electronic device to access, therefore, the first information may be the WIFI link information transmitted by the LED display device, so that the After the electronic device is connected to the WIFI hotspot corresponding to the WIFI link information, the electronic device and the LED display device are in the same wireless local area network, thereby realizing that the electronic device and the LED display device are in the same wireless local area network. For example, the electronic device transmits a control signal to the LED display device. In one embodiment, in order to realize the unique control of the LED display device, the WIFI link information is information determined according to the unique identifier of the LED display device. For example, when the WIFI link information includes the WIFI name, all The WIFI name is the unique identification of the LED display device.
在上述实施例的基础上,若所述LED显示设备仅仅发射有第一WIFI信号时,所述第一信息为所述第一WIFI信号对应的WIFI链接信息。通过获取所述LED显示设备发射的唯一的第一WIFI信号对应的WIFI链接信息,从而实现对所述LED显示设备的唯一控制。On the basis of the above embodiment, if the LED display device only transmits the first WIFI signal, the first information is the WIFI link information corresponding to the first WIFI signal. By acquiring the WIFI link information corresponding to the unique first WIFI signal emitted by the LED display device, the unique control of the LED display device is realized.
在上述实施例的基础上,若所述LED显示设备发射有多个WIFI信号时如发射有第一WIFI信号和第二WIFI信号,且所述第一WIFI信号用于提供非控制信号传输如其他用户进行上网连接,所述第二WIFI信号用于提供控制信号传输时,所述第一信息为所述第二WIFI信号对应的WIFI链接信息,进而实现对所述LED显示设备的安全唯一控制。例如,在一个大型机密会议的应用场景中,所述LED显示设备不仅需要提供第二WIFI信号供控制LED显示设备的电子设备连接接入控制,实现对LED显示设备数据资料的传屏控制,同时,还需要提供第一WIFI信号供与会人员连接进行互动他用,此时为实现控制的唯一安全性,采用专门的第二WIFI信号对应的WIFI链接信息来生成小程序码。On the basis of the above embodiment, if the LED display device transmits multiple WIFI signals, for example, a first WIFI signal and a second WIFI signal are transmitted, and the first WIFI signal is used to provide non-control signal transmission as other When the user connects to the Internet, and the second WIFI signal is used to provide control signal transmission, the first information is the WIFI link information corresponding to the second WIFI signal, thereby realizing the security and unique control of the LED display device. For example, in the application scenario of a large-scale confidential conference, the LED display device not only needs to provide a second WIFI signal for the connection and access control of the electronic device controlling the LED display device, so as to realize the screen sharing control of the data data of the LED display device, and at the same time , it is also necessary to provide the first WIFI signal for the participants to connect and interact with each other. At this time, in order to realize the unique security of the control, the WIFI link information corresponding to the special second WIFI signal is used to generate the applet code.
在一个示例性实施例中,所述第一信息为所述LED显示设备连接的外网的WIFI链接信息。当所述LED显示设备连接了其他外网的WIFI时,为使所述电子设备与所述LED显示设备处于同一个局域网络,可以所述LED显示设备连接的外网的WIFI链接信息作为第一信息。In an exemplary embodiment, the first information is WIFI link information of an external network connected to the LED display device. When the LED display device is connected to the WIFI of other external networks, in order to keep the electronic device and the LED display device in the same local area network, the WIFI link information of the external network connected to the LED display device can be used as the first information.
在一个示例性实施例中,所述小程序码为所述LED显示设备响应于小程序码的触发生成操作,获取所述第一信息、第二信息和第三信息后生成的动态码。可以理解的,由于所述第一信息指向所述LED显示设备所处的无线局域网络,而所述LED显示设备所处的无线局域网络可能发生改变,如所述LED显示设备发射的WIFI热点发生改变或者所述LED显示设备连接的外网发生改变等,进而所述第一信息也将发生改变;并且,所述第二信息为所述LED显示设备在所述无线局域网络中的IP地址,而所述LED显示设备所处的无线局域网络发生改变,其对应的IP地址也会发生改变,因此,为实现对所述LED显示设备的有效控制,防止出现扫码不能控制所述LED显示设备或者扫码控制的不是想控制的所述LED显示设备的问题,每次显示的所述小程序码均为所述LED显示设备获取所述第一信息、第二信息和第三信息后,重新生成的动态码。In an exemplary embodiment, the applet code is a dynamic code generated after the LED display device acquires the first information, the second information, and the third information in response to a trigger generation operation of the applet code. It can be understood that since the first information points to the wireless local area network where the LED display device is located, the wireless local area network where the LED display device is located may change, for example, the WIFI hotspot emitted by the LED display device occurs. change or the external network to which the LED display device is connected changes, etc., and then the first information will also change; and the second information is the IP address of the LED display device in the wireless local area network, And if the wireless local area network where the LED display device is located changes, the corresponding IP address will also change. Therefore, in order to achieve effective control of the LED display device, to prevent the occurrence of scan code unable to control the LED display device Or scanning the code is not the problem of the LED display device that you want to control, and the small program code displayed each time is the LED display device after obtaining the first information, the second information and the third information, and then restarting. Generated dynamic code.
在一个示例性实施例中,所述WIFI链接信息包括WIFI名称以及对应的WIFI密码,通过所述WIFI名称以及对应的WIFI密码,以识别所述LED显示设备所在的网络并接入该网络。In an exemplary embodiment, the WIFI link information includes a WIFI name and a corresponding WIFI password, and the WIFI name and the corresponding WIFI password are used to identify the network where the LED display device is located and access the network.
在上述实施例的基础上,步骤S120中所述根据所述第一信息和所述第二信息,建立与所述LED显示设备的通信通道,包括:On the basis of the above embodiment, in step S120, establishing a communication channel with the LED display device according to the first information and the second information includes:
步骤S121:根据所述WIFI名称,搜索获得所述WIFI名称对应的WIFI无线局域网络。Step S121: Search and obtain a WIFI wireless local area network corresponding to the WIFI name according to the WIFI name.
步骤S122:对所述WIFI无线局域网络填入对应的所述WIFI密码,连接所述WIFI无线局域网络。Step S122: Fill in the corresponding WIFI password for the WIFI wireless local area network, and connect to the WIFI wireless local area network.
步骤S123:通过所述WIFI无线局域网络访问所述IP地址,建立与所述LED显示设备的通信通道。Step S123: Access the IP address through the WIFI wireless local area network to establish a communication channel with the LED display device.
本申请实施例通过所述第一信息中的WIFI名称以及对应的WIFI密码,可使所述电子设备自动连接所述LED显示设备所述的无线局域网络,进而根据所述LED显示设备的IP地址,自动建立与所述LED显示设备的通信通道。In this embodiment of the present application, through the WIFI name and the corresponding WIFI password in the first information, the electronic device can be automatically connected to the wireless local area network of the LED display device, and then according to the IP address of the LED display device , and automatically establish a communication channel with the LED display device.
在一个示例性实施例中,为实现有权限的用户才能对所述LED显示设备进行控制,所述控制操作对应的控制信号包括控制指令以及用户标识信息,所述接收在所述目标小程序触发的控制操作,将所述控制操作对应的控制信号通过所述通信通道传输至所述LED显示设备之后,包括:在所述LED显示设备存储的权限用户标识信息中查找到有所述用户标识信息时,反馈执行所述控制指令的结果信息;在所述LED显示设备存储的权限用户标识信息中未查找到有所述用户标识信息时,反馈没有权限控制的信息。In an exemplary embodiment, in order to realize that only authorized users can control the LED display device, the control signal corresponding to the control operation includes a control instruction and user identification information, and the receiving is triggered by the target applet. After transmitting the control signal corresponding to the control operation to the LED display device through the communication channel, including: finding the user identification information in the authorized user identification information stored in the LED display device When the control instruction is executed, the result information of executing the control instruction is fed back; when the user identification information is not found in the authorized user identification information stored by the LED display device, the information that there is no authority control is fed back.
实施例2Example 2
下述为本申请装置实施例,可以用于执行本申请实施例1中方法的内容。对于本申请装置实施例中未披露的细节,请参照本申请实施例1中方法的内容。The following is an apparatus embodiment of the present application, which can be used to execute the content of the method in Embodiment 1 of the present application. For details not disclosed in the device embodiments of the present application, please refer to the content of the method in Embodiment 1 of the present application.
请参阅图3,本申请实施例公开的一种LED显示设备的控制装置200,应用于电子设备,所述电子设备安装有宿主程序,所述宿主程序用于为目标小程序提供运行环境,所述装置包括:Referring to FIG. 3 , a control device 200 for an LED display device disclosed in an embodiment of the present application is applied to an electronic device. The electronic device is installed with a host program, and the host program is used to provide an operating environment for the target applet. The device includes:
信息获取模块210,用于通过所述宿主程序扫描LED显示设备显示的小程序码,获得第一信息、第二信息和第三信息;其中,所述第一信息用于指向所述LED显示设备所处的无线局域网络,所述第二信息为所述LED显示设备在所述无线局域网络中的IP地址,所述第三信息用于指示通过目标小程序控制所述LED显示设备;The information acquisition module 210 is used to scan the applet code displayed by the LED display device through the host program to obtain the first information, the second information and the third information; wherein the first information is used to point to the LED display device the wireless local area network where it is located, the second information is the IP address of the LED display device in the wireless local area network, and the third information is used to instruct the LED display device to be controlled by the target applet;
通信通道建立模块220,用于根据所述第一信息和所述第二信息,建立与所述LED显示设备的通信通道;a communication channel establishment module 220, configured to establish a communication channel with the LED display device according to the first information and the second information;
目标小程序获取模块230,用于根据所述第三信息,在所述宿主程序中运行所述目标小程序;a target applet acquiring module 230, configured to run the target applet in the host program according to the third information;
传输模块240,用于接收在所述目标小程序触发的控制操作,将所述控制操作对应的控制信号通过所述通信通道传输至所述LED显示设备。The transmission module 240 is configured to receive the control operation triggered by the target applet, and transmit the control signal corresponding to the control operation to the LED display device through the communication channel.
本申请实施例通过宿主程序扫描LED显示设备显示的小程序码,获得第一信息、第二信 息和第三信息,其中,所述第一信息用于指向所述LED显示设备所处的无线局域网络,所述第二信息为所述LED显示设备在所述无线局域网络中的IP地址,进而根据所述第一信息和所述第二信息,建立与所述LED显示设备的通信通道;根据所述第三信息,在所述宿主程序中运行所述目标小程序,从而在所述目标小程序触发控制操作,即可实现对所述LED显示设备的控制,由于电子设备与所述LED显示设备的通信通道是基于无线局域网络的,因此,相比于采用遥控器控制的方式,可降低控制距离和方向的限制,同时可以避免遥控器丢失无法控制的问题。在一实施例中,本申请采用小程序进行控制的方式,不需要安装专门的应用软件,节省了安装应用软件的时间,减少了电子设备的内存;而且本申请通过扫描小程序码即可自动连接无线局域网络,自动建立与所述LED显示设备的通信通道并运行小程序,从而直接在小程序就可以进行控制,操作简单方便,提高了用户体验。In this embodiment of the present application, the host program scans the applet code displayed by the LED display device to obtain the first information, the second information and the third information, wherein the first information is used to point to the wireless local area network where the LED display device is located network, the second information is the IP address of the LED display device in the wireless local area network, and then establishes a communication channel with the LED display device according to the first information and the second information; For the third information, the target applet is run in the host program, so that the control operation is triggered in the target applet, and the control of the LED display device can be realized. The communication channel of the device is based on the wireless local area network. Therefore, compared with the remote control method, the control distance and direction restrictions can be reduced, and the problem of the remote control being lost and uncontrollable can be avoided. In one embodiment, the application uses a small program for control, and does not need to install special application software, which saves the time for installing the application software and reduces the memory of the electronic device; and the application can automatically scan the small program code. The wireless local area network is connected, the communication channel with the LED display device is automatically established and the applet is run, so that the applet can be controlled directly, the operation is simple and convenient, and the user experience is improved.
在一个示例性实施例中,所述LED显示设备本身可提供WIFI热点,以供所述电子设备接入,因此,所述第一信息可为所述LED显示设备发射的WIFI链接信息,从而在所述电子设备接入所述WIFI链接信息对应的WIFI热点后,所述电子设备和所述LED显示设备处于同一无线局域网络,进而实现所述电子设备与所述LED显示设备在同一无线局域网络中进行通信交互,如所述电子设备向所述LED显示设备传输控制信号。In an exemplary embodiment, the LED display device itself may provide a WIFI hotspot for the electronic device to access, therefore, the first information may be the WIFI link information transmitted by the LED display device, so that the After the electronic device is connected to the WIFI hotspot corresponding to the WIFI link information, the electronic device and the LED display device are in the same wireless local area network, thereby realizing that the electronic device and the LED display device are in the same wireless local area network. For example, the electronic device transmits a control signal to the LED display device.
在上述实施例的基础上,若所述LED显示设备仅仅发射有第一WIFI信号时,所述第一信息为所述第一WIFI信号对应的WIFI链接信息。通过获取所述LED显示设备发射的唯一的第一WIFI信号对应的WIFI链接信息,从而实现对所述LED显示设备的唯一控制。On the basis of the above embodiment, if the LED display device only transmits the first WIFI signal, the first information is the WIFI link information corresponding to the first WIFI signal. By acquiring the WIFI link information corresponding to the unique first WIFI signal emitted by the LED display device, the unique control of the LED display device is realized.
在上述实施例的基础上,若所述LED显示设备发射有多个WIFI信号时如发射有第一WIFI信号和第二WIFI信号,且所述第一WIFI信号用于提供非控制信号传输如其他用户进行上网连接,所述第二WIFI信号用于提供控制信号传输时,所述第一信息为所述第二WIFI信号对应的WIFI链接信息,进而实现对所述LED显示设备的安全唯一控制。例如,在一个大型机密会议的应用场景中,所述LED显示设备不仅需要提供第二WIFI信号供控制LED显示设备的电子设备连接接入控制,实现对LED显示设备数据资料的传屏控制,同时,还需要提供第一WIFI信号供与会人员连接进行互动他用,此时为实现控制的唯一安全性,采用专门的第二WIFI信号对应的WIFI链接信息来生成小程序码。On the basis of the above embodiment, if the LED display device transmits multiple WIFI signals, for example, a first WIFI signal and a second WIFI signal are transmitted, and the first WIFI signal is used to provide non-control signal transmission as other When the user connects to the Internet, and the second WIFI signal is used to provide control signal transmission, the first information is the WIFI link information corresponding to the second WIFI signal, thereby realizing the security and unique control of the LED display device. For example, in the application scenario of a large-scale confidential conference, the LED display device not only needs to provide a second WIFI signal for the connection and access control of the electronic device controlling the LED display device, so as to realize the screen sharing control of the data data of the LED display device, and at the same time , it is also necessary to provide the first WIFI signal for the participants to connect and interact with each other. At this time, in order to realize the unique security of the control, the WIFI link information corresponding to the special second WIFI signal is used to generate the applet code.
在一个示例性实施例中,所述第一信息为所述LED显示设备连接的外网的WIFI链接信息。当所述LED显示设备连接了其他外网的WIFI时,为使所述电子设备与所述LED显示设备处于同一个局域网络,可以所述LED显示设备连接的外网的WIFI链接信息作为第一信息。In an exemplary embodiment, the first information is WIFI link information of an external network connected to the LED display device. When the LED display device is connected to the WIFI of other external networks, in order to keep the electronic device and the LED display device in the same local area network, the WIFI link information of the external network connected to the LED display device can be used as the first information.
在一个示例性实施例中,所述小程序码为所述LED显示设备响应于小程序码的触发生成操作,获取所述第一信息、第二信息和第三信息后生成的动态码。可以理解的,由于所述第 一信息指向所述LED显示设备所处的无线局域网络,而所述LED显示设备所处的无线局域网络可能发生改变,如所述LED显示设备发射的WIFI热点发生改变或者所述LED显示设备连接的外网发生改变等,进而所述第一信息也将发生改变;并且,所述第二信息为所述LED显示设备在所述无线局域网络中的IP地址,而所述LED显示设备所处的无线局域网络发生改变,其对应的IP地址也会发生改变,因此,为实现对所述LED显示设备的有效控制,每次显示的所述小程序码均为所述LED显示设备获取所述第一信息、第二信息和第三信息后,重新生成的动态码。In an exemplary embodiment, the applet code is a dynamic code generated after the LED display device acquires the first information, the second information, and the third information in response to a trigger generation operation of the applet code. It can be understood that since the first information points to the wireless local area network where the LED display device is located, the wireless local area network where the LED display device is located may change, for example, the WIFI hotspot emitted by the LED display device occurs. change or the external network to which the LED display device is connected changes, etc., and then the first information will also change; and the second information is the IP address of the LED display device in the wireless local area network, If the wireless local area network where the LED display device is located changes, the corresponding IP address will also change. Therefore, in order to achieve effective control of the LED display device, the small program code displayed each time is The dynamic code regenerated after the LED display device acquires the first information, the second information and the third information.
在一个示例性实施例中,所述WIFI链接信息包括WIFI名称以及对应的WIFI密码,通过所述WIFI名称以及对应的WIFI密码,以识别所述LED显示设备所在的网络并接入该网络。In an exemplary embodiment, the WIFI link information includes a WIFI name and a corresponding WIFI password, and the WIFI name and the corresponding WIFI password are used to identify the network where the LED display device is located and access the network.
在一个示例性实施例中,所述通信通道建立模块220包括:In an exemplary embodiment, the communication channel establishment module 220 includes:
搜索模块,用于根据所述WIFI名称,搜索获得所述WIFI名称对应的WIFI无线局域网络。The search module is used for searching and obtaining the WIFI wireless local area network corresponding to the WIFI name according to the WIFI name.
网络连接模块,用于对所述WIFI无线局域网络填入对应的所述WIFI密码,连接所述WIFI无线局域网络。The network connection module is used to fill in the corresponding WIFI password for the WIFI wireless local area network, and connect the WIFI wireless local area network.
通信通道建立模块,用于通过所述WIFI无线局域网络访问所述IP地址,建立与所述LED显示设备的通信通道。A communication channel establishment module is used to access the IP address through the WIFI wireless local area network to establish a communication channel with the LED display device.
本申请实施例通过所述第一信息中的WIFI名称以及对应的WIFI密码,可使所述电子设备自动连接所述LED显示设备所述的无线局域网络,进而根据所述LED显示设备的IP地址,自动建立与所述LED显示设备的通信通道。In this embodiment of the present application, through the WIFI name and the corresponding WIFI password in the first information, the electronic device can be automatically connected to the wireless local area network of the LED display device, and then according to the IP address of the LED display device , and automatically establish a communication channel with the LED display device.
在一个示例性实施例中,所述控制操作对应的控制信号包括控制指令以及用户标识信息,所述装置还包括反馈模块;所述反馈模块用于在所述LED显示设备存储的权限用户标识信息中查找到有所述用户标识信息时,反馈执行所述控制指令的结果信息;在所述LED显示设备存储的权限用户标识信息中未查找到有所述用户标识信息时,反馈没有权限控制的信息,以实现有权限的用户才能对所述LED显示设备进行控制。In an exemplary embodiment, the control signal corresponding to the control operation includes a control instruction and user identification information, and the apparatus further includes a feedback module; the feedback module is used for the permission user identification information stored in the LED display device When the user identification information is found in the LED display device, the result information of executing the control instruction is fed back; when the user identification information is not found in the authorized user identification information stored in the LED display device, it is fed back that there is no authority control. information, so that only authorized users can control the LED display device.
实施例3Example 3
下述为本申请设备实施例,可以用于执行本申请实施例1中方法的内容。对于本申请装置实施例中未披露的细节,请参照本申请实施例1中方法的内容。The following is a device embodiment of the present application, which can be used to execute the content of the method in Embodiment 1 of the present application. For details not disclosed in the device embodiments of the present application, please refer to the content of the method in Embodiment 1 of the present application.
请参阅图4,本申请还提供一种电子设备300,所述电子设备300可以为任何智能终端,例如,可以为计算机、手机、平板电脑、交互平板等,所述电子设备可以包括:至少一个处理器310、至少一个存储器320,至少一个显示器330,至少一个网络接口340,用户接口350、至少一个通信总线360以及至少一个摄像组件370。Referring to FIG. 4, the present application also provides an electronic device 300, the electronic device 300 can be any smart terminal, for example, can be a computer, a mobile phone, a tablet computer, an interactive tablet, etc. The electronic device can include: at least one The processor 310 , at least one memory 320 , at least one display 330 , at least one network interface 340 , user interface 350 , at least one communication bus 360 , and at least one camera assembly 370 .
其中,所述显示器330包括显示层和触控层,所述显示层用于显示经过处理器处理后的 数据;所述触控层可以包括:电容屏,电磁屏或红外屏等,一般而言,所述触控层可以接收用户通过手指或者输入设备输入的触摸操作或书写操作。The display 330 includes a display layer and a touch layer, the display layer is used to display data processed by the processor; the touch layer may include: a capacitive screen, an electromagnetic screen or an infrared screen, etc. Generally speaking , the touch layer can receive a touch operation or a writing operation input by a user through a finger or an input device.
其中,所述用户接口350主要用于为用户提供输入的接口,获取用户输入的数据。可选的,所述用户接口350还可以包括标准的有线接口、无线接口。Wherein, the user interface 350 is mainly used to provide an input interface for the user, and obtain the data input by the user. Optionally, the user interface 350 may further include a standard wired interface and a wireless interface.
其中,所述网络接口340可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。The network interface 340 may optionally include a standard wired interface and a wireless interface (eg, a WI-FI interface).
其中,所述通信总线360用于实现这些组件之间的连接通信。Wherein, the communication bus 360 is used to realize the connection and communication between these components.
其中,所述处理器310可以包括一个或者多个处理核心。处理器310利用各种接口和线路连接整个电子设备300内的各个部分,通过运行或执行存储在存储器320内的指令、程序、代码集或指令集,以及调用存储在存储器320内的数据,执行电子设备300的各种功能和处理数据。可选的,处理器310可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器310可集成中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示层所需要显示的内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器310中,单独通过一块芯片进行实现。The processor 310 may include one or more processing cores. The processor 310 uses various interfaces and lines to connect various parts of the entire electronic device 300, and executes by running or executing the instructions, programs, code sets or instruction sets stored in the memory 320, and calling the data stored in the memory 320. Various functions of the electronic device 300 and processing data. Optionally, the processor 310 may adopt at least one of digital signal processing (Digital Signal Processing, DSP), field-programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). implemented in a hardware form. The processor 310 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU), a modem, and the like. Among them, the CPU mainly handles the operating system, user interface and application programs, etc.; the GPU is used for rendering and drawing the content that needs to be displayed on the display layer; the modem is used for handling wireless communication. It can be understood that, the above-mentioned modem may not be integrated into the processor 310, but is implemented by a single chip.
其中,存储器320可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。可选的,该存储器320包括非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。存储器320可用于存储指令、程序、代码、代码集或指令集。存储器320可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现上述各个方法实施例的指令等;存储数据区可存储上面各个方法实施例中涉及到的数据等。存储器320可选的还可以是至少一个位于远离前述处理器310的存储装置。如图4所示,作为一种计算机存储介质的存储器320中可以包括操作系统、网络通信模块、用户。The memory 320 may include random access memory (Random Access Memory, RAM), or may include read-only memory (Read-Only Memory). Optionally, the memory 320 includes a non-transitory computer-readable storage medium. Memory 320 may be used to store instructions, programs, codes, sets of codes, or sets of instructions. The memory 320 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), Instructions and the like used to implement the above method embodiments; the storage data area may store the data and the like involved in the above method embodiments. The memory 320 may optionally also be at least one storage device located remote from the aforementioned processor 310 . As shown in FIG. 4 , the memory 320 as a computer storage medium may include an operating system, a network communication module, and a user.
所述电子设备300安装有宿主程序,所述宿主程序用于为目标小程序提供运行环境;所述处理器310可以用于调用所述存储器320中存储的LED显示设备的控制方法的应用程序,并执行以下操作:通过所述宿主程序扫描LED显示设备显示的小程序码,获得第一信息、第二信息和第三信息;其中,所述第一信息用于指向所述LED显示设备所处的无线局域网络,所述第二信息为所述LED显示设备在所述无线局域网络中的IP地址,所述第三信息用于指示通过目标小程序控制所述LED显示设备;根据所述第一信息和所述第二信息,建立与所述LED 显示设备的通信通道;根据所述第三信息,在所述宿主程序中运行所述目标小程序;接收在所述目标小程序触发的控制操作,将所述控制操作对应的控制信号通过所述通信通道传输至所述LED显示设备。The electronic device 300 is installed with a host program, and the host program is used to provide a running environment for the target applet; the processor 310 can be used to call the application program of the control method of the LED display device stored in the memory 320, And perform the following operations: scan the applet code displayed by the LED display device through the host program to obtain the first information, the second information and the third information; wherein, the first information is used to point to the location where the LED display device is located the wireless local area network, the second information is the IP address of the LED display device in the wireless local area network, and the third information is used to instruct the LED display device to be controlled by the target applet; First information and the second information, establish a communication channel with the LED display device; run the target applet in the host program according to the third information; receive the control triggered by the target applet operation, and transmit the control signal corresponding to the control operation to the LED display device through the communication channel.
本申请实施例通过宿主程序扫描LED显示设备显示的小程序码,获得第一信息、第二信息和第三信息,其中,所述第一信息用于指向所述LED显示设备所处的无线局域网络,所述第二信息为所述LED显示设备在所述无线局域网络中的IP地址,进而根据所述第一信息和所述第二信息,建立与所述LED显示设备的通信通道;根据所述第三信息,在所述宿主程序中运行所述目标小程序,从而在所述目标小程序触发控制操作,即可实现对所述LED显示设备的控制,由于电子设备与所述LED显示设备的通信通道是基于无线局域网络的,因此,相比于采用遥控器控制的方式,可降低控制距离和方向的限制,同时可以避免遥控器丢失无法控制的问题。在一实施例中,本申请采用小程序进行控制的方式,不需要安装专门的应用软件,节省了安装应用软件的时间,减少了电子设备的内存;而且本申请通过扫描小程序码即可自动连接无线局域网络,自动建立与所述LED显示设备的通信通道并运行小程序,从而直接在小程序就可以进行控制,操作简单方便,提高了用户体验。In this embodiment of the present application, the host program scans the applet code displayed by the LED display device to obtain the first information, the second information and the third information, wherein the first information is used to point to the wireless local area network where the LED display device is located network, the second information is the IP address of the LED display device in the wireless local area network, and then establishes a communication channel with the LED display device according to the first information and the second information; For the third information, the target applet is run in the host program, so that the control operation is triggered in the target applet, and the control of the LED display device can be realized. The communication channel of the device is based on the wireless local area network. Therefore, compared with the remote control method, the control distance and direction restrictions can be reduced, and the problem of the remote control being lost and uncontrollable can be avoided. In one embodiment, the application uses a small program for control, and does not need to install special application software, which saves the time for installing the application software and reduces the memory of the electronic device; and the application can automatically scan the small program code. The wireless local area network is connected, the communication channel with the LED display device is automatically established and the applet is run, so that the applet can be controlled directly, the operation is simple and convenient, and the user experience is improved.
在一个示例性实施例中,所述LED显示设备本身可提供WIFI热点,以供所述电子设备接入,因此,所述第一信息可为所述LED显示设备发射的WIFI链接信息,从而在所述电子设备接入所述WIFI链接信息对应的WIFI热点后,所述电子设备和所述LED显示设备处于同一无线局域网络,进而实现所述电子设备与所述LED显示设备在同一无线局域网络中进行通信交互,如所述电子设备向所述LED显示设备传输控制信号。In an exemplary embodiment, the LED display device itself may provide a WIFI hotspot for the electronic device to access, therefore, the first information may be the WIFI link information transmitted by the LED display device, so that the After the electronic device is connected to the WIFI hotspot corresponding to the WIFI link information, the electronic device and the LED display device are in the same wireless local area network, thereby realizing that the electronic device and the LED display device are in the same wireless local area network. For example, the electronic device transmits a control signal to the LED display device.
在上述实施例的基础上,若所述LED显示设备仅仅发射有第一WIFI信号时,所述第一信息为所述第一WIFI信号对应的WIFI链接信息。通过获取所述LED显示设备发射的唯一的第一WIFI信号对应的WIFI链接信息,从而实现对所述LED显示设备的唯一控制。On the basis of the above embodiment, if the LED display device only transmits the first WIFI signal, the first information is the WIFI link information corresponding to the first WIFI signal. By acquiring the WIFI link information corresponding to the unique first WIFI signal emitted by the LED display device, the unique control of the LED display device is realized.
在上述实施例的基础上,若所述LED显示设备发射有多个WIFI信号时如发射有第一WIFI信号和第二WIFI信号,且所述第一WIFI信号用于提供非控制信号传输如其他用户进行上网连接,所述第二WIFI信号用于提供控制信号传输时,所述第一信息为所述第二WIFI信号对应的WIFI链接信息,进而实现对所述LED显示设备的安全唯一控制。例如,在一个大型机密会议的应用场景中,所述LED显示设备不仅需要提供第二WIFI信号供控制LED显示设备的电子设备连接接入控制,实现对LED显示设备数据资料的传屏控制,同时,还需要提供第一WIFI信号供与会人员连接进行互动他用,此时为实现控制的唯一安全性,采用专门的第二WIFI信号对应的WIFI链接信息来生成小程序码。On the basis of the above embodiment, if the LED display device transmits multiple WIFI signals, for example, a first WIFI signal and a second WIFI signal are transmitted, and the first WIFI signal is used to provide non-control signal transmission as other When the user connects to the Internet, and the second WIFI signal is used to provide control signal transmission, the first information is the WIFI link information corresponding to the second WIFI signal, thereby realizing the security and unique control of the LED display device. For example, in the application scenario of a large-scale confidential conference, the LED display device not only needs to provide a second WIFI signal for the connection and access control of the electronic device controlling the LED display device, so as to realize the screen sharing control of the data data of the LED display device, and at the same time , it is also necessary to provide the first WIFI signal for the participants to connect and interact with each other. At this time, in order to realize the unique security of the control, the WIFI link information corresponding to the special second WIFI signal is used to generate the applet code.
在一个示例性实施例中,所述第一信息为所述LED显示设备连接的外网的WIFI链接信息。 当所述LED显示设备连接了其他外网的WIFI时,为使所述电子设备与所述LED显示设备处于同一个局域网络,可以所述LED显示设备连接的外网的WIFI链接信息作为第一信息。In an exemplary embodiment, the first information is WIFI link information of an external network connected to the LED display device. When the LED display device is connected to the WIFI of other external networks, in order to keep the electronic device and the LED display device in the same local area network, the WIFI link information of the external network connected to the LED display device can be used as the first information.
在一个示例性实施例中,所述小程序码为所述LED显示设备响应于小程序码的触发生成操作,获取所述第一信息、第二信息和第三信息后生成的动态码。可以理解的,由于所述第一信息指向所述LED显示设备所处的无线局域网络,而所述LED显示设备所处的无线局域网络可能发生改变,如所述LED显示设备发射的WIFI热点发生改变或者所述LED显示设备连接的外网发生改变等,进而所述第一信息也将发生改变;并且,所述第二信息为所述LED显示设备在所述无线局域网络中的IP地址,而所述LED显示设备所处的无线局域网络发生改变,其对应的IP地址也会发生改变,因此,为实现对所述LED显示设备的有效控制,每次显示的所述小程序码均为所述LED显示设备获取所述第一信息、第二信息和第三信息后,重新生成的动态码。In an exemplary embodiment, the applet code is a dynamic code generated after the LED display device acquires the first information, the second information, and the third information in response to a trigger generation operation of the applet code. It can be understood that since the first information points to the wireless local area network where the LED display device is located, the wireless local area network where the LED display device is located may change, for example, the WIFI hotspot emitted by the LED display device occurs. change or the external network to which the LED display device is connected changes, etc., and then the first information will also change; and the second information is the IP address of the LED display device in the wireless local area network, If the wireless local area network where the LED display device is located changes, the corresponding IP address will also change. Therefore, in order to achieve effective control of the LED display device, the small program code displayed each time is The dynamic code regenerated after the LED display device acquires the first information, the second information and the third information.
在一个示例性实施例中,所述WIFI链接信息包括WIFI名称以及对应的WIFI密码,通过所述WIFI名称以及对应的WIFI密码,以识别所述LED显示设备所在的网络并接入该网络。In an exemplary embodiment, the WIFI link information includes a WIFI name and a corresponding WIFI password, and the WIFI name and the corresponding WIFI password are used to identify the network where the LED display device is located and access the network.
在一个示例性实施例中,所述处理器310可以用于调用所述存储器320中存储的LED显示设备的控制方法的应用程序,执行根据所述第一信息和所述第二信息,建立与所述LED显示设备的通信通道的操作时,包括执行以下操作:根据所述WIFI名称,搜索获得所述WIFI名称对应的WIFI无线局域网络;对所述WIFI无线局域网络填入对应的所述WIFI密码,连接所述WIFI无线局域网络;通过所述WIFI无线局域网络访问所述IP地址,建立与所述LED显示设备的通信通道。本申请实施例通过所述第一信息中的WIFI名称以及对应的WIFI密码,可使所述电子设备自动连接所述LED显示设备所述的无线局域网络,进而根据所述LED显示设备的IP地址,自动建立与所述LED显示设备的通信通道。In an exemplary embodiment, the processor 310 may be configured to call the application program of the control method of the LED display device stored in the memory 320, and execute, according to the first information and the second information, to establish and The operation of the communication channel of the LED display device includes performing the following operations: searching and obtaining the WIFI wireless local area network corresponding to the WIFI name according to the WIFI name; filling in the corresponding WIFI for the WIFI wireless local area network password to connect to the WIFI wireless local area network; access the IP address through the WIFI wireless local area network to establish a communication channel with the LED display device. In this embodiment of the present application, through the WIFI name and the corresponding WIFI password in the first information, the electronic device can be automatically connected to the wireless local area network of the LED display device, and then according to the IP address of the LED display device , and automatically establish a communication channel with the LED display device.
在一个示例性实施例中,所述控制操作对应的控制信号包括控制指令以及用户标识信息,所述处理器310还可以用于调用所述存储器320中存储的LED显示设备的控制方法的应用程序,并执行以下操作:在所述LED显示设备存储的权限用户标识信息中查找到有所述用户标识信息时,反馈执行所述控制指令的结果信息;在所述LED显示设备存储的权限用户标识信息中未查找到有所述用户标识信息时,反馈没有权限控制的信息,以实现有权限的用户才能对所述LED显示设备进行控制。In an exemplary embodiment, the control signal corresponding to the control operation includes a control instruction and user identification information, and the processor 310 may be further configured to call the application program of the control method of the LED display device stored in the memory 320 , and perform the following operations: when the user identification information is found in the authorized user identification information stored in the LED display device, feedback the result information of executing the control instruction; the authorized user identification stored in the LED display device When the user identification information is not found in the information, the information without permission control is fed back, so that only authorized users can control the LED display device.
实施例4Example 4
本申请还提供一种计算机可读存储介质,其上储存有计算机程序,所述指令适于由处理器加载并执行上述所示实施例1的方法步骤,执行过程可以参见实施例1所示的说明,在此不进行赘述。所述存储介质所在设备可以是个人计算机、笔记本电脑、智能手机、平板电脑 等电子设备。The present application also provides a computer-readable storage medium, on which a computer program is stored, the instructions are suitable for being loaded by a processor and executing the method steps of the above-mentioned Embodiment 1, and the execution process can refer to the method shown in the first embodiment. The description is not repeated here. The device where the storage medium is located may be an electronic device such as a personal computer, a notebook computer, a smart phone, and a tablet computer.
对于设备实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可。以上所描述的设备实施例是示意性的,其中所述作为分离部件说明的组件可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本申请方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。For the device embodiments, since they basically correspond to the method embodiments, reference may be made to the partial descriptions of the method embodiments for related parts. The device embodiments described above are schematic, wherein the components described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in a local, or it can be distributed over multiple network elements. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of the present application. Those of ordinary skill in the art can understand and implement it without creative effort.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by those skilled in the art, the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中选定的功能的装置。这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中选定的功能。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions selected in one or more of the flowcharts and/or one or more blocks of the block diagrams. These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions An apparatus implements the functions selected in one or more of the flowcharts and/or one or more blocks of the block diagrams.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中选定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions selected in the flow or blocks of the flowcharts and/or the blocks or blocks of the block diagrams.
在一个配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In one configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
存储器可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。存储器是计算机可读介质的示例。Memory may include non-persistent memory in computer readable media, random access memory (RAM) and/or non-volatile memory in the form of, for example, read only memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机 存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media includes both persistent and non-permanent, removable and non-removable media, and storage of information may be implemented by any method or technology. Information may be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Flash Memory or other memory technology, Compact Disc Read Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media, such as modulated data signals and carrier waves.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device comprising a series of elements includes not only those elements, but also Other elements not expressly listed, or which are inherent to such a process, method, article of manufacture, or apparatus are also included. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in the process, method, article of manufacture or apparatus that includes the element.
以上仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。The above are merely examples of the present application, and are not intended to limit the present application. Various modifications and variations of this application are possible for those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application shall be included within the scope of the claims of this application.

Claims (10)

  1. 一种LED显示设备的控制方法,其中,所述方法应用于电子设备,所述电子设备安装有宿主程序,所述宿主程序用于为目标小程序提供运行环境,所述方法包括:A control method of an LED display device, wherein the method is applied to an electronic device, and the electronic device is installed with a host program, and the host program is used to provide an operating environment for a target applet, and the method includes:
    通过所述宿主程序扫描LED显示设备显示的小程序码,获得第一信息、第二信息和第三信息;其中,所述第一信息用于指向所述LED显示设备所处的无线局域网络,所述第二信息为所述LED显示设备在所述无线局域网络中的IP地址,所述第三信息用于指示通过所述目标小程序控制所述LED显示设备;Scan the applet code displayed by the LED display device through the host program to obtain the first information, the second information and the third information; wherein, the first information is used to point to the wireless local area network where the LED display device is located, The second information is the IP address of the LED display device in the wireless local area network, and the third information is used to instruct the LED display device to be controlled by the target applet;
    根据所述第一信息和所述第二信息,建立与所述LED显示设备的通信通道;establishing a communication channel with the LED display device according to the first information and the second information;
    根据所述第三信息,在所述宿主程序中运行所述目标小程序;According to the third information, run the target applet in the host program;
    接收在所述目标小程序触发的控制操作,将所述控制操作对应的控制信号通过所述通信通道传输至所述LED显示设备。A control operation triggered by the target applet is received, and a control signal corresponding to the control operation is transmitted to the LED display device through the communication channel.
  2. 根据权利要求1所述的LED显示设备的控制方法,其中,The control method of the LED display device according to claim 1, wherein,
    所述第一信息为所述LED显示设备发射的WIFI链接信息。The first information is WIFI link information transmitted by the LED display device.
  3. 根据权利要求2所述的LED显示设备的控制方法,其中,The control method of the LED display device according to claim 2, wherein,
    在所述LED显示设备仅仅发射有第一WIFI信号时,所述第一信息为所述第一WIFI信号对应的WIFI链接信息;When the LED display device only transmits the first WIFI signal, the first information is the WIFI link information corresponding to the first WIFI signal;
    在所述LED显示设备发射有第一WIFI信号和第二WIFI信号,且所述第一WIFI信号用于提供非控制信号传输,所述第二WIFI信号用于提供控制信号传输时,所述第一信息为所述第二WIFI信号对应的WIFI链接信息。When the LED display device transmits a first WIFI signal and a second WIFI signal, and the first WIFI signal is used to provide non-control signal transmission, and the second WIFI signal is used to provide control signal transmission, the first WIFI signal is used to provide non-control signal transmission. One piece of information is WIFI link information corresponding to the second WIFI signal.
  4. 根据权利要求1所述的LED显示设备的控制方法,其中,The control method of the LED display device according to claim 1, wherein,
    所述第一信息为所述LED显示设备连接的外网的WIFI链接信息。The first information is WIFI link information of the external network connected to the LED display device.
  5. 根据权利要求1所述的LED显示设备的控制方法,其中,The control method of the LED display device according to claim 1, wherein,
    所述小程序码为所述LED显示设备响应于小程序码的触发生成操作,获取所述第一信息、第二信息和第三信息后生成的动态码。The small program code is a dynamic code generated after the LED display device acquires the first information, the second information and the third information in response to a trigger generation operation of the small program code.
  6. 根据权利要求1至5中任一项权利要求所述的LED显示设备的控制方法,其中,The control method of an LED display device according to any one of claims 1 to 5, wherein,
    所述WIFI链接信息包括WIFI名称以及对应的WIFI密码;The WIFI link information includes a WIFI name and a corresponding WIFI password;
    所述根据所述第一信息和所述第二信息,建立与所述LED显示设备的通信通道,包括:The establishing a communication channel with the LED display device according to the first information and the second information includes:
    根据所述WIFI名称,搜索获得所述WIFI名称对应的WIFI无线局域网络;According to the WIFI name, search to obtain the WIFI wireless local area network corresponding to the WIFI name;
    对所述WIFI无线局域网络填入对应的所述WIFI密码,连接所述WIFI无线局域网络;Fill in the corresponding WIFI password for the WIFI wireless local area network, and connect to the WIFI wireless local area network;
    通过所述WIFI无线局域网络访问所述IP地址,建立与所述LED显示设备的通信通道。Access the IP address through the WIFI wireless local area network to establish a communication channel with the LED display device.
  7. 根据权利要求6所述的LED显示设备的控制方法,其中,The control method of the LED display device according to claim 6, wherein,
    所述第三信息包括目标小程序的页面地址;The third information includes the page address of the target applet;
    所述根据所述第三信息,在所述宿主程序中运行所述目标小程序,包括:The running the target applet in the host program according to the third information includes:
    通过所述宿主程序访问所述页面地址进入目标小程序的页面;其中,所述目标小程序的页面显示有控制控件;所述控制控件至少包括开关控制控件、色温控制控件、亮度控制控件、传屏控制控件中的一种或者多种。Access the page address through the host program to enter the page of the target applet; wherein, the page of the target applet displays control controls; the control controls at least include switch control controls, color temperature control controls, brightness control controls, transmission One or more of the screen control controls.
  8. 一种LED显示设备的控制装置,其中,应用于电子设备,所述电子设备安装有宿主程序,所述宿主程序用于为小程序提供运行环境,所述装置包括:A control device for an LED display device, which is applied to an electronic device, wherein the electronic device is installed with a host program, and the host program is used to provide a running environment for a small program, and the device includes:
    信息获取模块,用于通过所述宿主程序扫描LED显示设备显示的小程序码,获得第一信息、第二信息和第三信息;其中,所述第一信息用于指向所述LED显示设备所处的无线局域网络,所述第二信息为所述LED显示设备在所述无线局域网络中的IP地址,所述第三信息用于指示通过目标小程序控制所述LED显示设备;An information acquisition module is used to scan the applet code displayed by the LED display device through the host program to obtain the first information, the second information and the third information; wherein, the first information is used to point to the location of the LED display device. The wireless local area network at the location, the second information is the IP address of the LED display device in the wireless local area network, and the third information is used to instruct the LED display device to be controlled by the target applet;
    通信通道建立模块,用于根据所述第一信息和所述第二信息,建立与所述LED显示设备的通信通道;a communication channel establishment module, configured to establish a communication channel with the LED display device according to the first information and the second information;
    目标小程序获取模块,用于根据所述第三信息,在所述宿主程序中运行所述目标小程序;a target applet acquisition module, configured to run the target applet in the host program according to the third information;
    传输模块,用于接收在所述目标小程序触发的控制操作,将所述控制操作对应的控制信号通过所述通信通道传输至所述LED显示设备。A transmission module, configured to receive a control operation triggered by the target applet, and transmit a control signal corresponding to the control operation to the LED display device through the communication channel.
  9. 一种电子设备,包括处理器和存储器;其中,所述存储器存储有计算机程序,所述计算机程序适于由所述处理器加载并执行如权利要求1至7中任意一项所述的LED显示设备的控制方法。An electronic device comprising a processor and a memory; wherein the memory stores a computer program, the computer program is adapted to be loaded by the processor and execute the LED display according to any one of claims 1 to 7 Device control method.
  10. 一种计算机可读存储介质,其上储存有计算机程序,其中,该计算机程序被处理器执行时实现如权利要求1至7中任意一项所述的LED显示设备的控制方法。A computer-readable storage medium on which a computer program is stored, wherein when the computer program is executed by a processor, the control method of the LED display device according to any one of claims 1 to 7 is implemented.
PCT/CN2022/083085 2021-03-29 2022-03-25 Control method and apparatus for led display device, storage medium, and electronic device WO2022206606A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110333086.X 2021-03-29
CN202110333086.XA CN115129284A (en) 2021-03-29 2021-03-29 Control method and device of LED display equipment, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
WO2022206606A1 true WO2022206606A1 (en) 2022-10-06

Family

ID=83375302

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/083085 WO2022206606A1 (en) 2021-03-29 2022-03-25 Control method and apparatus for led display device, storage medium, and electronic device

Country Status (2)

Country Link
CN (1) CN115129284A (en)
WO (1) WO2022206606A1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110099461A (en) * 2019-05-08 2019-08-06 腾讯科技(深圳)有限公司 Communication means, device, system, electronic equipment and storage medium between terminal
CN110248228A (en) * 2019-05-28 2019-09-17 深圳市金锐显数码科技有限公司 A kind of method and terminal based on small routine control smart machine
CN111125601A (en) * 2019-12-24 2020-05-08 腾讯科技(深圳)有限公司 File transmission method, device, terminal, server and storage medium
CN111212327A (en) * 2020-01-08 2020-05-29 腾讯科技(深圳)有限公司 Control method and device of playing equipment and storage medium
US20200236194A1 (en) * 2019-01-18 2020-07-23 Samsung Electronics Co., Ltd. Working environment provisioning method and apparatus for execution of application program between electronic device and external server
CN112203301A (en) * 2020-09-29 2021-01-08 厦门盈趣科技股份有限公司 Network configuration method, system, device and storage medium of projection equipment
CN112399263A (en) * 2019-08-18 2021-02-23 聚好看科技股份有限公司 Interaction method, display device and mobile terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200236194A1 (en) * 2019-01-18 2020-07-23 Samsung Electronics Co., Ltd. Working environment provisioning method and apparatus for execution of application program between electronic device and external server
CN110099461A (en) * 2019-05-08 2019-08-06 腾讯科技(深圳)有限公司 Communication means, device, system, electronic equipment and storage medium between terminal
CN110248228A (en) * 2019-05-28 2019-09-17 深圳市金锐显数码科技有限公司 A kind of method and terminal based on small routine control smart machine
CN112399263A (en) * 2019-08-18 2021-02-23 聚好看科技股份有限公司 Interaction method, display device and mobile terminal
CN111125601A (en) * 2019-12-24 2020-05-08 腾讯科技(深圳)有限公司 File transmission method, device, terminal, server and storage medium
CN111212327A (en) * 2020-01-08 2020-05-29 腾讯科技(深圳)有限公司 Control method and device of playing equipment and storage medium
CN112203301A (en) * 2020-09-29 2021-01-08 厦门盈趣科技股份有限公司 Network configuration method, system, device and storage medium of projection equipment

Also Published As

Publication number Publication date
CN115129284A (en) 2022-09-30

Similar Documents

Publication Publication Date Title
EP2997466B1 (en) Context aware virtual desktop
KR102107708B1 (en) Automatic application updates
US10579442B2 (en) Inversion-of-control component service models for virtual environments
WO2015135382A1 (en) Method and apparatus for connecting peripheral devices
US10637804B2 (en) User terminal apparatus, communication system, and method of controlling user terminal apparatus which support a messenger service with additional functionality
KR102121358B1 (en) Data transmission method and device
KR101837678B1 (en) Computing apparatus based on trusted execution environment
WO2018103405A1 (en) Method for identifying access point and hotspot, and related product
US20140201619A1 (en) Method And Device For Implementing Local Operation On Web Page
WO2020211501A1 (en) Data sharing method and device, and computer readable medium
WO2022062869A1 (en) Data processing method, apparatus, computer device, and storage medium
WO2016150191A1 (en) Data sharing method and device
CN113778593B (en) Cloud desktop control method and device, electronic equipment, storage medium and program product
WO2023241613A1 (en) Call establishment method, device and system, terminal, and readable storage medium
US11928383B2 (en) Screen projection control method, storage medium and communication apparatus
WO2022206606A1 (en) Control method and apparatus for led display device, storage medium, and electronic device
WO2023024800A1 (en) Web-based interaction method and system for multiple terminal devices, and terminal device
US10360172B1 (en) Decoupled peripheral devices
WO2020187008A1 (en) Service invocation control method, service invocation method, device, and terminal
CN113660290A (en) Signaling transmission method, device, equipment and storage medium
WO2019127475A1 (en) Method and apparatus for implementing virtual sim card, storage medium, and electronic device
US20230034475A1 (en) System service sharing between endpoint devices for increased endpoint device capability
KR101679696B1 (en) Device Control Method and System with Push Message
KR20190071530A (en) Server and method for controlling packet transmission
US20240171627A1 (en) Systems and methods for communicating between a mobile device and a smart television

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22778788

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22778788

Country of ref document: EP

Kind code of ref document: A1