CN115397067B - Intelligent lamp control method, system, electronic equipment and storage medium - Google Patents
Intelligent lamp control method, system, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN115397067B CN115397067B CN202210901735.6A CN202210901735A CN115397067B CN 115397067 B CN115397067 B CN 115397067B CN 202210901735 A CN202210901735 A CN 202210901735A CN 115397067 B CN115397067 B CN 115397067B
- Authority
- CN
- China
- Prior art keywords
- time
- starting
- bit
- request
- light
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/40—Control techniques providing energy savings, e.g. smart controller or presence detection
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
The invention relates to an intelligent lamp control method, an intelligent lamp control system, electronic equipment and a storage medium, which are characterized by comprising the following steps: receiving a time forward or backward request triggered by a user, and determining a time stamp of the forward or backward request position in a time bar; acquiring a lamplight starting bit corresponding to the time stamp of the forward or backward request position according to the time stamp of the forward or backward request position; determining and executing corresponding light states according to the light starting bit; according to the operation triggered by the user, adaptively adjusting the unit time length of the forward or backward, wherein the unit time length of the forward or backward comprises: the forward or backward request time length and the forward or backward operation time length can enhance interactivity.
Description
Technical Field
The invention relates to the technical field of lamp control, in particular to an intelligent lamp control method, an intelligent lamp control system, electronic equipment and a storage medium.
Background
The shadow effect is that the space structure is built and the layers are clear. Without light, there is no visual space art, and a good light design will produce a rich space hierarchy, highlighting the sense of flow in space. According to different color requirements, the requirements of the lamp group, such as the partial group opening and the partial group closing, are that the lamp needs to be controlled. Most existing light control systems schedule different groups of lights through continuous time settings. For example, when a user watches a lamplight show or lamplight show, lamplight can only be demonstrated according to preset, but if the user does not see clearly or wants to review one of the nodes, the user can only conduct the demonstration again from beginning to end after the whole preset demonstration is finished, time is wasted, interactivity is poor, and experience feeling for a user is poor.
Disclosure of Invention
In order to solve the above problems, the present invention aims to provide an intelligent light control method, an intelligent light control system, an electronic device and a storage medium.
Specifically, an intelligent lamp control method includes:
receiving a time forward or backward request triggered by a user, and determining a time stamp of the forward or backward request position in a time bar;
acquiring a lamplight starting bit corresponding to the time stamp of the forward or backward request position according to the time stamp of the forward or backward request position;
determining and executing corresponding light states according to the light starting bit;
according to the operation triggered by the user, adaptively adjusting the unit time length of the forward or backward, wherein the unit time length of the forward or backward comprises: a request time length for advancing or backing, and an operation time length for advancing or backing.
Further, the obtaining, according to the timestamp of the forward or backward request position, the light start bit corresponding to the timestamp of the forward or backward request position further includes:
judging whether the position of the timestamp of the determined request position is at the position of a lamplight starting bit or not; if the starting position is at the position of the lamplight starting position, the starting position is the position of the timestamp of the request position; if the light starting position is not located at the light starting position, determining a last starting position and a next starting position according to the position of a time stamp of a request position, judging whether the time difference between the time on a time bar corresponding to the next starting position and the time on the time bar corresponding to the time stamp of the request position is smaller than or equal to the starting time of the next starting position, and if the time difference between the time on the time bar corresponding to the next starting position and the time on the time bar corresponding to the time stamp of the request position is smaller than or equal to the starting time of the next starting position, determining the starting position as the next starting position; and if the difference between the time on the time bar corresponding to the next starting bit and the time on the time bar corresponding to the time stamp of the request position is larger than the starting time of the next starting bit, determining the starting bit as the last starting bit.
Further, the determining each corresponding light state according to the light start bit includes:
indexing a prestored control instruction corresponding to the determined starting bit according to the determined starting bit;
and controlling the light states according to the stored control instructions.
Further, the method also comprises the following steps: and acquiring a video data frame corresponding to the forward or backward request section according to the time stamp of the forward or backward request position and the light starting bit, and playing the video frame to be played.
When the starting bit is the position of the timestamp of the request position or the starting bit is determined to be the last starting bit, the video starts to play from the timestamp of the request position; when the start bit is determined to be the next start bit, the video starts to play from the time when the position of the next start bit is located.
Specifically, an intelligent lamp control system includes:
the time stamp position determining unit is used for receiving a time forward or backward request triggered by a user and determining a time stamp of the forward or backward request position in the time bar;
a starting bit obtaining unit, configured to obtain a light starting bit corresponding to a time stamp of the forward or backward request position according to the time stamp of the forward or backward request position;
the lamplight determining unit is used for determining corresponding lamplight states according to the lamplight starting bit;
according to the operation triggered by the user, adaptively adjusting the unit time length of the forward or backward, wherein the unit time length of the forward or backward comprises: a request time length for advancing or backing, and an operation time length for advancing or backing.
Further, the start bit acquisition unit includes:
the starting bit processing unit is used for determining a starting bit according to the time stamp, the lamplight starting bit and the lamplight starting time of the determined request position in the time bar;
the method specifically comprises the following steps: a start bit processing unit, configured to determine whether the position of the timestamp that determines the request position is at the position of the light start bit; if the starting position is at the position of the lamplight starting position, the starting position is the position of the timestamp of the request position; if the light starting position is not located at the light starting position, determining a last starting position and a next starting position according to the position of a time stamp of a request position, judging whether the time difference between the time on a time bar corresponding to the next starting position and the time on the time bar corresponding to the time stamp of the request position is smaller than or equal to the starting time of the next starting position, and if the time difference between the time on the time bar corresponding to the next starting position and the time on the time bar corresponding to the time stamp of the request position is smaller than or equal to the starting time of the next starting position, determining the starting position as the next starting position; and if the difference between the time on the time bar corresponding to the next starting bit and the time on the time bar corresponding to the time stamp of the request position is larger than the starting time of the next starting bit, determining the starting bit as the last starting bit.
Further, the light determination unit includes:
the indexing unit is used for indexing a prestored control instruction corresponding to the determined starting bit according to the determined starting bit;
the control unit is used for controlling each light state according to the stored control instruction;
wherein, the light state includes the light shade, switch, angle and color of the light.
Further, the method further comprises the following steps: and the playing unit is used for acquiring the video data frame corresponding to the forward or backward request section according to the time stamp of the forward or backward request position and the light starting bit, and playing the video frame to be played.
Specifically, an intelligent lamp accuse electronic equipment includes:
one or more processors;
a memory for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1-4.
In particular, a computer readable storage medium having stored thereon a computer program, characterized in that the program, when executed by a processor, implements the method according to any of claims 1-4.
The invention has the advantages that:
the invention integrates the light starting bit and the control time into a time bar with a starting bit mark, and determines the time stamp of the forward or backward request position in the time bar according to the forward or backward request of the time triggered by the user; acquiring a lamplight starting bit corresponding to the time stamp of the forward or backward request position according to the time stamp of the forward or backward request position; determining and executing corresponding light states according to the light starting position, realizing the regulation and control of light groups arranged in sequence in the exhibition, and enhancing interactivity; the light starting bit, the display video and the control time are integrated into the time bar with the starting bit mark and the video stream, wherein the video is determined according to the determination of the starting bit, and the problem of synchronization of the video and the light during time regulation is solved.
Drawings
FIG. 1 is a schematic flow chart of an intelligent lamp control method according to the present invention;
FIG. 2 is a flow chart of another intelligent light control method of the present invention;
FIG. 3 is a block diagram of a time stamp location determination light activation bit of the present invention;
FIG. 4 is a block diagram of another timestamp position determination light activation bit of the present invention;
FIG. 5 is a block diagram of a time stamp location determination light activation bit and video frame in accordance with the present invention;
FIG. 6 is a block diagram of another timestamp position determination light activation bit and video frame of the present invention;
FIG. 7 is a schematic diagram of an embodiment of a computer device of the present invention.
Detailed Description
The present invention will be described in detail with reference to specific examples. The following examples will assist those skilled in the art in further understanding the present invention, but are not intended to limit the invention in any way. It should be noted that variations and modifications could be made by those skilled in the art without departing from the inventive concept. These are all within the scope of the present invention.
The term "comprising" and variations thereof as used herein means open ended, i.e., "including but not limited to. The term "or" means "and/or" unless specifically stated otherwise. 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.
In view of the technical problems existing in the prior art, in some embodiments provided in the present disclosure, fig. 1 shows a flow chart of a multi-screen spatial collaboration display control method. As shown in fig. 1, the intelligent lamp control method includes:
s110: and receiving a user-triggered time forward or backward request, and determining a time stamp of the forward or backward request position in the time bar.
S120: and acquiring a lamplight starting bit corresponding to the time stamp of the forward or backward request position according to the time stamp of the forward or backward request position. The method for determining the lamplight starting bit comprises the steps of judging whether the position of the timestamp of the determined request position is positioned at the position of the lamplight starting bit or not; if the starting position is at the position of the lamplight starting position, the starting position is the position of the timestamp of the request position; if the light starting position is not located at the light starting position, determining a last starting position and a next starting position according to the position of a time stamp of a request position, judging whether the time difference between the time on a time bar corresponding to the next starting position and the time on the time bar corresponding to the time stamp of the request position is smaller than or equal to the starting time of the next starting position, and if the time difference between the time on the time bar corresponding to the next starting position and the time on the time bar corresponding to the time stamp of the request position is smaller than or equal to the starting time of the next starting position, determining the starting position as the next starting position; and if the difference between the time on the time bar corresponding to the next starting bit and the time on the time bar corresponding to the time stamp of the request position is larger than the starting time of the next starting bit, determining the starting bit as the last starting bit.
S130: and determining corresponding light states according to the light starting bit. Wherein, confirm each corresponding light state according to this light start bit and include: indexing a prestored control instruction corresponding to the determined starting bit according to the determined starting bit; and controlling and executing each light state according to the stored control instruction. The method specifically comprises the following steps: when the starting bit is the position of the timestamp of the request position, regulating and controlling the lamplight according to each lamplight state corresponding to the starting bit, wherein the holding time of each lamplight state is from the position of the timestamp of the request position to the time corresponding to the next starting bit; when the starting bit is determined to be the last starting bit, regulating and controlling the lamplight according to each lamplight state corresponding to the last starting bit, wherein the holding time of each lamplight state is from the position of the timestamp of the request position to the time corresponding to the next starting bit; when the starting bit is determined to be the next starting bit, the lamplight is regulated and controlled according to each lamplight state corresponding to the next starting bit, and the holding time of each lamplight state is from the time corresponding to the next starting bit to the time corresponding to the next starting bit of the next starting bit.
According to the operation triggered by the user, adaptively adjusting the unit time length of the forward or backward, wherein the unit time length of the forward or backward comprises: a request time length for advancing or backing, and an operation time length for advancing or backing.
In some embodiments of the present disclosure, in the steps provided in the foregoing embodiments, fig. 2 shows a schematic flow chart of another intelligent light control. As shown in fig. 2, the method specifically includes the following steps:
s210: and receiving a user-triggered time forward or backward request, and determining a time stamp of the forward or backward request position in the time bar.
S220: and acquiring a lamplight starting bit corresponding to the time stamp of the forward or backward request position according to the time stamp of the forward or backward request position.
The method for determining the lamplight starting bit comprises the steps of judging whether the position of the timestamp for determining the request position is positioned at the position of the lamplight starting bit or not; if the starting position is at the position of the lamplight starting position, the starting position is the position of the timestamp of the request position; if the light starting position is not located at the light starting position, determining a last starting position and a next starting position according to the position of a time stamp of a request position, judging whether the time difference between the time on a time bar corresponding to the next starting position and the time on the time bar corresponding to the time stamp of the request position is smaller than or equal to the starting time of the next starting position, and if the time difference between the time on the time bar corresponding to the next starting position and the time on the time bar corresponding to the time stamp of the request position is smaller than or equal to the starting time of the next starting position, determining the starting position as the next starting position; and if the difference between the time on the time bar corresponding to the next starting bit and the time on the time bar corresponding to the time stamp of the request position is larger than the starting time of the next starting bit, determining the starting bit as the last starting bit.
S230: determining corresponding light states according to the light starting position; and acquiring a video data frame corresponding to the forward or backward request section according to the time stamp of the forward or backward request position and the light starting bit, and playing the video frame to be played. According to the operation triggered by the user, adaptively adjusting the unit time length of the forward or backward, wherein the unit time length of the forward or backward comprises: a request time length for advancing or backing, and an operation time length for advancing or backing. Wherein, confirm each corresponding light state according to this light start bit and include: indexing a prestored control instruction corresponding to the determined starting bit according to the determined starting bit; and controlling the light states according to the stored control instructions.
When the starting bit is the position of the timestamp of the request position or the starting bit is determined to be the last starting bit, the video starts to play from the timestamp of the request position; when the start bit is determined to be the next start bit, the video starts to play from the time when the position of the next start bit is located.
The unit time length of forward or backward comprises the following steps: the forward or backward request time length and the forward or backward operation time length, and when the request time length is received, the video and the light still operate, so that the time stamp can subtract the request time length when the request time length is forward or backward.
Based on the method, the invention discloses an embodiment of the intelligent lamp control applied to exhibition and demonstration of the sand table. As shown in fig. 3-4, the sand table comprises a first display plate, a second display plate, a third display plate, … … and an nth display plate, and the system pre-stores the starting of each light state of different plate light groups in the sand table display as a starting position, wherein each light state comprises the brightness, the switch, the angle, the color and the like of light. And (3) carrying out different time settings on the light states (namely different starting bits) corresponding to different display plates, and storing the light states as time bars. Example(s)If the first display plate corresponds to the starting position 1, the starting position 1 comprises a first lamp group which faces the first display plate to be lighted, and the rest lamp groups are turned off; the second display plate corresponds to the starting position 2, the starting position 2 comprises a second lamp set which is turned on and the other lamp sets are turned off, and the other display plates are sequentially and correspondingly provided with starting positions. When the display starts, the starting position 1 is started, a first lamp group facing the first display plate is lightened, and the rest lamp groups are closed; when the time bar reaches the set time of the starting position 2, the starting position 2 is started, the second lamp group facing the second display plate is lightened, and the rest lamp groups are turned off. However, when the time is at the position of the start bit n, the customer wishes to review the second display board, then the time bar is retracted, the time stamp of the request position is determined, when the time stamp of the request position is just at the position of the start bit 2 as shown in fig. 3, then the start bit is the position of the time stamp of the request position, the second lamp group facing the second display board is turned on, and the rest lamp groups are turned off. When the client wants to return to the position of the starting bit n again, advancing the time bar time, determining the time stamp of the request position, and when the time stamp of the request position is between the starting bit n-1 and the starting bit n, judging whether the difference between the time on the time bar corresponding to the starting bit n and the time on the time bar corresponding to the time stamp of the request position is smaller than or equal to the starting bit n starting time T S As shown in fig. 4, the difference between the time on the time bar corresponding to the start bit n and the time on the time bar corresponding to the time stamp of the request position is smaller than the start time of the start bit n, so the start bit is determined as the start bit n.
Based on the method, the invention discloses an embodiment of the intelligent lamp control applied to exhibition and demonstration of the sand table. As shown in fig. 5-6, a control method of a lamp control in a exhibition hall with a sand table and video combined is shown. Including first show plate, second show plate, third show plate, … …, the nth show plate, first show plate corresponds the first video stream of first show plate content, the second show plate corresponds the second first video stream of second show plate content, … …, the nth show plate corresponds the nth video stream of nth show plate content. The system displays the various light states of different plate light groups in the sand tableThe starting is pre-stored as a starting bit, wherein each light state comprises the brightness, the switch, the angle, the color and the like of the light. And (3) carrying out different time settings on the light states (namely different starting bits) corresponding to different display plates, and storing the light states as time bars. For example, the first display panel corresponds to start position 1, start position 1 includes the first light group facing the first display panel being lighted, and the remaining light groups being turned off; the second display plate corresponds to the starting position 2, the starting position 2 comprises a second lamp set which is turned on and the other lamp sets are turned off, and the other display plates are sequentially and correspondingly provided with starting positions. When the display starts, the starting position 1 is started, a first lamp group facing the first display plate is lightened, and the rest lamp groups are closed; when the time bar reaches the set time of the starting position 2, the starting position 2 is started, the second lamp group facing the second display plate is lightened, and the rest lamp groups are turned off. The video stream is correspondingly started according to the starting of the lamplight. When the time is at the position of the starting bit n, if the customer wants to review the second display plate, the time of the time bar is backed, the time stamp of the requested position is determined, when the time stamp of the requested position is at the position between the starting bit 1 and the starting bit 2 as shown in fig. 5, whether the difference between the time on the time bar corresponding to the starting bit 2 and the time on the time bar corresponding to the time stamp of the requested position is less than or equal to the starting bit n starting time T is determined S As shown in fig. 5, the difference between the time on the time bar corresponding to the start bit n and the time on the time bar corresponding to the timestamp of the request position is greater than the start time T of the start bit n S So the start bit is determined to be start bit 1, the first light group of the first display plate is turned on, the rest light groups are turned off, each light state time started by the start bit 1 starts from the request position time stamp, and the video stream is backed up to the request position video frame.
When the client requests to return to the position of the start bit n, if the timestamp of the requested position is at a position between the start bit n-1 and the start bit n as shown in fig. 6, then determining whether the difference between the time on the time bar corresponding to the start bit n and the time on the time bar corresponding to the timestamp of the requested position is less than or equal to the start bit nStart time T S As shown in FIG. 6, the time on the time bar corresponding to the start bit n is equal to the requested positionThe time difference on the time bar corresponding to the time stamp is smaller than the start time T of the start bit n S Therefore, the starting bit is determined as the starting bit n, the nth lamp group of the nth display plate is turned on, the rest lamp groups are turned off, each light state time started by the starting bit n is started from the starting bit n, and the video stream advances to the video frame at the position time of the starting bit n and is played.
In some embodiments of the inventive disclosures made herein, there is provided an intelligent light control system,
the intelligent lamp control method is applied to the intelligent lamp control method provided by the embodiment. The intelligent light control system may include:
the time stamp position determining unit is used for receiving a time forward or backward request triggered by a user and determining a time stamp of the forward or backward request position in the time bar;
a starting bit obtaining unit, configured to obtain a light starting bit corresponding to a time stamp of the forward or backward request position according to the time stamp of the forward or backward request position;
the lamplight determining unit is used for determining corresponding lamplight states according to the lamplight starting bit;
according to the operation triggered by the user, adaptively adjusting the unit time length of the forward or backward, wherein the unit time length of the forward or backward comprises: a request time length for advancing or backing, and an operation time length for advancing or backing.
Wherein the start bit acquisition unit includes: and the starting bit processing unit is used for determining the starting bit according to the time stamp, the lamplight starting bit and the lamplight starting time for determining the request position in the time bar. The method specifically comprises the following steps: a start bit processing unit, configured to determine whether the position of the timestamp that determines the request position is at the position of the light start bit; if the starting position is at the position of the lamplight starting position, the starting position is the position of the timestamp of the request position; if the light starting position is not located at the light starting position, determining a last starting position and a next starting position according to the position of a time stamp of a request position, judging whether the time difference between the time on a time bar corresponding to the next starting position and the time on the time bar corresponding to the time stamp of the request position is smaller than or equal to the starting time of the next starting position, and if the time difference between the time on the time bar corresponding to the next starting position and the time on the time bar corresponding to the time stamp of the request position is smaller than or equal to the starting time of the next starting position, determining the starting position as the next starting position; and if the difference between the time on the time bar corresponding to the next starting bit and the time on the time bar corresponding to the time stamp of the request position is larger than the starting time of the next starting bit, determining the starting bit as the last starting bit. The device also comprises a storage unit for storing the time bar, the lamplight starting bit, the lamplight starting time, the lamplight serial number and the lamplight control state instruction.
Wherein, the light determination unit includes: the indexing unit is used for indexing a prestored control instruction corresponding to the determined starting bit according to the determined starting bit; and the control unit is used for controlling each light state according to the stored control instructions. Wherein, the light state includes the light shade, switch, angle and color of the light.
In some embodiments of the inventive disclosures made herein, there is provided another intelligent lighting control system, comprising:
the time stamp position determining unit is used for receiving a time forward or backward request triggered by a user and determining a time stamp of the forward or backward request position in the time bar;
a starting bit obtaining unit, configured to obtain a light starting bit corresponding to a time stamp of the forward or backward request position according to the time stamp of the forward or backward request position;
the lamplight determining unit is used for determining corresponding lamplight states according to the lamplight starting bit;
and the playing unit is used for acquiring the video data frame corresponding to the forward or backward request section according to the time stamp of the forward or backward request position and the light starting bit, and playing the video frame to be played.
As shown in fig. 7, based on the same conception, the present invention also provides a computer device 100, which computer device 100 may have a relatively large difference due to a configuration or performance, and may include one or more processors (central processing units, CPU) 110 (e.g., one or more processors) and a memory 120, one or more storage media 130 (e.g., one or more mass storage devices) storing application programs 133 or data 132. Wherein memory 120 and storage medium 130 may be transitory or persistent storage. The program stored on the storage medium 130 may include one or more modules (not shown), each of which may include a series of instruction operations in the computer device 100. Still further, the processor 110 may be configured to communicate with a storage medium 130 and execute a series of instruction operations in the storage medium 130 on the computer device 100.
The computer device 100 may also include one or more power supplies 140, one or more wired or wireless network interfaces 150, one or more input/output interfaces 160, and/or one or more operating systems 131, such as Windows Serve, mac OS X, unix, linux, freeBSD, and the like.
Those skilled in the art will appreciate that the computer device architecture shown in fig. 7 is not limiting of the computer device and may include more or fewer components than shown or may combine certain components, or a different arrangement of components.
The computer readable instructions, when executed by the processor, cause the processor to perform the steps of: receiving a time forward or backward request triggered by a user, and determining a time stamp of the forward or backward request position in a time bar; acquiring a lamplight starting bit corresponding to the time stamp of the forward or backward request position according to the time stamp of the forward or backward request position; and determining corresponding light states according to the light starting bit.
In one embodiment, a readable storage medium is provided, where the computer readable instructions, when executed by one or more processors, cause the one or more processors to perform the above steps, and specific steps are not described herein.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims (8)
1. An intelligent light control method is characterized by comprising the following steps:
receiving a time forward or backward request triggered by a user, and determining a time stamp of the forward or backward request position in a time bar;
acquiring a lamplight starting bit corresponding to the time stamp of the forward or backward request position according to the time stamp of the forward or backward request position; the method specifically comprises the following steps: judging whether the position of the timestamp of the determined request position is at the position of a lamplight starting bit or not; if the starting position is at the position of the lamplight starting position, the starting position is the position of the timestamp of the request position; if the light starting position is not located at the light starting position, determining a last starting position and a next starting position according to the position of a time stamp of a request position, judging whether the time difference between the time on a time bar corresponding to the next starting position and the time on the time bar corresponding to the time stamp of the request position is smaller than or equal to the starting time of the next starting position, and if the time difference between the time on the time bar corresponding to the next starting position and the time on the time bar corresponding to the time stamp of the request position is smaller than or equal to the starting time of the next starting position, determining the starting position as the next starting position; if the difference between the time on the time bar corresponding to the next starting bit and the time on the time bar corresponding to the time stamp of the request position is larger than the starting time of the next starting bit, the starting bit is determined to be the last starting bit;
and determining and executing the corresponding light states according to the light starting bit.
2. The intelligent light control method according to claim 1, wherein said determining each corresponding light state according to the light start bit comprises:
indexing a prestored control instruction corresponding to the determined starting bit according to the determined starting bit;
and controlling the light states according to the stored control instructions.
3. The intelligent light control method according to claim 1, further comprising the steps of: according to the time stamp of the forward or backward request position and the light starting bit, obtaining a video data frame corresponding to the time stamp of the forward or backward request position, and playing the video data frame;
when the starting bit is the position of the timestamp of the request position or the starting bit is determined to be the last starting bit, the video starts to play from the timestamp of the request position; when the start bit is determined to be the next start bit, the video starts to play from the time when the position of the next start bit is located.
4. An intelligent light control system, comprising:
the time stamp position determining unit is used for receiving a time forward or backward request triggered by a user and determining a time stamp of the forward or backward request position in the time bar;
a starting bit obtaining unit, configured to obtain a light starting bit corresponding to a time stamp of the forward or backward request position according to the time stamp of the forward or backward request position; the starting bit obtaining unit comprises a starting bit processing unit and a starting bit obtaining unit, wherein the starting bit processing unit is used for determining a starting bit according to the timestamp of the determining request position, the lamplight starting bit and the starting bit starting time in the time bar; the method specifically comprises the following steps: the starting bit processing unit is used for judging whether the position of the timestamp of the determined request position is positioned at the position of the lamplight starting bit or not; if the starting position is at the position of the lamplight starting position, the starting position is the position of the timestamp of the request position; if the light starting position is not located at the light starting position, determining a last starting position and a next starting position according to the position of a time stamp of a request position, judging whether the time difference between the time on a time bar corresponding to the next starting position and the time on the time bar corresponding to the time stamp of the request position is smaller than or equal to the starting time of the next starting position, and if the time difference between the time on the time bar corresponding to the next starting position and the time on the time bar corresponding to the time stamp of the request position is smaller than or equal to the starting time of the next starting position, determining the starting position as the next starting position; if the difference between the time on the time bar corresponding to the next starting bit and the time on the time bar corresponding to the time stamp of the request position is larger than the starting time of the next starting bit, the starting bit is determined to be the last starting bit;
and the lamplight determining unit is used for determining and executing the corresponding lamplight states according to the lamplight starting bit.
5. The intelligent lighting control system of claim 4, wherein the light determination unit comprises:
the indexing unit is used for indexing a prestored control instruction corresponding to the determined starting bit according to the determined starting bit;
the control unit is used for controlling each light state according to the stored control instruction;
wherein, the light state includes the light shade, switch, angle and color of the light.
6. The intelligent lighting control system of claim 4, further comprising: the playing unit is used for acquiring a video data frame corresponding to the time stamp of the forward or backward request position according to the time stamp of the forward or backward request position and the light starting bit, and playing the video data frame;
when the starting bit is the position of the timestamp of the request position or the starting bit is determined to be the last starting bit, the video starts to play from the timestamp of the request position; when the start bit is determined to be the next start bit, the video starts to play from the time when the position of the next start bit is located.
7. An intelligent light control electronic device, comprising:
one or more processors;
a memory for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1-3.
8. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to any of claims 1-3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210901735.6A CN115397067B (en) | 2022-07-28 | 2022-07-28 | Intelligent lamp control method, system, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210901735.6A CN115397067B (en) | 2022-07-28 | 2022-07-28 | Intelligent lamp control method, system, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115397067A CN115397067A (en) | 2022-11-25 |
CN115397067B true CN115397067B (en) | 2023-06-16 |
Family
ID=84116717
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210901735.6A Active CN115397067B (en) | 2022-07-28 | 2022-07-28 | Intelligent lamp control method, system, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115397067B (en) |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN204576177U (en) * | 2015-05-20 | 2015-08-19 | 四川空月科技有限公司 | A kind of goods electronic sand map control enclosure |
CN106332393B (en) * | 2015-06-30 | 2019-02-15 | 芋头科技(杭州)有限公司 | A kind of music light regular movements system and method |
US20170168662A1 (en) * | 2015-12-15 | 2017-06-15 | Le Holdings (Beijing) Co., Ltd. | Display Method and Electronic Device for Rapidly Positioning Play Time Point |
EP3328159A1 (en) * | 2016-11-29 | 2018-05-30 | Thomson Licensing | Method for controlling authored light intensity, corresponding apparatus, computer program product and storage medium |
CN208422339U (en) * | 2018-05-15 | 2019-01-22 | 宁波市沃野文化科技有限公司 | A kind of multi-platform interactive sandbox control demo system |
CN110730543A (en) * | 2019-10-17 | 2020-01-24 | 深圳市瑞云科技有限公司 | Building group glass curtain wall light show system and use method |
CN111147943B (en) * | 2019-12-23 | 2022-06-21 | 大峡谷照明系统(苏州)股份有限公司 | Multimedia light linkage playing method and device, computer equipment and storage medium |
CN112600888A (en) * | 2020-12-04 | 2021-04-02 | 南京乐之飞科技有限公司 | Digital multifunctional exhibition hall intelligent center control cloud platform based on data diversification processing |
CN113946126A (en) * | 2021-10-12 | 2022-01-18 | 南京思德展示科技股份有限公司 | Full-media broadcast control system |
-
2022
- 2022-07-28 CN CN202210901735.6A patent/CN115397067B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN115397067A (en) | 2022-11-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7355606B2 (en) | Methods and apparatuses for the automated display of visual effects | |
JP4383853B2 (en) | Apparatus, method and system using graphic rendering engine with temporal allocator | |
US6504534B1 (en) | CRT display unit and power supply control method therefor | |
KR101634153B1 (en) | Facilitating efficient switching between graphics-processing units | |
EP1118977A1 (en) | Projection display | |
US9201660B2 (en) | Method and mobile terminal for controlling display of waiting information during program startup | |
JP2005250235A5 (en) | ||
CN115397067B (en) | Intelligent lamp control method, system, electronic equipment and storage medium | |
CN107885814A (en) | Method and device for displaying carousel pictures | |
CN111683445A (en) | Dynamic control method and system for lighting equipment and related equipment | |
JPH04359642A (en) | Power supply device | |
US8077180B1 (en) | Systems for and methods of using a display controller to output data | |
US20050057543A1 (en) | Interface computer for a stage lighting system | |
US20060038744A1 (en) | Display control apparatus and method, and program | |
CA2532470A1 (en) | Method for sharing a graphics display as a resource in an embedded system | |
JP2004164539A (en) | Method for controlling activation picture of computer platform, its program, storage medium storing its program, and computer platform | |
KR100500232B1 (en) | system and method for video control in computer | |
JP2606144Y2 (en) | Video display device | |
US6380989B1 (en) | Display system and method for supplying a display system with a picture signal | |
JP4342152B2 (en) | Color display device, method and program | |
JPH1091463A (en) | Information processor and recording medium | |
JPH0588636A (en) | Display device | |
JPH04122990A (en) | Scroll system | |
JP2001313897A (en) | Broadcast program schedule controller | |
JP2002236483A (en) | Tuning equipment |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: Room 1502, No. 1, Lane 166, Minhong Road, Minhang District, Shanghai, 201102 Applicant after: Shanghai Heyi Future Culture and Technology Co.,Ltd. Address before: Room 1502, No. 1, Lane 166, Minhong Road, Minhang District, Shanghai, 201102 Applicant before: Heyi (Shanghai) Exhibition Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |