CN116543459A - Intelligent landscape lighting method and system and electronic equipment - Google Patents

Intelligent landscape lighting method and system and electronic equipment Download PDF

Info

Publication number
CN116543459A
CN116543459A CN202310497709.6A CN202310497709A CN116543459A CN 116543459 A CN116543459 A CN 116543459A CN 202310497709 A CN202310497709 A CN 202310497709A CN 116543459 A CN116543459 A CN 116543459A
Authority
CN
China
Prior art keywords
action
user
landscape lighting
preset
lighting lamp
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
CN202310497709.6A
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.)
Zhejiang Dasheng Technology Engineering Co ltd
Original Assignee
Zhejiang Dasheng Technology Engineering 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 Zhejiang Dasheng Technology Engineering Co ltd filed Critical Zhejiang Dasheng Technology Engineering Co ltd
Priority to CN202310497709.6A priority Critical patent/CN116543459A/en
Publication of CN116543459A publication Critical patent/CN116543459A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/20Movements or behaviour, e.g. gesture recognition
    • G06V40/23Recognition of whole body movements, e.g. for sport training
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/82Arrangements for image or video recognition or understanding using pattern recognition or machine learning using neural networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/40Scenes; Scene-specific elements in video content
    • G06V20/41Higher-level, semantic clustering, classification or understanding of video scenes, e.g. detection, labelling or Markovian modelling of sport events or news items
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Health & Medical Sciences (AREA)
  • Evolutionary Computation (AREA)
  • Health & Medical Sciences (AREA)
  • Software Systems (AREA)
  • Social Psychology (AREA)
  • Computational Linguistics (AREA)
  • Human Computer Interaction (AREA)
  • Psychiatry (AREA)
  • Artificial Intelligence (AREA)
  • Computing Systems (AREA)
  • Databases & Information Systems (AREA)
  • Medical Informatics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The application provides an intelligent landscape lighting method, an intelligent landscape lighting system and electronic equipment. The method comprises the following steps: acquiring an image to be identified, wherein the image to be identified contains action information of a user in a preset area; acquiring a first action in action information; judging whether the first action is consistent with the second action, wherein the second action is any user action in a preset action library; if the first action is consistent with the second action, the first light adjustment mode corresponding to the second action is called according to the corresponding relation in the preset action library, so that the landscape lighting lamp can illuminate in the first light adjustment mode, wherein the corresponding relation is the corresponding relation between the action of the user and the light adjustment mode. The landscape lighting lamp interaction system has the effect of improving interaction experience of the landscape lighting lamp for the user.

Description

Intelligent landscape lighting method and system and electronic equipment
Technical Field
The application relates to the technical field of intelligent interaction, in particular to an intelligent landscape lighting method, an intelligent landscape lighting system and electronic equipment.
Background
The development of landscape lighting lamps brings new opportunities for urban tourism projects, and the landscape lighting lamps are usually installed near the landscape of places such as parks, squares, buildings, bridges, roads and the like, and the landscape is more attractive through the control and adjustment of the light, so that more tourists are attracted to promote the development of urban economy.
At present, part of scenic spots allow users to autonomously adjust landscape lighting lamps, and users can connect the landscape lighting lamps by using mobile equipment or adjust the brightness or the color temperature of the landscape lighting lamps by preset buttons, so that the experience of the users is improved.
However, the above-mentioned adjustment of the landscape lighting through the mobile device or the preset button requires frequent manual adjustment by the user, resulting in lower interactive experience of the user, and therefore, a method is needed to improve the interactive experience of the landscape lighting brought to the user.
Disclosure of Invention
The application provides an intelligent landscape lighting method, an intelligent landscape lighting system and electronic equipment, which have the effect of improving interactive experience brought by landscape lighting lamps to users.
In a first aspect of the present application, there is provided an intelligent landscape lighting method, the method being applied to a server, comprising:
acquiring an image to be identified, wherein the image to be identified contains action information of a user in a preset area;
acquiring a first action in the action information;
judging whether the first action is consistent with a second action, wherein the second action is any user action in a preset action library;
and if the first action is consistent with the second action, according to the corresponding relation in the preset action library, a first light adjustment mode corresponding to the second action is called so that the landscape lighting lamp can illuminate in the first light adjustment mode, wherein the corresponding relation is the corresponding relation between the user action and the light adjustment mode.
By adopting the technical scheme, the server acquires the first action of the user in the preset area, and controls the landscape lighting lamp to perform light adjustment according to the action of the user. When users put out different actions in the preset area, the illumination effect of the landscape lighting lamp is different correspondingly, so that the action behaviors of the users can be fed back by the lamplight, and the interaction experience of the landscape lighting lamp for the users is improved.
Optionally, after the first light adjustment mode corresponding to the second action is invoked, the method further includes:
starting Bluetooth connection permission of a loudspeaker, wherein the loudspeaker is connected with the landscape lighting lamp;
receiving a Bluetooth connection success message sent by user equipment, wherein the Bluetooth connection success message is used for indicating that the user equipment and the loudspeaker establish Bluetooth connection;
forwarding an audio file to the speaker for the speaker to play the audio file, wherein the audio file is sent by the user device to the server.
Through adopting above-mentioned technical scheme, user equipment is connected with speaker bluetooth back, and the user can send audio file to the speaker, realizes the music broadcast, further improves user's experience impression.
Optionally, after receiving the bluetooth connection success message sent by the user equipment, the method further includes:
if the audio file is not received within the preset time, sending a microphone access permission request to the user equipment, wherein the microphone is installed in the user equipment;
after determining that the access right of the microphone is opened, acquiring voice recorded by the microphone;
and sending the voice to the loudspeaker so that the loudspeaker plays the voice.
By adopting the technical scheme, after the access right of the microphone of the user equipment is obtained, the voice file recorded by the user equipment can be received and sent to the loudspeaker, so that the loudspeaker can play singing of the user, and the interactive experience and operability of landscape lighting are further improved.
Optionally, after the first light adjustment mode corresponding to the second action is invoked, the method further includes:
transmitting a recording instruction to a recording assembly, wherein the recording assembly is connected with the landscape lighting lamp;
receiving an environmental sound file, and converting the environmental sound into a sound signal with corresponding intensity, wherein the environmental sound is sound in a preset area recorded by the recording assembly;
and changing the frequency of the first adjusting mode according to the intensity of the sound signal.
Through adopting above-mentioned technical scheme, at first the sound recording subassembly records the environmental sound in the preset region of view light, and the server converts the environmental sound into the sound signal of corresponding intensity again, changes the frequency of first regulation mode according to the intensity of sound signal at last, realizes that the light of view light is rhythmed according to the size of environmental sound, has improved the intelligent degree of view illumination.
Optionally, when the action information further includes a third action, before the first light adjustment mode corresponding to the second action is called, the method further includes:
acquiring a third action in the action information;
acquiring a first user number corresponding to the first action and a second user number corresponding to the third action;
judging whether the first user quantity is larger than the second user quantity, and if the first user quantity is larger than the second user quantity, calling a first light adjusting mode corresponding to the second action.
By adopting the technical scheme, whether the first user number is larger than the second user number is judged, if the first user number is larger than the second user number, the first light adjusting mode corresponding to the second action is called, intelligent control based on multi-user behavior analysis is realized, and the intelligent degree of landscape lighting is improved.
Optionally, after the determining whether the first number of users is greater than the second number of users, the method further includes:
if the first user quantity is determined to be equal to the second user quantity, a first light adjusting mode corresponding to the second action and a second light adjusting mode corresponding to the third action are called;
and randomly selecting the first light adjusting mode or the second light adjusting mode so that the landscape lighting lamp can illuminate in the first light adjusting mode or the second light adjusting mode.
By adopting the technical scheme, if the first user quantity is determined to be equal to the second user quantity, the first light adjusting mode corresponding to the second action or the second light adjusting mode corresponding to the third action is randomly adjusted, so that intelligent control based on multi-user behavior analysis is realized, and the intelligent degree of landscape lighting is improved.
Optionally, the light adjusting mode includes adjusting one or more of brightness adjustment, color temperature adjustment and projection pattern adjustment of the landscape lighting lamp.
Through adopting above-mentioned technical scheme, use multiple light projection pattern can realize richer and diversified light effect to reinforcing user's experience is felt, to the regulation of light colour temperature and luminance, thereby realize more reasonable and natural light effect, improve the travelling comfort and the aesthetic measure of view.
Optionally, after the first light adjustment mode corresponding to the second action is invoked, the method further includes:
acquiring an environment brightness value which is the average brightness value of the lamplight in the preset area;
judging the magnitude relation between the environment brightness value and a preset first threshold value and a preset second threshold value;
if the ambient brightness value is smaller than the first threshold value, a control instruction for increasing brightness is sent to the landscape lighting lamp;
and if the ambient brightness value is larger than the second threshold value, sending a control instruction for reducing the brightness to the landscape lighting lamp.
By adopting the technical scheme, the first threshold value is set, and when the ambient brightness value is smaller than the first threshold value, the brightness of the landscape lighting lamp is increased. And setting a second threshold value, and reducing the brightness of the landscape lighting lamp when the environment brightness value is larger than the second threshold value. The threshold value is set to prevent the brightness of the lamplight from being too high or too low, so that the experience of a user is affected.
In a second aspect of the present application, an intelligent landscape lighting system is provided, the system being installed on a server, and comprising a first acquisition module, a second acquisition module, a judgment module and a processing module, wherein:
the first acquisition module is used for acquiring an image to be identified, wherein the image to be identified contains action information of a user in a preset area;
the second acquisition module is used for acquiring a first action in the action information;
the judging module is used for judging whether the first action is consistent with the second action, and the second action is any user action in a preset action library;
and the processing module is used for calling a first light adjustment mode corresponding to the second action according to the corresponding relation in the preset action library if the first action is consistent with the second action, so that the landscape lighting lamp can illuminate in the first light adjustment mode, wherein the corresponding relation is the corresponding relation between the user action and the light adjustment mode.
In a third aspect of the present application there is provided an electronic device comprising a processor, a memory for storing instructions, a user interface and a network interface, both for communicating to other devices, the processor being for executing the instructions stored in the memory to cause the electronic device to perform a method as claimed in any one of the preceding claims.
In summary, one or more technical solutions provided in the embodiments of the present application at least have the following technical effects or advantages:
1. the server acquires a first action of a user in a preset area, and controls the landscape lighting lamp to conduct lamplight adjustment according to the action of the user. When users put out different actions in the preset area, the illumination effect of the landscape lighting lamp is different correspondingly, so that the action behaviors of the users can be fed back by the lamplight, and the interaction experience of the landscape lighting lamp for the users is improved.
2. The sound recording assembly records the environmental sound in the preset area of the landscape lighting lamp, the server converts the environmental sound into a sound signal with corresponding intensity, and finally the frequency of the first adjusting mode is changed according to the intensity of the sound signal, so that the lamplight of the landscape lighting lamp is rhythmed according to the size of the environmental sound, and the intelligent degree of landscape lighting is improved.
3. The sound recording assembly records the environmental sound in the preset area of the landscape lighting lamp, the server converts the environmental sound into a sound signal with corresponding intensity, and finally the frequency of the first adjusting mode is changed according to the intensity of the sound signal, so that the lamplight of the landscape lighting lamp is rhythmed according to the size of the environmental sound, and the intelligent degree of landscape lighting is improved.
Drawings
FIG. 1 is a flow diagram of an intelligent landscape lighting method disclosed in an embodiment of the present application;
FIG. 2 is a schematic diagram of the intelligent landscape lighting system disclosed in an embodiment of the present application;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Reference numerals illustrate: 201. a first acquisition module; 202. a second acquisition module; 203. a judging module; 204. a processing module; 301. a processor; 302. a communication bus; 303. a user interface; 304. a network interface; 305. a memory.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present specification, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only some embodiments of the present application, but not all embodiments.
In the description of embodiments of the present application, words such as "for example" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described herein as "such as" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "or" for example "is intended to present related concepts in a concrete fashion.
In the description of the embodiments of the present application, the term "plurality" means two or more. For example, a plurality of systems means two or more systems, and a plurality of screen terminals means two or more screen terminals. Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating an indicated technical feature. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise.
The embodiment discloses an intelligent landscape lighting method, referring to fig. 1, the method is applied to a server, and comprises the following steps:
s110, acquiring an image to be identified, wherein the image to be identified contains action information of a user in a preset area.
Specifically, a preset area is set near the landscape lighting lamp in advance, and the preset area is used for a user to display actions so as to control the landscape lighting lamp. The position, size and other parameters of the preset area can be set according to actual conditions. And shooting the video in the preset area by setting a camera in the preset area, and sending the video to the server in real time. The server converts the video into a plurality of video frames, performs preliminary identification on the video frames, and detects the outline of the human body, thereby judging whether the character features with action information exist in the video frames, namely judging whether a user showing actions exists. And if the character features exist, setting the corresponding video frame as an image to be identified.
S120, acquiring a first action in the action information.
Specifically, by performing human body posture estimation on an image to be recognized using a convolutional neural network, key points of a human body, i.e., individual key parts of the human body such as elbows, knees, wrists, etc., are detected, and positional information of the key parts is acquired. The server then identifies a first action of the user based on the location information of the key location. The related technology is a conventional technical means in the related technical field in the action of recognizing the human body by the image, and further description is omitted herein.
S130, judging whether the first action is consistent with the second action, wherein the second action is any user action in a preset action library.
And S140, if the first action is consistent with the second action, according to the corresponding relation in the preset action library, the first light adjustment mode corresponding to the second action is called so that the landscape lighting lamp can illuminate in the first light adjustment mode, wherein the corresponding relation is the corresponding relation between the action of the user and the light adjustment mode.
Specifically, a plurality of different second actions are pre-stored in advance in a database of the server, the second actions including, but not limited to, hand-in, call-in, and salute. After the server identifies the actions of the user according to the position information of each key part of the human body, the actions of the user are compared with the second actions of the preset action library, the similarity value of the actions is calculated, the similarity value is compared with a set threshold value, and when the similarity value is larger than the preset threshold value, the first actions of the user can be judged to be consistent with the second actions of the preset action library. The specific value of the threshold may be adjusted according to practical situations, and the embodiment is not limited specifically. And the server invokes the first light adjusting mode corresponding to the second action according to the corresponding relation between the user action and the light adjusting mode. The light adjusting mode comprises adjustment of a projection pattern, wherein the projection pattern is a pattern projection effect realized on different media such as a wall, a ground, a ceiling and the like of a landscape through a projector or light equipment, and the pattern comprises but is not limited to an loving pattern, a flower pattern and a letter pattern. Meanwhile, in order to further improve the effect of the landscape lighting lamp, the light adjusting mode further comprises adjustment of the brightness and the color temperature of the landscape lighting lamp, namely, the brightness of the landscape lighting lamp is increased or reduced, and the color temperature of the landscape lighting lamp is increased or reduced.
For example, if the second action is preset as the specific action, the loving pattern is projected near the landscape or the user, and at the same time, the color temperature of the light is increased and the brightness of the light is reduced. When the server recognizes that the user swings out the heart, the landscape lighting lamp is controlled to project a love pattern near the landscape or the user, and meanwhile, the color temperature of the lamplight is increased and the brightness of the lamplight is reduced. If the server judges that the second action identical to the first action of the user does not exist, a first light adjusting mode is randomly called.
The server acquires a first action of a user in a preset area, and controls the landscape lighting lamp to conduct lamplight adjustment according to the action of the user. When users put out different actions in the preset area, the illumination effect of the landscape lighting lamp is different correspondingly, so that the action behaviors of the users can be fed back, and the interaction experience of the landscape lighting lamp for the users is improved.
In one possible implementation manner, after the first light adjustment manner corresponding to the second action is invoked, in order to further improve the interaction experience of the user, the user may establish a connection between the user device and the speaker, so as to play music.
Specifically, after the server opens the bluetooth connection permission of the speaker, a voice prompt, for example, "bluetooth connection is opened", is played through the speaker, the user establishes a bluetooth connection with the speaker through the user device, and when the landscape lighting lamp is illuminated, the user device sends the audio file to the server, and the server sends the audio file to the speaker for playing, wherein the audio file comprises songs and the like. Types of user equipment include, but are not limited to: android (Android) system equipment, mobile operating system (iOS) equipment developed by apple corporation, personal Computers (PCs), global area network (Web) equipment, virtual Reality (VR) equipment, augmented Reality (Augmented Reality, AR) equipment and the like.
After the user equipment is connected with the loudspeaker, the server acquires the access right of the microphone of the user equipment, the user can also take the user equipment as the microphone, record voice through the user equipment, the user equipment transmits the recorded voice to the server, and the server forwards the voice to the loudspeaker for playing, so that the loudspeaker can play singing of the user, and the interactive experience and operability of landscape lighting are further improved.
After receiving the recording file of the user equipment, the server sends a starting instruction to the recording assembly, so that the environment sound in the preset area of the landscape lighting lamp recorded by the recording assembly is received. The server performs noise reduction and impurity removal processing on the environmental sound, eliminates the noise in the environmental sound, and reserves human voice and music voice to obtain available sound. The server converts the available sound into a sound signal with corresponding intensity, and the higher the volume, the higher the intensity of the corresponding sound signal, and the lower the volume, the lower the intensity of the corresponding sound signal. Finally, the server changes the frequency of the first adjusting mode according to the intensity of the sound signal. For example, when the human voice and the music voice are loud, the intensity of the sound signal is high, the frequency of the change of the brightness of the server control light is increased, and the frequency of the change of the color temperature is increased. Or when the voice and music are loud, the frequency of the change of the brightness of the service control lamplight is reduced, and the frequency of the change of the color temperature is reduced. According to the technical scheme, the lamplight of the landscape lighting lamp is rhythmed according to the size of the environmental sound, and the intelligent degree of the landscape lighting is improved.
In one possible embodiment, multiple users may be present in the preset area, and actions of the unnecessary users may not be the same, so that the action information of the image to be recognized further includes a third action. At this time, the scene of multiple users needs to be processed to realize the interaction between the multiple users and the landscape lighting lamp.
Specifically, first, the server recognizes the action of each user in the image to be recognized. And counting the number of users corresponding to each action. For example, if three users put out a heart-comparing action, the number of users corresponding to the heart-comparing action is 3. The server obtains the first user quantity corresponding to the first action and obtains the second user quantity corresponding to the third action. Then, the server judges the size relation between the first user quantity and the second user quantity. And if the first user number is greater than the second user number, invoking a first light adjusting mode corresponding to the second action. And if the number of the first users is equal to the number of the second users, randomly selecting and calling the first light adjusting mode corresponding to the second action or the second light adjusting mode corresponding to the third action. And if the number of the first users is smaller than the number of the second users, a second light adjusting mode corresponding to the third action is called. Finally, the server sends the light adjusting mode to the landscape lighting lamp so that the landscape lighting lamp can illuminate in a corresponding light adjusting mode.
In one possible implementation manner, after the server sends the light adjustment manner to the landscape lighting lamp, and the landscape lighting lamp illuminates in a corresponding light adjustment manner, the server first obtains a luminance average value of the light in the preset area. Specifically, an image of a preset area is shot through a camera, the sum of brightness values of all pixel blocks of the image is calculated, the brightness average value can be obtained by removing the image size from the sum of the brightness values, and the ambient brightness value is reflected through the brightness average value. The server further determines a magnitude relation between the luminance average value and a preset first threshold value and a preset second threshold value, wherein the first threshold value is smaller than the second threshold value, and specific numerical values of the first threshold value and the second threshold value can be adjusted according to actual conditions, and the embodiment is not limited specifically. If the environmental brightness value is smaller than the first threshold value, a control instruction for increasing the brightness is sent to the landscape lighting lamp, so that the brightness of the landscape lighting lamp is increased; if the ambient brightness value is greater than or equal to the first threshold value and is smaller than or equal to the second threshold value, the server does not send a brightness control instruction; if the ambient brightness value is greater than the second threshold value, a control instruction for reducing the brightness is sent to the landscape lighting lamp, so that the brightness of the landscape lighting lamp is reduced. The threshold value is set to prevent the brightness of the lamplight from being too high or too low, so that the experience of a user is affected.
The embodiment also discloses an intelligent landscape lighting system, the system is installed on a server, and the intelligent landscape lighting system comprises a first acquisition module 201, a second acquisition module 202, a judgment module 203 and a processing module 204, wherein:
the first obtaining module 201 is configured to obtain an image to be identified, where the image to be identified includes motion information of a user in a preset area.
The second obtaining module 202 is configured to obtain a first action in the action information.
The judging module 203 is configured to judge whether the first action is consistent with the second action, where the second action is any user action in the preset action library.
The processing module 204 is configured to, if it is determined that the first action is consistent with the second action, invoke a first light adjustment mode corresponding to the second action according to a correspondence in a preset action library, so that the landscape lighting lamp illuminates in the first light adjustment mode, where the correspondence is a correspondence between the user action and the light adjustment mode.
In one possible implementation, the processing module 204 is configured to turn on bluetooth connection rights of a speaker, which is connected to the landscape lighting.
The first obtaining module 201 is configured to receive a bluetooth connection success message sent by the user equipment, where the bluetooth connection success message is used to indicate that the user equipment establishes a bluetooth connection with the speaker.
The processing module 204 is configured to forward the audio file to a speaker so that the speaker plays the audio file, wherein the audio file is sent to the server by the user device.
In one possible implementation, the intelligent landscape lighting system further includes a transmitting module.
The processing module 204 is configured to send a microphone access permission request to the user equipment if the audio file is not received within a preset duration, where the microphone is installed in the user equipment.
The first obtaining module 201 is configured to obtain a voice recorded by the microphone after determining that the access right of the microphone is opened.
The sending module is used for sending the voice to the loudspeaker so as to enable the loudspeaker to play the voice.
In one possible implementation, the sending module is configured to send a recording instruction to a recording component, where the recording component is connected to a landscape lighting lamp.
The first obtaining module 201 is configured to receive an environmental sound file, convert the environmental sound into a sound signal with a corresponding intensity, where the environmental sound is a sound in a preset area recorded by the recording component.
The processing module 204 is configured to receive an environmental sound file, convert the environmental sound into a sound signal with a corresponding intensity, where the environmental sound is an environmental sound in a preset area recorded by the recording component.
In one possible implementation, the first obtaining module 201 is configured to obtain a third action in the action information.
The second obtaining module 202 is configured to obtain a first number of users corresponding to the first action, and obtain a second number of users corresponding to the third action.
The judging module 203 is configured to judge whether the first user number is greater than the second user number, and if the first user number is determined to be greater than the second user number, invoke a first light adjustment mode corresponding to the second action.
In one possible implementation, the processing module 204 is configured to invoke the first light adjustment mode corresponding to the second action and the second light adjustment mode corresponding to the third action if the first number of users is determined to be equal to the second number of users. And randomly selecting the first light adjusting mode or the second light adjusting mode so that the landscape lighting lamp can illuminate in the first light adjusting mode or the second light adjusting mode.
In one possible implementation, the intelligent landscape lighting system further includes a storage module.
The storage module is used for storing data of adjustment modes such as brightness adjustment, color temperature adjustment and projection pattern adjustment of the landscape lighting lamp.
In one possible implementation manner, the first obtaining module 201 is configured to obtain an ambient brightness value, where the ambient brightness value is a brightness average value of light within a preset area.
The judging module 203 is configured to judge a magnitude relation between the ambient brightness value and a preset first threshold value and a preset second threshold value.
The processing module 204 is configured to send a control instruction for increasing the brightness to the landscape lighting lamp if the ambient brightness value is less than the first threshold value. And if the ambient brightness value is greater than the second threshold value, sending a control instruction for reducing the brightness to the landscape lighting lamp.
The embodiment also discloses an electronic device, referring to fig. 3, the electronic device may include: at least one processor 301, at least one communication bus 302, a user interface 303, a network interface 304, at least one memory 305.
Wherein the communication bus 302 is used to enable connected communication between these components.
The user interface 303 may include a Display screen (Display), a Camera (Camera), and the optional user interface 303 may further include a standard wired interface, and a wireless interface.
The network interface 304 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), among others.
Wherein the processor 301 may include one or more processing cores. The processor 301 utilizes various interfaces and lines to connect various portions of the overall server, perform various functions of the server and process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 305, and invoking data stored in the memory 305. Alternatively, the processor 301 may be implemented in hardware in at least one of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic Array, PLA). The processor 301 may integrate one or a combination of several of a central processing unit 301 (Central Processing Unit, CPU), an image processing unit 301 (Graphics Processing Unit, GPU), and a modem, etc. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the display screen; the modem is used to handle wireless communications. It will be appreciated that the modem may not be integrated into the processor 301 and may be implemented by a single chip.
The Memory 305 may include a random access Memory 305 (Random Access Memory, RAM) or a Read-Only Memory 305 (Read-Only Memory). Optionally, the memory 305 includes a non-transitory computer readable medium (non-transitory computer-readable storage medium). Memory 305 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 305 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the above-described respective method embodiments, etc.; the storage data area may store data or the like involved in the above respective method embodiments. Memory 305 may also optionally be at least one storage device located remotely from the aforementioned processor 301. As shown, an operating system, a network communication module, a user interface 303 module, and applications of the intelligent landscape lighting method may be included in the memory 305, which is a computer storage medium.
In the electronic device shown in fig. 3, the user interface 303 is mainly used for providing an input interface for a user, and acquiring data input by the user; and the processor 301 may be used to invoke an application program in the memory 305 that stores intelligent landscape lighting methods, which when executed by the one or more processors 301, causes the electronic device to perform the methods as in one or more of the embodiments described above.
The present application also provides a computer-readable storage medium having instructions stored thereon. When executed by one or more processors, cause an electronic device to perform the method as described in one or more of the embodiments above.
It should be noted that, for simplicity of description, the foregoing method embodiments are all expressed as a series of action combinations, but it should be understood by those skilled in the art that the present application is not limited by the order of actions described, as some steps may be performed in other order or simultaneously in accordance with the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required in the present application.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
In the several embodiments provided herein, it should be understood that the disclosed apparatus may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, such as a division of units, merely a division of logic functions, and there may be additional divisions in actual implementation, such as multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some service interface, device or unit indirect coupling or communication connection, electrical or otherwise.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
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 memory 305. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a memory 305, including several 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 methods of the embodiments of the present application. And the aforementioned memory 305 includes: various media capable of storing program codes, such as a U disk, a mobile hard disk, a magnetic disk or an optical disk.
The foregoing is merely exemplary embodiments of the present disclosure and is not intended to limit the scope of the present disclosure. That is, equivalent changes and modifications are contemplated by the teachings of this disclosure, which fall within the scope of the present disclosure. Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a scope and spirit of the disclosure being indicated by the claims.

Claims (10)

1. The intelligent landscape lighting method is characterized by being applied to a server and comprising the following steps:
acquiring an image to be identified, wherein the image to be identified contains action information of a user in a preset area;
acquiring a first action in the action information;
judging whether the first action is consistent with a second action, wherein the second action is any user action in a preset action library;
and if the first action is consistent with the second action, according to the corresponding relation in the preset action library, a first light adjustment mode corresponding to the second action is called so that the landscape lighting lamp can illuminate in the first light adjustment mode, wherein the corresponding relation is the corresponding relation between the user action and the light adjustment mode.
2. The intelligent landscape lighting method according to claim 1, wherein after the first light adjustment mode corresponding to the second action is invoked, the method further comprises:
starting Bluetooth connection permission of a loudspeaker, wherein the loudspeaker is connected with the landscape lighting lamp;
receiving a Bluetooth connection success message sent by user equipment, wherein the Bluetooth connection success message is used for indicating that the user equipment and the loudspeaker establish Bluetooth connection;
forwarding an audio file to the speaker for the speaker to play the audio file, wherein the audio file is sent by the user device to the server.
3. The intelligent landscape lighting method according to claim 2, wherein after receiving the bluetooth connection success message sent by the user equipment, the method further comprises:
if the audio file is not received within the preset time, sending a microphone access permission request to the user equipment, wherein the microphone is installed in the user equipment;
after determining that the access right of the microphone is opened, acquiring voice recorded by the microphone;
and sending the voice to the loudspeaker so that the loudspeaker plays the voice.
4. The intelligent landscape lighting method of claim 1, wherein after the invoking the first light adjustment mode corresponding to the second action, the method further comprises:
transmitting a recording instruction to a recording assembly, wherein the recording assembly is connected with the landscape lighting lamp;
receiving an environmental sound file, and converting the environmental sound into a sound signal with corresponding intensity, wherein the environmental sound is sound in a preset area recorded by the recording assembly;
and changing the frequency of the first adjusting mode according to the intensity of the sound signal.
5. The intelligent landscape lighting method according to claim 1, wherein when the action information further includes a third action, before the first light adjustment mode corresponding to the second action is invoked, the method further includes:
acquiring a third action in the action information;
acquiring a first user number corresponding to the first action and a second user number corresponding to the third action;
judging whether the first user quantity is larger than the second user quantity, and if the first user quantity is larger than the second user quantity, calling a first light adjusting mode corresponding to the second action.
6. The intelligent landscape lighting method of claim 5, wherein after the determining if the first number of users is greater than the second number of users, the method further comprises:
if the first user quantity is determined to be equal to the second user quantity, a first light adjusting mode corresponding to the second action and a second light adjusting mode corresponding to the third action are called;
and randomly selecting the first light adjusting mode or the second light adjusting mode so that the landscape lighting lamp can illuminate in the first light adjusting mode or the second light adjusting mode.
7. The intelligent landscape lighting method according to claim 6, wherein the light adjustment mode comprises one or more of brightness adjustment, color temperature adjustment and projection pattern adjustment of the landscape lighting lamp.
8. The intelligent landscape lighting method according to claim 1, wherein after the first light adjustment mode corresponding to the second action is invoked, the method further comprises:
acquiring an environment brightness value which is the average brightness value of the lamplight in the preset area;
judging the magnitude relation between the environment brightness value and a preset first threshold value and a preset second threshold value;
if the ambient brightness value is smaller than the first threshold value, a control instruction for increasing brightness is sent to the landscape lighting lamp;
and if the ambient brightness value is larger than the second threshold value, sending a control instruction for reducing the brightness to the landscape lighting lamp.
9. Intelligent landscape lighting system, its characterized in that, the system is installed in the server, acquires module (201), second acquisition module (202), judgement module (203) and processing module (204) including first, wherein:
the first acquisition module (201) is used for acquiring an image to be identified, wherein the image to be identified contains action information of a user in a preset area;
the second acquisition module (202) is used for acquiring a first action in the action information;
the judging module (203) is configured to judge whether the first action is consistent with a second action, where the second action is any user action in a preset action library;
and the processing module (204) is configured to, if it is determined that the first action is consistent with the second action, invoke a first light adjustment mode corresponding to the second action according to a correspondence in the preset action library, so that the landscape lighting lamp illuminates in the first light adjustment mode, where the correspondence is a correspondence between the user action and the light adjustment mode.
10. An electronic device comprising a processor (301), a memory (305), a user interface (303) and a network interface (304), the memory (305) being adapted to store instructions, the user interface (303) and the network interface (304) being adapted to communicate to other devices, the processor (301) being adapted to execute the instructions stored in the memory (305) to cause the electronic device to perform the method according to any of claims 1-8.
CN202310497709.6A 2023-04-28 2023-04-28 Intelligent landscape lighting method and system and electronic equipment Pending CN116543459A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310497709.6A CN116543459A (en) 2023-04-28 2023-04-28 Intelligent landscape lighting method and system and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310497709.6A CN116543459A (en) 2023-04-28 2023-04-28 Intelligent landscape lighting method and system and electronic equipment

