CN115052402A - Data editing and outputting method - Google Patents

Data editing and outputting method Download PDF

Info

Publication number
CN115052402A
CN115052402A CN202210655408.7A CN202210655408A CN115052402A CN 115052402 A CN115052402 A CN 115052402A CN 202210655408 A CN202210655408 A CN 202210655408A CN 115052402 A CN115052402 A CN 115052402A
Authority
CN
China
Prior art keywords
control
lamp
control module
data
parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210655408.7A
Other languages
Chinese (zh)
Inventor
罗日喜
林华飞
袁祯翔
祝玉
罗日旋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Susheng Technology Service Co ltd
Original Assignee
Guangzhou Susheng Technology Service Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Susheng Technology Service Co ltd filed Critical Guangzhou Susheng Technology Service Co ltd
Priority to CN202210655408.7A priority Critical patent/CN115052402A/en
Publication of CN115052402A publication Critical patent/CN115052402A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/165Controlling the light source following a pre-assigned programmed sequence; Logic control [LC]
    • 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/155Coordinated control of two or more light sources

Abstract

The invention discloses a method for editing and outputting data, which comprises the following steps: displaying a control module in a user operation interface, wherein the control module comprises a plurality of control parameters, and the control parameters can be edited through touch operation; receiving touch operation of a user on the control module; responding to the touch operation, combining the control modules into a queue type structure block, wherein the queue type structure block is divided into a plurality of transverse structure blocks or a plurality of interface structure blocks; integrating the control module into queue data according to the horizontal sequence or the vertical sequence of the queue type structure blocks; and converting the queue data into a control command, and outputting the control command to a load lamp. The problem that errors are caused by the fact that different light attributes of a plurality of lamps are easily confused when a control program of the lamps is edited due to the fact that the light attributes and the attribute numbers of the lamps are different is solved.

Description

