A method for editing and outputting data
By combining control parameters into queue structure blocks in the lamp control interface and outputting control instructions, the data error problem caused by confusion of lighting attributes in the lamp control program is solved, and more accurate and stable lighting control is achieved.
Patent Information
- Application Number
- CN202210655408.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-10
- Publication Date
- 2025-08-19
- Estimated Expiration
- 2042-06-10
AI Technical Summary
When editing the lamp control program, due to the different lighting attributes and the number of attributes, the different lighting attributes of multiple lamps are easily confused, resulting in data output errors.
By displaying the control module in the user operation interface, receiving user touch operations, combining control parameters into queue structure blocks, and integrating them into queue data in horizontal or vertical order, wireless communication is used to output control instructions to the load lamp.
It prevents data output errors caused by confusing different lighting parameters of multiple lamps, simplifies the editing process of lamp control parameters, and improves the accuracy and stability of data output.
Smart Images

Figure CN115052402B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of lighting control, and in particular to a method for data editing and outputting. Background Art
[0002] At present, with the continuous improvement of people's material and cultural life as well as electronic science and technology, people have higher and higher requirements for the ornamental quality of home lamps or stage lighting. Usually, the number of lamps is increased and the lighting effect is improved by switching between multiple lamps.
[0003] Since the control method for switching between multiple lamps is relatively complex and requires controlling multiple lighting properties of the lamps, such as lighting duration, light brightness, light flicker frequency and light color, users generally use the method of corresponding control parameters to lighting properties. After editing the control parameters through the program, they are summarized into control instructions for output. After encoding and decoding, the output electrical signals are sent to the load lamps, thereby controlling the lighting properties of multiple lamps.
[0004] However, during the program editing process, due to the differences in the light properties and number of light properties of the lamps, it is easy to confuse the different light properties of multiple lamps when editing the control program of the lamps, thereby causing incorrect data output. Summary of the Invention
[0005] In order to overcome the technical defect in the above-mentioned prior art that different light attributes of multiple lamps are easily confused and errors may occur when editing the control program of the lamps due to the differences in the light attributes and the number of light attributes of the lamps, the present invention provides a method for data editing and output.
[0006] In order to solve the above problems, the present invention is implemented according to the following technical solutions:
[0007] In a first aspect, the present invention discloses a method for editing and outputting data, comprising the following steps:
[0008] Step S1: In the user operation interface of the application software, a plurality of control parameters are aggregated into a control module.
[0009] Among them, the control module is provided with a plurality of different parameter graphics, and the parameter graphics correspond to the control parameters one by one; in response to the user's touch operation, a data selection box pops up on the operation interface to set the data of the control parameters.
[0010] Step S2: receiving a user's touch operation on the control module.
[0011] Step S3: In response to the touch operation, the control modules are combined into a queue-type structure block, and the queue-type structure block is divided into a plurality of horizontal structure blocks or a plurality of vertical structure blocks.
[0012] Among them, the control modules are divided into different types according to the number or attributes of the control parameters; the horizontal structure block is a combination block of multiple control modules connected end to end, and the vertical structure block is a combination block of multiple control modules of the same type connected up and down.
[0013] Step S4: Integrate the control parameters of the control modules into queue data according to the horizontal order or vertical order of the queue-type structural blocks.
[0014] Among them, a run button is displayed in the user operation interface of the software; in response to the user's touch operation on the run button, the control data of the queue-type structure block is read and integrated, and the control data is output according to the operation logic set according to the priority.
[0015] Specifically, when the priority setting operation logic includes vertical operation logic, the queue-type structure block is divided into several horizontal structure blocks. After the control information contained in any control module of the same horizontal structure block is completed after the load lamp operates, if the next horizontal structure block contains the same load lamp corresponding to the output interface of the control module in the same horizontal structure block, the same load lamp stops executing the control information contained in the control module corresponding to the same load lamp in the same horizontal structure block, and executes the control information contained in the next horizontal structure block; if the next horizontal structure block contains other load lamps whose control module in the same horizontal structure block does not correspond to the output interface, the other load lamps start to execute the control information contained in the control module corresponding to other load lamps in the next horizontal structure block.
[0016] Specifically, when the priority setting operation logic includes horizontal operation logic, the queue-type structure block is divided into several horizontal structure blocks, and the control information contained in the control module in the horizontal structure block is read, and the control information includes the lamp number, and the lamp number corresponds one-to-one to the load lamp of the output interface; by identifying the lamp number, the control module containing the same lamp number in the same horizontal structure block is filtered.
[0017] A loop button is displayed in the user operation interface of the software; in response to the user's touch operation on the loop button, the queue data is converted into a control instruction, and the control instruction is output to the load lamp and then run again.
[0018] Among them, a sharing button is displayed in the user operation interface of the software; in response to the user's touch operation on the loop button, the queue data is generated into a QR code, barcode or link using computer image processing technology and combined coding principles, and uploaded to the cloud server for storage.
[0019] Step S5: converting the queue data into control instructions, and outputting the control instructions to the load lamp.
[0020] The control instruction is output to the load lamp via wireless communication, and the wireless communication is one of infrared transmission, Bluetooth connection, WIFI connection, ZigBee connection, RFID connection, GPRS 2.4G, GPRS 4G and GPRS 5G connection communication.
[0021] Specifically, the wireless communication is Bluetooth communication, the load lamp is provided with an integrated control block, the integrated control block is provided with a Bluetooth chip, and the Bluetooth chip is used to receive control instructions via Bluetooth communication and output electrical signals to a control interface.
[0022] Compared with the prior art, the present invention has the following beneficial effects:
[0023] The present invention aggregates the control parameters of the lamps onto a control module, combines the control modules into a queue-type structure block, sequentially reads the control parameters on the queue-type structure block in a horizontal or vertical order and integrates them into queue data, thereby converting the queue data into control instructions, making it convenient for users to edit the control parameters of the lamps; sequentially reading the control parameters on the queue-type structure block in a horizontal or vertical order and integrating them into queue data can prevent data output errors caused by confusing different lighting parameters of multiple lamps. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] The specific embodiments of the present invention will be further described in detail below with reference to the accompanying drawings, wherein:
[0025] Figure 1 This is a flow diagram of an embodiment of the method for data editing and outputting of the present invention. Figure 1 ;
[0026] Figure 2 This is a flow diagram of an embodiment of the method for data editing and outputting of the present invention. Figure 2 ;
[0027] Figure 3 This is an interface diagram of an embodiment of the data editing and output method of the present invention. Figure 3 ;
[0028] Figure 4 This is an interface diagram of an embodiment of the data editing and output method of the present invention. Figure 4 . DETAILED DESCRIPTION
[0029] The preferred embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although preferred embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided to make the present disclosure more thorough and complete, and to fully convey the scope of the present disclosure to those skilled in the art.
[0030] As used herein, the term "including" and its variations represent open inclusion, i.e., "including but not limited to." Unless otherwise stated, the term "or" means "and / or." The term "based on" means "based at least in part on." The terms "an example embodiment" and "an embodiment" mean "at least one example embodiment." The term "another embodiment" means "at least one additional embodiment." The terms "first," "second," etc. may refer to different or the same objects. Other explicit and implicit definitions may also be included below.
[0031] The access device and the server can be connected directly or indirectly via wired or wireless communication. The access device can be a terminal or a server. The target application is running on the access device. The target application is an application program that can initiate data requests to the server, such as a social application, a payment application, a game application, etc. The server can be an application server that provides services for the target application, or a proxy server that is different from the application server corresponding to the target application. The terminal can specifically be a desktop terminal or a mobile terminal. The mobile terminal can specifically be a smartphone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc., but is not limited to these. The server and the server can be independent physical servers, or a server cluster or distributed system composed of multiple physical servers. It can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. Example
[0032] like Figure 1 As shown, an embodiment of the present invention discloses a method for editing and outputting data, comprising the following steps:
[0033] Step S1: In the user operation interface of the application software, a control module is displayed, where the control module is a module program with vacant control parameters, and the vacant control parameters are control parameters that can be edited through touch operations.
[0034] In this embodiment, the control module is preferably provided with a plurality of different parameter graphics, each corresponding one-to-one to the control parameters collected on the control module. The control parameters can be expressed in various forms, such as light duration as a time parameter, light brightness as a percentage parameter, light flicker frequency as a percentage parameter, and light color as an RGB color parameter. In response to a user touch operation, a data selection box pops up on the operation interface to set the data for the control parameter. The use of simple graphics and module formats facilitates user identification and selection, increases the recognizability of lamp parameters, and makes program editing simple and intuitive.
[0035] Specifically, the control module is a module program, the parameter graph is a lamp parameter block, and the control parameters are set by editing the lamp parameter block.
[0036] In one embodiment, the parameter graphics include regular hexagonal graphics, square graphics, circular graphics, trapezoidal graphics, star graphics and triangular graphics, the regular hexagonal graphics correspond to the color lamp type attribute, the square graphics correspond to the monochrome lamp type attribute, the circular graphics correspond to the light duration attribute, the trapezoidal graphics correspond to the light brightness attribute, the star graphics correspond to the light flicker attribute, and the triangular graphics correspond to the light color attribute.
[0037] Step S2: receiving a user's touch operation on the control module.
[0038] The touch operation includes any one or more of single click, double click, long press or slide.
[0039] Step S3: In response to the touch operation, the control modules are combined into a queue-type structure block, and the vacant control parameters are edited, wherein the queue-type structure block is divided into a plurality of horizontal structure blocks or a plurality of vertical structure blocks.
[0040] Preferably, in this embodiment, the control modules are divided into different types according to the number of control parameters or the lighting properties corresponding to the control parameters; the horizontal structure block is a combination block in which multiple control modules are connected end to end, and the vertical structure block is a combination block in which multiple control modules of the same type are embedded in each other from top to bottom.
[0041] In one embodiment, the control module includes a monochrome lamp control module or a color lamp control module.
[0042] Step S4: Integrate the control parameters of the control modules into queue data according to the horizontal order or vertical order of the queue-type structural blocks.
[0043] In this embodiment, preferably, a run button is displayed in the user interface of the software; in response to the user's touch operation on the run button, the control data of the queue-type structure block is read and integrated, and the control data is output according to the operation logic set by the priority; the operation logic set by the priority includes horizontal operation logic and vertical operation logic. In this embodiment, preferably, when the operation logic set by the priority includes horizontal operation logic, the control parameter includes a lamp number parameter, and the lamp number parameter corresponds to the load lamp of the output interface; the queue-type structure block is divided into several horizontal structure blocks, and the lamp number parameters contained in the control modules in the horizontal structure blocks are read; by identifying the lamp number parameters in all control modules, the control modules containing the same lamp number parameters in the same horizontal structure block are filtered.
[0044] In one embodiment, the leftmost one has the highest weight, that is, from left to right, the control module where the first lamp number parameter appears in the same horizontal structure block is a valid control module, and the control modules corresponding to the same lamp number parameter that appear later are all invalid control modules. The valid control module outputs a control instruction, and the invalid control module does not output a control instruction. The filtering operation is to filter the invalid control modules to prevent multiple data outputs for the load lamps corresponding to the same lamp number parameter, thereby avoiding program operation errors. In this embodiment, preferably, when the priority setting operation logic includes vertical operation logic, the control parameters include a run time parameter, and the run time parameter corresponds to the light run time attribute of the lamp; the queue-type structure block is divided into several horizontal structure blocks, and the control module with the smallest run time parameter in the same horizontal structure block is the first control module; after the first control module of the previous horizontal structure block completes the operation according to the run time output by the run time parameter, the next horizontal structure block outputs a control instruction to the load lamp.
[0045] In one embodiment, if the control module in the next horizontal structure block contains the lamp number parameter of the control module in the previous horizontal structure block, the control module in the previous horizontal structure block containing the same lamp number parameter stops outputting control information, and the control module in the next horizontal structure block containing the same lamp number parameter stops outputting control information; if the control module in the next horizontal structure block contains a newly added lamp number parameter that is not in the previous horizontal structure block, the control module containing the newly added lamp number parameter outputs control information; if the control module in the previous horizontal structure block contains an existing lamp number parameter that is not in the control module in the next horizontal structure block, the control module containing the existing lamp number parameter continues to operate. The newly added lamp number parameter is the lamp number parameter newly added to the next horizontal structure block relative to the previous horizontal structure block; the existing lamp number parameter is the lamp number parameter that already exists in the previous horizontal structure block relative to the next horizontal structure block, except for the identical lamp number parameter.
[0046] In a specific embodiment, according to the customer's editing, the control data is first read and sorted according to the operation logic set by the priority, and the control module where the repeated lamp number parameter is located is deleted. While the operation logic set by the priority is running, the judgment criterion is the operation time parameter in the previous horizontal structure block. The operation time corresponding to the smallest time operation parameter in the control module of the previous horizontal structure block is the time when the next horizontal structure block starts to run. For example, if the operation time corresponding to the operation time parameter in the first horizontal structure block is 5 seconds, then the control instruction corresponding to the next horizontal structure block will start to be output after 5 seconds. At this time, the load lamps corresponding to the lamp number parameters that have not appeared in the control module of the next horizontal structure block will start to run, and the load lamps corresponding to the repeated lamp number parameters will run according to the control instructions contained in the next horizontal structure block.
[0047] In this embodiment, preferably, a loop button is displayed in the user operation interface of the application software; in response to the user's touch operation on the loop button, the queue data is converted into a control instruction, and the control instruction is output to the load lamp and then run again.
[0048] In one embodiment, when any of the control modules has unedited control parameters, the unedited control parameters are set with system default data.
[0049] In one embodiment, only one control module can exist for any luminaire receiving-end interface within the same horizontal structural block, and the first control module retrieved horizontally is assigned the highest weight. In other words, if multiple control modules corresponding to the same luminaire receiving-end interface appear within the same horizontal structural block, the control parameters of the leftmost control module are retrieved, and subsequent control modules that set control parameters for the same luminaire receiving-end interface are not retrieved.
[0050] In this embodiment, preferably, a share button is displayed in the user operation interface of the software; in response to the user's touch operation on the loop button, the queue data is generated into a QR code, barcode or link using computer image processing technology and combined coding principles, and uploaded to the cloud server for storage.
[0051] Step S5: Convert the queue data into control instructions, and output the control instructions to the load lamp connected to the output interface, wherein the control instructions include a plurality of sub-control instructions converted by the control module.
[0052] In this embodiment, the control instructions are preferably output to the load lamp via wireless communication, wherein the wireless communication is one of infrared transmission, Bluetooth connection, WiFi connection, ZigBee connection, RFID connection, GPRS 2.4G, GPRS 4G, and GPRS 5G connection communication. Using multiple wireless communication methods facilitates ensuring stable output of the control instructions.
[0053] In one embodiment, the wireless communication is Bluetooth communication, the load lamp is provided with an integrated control block, the integrated control block is provided with a Bluetooth chip, and the Bluetooth chip is used to receive control instructions via Bluetooth communication and output electrical signals to the control interface.
[0054] To sum up, the method described in the embodiment of the present invention collects the control parameters of the lamps onto the control module, and combines the control modules into a queue-type structure block, and reads the control parameters on the queue-type structure block in sequence in horizontal or vertical order and integrates them into queue data, thereby converting the queue data into control instructions, which is convenient for users to edit the control parameters of the lamps; reading the control parameters on the queue-type structure block in sequence in horizontal or vertical order and integrating them into queue data can prevent data output errors caused by confusing different lighting parameters of multiple lamps.
[0055] For other steps of the method for data editing and outputting described in this embodiment, refer to the prior art.
[0056] In the description of the present invention, it should be understood that the terms "center", "lateral", "up", "down", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating directions or positional relationships, are based on the positions and directional relationships shown in the accompanying drawings. They are only simplified descriptions for the convenience of describing the present invention, and do not indicate or imply that the device or element referred to must have a specific direction, be constructed and operated in a specific direction. Therefore, they should not be understood as limitations on the present invention. Example
[0057] The method and implementation of Example 2 are basically the same as those of Example 1. This example is a preferred implementation of the data editing. The following is a further explanation of the steps of the user's data editing:
[0058] Step S21: When the user interface is in default, it is divided into a selection bar at the bottom and a programming area at the top;
[0059] Step S22: drag the monochrome lamp control module or the color lamp control module in the selection bar to the programming area;
[0060] Step S23: Continue dragging to select the monochrome lamp control modules or the color lamp control modules to connect end to end until the horizontal queue editing is completed;
[0061] Step S24: Select a parameter graphic and embed it into the monochrome lamp control module or the color lamp control module;
[0062] Step S25: a data selection box pops up on the user interface, and the user selects lamp parameters in the data selection box by touching;
[0063] Step S26: Continue dragging to select the monochrome lamp control module or the color lamp control module to be connected vertically.
[0064] Specifically, the lower end of a monochrome lamp control module can only be connected to a monochrome lamp control module, and the lower end of a color lamp control module can only be connected to a color lamp control module. Example
[0065] like Figure 2 As shown, the method and implementation of this embodiment 4 are basically the same as those of embodiment 1. This embodiment is another preferred implementation for outputting the queue data. The following is a further explanation of the steps of the user's action for outputting the queue data:
[0066] Step S31: Click the play or loop play button to perform the "play" or "loop" operation;
[0067] Step S32: the application software sends the edited first horizontal control instruction to the Bluetooth chip of the Bluetooth light control terminal via Bluetooth communication. The Bluetooth chip compiles the received control instruction and then controls the electrical signal output of the IO port.
[0068] Specifically, for example, if there are five lighting control modules in the first horizontal structural block, corresponding to different lighting paths, the app can send these five instructions simultaneously or sequentially to the Bluetooth lighting control board. The Bluetooth control board then inserts these control instructions into an array instruction. This allows the IO interfaces corresponding to these five ports to output corresponding electrical signals at the same time, enabling the lighting control modules in the same horizontal direction to operate simultaneously.
[0069] Step S331: However, after the queue data runs in the horizontal direction, when there are more than or equal to two control modules in the horizontal direction, the application software will use a judgment statement to check the running time of all control modules on the horizontal structure block, specifically: determine which control module has the shortest running time in the first horizontal structure block; or determine which control module in the first horizontal structure block is the first to complete the operation and how long it runs.
[0070] Step S332A: When the first completed lighting control module in the first horizontal block is about to complete execution, the app sends control instructions for the second horizontal block to the Bluetooth lighting control terminal. If the second horizontal block contains a control module from the first horizontal block, the instructions for the lighting control module in the second horizontal block will directly overwrite the control instructions for the control module in the first horizontal block.
[0071] Step S341: When the Bluetooth light control terminal receives a "play" or "run once" instruction, the IO port of the Bluetooth chip will output a corresponding electrical signal. After the operation is completed, the Bluetooth light control terminal does not store the data.
[0072] Step S342: After the Bluetooth lighting control terminal receives the "loop" or loop operation instruction, the Bluetooth lighting control terminal will repeatedly loop the lighting control instructions in the queue data until the next control instruction is received. Example
[0073] The method and implementation of this embodiment 4 are basically the same as those of embodiment 3. This embodiment is another preferred implementation of step S332A for outputting the queue data.
[0074] Step S332B: The application converts the entire queue data into control instructions, and sends the control instructions to the Bluetooth lighting control terminal via Bluetooth communication. The Bluetooth lighting control terminal compiles the control instructions, and determines through conditional judgment that the first lighting control module to be completed in the first horizontal structure block is the lighting control module, and calculates how long the running time is; when the first lighting control module to be completed in the first horizontal structure block is about to be completed, the Bluetooth chip will output the corresponding electrical signal to the IO port corresponding to the lighting control module to be controlled in the second horizontal structure block. Specifically: if the second horizontal structure block contains a control module in the first horizontal structure block, the control instruction of this control module in the second horizontal structure block will directly overwrite the control instruction of this module in the first horizontal structure block.
[0075] In one embodiment, the queue-type structure block is divided into several interface structure blocks. Each interface structure block has an irregular block structure and only includes lighting control modules corresponding to the same IO port. When a lighting control module in the interface structure block completes execution, the next lighting control module in the vertical direction executes and outputs control instructions.
[0076] In a specific implementation, the application software sends the control instructions of the entire queue data to the Bluetooth lighting control terminal via Bluetooth communication. The Bluetooth lighting control terminal compiles the queue data and uses conditional judgment to determine which lighting control module is the first to complete operation in the previous row and how long it runs. When the first lighting control module to complete operation in the previous row is about to complete operation, the Bluetooth chip will output the corresponding electrical signal to the IO port corresponding to the lighting module to be controlled in the second row. If the second row contains a lighting control module in the first row, the instruction of this lighting control module in the second row will directly overwrite the module control instruction in the first row.
[0077] exist Figure 3In the embodiment, the queue-type structure block includes seven interface structure blocks. From left to right, the first interface structure block includes the control modules of the first block in the first row, the first block in the second row, and the first block in the fourth row. The second interface structure block includes the control modules of the second block in the first row and the first block in the third row. The third interface structure block includes the control module of the third block in the first row. The fourth interface structure block includes the control module of the second block in the second row. The fifth interface structure block includes the control module of the third block in the second row. The sixth interface structure block includes the control module of the second block in the third row. The seventh interface structure block includes the control module of the third block in the third row. Specifically, the operating time of color lamp No. 2 corresponding to the control module of the first block of the first row of the first interface structure block is 5 minutes, and the shortest operating time in the first row is 5 seconds for the monochrome lamp No. 2 corresponding to the control module of the second block of the first row; when color lamp No. 2 has been running for 5 seconds, the data information corresponding to the control module of the first block of the second row overwrites the control instruction received by color lamp No. 2, that is, color lamp No. 2 stops executing the data information corresponding to the control module of the first block of the first row after 5 seconds and starts executing the data information corresponding to the control module of the first block of the second row; at the same time, since the shortest operating time of the control modules in the second row is 5 seconds, there is no control module corresponding to color lamp No. 2 in the control modules in the third row, and the shortest operating time of the control modules in the third row is 5 seconds, after color lamp No. 2 has been running for 5+5+5=15 seconds, the data information corresponding to the control module of the first block of the fourth row overwrites the control instruction received by color lamp No. 2, that is, color lamp No. 2 stops executing the data information corresponding to the control module of the first block of the second row after 15 seconds and starts executing the data information corresponding to the control module of the first block of the fourth row.
[0078] exist Figure 4 In the program, the hexagonal graphics correspond to colored lamps, the square graphics correspond to monochrome lamps, the trapezoidal graphics correspond to brightness percentages, the circular graphics correspond to running time, the five-pointed star graphics correspond to flashing frequency, and the triangle graphics correspond to the color of colored lamps. The actual program operation process is as follows:
[0079] At 0s, the first horizontal structural block operates simultaneously: the No. 2 color lamp operates at 30% brightness and 50% flashing frequency of red light; the No. 2 single-color lamp operates at 100% brightness and 50% flashing frequency of light; the No. 3 color lamp operates at 30% brightness and 50% flashing frequency of red light;
[0080] At 5 seconds, the monochrome lamp No. 2 stops running, the color lamp No. 2 switches to running with 30% brightness and 50% flickering frequency of white light, the monochrome lamp No. 3 runs with 100% brightness and 50% flickering frequency, and the color lamp No. 4 runs with 30% brightness and 50% flickering frequency of white light.
[0081] At 10 seconds, the single-color lamp No. 3 stops running, the single-color lamp No. 2 runs at 100% brightness and 50% flickering frequency, the colored lamp No. 1 runs at 30% brightness and 50% flickering frequency of purple light, and the single-color lamp No. 1 runs at 100% brightness and 50% flickering frequency;
[0082] At 15 seconds, the single-color lamp No. 1 and the single-color lamp No. 2 stop running, and the color lamp No. 2 switches to purple light with 30% brightness and 50% flashing frequency;
[0083] At 5 minutes, the color lamp No. 3 stops running;
[0084] At 5min + 5s, the No. 4 color lamp stops running;
[0085] At 5min + 10s, color lamp No. 1 stops running;
[0086] At 5min + 15s, color lamp No. 2 stops operating. Example
[0087] The method and implementation of Example 5 are basically the same as those of Example 1. This example is another preferred implementation method for the user to share queue data. The following is a further explanation of the operation steps when the user shares queue data:
[0088] Step S51: When the share button is touched on the application software operation interface and the “share” operation is performed, the parameter data and name in the queue data are automatically uploaded via the Internet when the mobile device is connected to the Internet.
[0089] Among them, when generating a QR code, barcode or linking to the cloud server backend storage on the mobile phone touch terminal, if the queue data is in an unnamed and unsaved state, a custom naming dialog box will pop up; the user names the lighting plan and clicks Save.
[0090] Step S52: When the backend cloud receives the queue data, it automatically associates the parameter data in the queue data with the QR code, barcode or link to the customized light of the product model under this user account.
[0091] Step S53: Use the "Scan" function on the touch terminal of the mobile phone to scan the QR code, barcode or link through the camera to import the QR code, barcode or link of the product model.
[0092] Step S54: When the mobile device is connected to the Internet, the corresponding custom lighting parameter data stored in the background is obtained and imported into the application software to generate a newly imported lighting plan.
[0093] The present disclosure may be a method, an apparatus, a system and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for executing various aspects of the present disclosure.
[0094] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions to be stored in the computer-readable storage medium in each computing / processing device.
[0095] The computer program instructions for performing the operations of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages such as Smalltalk, C++, Java, and conventional procedural programming languages such as "C" language or similar programming languages. Computer-readable program instructions may be executed entirely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., utilizing an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be personalized by utilizing the state information of the computer-readable program instructions. The electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present disclosure.
[0096] Various aspects of the present disclosure are described herein with reference to flowcharts and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present disclosure. It should be understood that each block of the flowcharts and / or block diagrams, and combinations of blocks in the flowcharts and / or block diagrams, can be implemented by computer-readable program instructions.
[0097] The flow charts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to multiple embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of the above-mentioned module, program segment or instruction includes one or more executable instructions for realizing the prescribed logical function. In some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a special hardware-based system that performs the prescribed function or action, or can be implemented with a combination of special hardware and computer instructions.
[0098] The embodiments of the present disclosure have been described above. The above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is selected to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons skilled in the art to understand the embodiments disclosed herein.
Claims
1. A method for data editing and outputting, characterized in that: The following steps are involved: A control module is displayed in the user operation interface. The control module is a module program with empty control parameters. The empty control parameters are control parameters that can be edited. The control parameters include a run time parameter and a lamp number parameter. The run time parameter corresponds to the light run time attribute of the lamp, and the lamp number parameter corresponds to the load lamp of the output interface. receiving a user's touch operation on the control module, and in response to the touch operation, combining the control module into a queue-type structure block, wherein the queue-type structure block is divided into a plurality of horizontal structure blocks or a plurality of vertical structure blocks; reading and integrating control data of the queue-type structure block, and outputting the control data according to a priority-set operation logic; wherein the priority-set operation logic includes a horizontal operation logic and a vertical operation logic; The vertical operation logic includes: the operation time corresponding to the smallest operation time parameter in the control module of the previous horizontal structure block is also the time when the next horizontal structure block starts to operate; The horizontal operation logic includes: if the control module of the next horizontal structure block contains the lamp number parameter of the previous horizontal structure block, the corresponding control module in the previous horizontal structure block stops outputting control information, and the corresponding control module in the next horizontal structure block starts outputting control information; if the control module of the next horizontal structure block contains a newly added lamp number parameter that is not in the previous horizontal structure block, the control module where the newly added lamp number parameter is located outputs control information; if the control module in the previous horizontal structure block contains an existing lamp number parameter that is not in the next horizontal structure block, the control modules where the existing parameters are located continue to operate; Integrating the control modules into queue data according to the horizontal order or vertical order of the queue-type structural blocks; The queue data is converted into a control instruction, and the control instruction is output to the load lamp.
2. A data editing and output method according to claim 1, characterized in that: The control modules are divided into different types according to the number or attributes of the control parameters; The transverse structural block is a combination block in which multiple control modules are connected end to end, and the longitudinal structural block is a combination block in which multiple control modules of the same type are embedded in each other from top to bottom.
3. A method for data editing and outputting according to claim 2, characterized in that: The control module is provided with a plurality of different parameter graphics, and the parameter graphics correspond one to one with the control parameters; In response to the user's touch operation, a data selection box pops up to set data for the control parameters.
4. A method for data editing and outputting according to claim 3, characterized in that: Display a run button in the software's user interface; In response to a user's touch operation on the run button, the control data of the queue-type structural blocks are read and integrated, and the control data are output according to the operation logic set in priority; The priority setting operation logic includes horizontal operation logic and vertical operation logic.
5. A method for data editing and outputting according to claim 4, characterized in that: The queue-type structure block is divided into a number of horizontal structure blocks, and the lamp number parameters contained in the control module in the horizontal structure block are read; Identify the lamp number parameter and perform a filtering operation on the control modules containing the same lamp number parameter in the same horizontal structure block.
6. A method for data editing and outputting according to claim 4, characterized in that: The queue-type structural block is divided into a plurality of horizontal structural blocks, and the control module with the smallest running time parameter in the same horizontal structural block is the first control module; After the first control module of the previous horizontal structure block completes the operation according to the operation time output by the operation time parameter, the next horizontal structure block outputs a control instruction to the load lamp.
7. A method for data editing and outputting according to claim 4, characterized in that: Display a loop button in the software's user interface; In response to the user's touch operation on the cycle button, the queue data is converted into a control instruction, and the control instruction is output to the load lamp and then runs again.
8. A method for data editing and outputting according to claim 7, characterized in that: Display a share button in the software's user interface; In response to the user's touch operation on the cycle button, the queue data is generated into a QR code, a barcode or a link using computer image processing technology and combined coding principles, and uploaded to a cloud server for storage.
9. A method for data editing and outputting according to claim 1, characterized in that: The control command is output to the load lamp via wireless communication, and the wireless communication is one of infrared transmission, Bluetooth connection, WIFI connection, ZigBee connection, RFID connection, GPRS 2.4G, GPRS 4G and GPRS 5G connection communication.
10. A method for data editing and outputting according to claim 9, characterized in that: The wireless communication is Bluetooth communication. The load lamp is provided with an integrated control block. The integrated control block is provided with a Bluetooth chip. The Bluetooth chip is used to receive control instructions via Bluetooth communication and output electrical signals to a control interface.