Publications (1)

Publication Number Publication Date
CN116543459A true CN116543459A (en) 2023-08-04

Family

ID=87448258

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310497709.6A Pending CN116543459A (en) 2023-04-28 2023-04-28 Intelligent landscape lighting method and system and electronic equipment

Country Status (1)

Country Link
CN (1) CN116543459A (en)

Similar Documents

Publication Publication Date Title
US8621088B2 (en) Communication system, communication apparatus, communication program, and computer-readable storage medium stored with the communication progam
CN112351302A (en) Live broadcast interaction method and device based on cloud game and storage medium
US11109108B2 (en) Information processing device
CN112533017B (en) Live broadcast method, device, terminal and storage medium
CN113230655B (en) Virtual object control method, device, equipment, system and readable storage medium
CN112511850A (en) Wheat connecting method, live broadcast display method, device, equipment and storage medium
CN114201095A (en) Control method and device for live interface, storage medium and electronic equipment
CN113485617A (en) Animation display method and device, electronic equipment and storage medium
CN112261481A (en) Interactive video creating method, device and equipment and readable storage medium
US7740531B2 (en) Operation of a set of devices
JP6688378B1 (en) Content distribution system, distribution device, reception device, and program
CN113316078A (en) Data processing method and device, computer equipment and storage medium
CN113411537A (en) Video call method, device, terminal and storage medium
CN116543459A (en) Intelligent landscape lighting method and system and electronic equipment
JP2002102532A (en) Information processing system and method, computer program, storage medium and semiconductor device
CN110839151A (en) Game projection optimization method and related device
CN114189743B (en) Data transmission method, device, electronic equipment and storage medium
WO2023197580A1 (en) Perfume turn-on control method and apparatus, and device and storage medium
CN106997770A (en) The electronic installation of document-video in-pace control method, document-video in-pace control system and correlation
CN113407146A (en) Terminal voice interaction method and system and corresponding terminal equipment
JP2020126438A (en) Shared information processing device and control program
JP7329209B1 (en) Information processing system, information processing method and computer program
CN117440184B (en) Live broadcast equipment and control method thereof
CN113518235B (en) Live video data generation method, device and storage medium
US20230090134A1 (en) Computer-readable non-transitory storage medium having game program stored therein, game system, game apparatus, and game processing method

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