Data editing and outputting method
Technical Field
The invention relates to the field of light control, in particular to a method for editing and outputting data.
Background
At present, with the continuous improvement of the materials, cultural life and electronic science and technology of people, the ornamental requirement of people on household lamps or stage lighting is higher and higher, the number of the lamps is generally increased, and then the lighting effect is improved by utilizing the transformation among a plurality of lamps.
Because the control mode of the transform between a plurality of lamps is comparatively complicated, a plurality of light attributes of lamps need to be controlled, such as attributes such as light duration, light brightness, light flash frequency and light color, the user generally adopts the mode that the control parameter corresponds to the light attribute, edits the control parameter through the program and gathers into the control command to output, and the coding is interpreted to output the electric signal to the load lamps and lanterns, and then the light attribute of a plurality of lamps and lanterns is controlled.
However, in the process of program editing, because the light attributes of the lamps and the number of the light attributes are different, when the control program of the lamps is edited, the different light attributes of a plurality of lamps are easily confused, so that the data output is incorrect.
Disclosure of Invention
In order to overcome the technical defect that errors are caused by confusion of different light attributes of a plurality of lamps when a control program of the lamps is edited due to different light attributes and different numbers of the light attributes in the prior art, the invention provides a method for editing and outputting data.
In order to solve the problems, the invention is realized according to the following technical scheme:
in a first aspect, the present invention discloses a method for editing and outputting data, comprising the following steps:
step S1: in the user operation interface of the application software, a plurality of control parameters are assembled on the control module.
The control module is provided with a plurality of different parameter graphs, and the parameter graphs correspond to the control parameters one to one; responding to the touch operation of the user, popping up a data selection box on an operation interface to perform data setting on the control parameters.
Step S2: and receiving touch operation of a user on the control module.
Step S3: and responding to the touch operation, combining the control modules into a queue type structure block, wherein the queue type structure block is divided into a plurality of transverse structure blocks or a plurality of longitudinal structure blocks.
The control module is divided into different types according to different numbers or attributes of the control parameters; the transverse structure blocks are a plurality of combined blocks which are connected end to end with the control modules, and the longitudinal structure blocks are combined blocks which are embedded and connected up and down with the control modules of the same type.
Step S4: and integrating the control parameters of the control module into queue data according to the horizontal sequence or the vertical sequence of the queue type structure blocks.
Wherein, displaying an operation button in a user operation interface of the software; and responding to the touch operation of the user on the operation button, reading and integrating the control data of the queue type structure block, and outputting the control data according to the operation logic set by the priority.
Specifically, when the operation logic set by the priority includes a vertical operation logic, the queue-type structure blocks are divided into a plurality of transverse structure blocks, after the operation of the load lamp is completed, if a next transverse structure block includes the same load lamp of the output interface corresponding to the control module in the same transverse structure block, the same load lamp stops executing the control information included in the control module corresponding to the same load lamp in the same transverse structure block, and executes the control information included in the next transverse structure block; and if the next transverse structure block contains other load lamps of which the control modules in the same transverse structure block do not correspond to the output interfaces, the other load lamps start to execute the control information contained in the control modules corresponding to the other load lamps in the next transverse structure block.
Specifically, when the operation logic set by the priority includes a horizontal operation logic, the queue-type structure blocks are divided into a plurality of horizontal structure blocks, control information contained in a control module in each horizontal structure block is read, the control information contains lamp numbers, and the lamp numbers correspond to the load lamps of the output interface one by one; and filtering the control modules containing the same lamp serial numbers in the same transverse structure block by identifying the lamp serial numbers.
Wherein, a circulation button is displayed in a user operation interface of the software; and responding to the touch operation of the user on the circulation button, converting the queue data into a control instruction, outputting the control instruction to a load lamp, and then running again.
The method comprises the steps that a sharing button is displayed in a user operation interface of software; and responding to the touch operation of the user on the circulation button, generating two-dimensional codes, bar codes or links from the queue data by using a computer image processing technology and a combined coding principle, and uploading the two-dimensional codes, the bar codes or the links to a cloud server for storage.
Step S5: and converting the queue data into a control command, and outputting the control command to a load lamp.
Wherein, will control command exports load lamps and lanterns through wireless communication's mode on, 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.
Specifically, the wireless communication is bluetooth communication, an integrated control block is arranged on the load lamp, the integrated control block is provided with a bluetooth chip, and the bluetooth chip is used for receiving a control command through bluetooth communication and outputting an electric signal to the control interface.
Compared with the prior art, the invention has the beneficial effects that:
according to the invention, control parameters of the lamp are integrated on the control modules, the control modules are combined into the queue type structure blocks, and the control parameters on the queue type structure blocks are sequentially read according to the horizontal sequence or the longitudinal sequence and are integrated into the queue data, so that the queue data is subjected to data conversion into a control instruction, and the control parameters of the lamp are conveniently edited by a user; the control parameters on the queue type structure blocks are sequentially read according to the horizontal sequence or the longitudinal sequence and are integrated into queue data, so that data output errors caused by confusion of different lighting parameters of a plurality of lamps can be prevented.
Drawings
Embodiments of the invention are described in further detail below with reference to the attached drawing figures, wherein:
FIG. 1 is a first flowchart illustrating a method for editing and outputting data according to an embodiment of the present invention;
FIG. 2 is a second flowchart illustrating a method for editing and outputting data according to an embodiment of the present invention;
FIG. 3 is a third schematic interface diagram of an embodiment of a method for editing and outputting data according to the present invention;
fig. 4 is a fourth interface schematic diagram of an embodiment of the data editing and outputting method according to the present invention.
Detailed Description
Preferred embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While the preferred embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The term "include" and variations thereof as used herein is meant to be inclusive in an open-ended manner, i.e., "including but not limited to". Unless specifically stated otherwise, the term "or" means "and/or". The term "based on" means "based at least in part on". The terms "one example embodiment" and "one embodiment" mean "at least one example embodiment". The term "another embodiment" means "at least one additional embodiment". The terms "first," "second," and the like may refer to different or the same object. Other explicit and implicit definitions are also possible below.
The access device and the server may be directly or indirectly connected by wired or wireless communication. The access device may be a terminal or a server. The access device has a target application running thereon. The target application is an application program capable of initiating a data request to the server, such as a social application, a payment application, a game application, and the like. The server may be an application server that the target application provides a service, or may be a proxy server that distinguishes the application server corresponding to the target application. The terminal may specifically be a desktop terminal or a mobile terminal, and the mobile terminal may specifically be a smart phone, a tablet computer, a notebook computer, a desktop computer, an intelligent sound box, an intelligent watch, and the like, but is not limited thereto. The server and the server can be independent physical servers respectively, can also be a server cluster or distributed system formed by a plurality of physical servers, and can also be cloud servers for providing basic cloud computing services such as cloud service, a cloud database, cloud computing, cloud functions, cloud storage, network service, cloud communication, middleware service, domain name service, security service, CDN (content delivery network) and big data and artificial intelligence platforms.
Example 1
As shown in fig. 1, the embodiment of the present invention discloses a method for editing and outputting data, including the following steps:
step S1: and displaying a control module in a user operation interface of the application software, wherein the control module is a module program of an idle control parameter, and the idle control parameter is a control parameter which can be edited by touch operation.
In this embodiment, preferably, a plurality of different parameter graphics are provided on the control module, the parameter graphics correspond to the control parameters gathered on the control module one to one, and the control parameters have a plurality of expression forms, for example, the duration of the light is a time parameter, the brightness of the light is a percentage parameter, the flash frequency of the light is a percentage parameter, and the color of the light is an RGB color parameter; responding to the touch operation of the user, popping up a data selection box on an operation interface to perform data setting on the control parameters. The simple graph and module form is beneficial to user identification and selection, the identifiability of lamp parameters is improved, and the program editing operation is simple and visual.
Specifically, the control module is a module program, the parameter graph is a lamp parameter block, and the setting of the control parameters is performed by editing the lamp parameter block.
In one embodiment, the parameter patterns include regular hexagon patterns, squares, circles, trapezoids, star-shaped patterns and triangle patterns, the regular hexagon patterns correspond to the color lamp type attributes, the squares correspond to the monochrome lamp type attributes, the circles correspond to the light duration attributes, the trapezoids correspond to the light brightness attributes, the stars correspond to the light flash attributes, and the triangle patterns correspond to the light color attributes.
Step S2: and receiving touch operation of a user on the control module.
Wherein the touch operation comprises any one or more of single click, double click, long press or sliding.
Step S3: responding to the touch operation, combining the control modules into a queue type structure block, editing the vacant control parameters, and dividing the queue type structure block into a plurality of transverse structure blocks or a plurality of longitudinal structure blocks.
Preferably, in this embodiment, the control module is divided into different types according to the number of the control parameters or different light attributes corresponding to the control parameters; the transverse structure blocks are a plurality of combined blocks which are connected end to end with the control modules, and the longitudinal structure blocks are combined blocks which are embedded and connected up and down with the control modules of the same type.
In one embodiment, the control module comprises a monochrome luminaire control module or a color luminaire control module.
Step S4: and integrating the control parameters of the control module into queue data according to the horizontal sequence or the vertical sequence of the queue type structure blocks.
Preferably, the present embodiment displays the run button in the user operation interface of the software; responding to the touch operation of a user on the operation button, responding to the touch operation of the user on the operation button, reading and integrating the control data of the queue type structure block, and outputting the control data according to the operation logic set by the priority; the priority setting operation logic comprises horizontal operation logic or vertical operation logic. Preferably, in this embodiment, when the operation logic set by the priority includes a horizontal operation logic, the control parameter includes a lamp number parameter, and the lamp number parameter corresponds to a load lamp of the output interface; the queue type structure blocks are divided into a plurality of transverse structure blocks, and lamp serial number parameters contained in the control modules in the transverse structure blocks are read; and filtering the control modules containing the same lamp number parameters in the same transverse structure block by identifying the lamp number parameters in all the control modules.
In one embodiment, the control module with the highest leftmost weight, that is, from left to right, where the lamp number parameter appearing first in the same transverse structure block is located is an effective control module, the control modules corresponding to the same lamp number parameter appearing later are all ineffective control modules, the effective control module outputs a control instruction, and the ineffective control module does not output the control instruction. The filtering operation is to filter the invalid control module, so that multiple data output of the load lamps corresponding to the same lamp number parameter is prevented, and the running error of the program is avoided. Preferably, in this embodiment, when the operation logic set by the priority includes a vertical operation logic, the control parameter includes an operation time parameter, and the operation time parameter corresponds to a light operation time attribute of the lamp; the queue type structure block is divided into a plurality of transverse structure blocks, and the control module with the minimum time operation parameter in the same transverse structure block is a first control module; and after the first control module of the previous transverse structure block finishes the operation according to the operation time output by the time operation parameter, the next transverse structure block outputs a control instruction to the load lamp.
In one embodiment, if the control module in the next transverse structure block contains the lamp serial number parameter of the control module in the previous transverse structure block, the control module containing the same lamp serial number parameter in the previous transverse structure block stops outputting the control information, and the control module containing the same lamp serial number parameter in the next transverse structure block contains the control information; if the control module of the next transverse structure block contains the newly added lamp serial number parameter which is not contained in the previous transverse structure block, the control module where the newly added lamp serial number parameter is located outputs control information; and if the control module in the previous transverse structure block contains the stored lamp number parameter which is not contained in the control module of the next transverse structure block, the control module where the stored lamp number parameter is located continues to operate. The newly added lamp serial number parameter is a newly added lamp serial number parameter of the next transverse structure block relative to the last transverse structure block; the existing lamp number parameters are lamp number parameters of the previous transverse structure block relative to the next transverse structure block except the same lamp number parameters.
In one embodiment, the control data is read and sorted out according to the running logic set by the client according to the priority level, the control module where the repeated lamp number parameter is located is deleted, when the running logic set by the priority runs, the judgment criterion is the time running parameter in the previous transverse structure block, the running time corresponding to the minimum time running parameter in the control module of the previous transverse structure block is the running time of the next transverse structure block, for example, the running time corresponding to the time running parameter in the first transverse structure block is 5 seconds, the control instruction corresponding to the next transverse structure block is output after 5 seconds, at this time, the load lamp corresponding to the lamp serial number parameter which does not appear in the control module in the next transverse structure block starts to run, and the load lamp corresponding to the lamp serial number parameter which appears repeatedly runs according to the control instruction contained in the next transverse structure block.
Preferably, the present embodiment displays a loop button in a user operation interface of the application software; and responding to the touch operation of the user on the circulation button, converting the queue data into a control instruction, outputting the control instruction to a load lamp, and then running again.
In one embodiment, when an unedited control parameter appears in any of the control modules, the unedited control parameter is set with system default data.
In one embodiment, only one control module can exist for any lamp receiving end interface in the same transverse structural block, and the weight of the first control module read in the transverse direction is set to be the highest. That is, a plurality of control modules corresponding to the same lamp receiving end interface appear in the same transverse structural block, the control parameters of the leftmost control module are read, and the control modules which set the control parameters of the same lamp receiving end interface do not read in the subsequent repeated appearance.
Preferably, the embodiment displays a sharing button in a user operation interface of the software; and responding to the touch operation of the user on the circulation button, generating two-dimensional codes, bar codes or links from the queue data by using a computer image processing technology and a combined coding principle, and uploading the two-dimensional codes, the bar codes or the links to a cloud server for storage.
Step S5: and converting the queue data into a control command, and outputting the control command to a load lamp connected with an output interface. The control instruction comprises a plurality of sub-control instructions converted by the control module.
Preferably, the control command is output to a load lamp in a wireless communication mode, where 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. Through multiple wireless communication modes, the control instruction output is stable and convenient to guarantee.
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 for receiving a control command through bluetooth communication and outputting an electric signal to the control interface.
In summary, in the method according to the embodiment of the present invention, the control parameters of the lamp are collected to the control modules, the control modules are combined into the queue-type structure blocks, and the control parameters on the queue-type structure blocks are sequentially read according to the horizontal sequence or the vertical sequence and are integrated into the queue data, so that the data of the queue data is converted into the control instruction, and the user can conveniently edit the control parameters of the lamp; the control parameters on the queue type structure blocks are sequentially read according to the horizontal sequence or the vertical sequence and integrated into queue data, so that data output errors caused by confusion of different lighting parameters of a plurality of lamps can be prevented.
Other steps of the data editing and outputting method described in this embodiment are as follows in the prior art.
In the description of the present invention, it is to be understood that the terms "central," "lateral," "upper," "lower," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like are used in the positional and orientational relationships indicated in the drawings to facilitate the simplified description of the invention, and are not intended to indicate or imply that the referenced devices or elements must have a particular orientation, be constructed and operated in a particular orientation, and are therefore not to be considered limiting.
Example 2
This embodiment 2 is basically the same as the method and implementation manner of embodiment 1, and is a preferred implementation manner for editing the data. The following further describes the operation steps of the data editing with reference to the user:
step S21: when the user interface is default, the user interface is divided into a lower selection column and an upper programming area;
step S22: dragging the monochrome lamp control module or the color lamp control module of the selection bar to the programming area;
step S23: continuously dragging and selecting the monochrome lamp control module or the color lamp control module to be connected end to end until the transverse queue editing is finished;
step S24: selecting a parameter graph to be embedded into a monochromatic lamp control module or a color lamp control module;
step S25: popping up a data selection frame on a user interface, and selecting lamp parameters in the data selection frame through touch operation by a user;
step S26: and continuously dragging and selecting the monochromatic lamp control module or the color lamp control module to be embedded and connected up and down.
Wherein, the control modules which are connected up and down can only be of the same type. The method specifically comprises the following steps: the lower end of the monochromatic lamp control module can be only connected with the monochromatic lamp control module, and the lower end of the color lamp control module can be only connected with the color lamp control module.
Example 3
As shown in fig. 2, this embodiment 4 is basically the same as the method and implementation manner of embodiment 1, and this embodiment is another preferred implementation manner of outputting the queue data. The following will be further described with reference to the action steps of the user for outputting the queue data:
step S31: clicking a play or circulating play button to perform play or circulating operation;
step S32: the application software sends the edited first transverse control instruction to a Bluetooth chip of the Bluetooth lamp control end in a Bluetooth communication mode, and the Bluetooth chip controls the output of an electric signal of an IO port after compiling the control instruction through the received control instruction.
Specifically, for example, there are 5 light control module corresponding different light way numbers in the first transverse structure piece, send this 5 instruction simultaneously to bluetooth light control board end or in order to bluetooth control board end back during APP sends the instruction, fill in array instruction with these several control command at bluetooth control board end. So as to control the IO interfaces corresponding to the 5 ports to output corresponding electric signals at the same time, and the light control modules in the same transverse direction can operate simultaneously.
Step S331: however, after the queue data runs in the horizontal direction, when two or more control modules exist in the horizontal direction, the application software can judge the length of the running time of all the control modules on the transverse structural block by a statement, specifically: judging which control module of the shortest running time of the first transverse structure block; or judging which control module the first operation in the first transverse structure block is finished, and the operation time length is long.
Step S332A: when the light control module that the first operation of first transverse structure piece was accomplished was about to accomplish the operation, APP can send the control command of second transverse structure piece to bluetooth lamp accuse control end. When the second transverse structure block contains a certain control module in the first transverse structure block, the command of the light control module in the second transverse structure block can directly cover the control command of the control module in the first transverse structure block.
Step S341: the Bluetooth lamp control terminal receives a play command or a once-running command, the IO port of the Bluetooth chip outputs a corresponding electric signal, and the Bluetooth lamp control terminal does not store data after the operation is finished;
step S342: after the Bluetooth lamp control end receives the circular or circular operation instruction, the Bluetooth lamp control end can repeatedly and circularly operate the light control instruction in the queue data until the next control instruction is received.
Example 4
This embodiment 4 is basically the same as the method and implementation manner of the embodiment 3, and is another preferred implementation manner of the step S332A of outputting the queue data.
Step S332B: the application program converts the whole queue data into a control instruction, and sends the control instruction to the Bluetooth lamp control end in a Bluetooth communication mode, and the Bluetooth lamp control end compiles the control instruction, judges whether the first operation in the first transverse structure block is a light control module through condition judgment, and calculates how long the operation time is; when the light control module that the first operation of first transverse structure piece was accomplished will accomplish the operation, bluetooth chip can export corresponding signal of telecommunication with the IO mouth that light control module that needs control corresponds in the second transverse structure piece, specifically does: the second transverse structure block is provided with a certain control module in the first transverse structure block, and the control instruction of the control module in the second transverse structure block can directly cover the control instruction of the control module in the first transverse structure block.
In an implementation mode, the formation formula structure block divide into a plurality of interface structure blocks, interface structure block is irregular block structure, only includes the light control module that same IO mouth corresponds. When the operation of a certain light control module in the interface structure module is completed, the next light control module in the vertical direction operates and outputs a control instruction.
In a specific implementation mode, the application software sends a control instruction to the bluetooth lamp control terminal through a bluetooth communication mode for the whole queue data, the bluetooth lamp control terminal compiles the queue data and judges which light control module the first operation of the last row is completed through condition judgment, and the operation duration is long, when the light control module the first operation of the last row is completed is about to complete the operation, the bluetooth chip outputs a corresponding electric signal to an IO port corresponding to the light module to be controlled in the second row, for example, the second row contains a certain light control module in the first row, and the instruction of the light control module in the second row directly covers the module control instruction in the first row.
In fig. 3, the queued structure blocks include seven interface structure blocks, and turn right from left, the first interface structure block includes control modules of a first row of first blocks, a second row of first blocks, and a fourth row of first blocks, the second interface structure block includes control modules of a first row of second blocks and a third row of first blocks, the third interface structure block includes control modules of a first row of third blocks, the fourth interface structure block includes control modules of a second row of second blocks, the fifth interface structure block includes control modules of a second row of third blocks, the sixth interface structure block includes control modules of a third row of second blocks, and the seventh interface structure block includes control modules of a third row of third blocks. Specifically, the running time of a color lamp 2 corresponding to the control module of the first block in the first row of the first interface structure block is 5min, and the shortest running time in the first row is 5s of a monochromatic lamp 2 corresponding to the control module of the second block in the first row; after the No. 2 color lamp runs for 5s, the data information corresponding to the control module of the first block in the second row covers the control instruction received by the No. 2 color lamp, namely, the No. 2 color lamp stops executing the data information corresponding to the control module of the first block in the first row after 5s and starts executing the data information corresponding to the control module of the first block in the second row; meanwhile, as the shortest running time of the second row of control modules is 5s, and the shortest running time of the third row of control modules and the control module corresponding to the No. 2 color lamp in the third row of control modules is not 5s, when the No. 2 color lamp runs for 5+5+5 ═ 15s, the data information corresponding to the control module of the fourth row of the first block covers the control instruction received by the No. 2 color lamp, that is, the No. 2 color lamp stops executing the data information corresponding to the control module of the second row of the first block after 15s and starts executing the data information corresponding to the control module of the fourth row of the first block.
In fig. 4, a hexagonal figure corresponds to a color lamp, a square figure corresponds to a monochromatic lamp, a trapezoidal figure corresponds to a brightness percentage, a circular figure corresponds to an operating time, a pentagram figure corresponds to a flicker frequency, a triangular figure corresponds to a color of the color lamp, and an operating process of an actual program is as follows:
when the time is 0s, the first transverse structure blocks operate simultaneously, the No. 2 color lamp operates with 30% of brightness and 50% of flickering frequency of red light, the No. 2 monochrome lamp operates with 100% of brightness and 50% of flickering frequency of light, and the No. 3 color lamp operates with 30% of brightness and 50% of flickering frequency of red light;
at 5s, the No. 2 monochrome lamp was stopped, the No. 2 color lamp was switched to white light operation at 30% brightness and 50% flicker frequency, the No. 3 monochrome lamp was operated at 100% brightness and 50% flicker frequency, and the No. 4 color lamp was operated at 30% brightness and 50% flicker frequency.
When 10s, the No. 3 monochromatic lamp stops running, the No. 2 monochromatic lamp runs at 100% of brightness and 50% of flicker frequency, the No. 1 color lamp runs at 30% of brightness and 50% of flicker frequency of purple light, and the No. 1 monochromatic lamp runs at 100% of brightness and 50% of flicker frequency of light;
at 15s, the No. 1 monochromatic lamp and the No. 2 monochromatic lamp stop running, and the No. 2 color lamp is converted into purple light running at the brightness of 30% and the flicker frequency of 50%;
when the time is 5min, the No. 3 color lamp stops running;
when 5min +5s, the No. 4 color lamp stops running;
when the time is 5min +10s, the No. 1 color lamp stops running;
and when the time is 5min +15s, the No. 2 color lamp stops running.
Example 5
This embodiment 5 is basically the same as the method and the implementation manner of embodiment 1, and is another preferred implementation manner when the user shares queue data. The following is further described with reference to the operation steps of the user in sharing the queue data:
step S51: and when the sharing button is touched on the operation interface of the application software to carry out sharing operation, the parameter data and the name in the queue data are automatically uploaded through the Internet when the mobile phone equipment is in a networking state.
When a mobile phone touch terminal generates a two-dimensional code or a bar code or is linked to a cloud server for background storage, if the queue data is in an unnamed and unsaved state, a user-defined naming dialog box pops up; the user names the light scheme and clicks to store.
Step S52: and when the background cloud receives the queue data, automatically associating the parameter data in the queue data with the two-dimensional codes and the bar codes or the model product custom light linked under the user account.
Step S53: a scanning function is used at a touch control end of the mobile phone, the two-dimensional code, the bar code or the link of the product of the model is scanned through the camera, and the two-dimensional code, the bar code or the link of the product of the model is imported.
Step S54: and under the networking state of the mobile phone equipment, acquiring the corresponding custom lighting parameter data stored in the background and importing the custom lighting parameter data into application software to generate a newly imported lighting scheme.
The present disclosure may be methods, apparatus, systems, and/or computer program products. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied thereon for performing various aspects of the present disclosure.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or 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 may 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 computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
The computer program instructions for carrying out operations of the present disclosure may be assembler instructions, Instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + +, Java, or the like, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, the electronic circuitry that can execute the computer-readable program instructions implements aspects of the present disclosure by utilizing the state information of the computer-readable program instructions to personalize the electronic circuitry, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA).
Various aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Having described embodiments of the present disclosure, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein was chosen in order to best explain the principles of the embodiments, the practical application, or improvements to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (10)

1. A method for editing and outputting data is characterized by comprising the following steps:
displaying a control module in a user operation interface, wherein the control module is a module program of an idle control parameter, and the idle control parameter is a control parameter capable of being edited;
receiving touch operation of a user on the control module;
responding to the touch operation, combining the control modules into a queue type structure block, wherein the queue type structure block is divided into a plurality of transverse structure blocks or a plurality of longitudinal structure blocks;
integrating the control modules into queue data according to the horizontal sequence or the vertical sequence of the queue type structure blocks;
and converting the queue data into a control command, and outputting the control command to a load lamp.
2. The method for editing and outputting data according to claim 1,
the control module is divided into different types according to different numbers or attributes of the control parameters;
the transverse structure blocks are a plurality of combined blocks which are connected end to end with the control modules, and the longitudinal structure blocks are combined blocks which are embedded and connected up and down with the control modules of the same type.
3. The method of claim 2,
the control module is provided with a plurality of different parameter graphs, and the parameter graphs correspond to the control parameters one to one;
and responding to the touch operation of the user, popping up a data selection box to perform data setting on the control parameters.
4. A method for editing and outputting data according to claim 3,
displaying an operation button in a user operation interface of the software;
responding to the touch operation of a user on the operation button, reading and integrating the control data of the queue type structure block, and outputting the control data according to the operation logic set by the priority;
the priority setting operation logic comprises horizontal operation logic or vertical operation logic.
5. The method for editing and outputting data as claimed in claim 4,
when the operation logic set by the priority comprises a horizontal operation logic, the control parameter comprises a lamp number parameter, and the lamp number parameter corresponds to a load lamp of an output interface;
the queue type structure blocks are divided into a plurality of transverse structure blocks, and lamp serial number parameters contained in the control modules in the transverse structure blocks are read;
and identifying the lamp number parameters, and filtering the control modules containing the same lamp number parameters in the same transverse structure block.
6. The method for editing and outputting data as claimed in claim 4,
when the operation logic set by the priority comprises a vertical operation logic, the control parameters comprise operation time parameters, and the operation time parameters correspond to the light operation time attributes of the lamp;
the queue type structure block is divided into a plurality of transverse structure blocks, and the control module with the minimum time operation parameter in the same transverse structure block is a first control module;
and after the first control module of the previous transverse structure block finishes the operation according to the operation time output by the time operation parameter, the next transverse structure block outputs a control instruction to the load lamp.
7. The method for editing and outputting data as claimed in claim 4,
displaying a circulation button in a user operation interface of the software;
and responding to the touch operation of the user on the circulation button, converting the queue data into a control instruction, outputting the control instruction to a load lamp, and then running again.
8. The method for editing and outputting data as claimed in claim 4,
displaying a sharing button in a user operation interface of the software;
and responding to the touch operation of the user on the cycle button, generating two-dimensional codes, bar codes or links from the queue data by using a computer image processing technology and a combined coding principle, and uploading the two-dimensional codes, the bar codes or the links to a cloud server for storage.
9. The method for editing and outputting data according to claim 1,
and outputting the control instruction to a load lamp in a wireless communication mode, 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.
10. The method for editing and outputting data according to claim 9,
the wireless communication is Bluetooth communication, an integrated control block is arranged on the load lamp and provided with a Bluetooth chip, and the Bluetooth chip is used for receiving a control command through the Bluetooth communication and outputting an electric signal to the control interface.
CN202210655408.7A 2022-06-10 2022-06-10 Data editing and outputting method Pending CN115052402A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210655408.7A CN115052402A (en) 2022-06-10 2022-06-10 Data editing and outputting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210655408.7A CN115052402A (en) 2022-06-10 2022-06-10 Data editing and outputting method

Publications (1)

Publication Number Publication Date
CN115052402A true CN115052402A (en) 2022-09-13

Family

ID=83162248

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210655408.7A Pending CN115052402A (en) 2022-06-10 2022-06-10 Data editing and outputting method

Country Status (1)

Country Link
CN (1) CN115052402A (en)

Similar Documents

Publication Publication Date Title
CN110377278B (en) Visual programming tool system based on artificial intelligence and Internet of things
CN104365184B (en) For the method storing, advise and/or utilizing illumination to arrange
CN101675713B (en) Method and system for automatically verifying the possibility of rendering a lighting atmosphere from an abstract description
CN104216785B (en) General policies task system and its implementation
CN205305164U (en) Intelligent light -adjusting LED lamp and intelligent lighting system based on thing networking
US20140132154A1 (en) Coordinated wearable lighting system
CN113709948B (en) Lamp effect synthesis control system and method for intelligent colored lamp
CN107567138A (en) Intelligent lamp control apparatus and system based on cloud computing
CN108921105A (en) Identify the method, apparatus and computer readable storage medium of destination number
CN111800923B (en) Light control method and device, readable storage medium and terminal equipment
CN110163345A (en) A kind of Processing with Neural Network method, apparatus, equipment and medium
CN113886026B (en) Intelligent modeling method and system based on dynamic parameter configuration and process supervision
CN117082683A (en) Spliced lamp effect application and playing method and device, equipment and medium
CN108898917A (en) Terminal control method, device and computer equipment based on color identification
KR20140122908A (en) Lighting system, lighting apparatus and method of controlling the same
CN110515620A (en) A kind of automation method for processing resource and system
CN107370823A (en) Data acquisition and long-range control method, device and computer-readable recording medium
CN115052402A (en) Data editing and outputting method
CN107567153A (en) A kind of system and method for adjusting room light
CN106163001A (en) A kind of Intelligent LED lighting control system based on Android, IOS Yu ZigBee
CN112687059A (en) Intelligent express delivery cabinet pickup method and device, terminal equipment and storage medium
US9921728B2 (en) Service providing device, and method of providing a user interface
CN107315981A (en) Portable bar code scanning device and data high-efficient treatment method
CN113342291B (en) Lamp effect control method and lamp effect control system
WO2022117027A1 (en) Configuration method for sub-devices of smart home control panel, computer device and computer-readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination