CN114171060A - Lamp management method, device and computer program product - Google Patents

Lamp management method, device and computer program product Download PDF

Info

Publication number
CN114171060A
CN114171060A CN202111491065.7A CN202111491065A CN114171060A CN 114171060 A CN114171060 A CN 114171060A CN 202111491065 A CN202111491065 A CN 202111491065A CN 114171060 A CN114171060 A CN 114171060A
Authority
CN
China
Prior art keywords
sound data
lamp
similar
target
environment
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
CN202111491065.7A
Other languages
Chinese (zh)
Inventor
刘建华
王惠均
李四方
陈灿林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Caiyi Light Co Ltd
Original Assignee
Guangzhou Caiyi Light Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Caiyi Light Co Ltd filed Critical Guangzhou Caiyi Light Co Ltd
Priority to CN202111491065.7A priority Critical patent/CN114171060A/en
Publication of CN114171060A publication Critical patent/CN114171060A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/48Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use
    • G10L25/51Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use for comparison or discrimination
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y20/00Information sensed or collected by the things
    • G16Y20/20Information sensed or collected by the things relating to the thing itself
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y40/00IoT characterised by the purpose of the information processing
    • G16Y40/10Detection; Monitoring
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y40/00IoT characterised by the purpose of the information processing
    • G16Y40/20Analytics; Diagnosis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Signal Processing (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Medical Informatics (AREA)
  • Biomedical Technology (AREA)
  • Computational Linguistics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The application relates to a luminaire management method, device and program product. The method comprises the following steps: receiving first environment sound data acquired by target equipment, wherein the target equipment is a lamp or a lamp management terminal; determining a target lamp set from a plurality of lamp sets maintained by a server according to first environment sound data, wherein each lamp set comprises a plurality of lamps, second environment sound data acquired by each lamp in the same lamp set are similar to each other, and the second environment sound data acquired by the lamps in the target lamp set are similar to the first environment sound data; and dividing the target devices into target lamp groups. By adopting the method, the lamps in a smaller area or a vertical area can be accurately grouped.

Description

Lamp management method, device and computer program product
Technical Field
The present application relates to the field of lighting management technologies, and in particular, to a lighting management method, device, and program product.
Background
With the development of technology, the lamps can be synchronized to the cloud server. At present, the whole cloud server has a plurality of lamps, and the lamps are distributed in large and small theaters, television stations, studios and even outdoor places all over the country.
In the prior art, in order to facilitate management of the lamp in the cloud server, a GPS signal positioning module is generally provided in the lamp. And acquiring the geographical position of the lamps through a GPS signal positioning module, and grouping the lamps based on the geographical position of the lamps.
However, it is difficult to accurately group lamps by GPS signal positioning, and especially lamps on two floors above and below cannot be distinguished in the same vertical direction and belong to two different levels; furthermore, if two luminaires are located adjacent in the horizontal direction, but separated by a sound-proof wall into two different public address rooms, it is also difficult to accurately group luminaires such as these with solutions that reside in GPS signal positioning. Therefore, the GPS signal positioning module cannot accurately position the geographical position of the lamps, and thus cannot accurately group the lamps in a small area or a vertical area.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a method, an apparatus and a program product for managing a luminaire.
In a first aspect, the present application provides a luminaire management method, used in a server, the method including: receiving first environment sound data acquired by target equipment, wherein the target equipment is a lamp or a lamp management terminal; determining a target lamp set from a plurality of lamp sets maintained by a server according to first environment sound data, wherein each lamp set comprises a plurality of lamps, second environment sound data acquired by each lamp in the same lamp set are similar to each other, and the second environment sound data acquired by the lamps in the target lamp set are similar to the first environment sound data; and dividing the target devices into target lamp groups.
In one embodiment, determining a target luminaire group from a plurality of luminaire groups maintained by a server based on the first ambient sound data comprises: sequentially executing environment sound similarity detection on the lamp sets until the environment sound similarity detection result of a certain lamp set indicates that second environment sound data acquired by lamps in the certain lamp set are similar to the first environment sound data; and taking a certain lamp set as a target lamp set.
In one embodiment, the detecting the similarity of the environmental sounds comprises: detecting whether the first environment sound data are similar to second environment sound data acquired by all lamps in the lamp set; and if the proportion of the lamps with similar environmental sound data reaches the target proportion threshold value, determining that the second environmental sound data acquired by the lamps in the lamp group is similar to the first environmental sound data.
In one embodiment, the detecting whether the first ambient sound data is similar to the second ambient sound data collected by each of the lamps in the lamp group includes: converting the first ambient sound data into a first sound amplitude oscillogram; converting each second ambient sound data into a second sound amplitude oscillogram; whether the first sound amplitude waveform diagram is similar to each second sound amplitude waveform diagram is detected.
In one embodiment, detecting whether the first sound amplitude waveform diagram is similar to the second sound amplitude waveform diagram includes: for each second sound amplitude waveform diagram, the second sound amplitude waveform diagram is subjected to translation processing in the x-axis direction, the second sound amplitude waveform diagram is subjected to equal-scale amplification processing in the y-axis direction to obtain a processed second sound amplitude waveform diagram, and whether the first sound amplitude waveform diagram is similar to the processed second sound amplitude waveform diagram or not is detected.
In one embodiment, the panning the second sound amplitude waveform map in the x-axis direction includes: acquiring a first coordinate of a starting point of the first sound amplitude oscillogram in the x-axis direction, and acquiring a second coordinate of a starting point of the second sound amplitude oscillogram in the x-axis direction; taking the difference value of the first coordinate and the second coordinate as a translation distance; and performing translation processing on the second sound amplitude waveform diagram in the x-axis direction based on the translation distance.
In one embodiment, the second sound amplitude waveform diagram is subjected to an equal-scale amplification process in the y-axis direction, and the process comprises the following steps: calculating a first difference between a maximum value and a minimum value of the first sound amplitude waveform diagram in the y-axis direction, and calculating a second difference between a maximum value and a minimum value of the second sound amplitude waveform diagram in the y-axis direction; taking the ratio of the second difference to the first difference as an amplification factor; and performing equal-scale amplification processing on the second sound amplitude waveform diagram in the y-axis direction based on the amplification factor.
In one embodiment, the detecting whether the first ambient sound data is similar to the second ambient sound data collected by each of the lamps in the lamp group includes: converting the first ambient sound data into first sound audio; converting each second ambient sound data into a second sound audio; whether the first sound audio is similar to each second sound audio is detected.
In one embodiment, the detecting whether the first ambient sound data is similar to the second ambient sound data collected by each of the lamps in the lamp group includes: analyzing the first environmental sound data to obtain the semantic meaning of the first sound; analyzing the second ambient sound data to obtain the semantic meaning of the second sound; it is detected whether the semantics of the first sound are similar to the semantics of the respective second sound.
In a second aspect, the present application provides a luminaire management method, for use in a luminaire, the method including: sending the collected first environment sound data to a server; the first environment sound data is used for the server to determine a target lamp set from the maintained lamp sets, wherein each lamp set comprises a plurality of lamps, second environment sound data collected by each lamp in the same lamp set are similar to each other, and the second environment sound data collected by the lamps in the target lamp set are similar to the first environment sound data.
In a third aspect, the present application provides a lamp management method, for use in a lamp management terminal, where the method includes: sending collected first environment sound data to a server, wherein the first environment sound data is used for the server to determine a target lamp set from a plurality of maintained lamp sets, each lamp set comprises a plurality of lamps, second environment sound data collected by each lamp in the same lamp set are similar to each other, and the second environment sound data collected by the lamps in the target lamp set are similar to the first environment sound data; and receiving the information of each lamp in the target lamp group sent by the server.
In a fourth aspect, the present application provides a luminaire management device for use in a server. The device includes: the first receiving module is used for receiving first environment sound data acquired by target equipment, and the target equipment is a lamp or a lamp management terminal; the system comprises a determining module, a processing module and a processing module, wherein the determining module is used for determining a target lamp set from a plurality of lamp sets maintained by a server according to first environment sound data, each lamp set comprises a plurality of lamps, second environment sound data acquired by each lamp in the same lamp set are similar to each other, and the second environment sound data acquired by the lamps in the target lamp set are similar to the first environment sound data; and the grouping module is used for dividing the target equipment into the target lamp groups.
In one embodiment, the determining module is specifically configured to: sequentially executing environment sound similarity detection on the lamp sets until the environment sound similarity detection result of a certain lamp set indicates that second environment sound data acquired by lamps in the certain lamp set are similar to the first environment sound data; and taking a certain lamp set as a target lamp set.
In one embodiment, the determining module is specifically configured to: detecting whether the first environment sound data are similar to second environment sound data acquired by all lamps in the lamp set; and if the proportion of the lamps with similar environmental sound data reaches the target proportion threshold value, determining that the second environmental sound data acquired by the lamps in the lamp group is similar to the first environmental sound data.
In one embodiment, the determining module is specifically configured to: converting the first ambient sound data into a first sound amplitude oscillogram; converting each second ambient sound data into a second sound amplitude oscillogram; whether the first sound amplitude waveform diagram is similar to each second sound amplitude waveform diagram is detected.
In one embodiment, the determining module is specifically configured to: for each second sound amplitude waveform diagram, the second sound amplitude waveform diagram is subjected to translation processing in the x-axis direction, the second sound amplitude waveform diagram is subjected to equal-scale amplification processing in the y-axis direction to obtain a processed second sound amplitude waveform diagram, and whether the first sound amplitude waveform diagram is similar to the processed second sound amplitude waveform diagram or not is detected.
In one embodiment, the determining module is specifically configured to: acquiring a first coordinate of a starting point of the first sound amplitude oscillogram in the x-axis direction, and acquiring a second coordinate of a starting point of the second sound amplitude oscillogram in the x-axis direction; taking the difference value of the first coordinate and the second coordinate as a translation distance; and performing translation processing on the second sound amplitude waveform diagram in the x-axis direction based on the translation distance.
In one embodiment, the determining module is specifically configured to: calculating a first difference between a maximum value and a minimum value of the first sound amplitude waveform diagram in the y-axis direction, and calculating a second difference between a maximum value and a minimum value of the second sound amplitude waveform diagram in the y-axis direction; taking the ratio of the second difference to the first difference as an amplification factor; and performing equal-scale amplification processing on the second sound amplitude waveform diagram in the y-axis direction based on the amplification factor.
In one embodiment, the determining module is specifically configured to: converting the first ambient sound data into first sound audio; converting each second ambient sound data into a second sound audio; whether the first sound audio is similar to each second sound audio is detected.
In one embodiment, the determining module is specifically configured to: analyzing the first environmental sound data to obtain the semantic meaning of the first sound; analyzing the second ambient sound data to obtain the semantic meaning of the second sound; it is detected whether the semantics of the first sound are similar to the semantics of the respective second sound.
In a fifth aspect, the present application provides a luminaire management device for use in a luminaire management terminal, the device including: the system comprises a sending module, a processing module and a processing module, wherein the sending module is used for sending collected first environment sound data to a server, the first environment sound data is used for the server to determine a target lamp set from a plurality of maintained lamp sets, each lamp set comprises a plurality of lamps, second environment sound data collected by each lamp in the same lamp set is similar to each other, and second environment sound data collected by the lamps in the target lamp set is similar to the first environment sound data; and the second receiving module is used for receiving the information of each lamp in the target lamp group sent by the server.
In a sixth aspect, the present application provides a light fixture, comprising a pickup assembly, a processing assembly, and a communication assembly; the pickup assembly is used for collecting first environmental sound data; and the processing component is used for acquiring the first environment sound data collected by the pickup component and controlling the communication component to send the first environment sound data collected by the pickup component to the server.
In one embodiment, the luminaire further comprises a filtering component; the filtering component is used for filtering the first environment sound data collected by the pickup component and transmitting the first environment sound data after filtering to the processing component; and the processing component is specifically used for acquiring the first environment sound data after the filtering processing, and controlling the communication component to send the first environment sound data after the filtering processing to the server.
In a seventh aspect, the present application also provides a computer program product comprising a computer program that, when executed by a processor, performs the steps of the method of any one of the first to third aspects.
The beneficial effects brought by the technical scheme provided by the embodiment of the application at least comprise:
after first environment sound data collected by target equipment is received, a target lamp set is determined from the lamp sets maintained by the server according to the first environment sound data, wherein second environment sound data collected by all lamps in the target lamp are similar to each other, the second environment sound data are similar to the first environment sound data, and the target equipment is divided into the target lamp sets on the basis. Therefore, in the embodiment of the present application, the target devices corresponding to similar ambient sound data are grouped with the target luminaire, because the ambient sound data are more similar as the area range is smaller, the embodiment of the present application can realize accurate grouping of the target devices in a smaller area.
Drawings
FIG. 1 is a schematic diagram of an implementation environment provided by an embodiment of the present application;
fig. 2 is a flowchart of a first lamp management method according to an embodiment of the present disclosure;
fig. 3 is a flowchart of a technical process of determining a target luminaire group according to an embodiment of the present application;
fig. 4 is a flowchart of a technical process of panning a second sound amplitude waveform diagram in an x-axis direction according to an embodiment of the present application;
FIG. 5 is a waveform diagram provided by an embodiment of the present application;
fig. 6 is a flowchart of a technical process of performing an equal-scale amplification process on a second sound amplitude waveform diagram in the y-axis direction according to an embodiment of the present application;
FIG. 7 is a waveform diagram provided by an embodiment of the present application;
fig. 8 is a flowchart of a second lamp management method according to an embodiment of the present application;
fig. 9 is a block diagram of a first lamp according to an embodiment of the present disclosure;
fig. 10 is a block diagram of a second lamp according to an embodiment of the present disclosure;
fig. 11 is a flowchart of a third method for managing a luminaire according to an embodiment of the present application;
fig. 12 is a general diagram of a technical solution for lamp management provided in an embodiment of the present application;
fig. 13 is a block diagram of a first luminaire management device according to an embodiment of the present application;
fig. 14 is a block diagram of a second luminaire management device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Referring to fig. 1, which shows a schematic diagram of an implementation environment related to a lamp management method provided in an embodiment of the present application, as shown in fig. 1, the implementation environment may include a server 101, a lamp management terminal 102, and a lamp 103, where the server 101 and the lamp management terminal 102, and the server 101 and the lamp 103 may communicate with each other, the lamp management terminal 102 and the lamp 103 send collected environment sound data to the server 101, and the server 101 is configured to group lamps and lamp management terminals corresponding to received similar environment sound data into a group. The server 101 may be one server or a server cluster composed of a plurality of servers; different servers can communicate with each other in a wired or wireless mode, and the wireless mode can be realized through WIFI, an operator network, NFC (near field communication) or other technologies; the light management terminal 102 may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, which may be smart watches, smart bracelets, and the like.
Referring to fig. 2, a flowchart of a lamp management method provided in an embodiment of the present application is shown, where the lamp management method may be applied to the server shown in fig. 1. As shown in fig. 2, the luminaire management method may include the following steps:
step 201, a server receives first environmental sound data collected by a target device.
The target equipment is a lamp or a lamp management terminal. Optionally, the lamp can be used for lighting and acquiring first environment sound data in the surrounding environment; the lamp management terminal is mainly used for managing lamps and displaying all lamps on the site where the lamp management terminal is located and displaying grouping information of all lamps existing in the server.
In an optional embodiment of the present application, the manner in which the lamp collects the first environment sound data may be collected in real time or may be collected once every fixed time, which is not limited in the embodiment of the present application, but in order to save the space of the server and reduce the calculation amount of the server, the preferable manner in which the lamp collects the first environment sound data is to collect once every fixed time. The lamp management terminal collects first environment sound data mainly according to needs of a user, and generally, after the user performs triggering operation for obtaining lamp grouping information in the lamp management terminal, the lamp management terminal starts to collect the first environment sound data in the surrounding environment.
Step 202, the server determines a target lamp set from a plurality of lamp sets maintained by the server according to the first environment sound data.
Each lamp set maintained by the server comprises a plurality of lamps, second environment sound data collected by each lamp in the same lamp set are similar to each other, and the second environment sound data collected by the lamps in the target lamp set are similar to the first environment sound data.
In the embodiment of the application, a plurality of lamp sets are maintained in the server, and if the second environment sound data collected by each lamp in the same lamp set are similar to each other, it indicates that the lamps in the same lamp set are located in the same environment. In order to determine a lamp located in the same environment as a target device, in the embodiment of the application, a target lamp group is determined in a server according to first environment sound data acquired by the target device, and if second environment sound data acquired by a lamp in the target lamp group is similar to the first environment sound data acquired by the target device, it is indicated that the target device and the lamp in the target lamp group are located in the same environment.
Optionally, after detecting that the target lamp is offline, the server may delete the target lamp from the lamp group to which the target lamp belongs. The target lamp is an off-line lamp, and the off-line lamp mainly refers to a lamp after power failure. The lamps and the server are mainly communicated with each other through a Transmission Control Protocol (TCP), when the lamps are powered off, the TCP is disconnected, and the server judges that the target lamps are in an offline state and deletes the target lamps from a lamp group to which the target lamps belong.
Step 203, the server divides the target devices into target lamp groups.
Each lamp in the target lamp group and the target device are located in the same area, and optionally, the target device may be divided into the target lamp group.
After first environment sound data collected by target equipment is received, a target lamp set is determined from a plurality of lamp sets maintained by a server according to the first environment sound data, wherein second environment sound data collected by all lamps in the target lamp are similar to each other, the second environment sound data are similar to the first environment sound data, and the target equipment is divided into the target lamp sets on the basis. Therefore, in the embodiment of the present application, the target devices corresponding to similar ambient sound data are grouped with the target luminaire, because the ambient sound data are more similar as the area range is smaller, the embodiment of the present application can realize accurate grouping of the target devices in a smaller area.
Please refer to fig. 3, which illustrates a technical process of determining a target luminaire group according to an embodiment of the present application. As shown in fig. 3, the technical process may include the following steps:
step 301, the server sequentially performs environment sound similarity detection on the multiple lamp sets until the environment sound similarity detection result of a certain lamp set indicates that second environment sound data acquired by the lamps in the certain lamp set is similar to the first environment sound data.
In order to reduce the calculation workload of the server in the case of determining the target lamp set, optionally, the server may sequentially perform the ambient sound similarity detection on the plurality of lamp sets, and when it is determined that a certain lamp set is the target lamp set, the server terminates performing the ambient sound similarity detection.
Optionally, the process of detecting the similarity of the environmental sound may include:
firstly, the server detects whether the first environment sound data is similar to the second environment sound data collected by each lamp in the lamp group.
Optionally, in the case of detecting whether multiple pieces of ambient sound data are similar to each other, the ambient sound data may be converted into a sound amplitude oscillogram, the ambient sound data may also be converted into a sound audio, and the ambient sound data may also be analyzed to obtain the semantic meaning of the sound. The purpose of detecting whether the environmental sound data are similar is achieved by detecting the similarity of the semantemes of the amplitude oscillogram, the sound audio frequency or the sound.
In an optional embodiment of the present application, whether the environmental sound data are similar or not may be detected by detecting similarity of the sound amplitude oscillograms, and optionally, when detecting whether the first environmental sound data are similar to the second environmental sound data collected by each of the lamps in the lamp group, the environmental sound data may be converted into the sound amplitude oscillograms, and by detecting similarity of the sound amplitude oscillograms corresponding to the first environmental sound data and the second environmental sound data, whether the first environmental sound data are similar to the second environmental sound data or not may be detected. Therefore, the optional process of detecting whether the first ambient sound data is similar to the second ambient sound data collected by each of the lamps in the lamp group may include: firstly, converting first environment sound data into a first sound amplitude oscillogram; then, converting each second ambient sound data into a second sound amplitude oscillogram; finally, whether the first sound amplitude oscillogram is similar to each second sound amplitude oscillogram is detected.
In another optional embodiment of the present application, the purpose of detecting whether the environmental sound data are similar may be achieved by detecting similarity of sound audio, where the sound audio is obtained by performing analog-to-digital conversion on the analog audio data. Optionally, the process of detecting whether the first ambient sound data is similar to the second ambient sound data collected by each of the lamps in the lamp group may include: firstly, converting first environment sound data into first sound audio; secondly, converting each second ambient sound data into a second sound audio; finally, whether the first sound audio is similar to each second sound audio is detected.
In another alternative embodiment of the present application, the purpose of detecting whether the environmental sound data are similar can be achieved by detecting the similarity of the semantics of the sounds. Optionally, the process of detecting whether the first ambient sound data is similar to the second ambient sound data collected by each of the lamps in the lamp group may include: firstly, analyzing first environment sound data to obtain the semantics of a first sound; analyzing the second ambient sound data to obtain the semantic meaning of the second sound; and finally, detecting whether the semantics of the first sound is similar to the semantics of the second sounds. For example, in a studio, the presenter says: the server analyzes the environment sound data received from the lamps or the lamp management terminals to obtain the sound semantics corresponding to the environment sound data, and divides the sound semantics into a group of lamps or lamp management terminals corresponding to the lamps or the lamp management terminals which are popular with the literature workers participating in the performance.
Secondly, if the occupation ratio of the lamps with similar environmental sound data reaches a target proportion threshold value, the server determines that second environmental sound data collected by the lamps in the lamp group are similar to the first environmental sound data.
Because the environmental sound data collected in the same area and at the same time are not necessarily similar due to the interference of various external factors, even a certain collected environmental sound data may be interfered by external factors, and there is a large difference compared with the collected environmental sound data in the same environment, under the condition of determining the target lamp set, the embodiment of the application may not require that the second environmental sound data collected by each lamp in the target lamp set is similar to the first environmental sound data, and may be that the second environmental sound data collected by the lamp which reaches the target proportion threshold value in the target lamp is similar to the first environmental sound data. The target proportion threshold value may be a value obtained after an experiment is performed on a certain platform according to a large amount of experimental data, or may be a fixed value set manually according to actual needs.
Step 302, the server takes a certain lamp group as a target lamp group.
If the second environmental sound data acquired by the lamps in a certain lamp group is similar to the first environmental sound data, it is indicated that the target devices corresponding to the lamps in the certain lamp group and the first environmental sound data are located in the same area, and in this case, the server may use the certain lamp group as the target lamp group.
In an embodiment of the present application, a technical method for detecting whether a first sound amplitude waveform diagram is similar to a second sound amplitude waveform diagram is provided, and the method can be applied to the server described above. The detection method comprises the following steps: for each second sound amplitude waveform diagram, the second sound amplitude waveform diagram is subjected to translation processing in the x-axis direction, the second sound amplitude waveform diagram is subjected to equal-scale amplification processing in the y-axis direction to obtain a processed second sound amplitude waveform diagram, and whether the first sound amplitude waveform diagram is similar to the processed second sound amplitude waveform diagram or not is detected.
The second sound amplitude waveform map is subjected to panning and amplification because the transfer of sound takes time. In the same area, the lamps or lamp management terminals at different locations collect the sound amplitude waveform diagrams with a small time difference in the initial phase, and the amplitude of the sound amplitude waveform diagrams becomes weaker and weaker in the transmission process of sound, so that in the case of comparing the similarity of the sound amplitude waveform diagrams, the difference between the initial phase and the amplitude of the sound amplitude waveform diagrams needs to be processed.
Referring to fig. 4, a technical process of performing panning processing on a second sound amplitude waveform diagram in an x-axis direction according to an embodiment of the present application is shown. As shown in fig. 4, the technical process may include the following steps:
step 401, the server obtains a first coordinate of a starting point of the first sound amplitude oscillogram in the x-axis direction, and obtains a second coordinate of a starting point of the second sound amplitude oscillogram in the x-axis direction.
And step 402, the server takes the difference value of the first coordinate and the second coordinate as the translation distance.
In step 403, the server performs panning processing on the second sound amplitude waveform diagram in the x-axis direction based on the panning distance.
In order to describe the technical process of clearly performing the panning processing on the second sound amplitude waveform diagram in the x-axis direction, the embodiment of the present application further describes the technical process by using fig. 5. As shown in fig. 5, the waveform a and the waveform b are sound amplitude waveform diagrams collected by two different devices in the same region in the same time period, because the transmission of sound requires time, the sound amplitude waveform diagrams collected by the two devices have difference in initial phase, and in order to detect the similarity of the two sound amplitude waveform diagrams, optionally, one of the two sound amplitude waveform diagrams may be shifted according to the difference between the initial phases of the two sound amplitude waveform diagrams, so that the initial phases of the two sound amplitude waveform diagrams are located at the same time point. In fig. 5, t0 is the difference between the initial phase times of the waveform a and the waveform b, the size of t0 determines the distance between two devices, and the larger t0 is, the larger the distance between two devices is represented.
Please refer to fig. 6, which illustrates a technical process of performing an equal-scale amplification process on a second sound amplitude waveform diagram in the y-axis direction according to an embodiment of the present application. As shown in fig. 6, the technical process may include the following steps:
step 601, the server calculates a first difference between the maximum value and the minimum value of the first sound amplitude waveform diagram in the y-axis direction, and calculates a second difference between the maximum value and the minimum value of the second sound amplitude waveform diagram in the y-axis direction.
Step 602, the server uses the ratio of the first difference to the second difference as an amplification factor.
In step 603, the server performs an equal-scale amplification process on the second sound amplitude waveform map in the y-axis direction based on the amplification factor.
In order to describe the technical process of performing the equal-scale amplification processing on the second sound amplitude waveform diagram in the y-axis direction clearly, the embodiment of the present application further describes the technical process by using fig. 7. As shown in fig. 7, the waveform c is a second sound amplitude waveform diagram, and the waveform d is a first sound amplitude waveform diagram, and in order to compare the similarity between the waveform c and the waveform d, first, a first difference between the maximum value and the minimum value of the waveform d in the y-axis direction is calculated, as shown in fig. 7, the first difference being 8, and a second difference between the maximum value and the minimum value of the waveform c in the y-axis direction is calculated, as shown in fig. 7, the second difference being 4; then, the ratio of the first difference to the second difference is used as an amplification factor, that is, the ratio 2 is used as an amplification factor; finally, the waveform c is subjected to the equal-scale amplification processing in the y-axis direction based on the amplification factor 2.
In an embodiment of the present application, a luminaire management method is provided, which may be applied to the luminaire shown in fig. 1. The lamp management method can be as follows: the lamp sends the collected first environment sound data to the server.
The first environment sound data is used for the server to determine a target lamp set from the maintained lamp sets, wherein each lamp set comprises a plurality of lamps, second environment sound data collected by each lamp in the same lamp set are similar to each other, and the second environment sound data collected by the lamps in the target lamp set are similar to the first environment sound data. Optionally, a pickup assembly for collecting the environmental sound data may be disposed in the lamp, and in addition, in order to group the target device corresponding to the first environmental sound data and each lamp corresponding to the second environmental sound data, the lamp may further send a lamp identifier corresponding to each lamp to the server.
Please refer to fig. 8, which shows a flowchart of a lamp management method according to an embodiment of the present application, where the lamp management method can be applied to the lamp management terminal shown in fig. 1. As shown in fig. 8, the luminaire management method may include the following steps:
step 801, sending the collected first environment sound data to a server by the lamp management terminal.
The first environment sound data is used for the server to determine a target lamp set from the maintained lamp sets, wherein each lamp set comprises a plurality of lamps, second environment sound data collected by each lamp in the same lamp set are similar to each other, and the second environment sound data collected by the lamps in the target lamp set are similar to the first environment sound data.
In order to send data to the lamp management terminal by the subsequent server, optionally, the lamp management terminal needs to send an equipment identifier of the lamp management terminal in addition to sending the collected first environment sound data to the server, and on this basis, the server can find the lamp management terminal corresponding to the equipment identifier through the equipment identifier under the condition that the server needs to send data to the lamp management terminal, so as to send data to the lamp management terminal corresponding to the equipment identifier.
It should be noted that, the lamp management terminal does not need to collect the first environment sound data in real time, nor needs to send the collected first environment sound data to the server in real time, and the general method is as follows: under the condition that a user needs to manage a lamp through the lamp management terminal, after the user performs triggering operation on the lamp management terminal, the lamp management terminal can automatically acquire first environment sound data of the surrounding environment and automatically send the first environment sound data to the server.
Step 802, the lamp management terminal receives information of each lamp in the target lamp group sent by the server.
The information of the lamps can be lamp identifiers or lamp grouping information. Optionally, after the user performs the triggering operation of acquiring the lamp grouping information in the lamp management terminal, the lamp management terminal may receive the lamp grouping information sent by the server. For example, when a certain lamp management terminal enters a specific performance site, if an administrator wants to know which lamps are currently in the performance site, the administrator may perform a triggering operation of acquiring the lamps in the site, and after performing the triggering operation, the lamp management terminal may acquire a target lamp group where the lamp management terminal is located from a server for the administrator to check; if the administrator wants to know the grouping information of all the lamps in the server, the triggering operation for acquiring the grouping information of all the lamps in the server can be carried out in the lamp management terminal, and after the triggering operation is carried out, the server sends the grouping information of all the lamps to the lamp management terminal so as to be checked by the administrator. Assuming that there are two performance sites, namely, No. 1 performance site and No. 2 performance site, the lighting fixtures in the No. 1 performance site are as follows:
serial number Lamp sign
1 a
2 b
3 c
4 d
5 e
The lighting fixtures at the show site No. 2 are as follows:
serial number Lamp sign
1 f
2 g
3 h
When an administrator carries a lamp management terminal to enter the No. 2 performance site and wants to know the lamps of the No. 2 performance site, the administrator can perform trigger operation of acquiring the on-site lamps on the lamp management terminal, and the lamp management terminal can acquire lamp identifiers f, g and h of all lamps in the lamp group where the lamp management terminal is located from the server and display the lamp identifiers for the administrator to check. If the administrator wants to know the condition of the lamps in the No. 1 performance site, the administrator only needs to carry the lamp management terminal to enter the No. 1 performance site and perform the same operation as the above operation. Assuming that only two lamp groups exist in the current server, if the administrator wants to know the grouping information of all lamps in the server, the triggering operation for acquiring the grouping information of all lamps in the server can be performed in the lamp management terminal, after the triggering operation is performed, the server sends the information of the two lamp groups to the lamp management terminal, and the lamp management terminal can display that lamps a, b, c, d and e are in one group and lamps f, g and h are in one group.
Referring to fig. 9, a block diagram of a lamp 900 according to an embodiment of the present disclosure is shown. As shown in fig. 9, the lamp 900 includes a pickup assembly 901, a processing assembly 902, and a communication assembly 903.
The pickup assembly 901 is used for acquiring first environmental sound data; the processing component 902 is configured to acquire the first environmental sound data collected by the sound pickup component 901, and control the communication component 903 to send the first environmental sound data collected by the sound pickup component 901 to the server. Alternatively, the sound pickup assembly 901 may be an MIC, where the MIC is an energy conversion device that converts an acoustic signal into an electrical signal, and the cost of the MIC is not high.
Please refer to fig. 10, which shows a block diagram of another lamp according to an embodiment of the present disclosure. As shown in fig. 10, the luminaire 1000 includes a filtering component 904 in addition to the components of the luminaire 900. The filtering component 904 is configured to perform filtering processing on the first environmental sound data collected by the pickup component 901, and transmit the first environmental sound data after the filtering processing to the processing component 902; the processing component 902 is specifically configured to obtain the filtered first environmental sound data, and control the communication component 903 to send the filtered first environmental sound data to the server.
Optionally, the filtering component 904 may be set, so that the environmental sound data of the preset frequency band can pass through the filtering component 904, and the environmental sound data outside the preset frequency band cannot pass through the filtering component 904, so that the environmental sound data acquisition of the filtering component 904 has pertinence, and the efficiency of determining the target lamp set is improved. Optionally, the communication component 903 may be configured to communicate with a server, and may also be configured to perform network pairing on the luminaire 900 and the luminaire 1000, so as to ensure accuracy of time in the luminaire 900 and the luminaire 1000. Optionally, the processing component 902 may be configured to store the first environmental sound data according to a data structure, where the data structure includes a lamp identifier, a start timestamp and an end timestamp for the pickup component 901 to acquire the first environmental sound data, a time interval for the pickup component 901 to acquire the first environmental sound data, a sequence for the pickup component 901 to acquire the first environmental sound data, and a check code, where the check code is used to confirm integrity of the first environmental sound data; the processing component 902 may be further configured to analyze the first environmental sound data, and if an absolute value of a difference between a maximum value and a minimum value of the first environmental sound data is smaller than a preset threshold, the first environmental sound data is indicated to have small volatility and lack of characteristics, and the processing component 902 may control the communication component 903 not to send the first environmental sound data having small volatility to the server. The preset threshold value may be a value obtained after an experiment is performed on a certain platform according to a large amount of experimental data, or a fixed value that is set manually according to actual needs.
Referring to fig. 11, a flowchart of a lamp management method provided in an embodiment of the present application is shown, where the lamp management method can be applied to the implementation environment shown in fig. 1. As shown in fig. 11, the luminaire management method may include the following steps:
step 1101, target equipment acquires first environment sound data, wherein the equipment is a lamp or a lamp management terminal.
Step 1102, the target device sends the collected first environmental sound data to a server.
Step 1103, the server converts the first ambient sound data into a first sound amplitude waveform.
Step 1104, the server converts the second ambient sound data collected by each of the maintained plurality of lamp sets into a second sound amplitude oscillogram.
In step 1105, the server detects whether the first sound amplitude waveform diagram is similar to the second sound amplitude waveform diagram in each lamp set.
Step 1106, if the percentage of the lamps with similar sound amplitude waveform patterns in a certain lamp group reaches the target proportion threshold, the server determines that the second ambient sound data collected by the lamps in the certain lamp group is similar to the first ambient sound data.
Step 1107, the server takes a certain lamp group as a target lamp group.
Step 1108, the server divides the target devices into target lamp groups.
Step 1109, if the target device is a lamp management terminal, the server sends information of each lamp in the target lamp group to the lamp management terminal.
Please refer to fig. 12, which shows a general diagram of a lamp management solution. As shown in fig. 12, a lamp a, a lamp B, a lamp C, and a mobile phone a are provided in the first studio, the lamp a, the lamp B, the lamp C, and the mobile phone a respectively collect environmental sound data in the first studio, and respectively upload the collected environmental sound data to the server, and if the environmental sound data collected by the lamp a, the lamp B, the lamp C, and the mobile phone a are similar, the server groups the lamp a, the lamp B, the lamp C, and the mobile phone a into one group, and sends the grouping information corresponding to the mobile phone a.
Lamps D and E in the second studio are in one group in the server, when the mobile phone A moves to the second studio, the mobile phone A can collect environment sound data in the second studio, if the environment sound data collected by the mobile phone A are similar to the environment sound data collected by the lamps D and E, the server divides the lamps D, E and A into one group, and sends the grouping information corresponding to the mobile phone A.
It should be understood that, although the steps in the flowcharts related to the embodiments as described above are sequentially displayed as indicated by arrows, the steps are not necessarily performed sequentially as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the flowcharts related to the embodiments described above may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the execution order of the steps or stages is not necessarily sequential, but may be rotated or alternated with other steps or at least a part of the steps or stages in other steps.
Referring to fig. 13, a block diagram of a luminaire management apparatus 1300 is shown, wherein the apparatus may be configured in the server above. As shown in fig. 13, the luminaire management apparatus 1300 includes a first receiving module 1301, a determining module 1302, and a grouping module 1303.
The first receiving module 1301 is configured to receive first environment sound data acquired by a target device, where the target device is a lamp or a lamp management terminal; a determining module 1302, configured to determine a target lamp set from multiple lamp sets maintained by a server according to first environment sound data, where each lamp set includes multiple lamps, second environment sound data collected by each lamp in the same lamp set are similar to each other, and second environment sound data collected by lamps in the target lamp set are similar to the first environment sound data; and a grouping module 1303, configured to divide the target devices into target luminaire groups.
In an optional embodiment of the present application, the determining module 1302 is specifically configured to: sequentially executing environment sound similarity detection on the lamp sets until the environment sound similarity detection result of a certain lamp set indicates that second environment sound data acquired by lamps in the certain lamp set are similar to the first environment sound data; and taking a certain lamp set as a target lamp set.
In an optional embodiment of the present application, the determining module 1302 is specifically configured to: detecting whether the first environment sound data are similar to second environment sound data acquired by all lamps in the lamp set; and if the proportion of the lamps with similar environmental sound data reaches the target proportion threshold value, determining that the second environmental sound data acquired by the lamps in the lamp group is similar to the first environmental sound data.
In an optional embodiment of the present application, the determining module 1302 is specifically configured to: converting the first ambient sound data into a first sound amplitude oscillogram; converting each second ambient sound data into a second sound amplitude oscillogram; whether the first sound amplitude waveform diagram is similar to each second sound amplitude waveform diagram is detected.
In an optional embodiment of the present application, the determining module 1302 is specifically configured to: for each second sound amplitude waveform diagram, the second sound amplitude waveform diagram is subjected to translation processing in the x-axis direction, the second sound amplitude waveform diagram is subjected to equal-scale amplification processing in the y-axis direction to obtain a processed second sound amplitude waveform diagram, and whether the first sound amplitude waveform diagram is similar to the processed second sound amplitude waveform diagram or not is detected.
In an optional embodiment of the present application, the determining module 1302 is specifically configured to: acquiring a first coordinate of a starting point of the first sound amplitude oscillogram in the x-axis direction, and acquiring a second coordinate of a starting point of the second sound amplitude oscillogram in the x-axis direction; taking the difference value of the first coordinate and the second coordinate as a translation distance; and performing translation processing on the second sound amplitude waveform diagram in the x-axis direction based on the translation distance.
In an optional embodiment of the present application, the determining module 1302 is specifically configured to: calculating a first difference between a maximum value and a minimum value of the first sound amplitude waveform diagram in the y-axis direction, and calculating a second difference between a maximum value and a minimum value of the second sound amplitude waveform diagram in the y-axis direction; taking the ratio of the second difference to the first difference as an amplification factor; and performing equal-scale amplification processing on the second sound amplitude waveform diagram in the y-axis direction based on the amplification factor.
In an optional embodiment of the present application, the determining module 1302 is specifically configured to: converting the first ambient sound data into first sound audio; converting each second ambient sound data into a second sound audio; whether the first sound audio is similar to each second sound audio is detected.
In an optional embodiment of the present application, the determining module 1302 is specifically configured to: analyzing the first environmental sound data to obtain the semantic meaning of the first sound; analyzing the second ambient sound data to obtain the semantic meaning of the second sound; it is detected whether the semantics of the first sound are similar to the semantics of the respective second sound.
The lamp management device provided by the embodiment of the application can realize the method embodiment, the realization principle and the technical effect are similar, and the details are not repeated here.
All or part of the modules in the lamp management device can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
Referring to fig. 14, a block diagram of a lamp management device 1400 provided in an embodiment of the present application is shown, where the device is used in a lamp management terminal. As shown in fig. 14, the apparatus 1400 includes a transmitting module 1401 and a second receiving module 1402.
The sending module 1401 is configured to send collected first environment sound data to a server, where the first environment sound data is used for the server to determine a target lamp set from a plurality of maintained lamp sets, where each lamp set includes a plurality of lamps, second environment sound data collected by each lamp in the same lamp set is similar to each other, and second environment sound data collected by the lamps in the target lamp set is similar to the first environment sound data; the second receiving module 1402 is configured to receive information of each luminaire in the target luminaire group sent by the server.
The lamp management device provided by the embodiment of the application can realize the method embodiment, the realization principle and the technical effect are similar, and the details are not repeated here.
All or part of the modules in the lamp management device can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In an embodiment of the application, a computer program product is provided, comprising a computer program which, when executed by a processor, performs the steps of:
receiving first environment sound data acquired by target equipment, wherein the target equipment is a lamp or a lamp management terminal; determining a target lamp set from a plurality of lamp sets maintained by a server according to first environment sound data, wherein each lamp set comprises a plurality of lamps, second environment sound data acquired by each lamp in the same lamp set are similar to each other, and the second environment sound data acquired by the lamps in the target lamp set are similar to the first environment sound data; and dividing the target devices into target lamp groups.
In one embodiment of the application, the computer program when executed by the processor further performs the steps of: sequentially executing environment sound similarity detection on the lamp sets until the environment sound similarity detection result of a certain lamp set indicates that second environment sound data acquired by lamps in the certain lamp set are similar to the first environment sound data; and taking a certain lamp set as a target lamp set.
In one embodiment of the application, the computer program when executed by the processor further performs the steps of: detecting whether the first environment sound data are similar to second environment sound data acquired by all lamps in the lamp set; and if the proportion of the lamps with similar environmental sound data reaches the target proportion threshold value, determining that the second environmental sound data acquired by the lamps in the lamp group is similar to the first environmental sound data.
In one embodiment of the application, the computer program when executed by the processor further performs the steps of: converting the first ambient sound data into a first sound amplitude oscillogram; converting each second ambient sound data into a second sound amplitude oscillogram; whether the first sound amplitude waveform diagram is similar to each second sound amplitude waveform diagram is detected.
In one embodiment of the application, the computer program when executed by the processor further performs the steps of: for each second sound amplitude waveform diagram, the second sound amplitude waveform diagram is subjected to translation processing in the x-axis direction, the second sound amplitude waveform diagram is subjected to equal-scale amplification processing in the y-axis direction to obtain a processed second sound amplitude waveform diagram, and whether the first sound amplitude waveform diagram is similar to the processed second sound amplitude waveform diagram or not is detected.
In one embodiment of the application, the computer program when executed by the processor further performs the steps of: acquiring a first coordinate of a starting point of the first sound amplitude oscillogram in the x-axis direction, and acquiring a second coordinate of a starting point of the second sound amplitude oscillogram in the x-axis direction; taking the difference value of the first coordinate and the second coordinate as a translation distance; and performing translation processing on the second sound amplitude waveform diagram in the x-axis direction based on the translation distance.
In one embodiment of the application, the computer program when executed by the processor further performs the steps of: calculating a first difference between a maximum value and a minimum value of the first sound amplitude waveform diagram in the y-axis direction, and calculating a second difference between a maximum value and a minimum value of the second sound amplitude waveform diagram in the y-axis direction; taking the ratio of the second difference to the first difference as an amplification factor; and performing equal-scale amplification processing on the second sound amplitude waveform diagram in the y-axis direction based on the amplification factor.
In one embodiment of the application, the computer program when executed by the processor further performs the steps of: converting the first ambient sound data into first sound audio; converting each second ambient sound data into a second sound audio; whether the first sound audio is similar to each second sound audio is detected.
In one embodiment of the application, the computer program when executed by the processor further performs the steps of: analyzing the first environmental sound data to obtain the semantic meaning of the first sound; analyzing the second ambient sound data to obtain the semantic meaning of the second sound; it is detected whether the semantics of the first sound are similar to the semantics of the respective second sound.
The computer program product provided in this embodiment has similar implementation principles and technical effects to those of the method embodiments described above, and is not described herein again.
In an embodiment of the application, a computer program product is provided, comprising a computer program which, when executed by a processor, performs the steps of:
sending the collected first environment sound data to a server; the first environment sound data is used for the server to determine a target lamp set from the maintained lamp sets, wherein each lamp set comprises a plurality of lamps, second environment sound data collected by each lamp in the same lamp set are similar to each other, and the second environment sound data collected by the lamps in the target lamp set are similar to the first environment sound data.
The computer program product provided in this embodiment has similar implementation principles and technical effects to those of the method embodiments described above, and is not described herein again.
In an embodiment of the application, a computer program product is provided, comprising a computer program which, when executed by a processor, performs the steps of: sending collected first environment sound data to a server, wherein the first environment sound data is used for the server to determine a target lamp set from a plurality of maintained lamp sets, each lamp set comprises a plurality of lamps, second environment sound data collected by each lamp in the same lamp set are similar to each other, and the second environment sound data collected by the lamps in the target lamp set are similar to the first environment sound data; and receiving the information of each lamp in the target lamp group sent by the server.
The computer program product provided in this embodiment has similar implementation principles and technical effects to those of the method embodiments described above, and is not described herein again.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high-density embedded nonvolatile Memory, resistive Random Access Memory (ReRAM), Magnetic Random Access Memory (MRAM), Ferroelectric Random Access Memory (FRAM), Phase Change Memory (PCM), graphene Memory, and the like. Volatile Memory can include Random Access Memory (RAM), external cache Memory, and the like. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others. The databases referred to in various embodiments provided herein may include at least one of relational and non-relational databases. The non-relational database may include, but is not limited to, a block chain based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, quantum computing based data processing logic devices, etc., without limitation.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features. The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.

Claims (16)

1. A luminaire management method, for use in a server, the method comprising:
receiving first environment sound data acquired by target equipment, wherein the target equipment is a lamp or a lamp management terminal;
determining a target lamp set from a plurality of lamp sets maintained by the server according to the first environment sound data, wherein each lamp set comprises a plurality of lamps, second environment sound data collected by each lamp in the same lamp set are similar to each other, and the second environment sound data collected by the lamps in the target lamp set are similar to the first environment sound data;
dividing the target devices into the target luminaire groups.
2. The method of claim 1, wherein determining a target set of light fixtures from a plurality of sets of light fixtures maintained by the server based on the first ambient sound data comprises:
sequentially executing environment sound similarity detection on the plurality of lamp sets until an environment sound similarity detection result of a certain lamp set indicates that second environment sound data acquired by lamps in the certain lamp set are similar to the first environment sound data;
and taking the certain lamp set as the target lamp set.
3. The method of claim 2, wherein the ambient sound similarity detection comprises:
detecting whether the first environment sound data is similar to second environment sound data acquired by all lamps in the lamp set;
and if the proportion of the lamps with similar environmental sound data reaches a target proportion threshold value, determining that the second environmental sound data collected by the lamps in the lamp group is similar to the first environmental sound data.
4. The method of claim 3, wherein the detecting whether the first ambient sound data is similar to the second ambient sound data collected by each of the plurality of luminaires comprises:
converting the first ambient sound data into a first sound amplitude waveform map;
converting each of the second ambient sound data into a second sound amplitude oscillogram;
whether the first sound amplitude waveform diagram is similar to each second sound amplitude waveform diagram is detected.
5. The method of claim 4, wherein the detecting whether the first sound amplitude profile is similar to each of the second sound amplitude profiles comprises:
and for each second sound amplitude waveform diagram, performing translation processing on the second sound amplitude waveform diagram in the x-axis direction, performing equal-scale amplification processing on the second sound amplitude waveform diagram in the y-axis direction to obtain a processed second sound amplitude waveform diagram, and detecting whether the first sound amplitude waveform diagram is similar to the processed second sound amplitude waveform diagram.
6. The method of claim 5, wherein the panning the second sound amplitude waveform map in the x-axis direction comprises:
acquiring a first coordinate of a starting point of the first sound amplitude oscillogram in the x-axis direction, and acquiring a second coordinate of a starting point of the second sound amplitude oscillogram in the x-axis direction;
taking the difference value of the first coordinate and the second coordinate as a translation distance;
and performing translation processing on the second sound amplitude oscillogram in the x-axis direction based on the translation distance.
7. The method according to claim 5, wherein the performing the equal-scale-up processing on the second sound amplitude waveform map in the y-axis direction includes:
calculating a first difference between a maximum value and a minimum value of the first sound amplitude waveform diagram in the y-axis direction, and calculating a second difference between a maximum value and a minimum value of the second sound amplitude waveform diagram in the y-axis direction;
taking the ratio of the second difference to the first difference as an amplification factor;
and carrying out equal-scale amplification processing on the second sound amplitude waveform diagram in the y-axis direction based on the amplification factor.
8. The method of claim 3, wherein the detecting whether the first ambient sound data is similar to the second ambient sound data collected by each of the plurality of luminaires comprises:
converting the first ambient sound data into first sound audio;
converting each second ambient sound data into a second sound audio;
detecting whether the first sound audio is similar to each of the second sound audio.
9. The method of claim 3, wherein the detecting whether the first ambient sound data is similar to the second ambient sound data collected by each of the plurality of luminaires comprises:
analyzing the first environmental sound data to obtain the semantic meaning of the first sound;
analyzing the second ambient sound data to obtain the semantic meaning of a second sound;
detecting whether the semantics of the first sound is similar to the semantics of each of the second sounds.
10. A luminaire management method, for use in a luminaire, the method comprising:
sending the collected first environment sound data to a server;
the first environment sound data is used for the server to determine a target lamp set from the maintained multiple lamp sets, wherein each lamp set comprises multiple lamps, second environment sound data collected by the lamps in the same lamp set are similar to each other, and the second environment sound data collected by the lamps in the target lamp set are similar to the first environment sound data.
11. A lamp management method is used in a lamp management terminal, and the method comprises the following steps:
sending collected first environment sound data to a server, wherein the first environment sound data is used for the server to determine a target lamp set from a plurality of maintained lamp sets, each lamp set comprises a plurality of lamps, second environment sound data collected by each lamp in the same lamp set are similar to each other, and the second environment sound data collected by the lamps in the target lamp set are similar to the first environment sound data;
and receiving the information of each lamp in the target lamp group sent by the server.
12. A luminaire management device for use in a server, the device comprising:
the system comprises a first receiving module, a second receiving module and a control module, wherein the first receiving module is used for receiving first environment sound data acquired by target equipment, and the target equipment is a lamp or a lamp management terminal;
the determining module is used for determining a target lamp set from a plurality of lamp sets maintained by the server according to the first environment sound data, wherein each lamp set comprises a plurality of lamps, second environment sound data acquired by each lamp in the same lamp set are similar to each other, and the second environment sound data acquired by the lamps in the target lamp set are similar to the first environment sound data;
a grouping module for grouping the target devices into the target luminaire groups.
13. A luminaire management apparatus for use in a luminaire management terminal, the apparatus comprising:
the system comprises a sending module, a processing module and a processing module, wherein the sending module is used for sending collected first environment sound data to a server, the first environment sound data is used for the server to determine a target lamp set from a plurality of maintained lamp sets, each lamp set comprises a plurality of lamps, second environment sound data collected by each lamp in the same lamp set is similar to each other, and second environment sound data collected by the lamps in the target lamp set is similar to the first environment sound data;
and the second receiving module is used for receiving the information of each lamp in the target lamp group, which is sent by the server.
14. A lamp, characterized in that the lamp comprises a pickup assembly, a processing assembly and a communication assembly;
the pickup assembly is used for collecting first environment sound data;
the processing assembly is used for acquiring first environment sound data collected by the pickup assembly and controlling the communication assembly to send the first environment sound data collected by the pickup assembly to the server.
15. The light fixture of claim 15, wherein the light fixture further comprises a filtering component;
the filtering component is used for filtering the first environment sound data collected by the pickup component and transmitting the first environment sound data after filtering to the processing component;
the processing component is specifically configured to obtain the filtered first environmental sound data, and control the communication component to send the filtered first environmental sound data to the server.
16. A computer program product comprising a computer program, characterized in that the computer program realizes the steps of the method of any one of claims 1 to 11 when executed by a processor.
CN202111491065.7A 2021-12-08 2021-12-08 Lamp management method, device and computer program product Pending CN114171060A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111491065.7A CN114171060A (en) 2021-12-08 2021-12-08 Lamp management method, device and computer program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111491065.7A CN114171060A (en) 2021-12-08 2021-12-08 Lamp management method, device and computer program product

Publications (1)

Publication Number Publication Date
CN114171060A true CN114171060A (en) 2022-03-11

Family

ID=80484317

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111491065.7A Pending CN114171060A (en) 2021-12-08 2021-12-08 Lamp management method, device and computer program product

Country Status (1)

Country Link
CN (1) CN114171060A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685428A (en) * 2012-09-25 2014-03-26 阿里巴巴集团控股有限公司 A method and an apparatus for positioning a terminal
US20190182932A1 (en) * 2017-12-12 2019-06-13 Michael Weibin Zhang Musical beat detection system and method for lighting control
CN110199254A (en) * 2017-01-30 2019-09-03 昕诺飞控股有限公司 For controlling the controller of multiple light sources
CN111901945A (en) * 2020-07-22 2020-11-06 浙江大丰实业股份有限公司 Intelligent stage lighting switching system and operation method
CN112150778A (en) * 2019-06-29 2020-12-29 华为技术有限公司 Environmental sound processing method and related device
EP3799047A1 (en) * 2019-09-27 2021-03-31 Orange Device, system and method for identifying a scene from an ordered sequence of sounds captured in an environment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685428A (en) * 2012-09-25 2014-03-26 阿里巴巴集团控股有限公司 A method and an apparatus for positioning a terminal
CN110199254A (en) * 2017-01-30 2019-09-03 昕诺飞控股有限公司 For controlling the controller of multiple light sources
US20190182932A1 (en) * 2017-12-12 2019-06-13 Michael Weibin Zhang Musical beat detection system and method for lighting control
CN112150778A (en) * 2019-06-29 2020-12-29 华为技术有限公司 Environmental sound processing method and related device
EP3799047A1 (en) * 2019-09-27 2021-03-31 Orange Device, system and method for identifying a scene from an ordered sequence of sounds captured in an environment
CN111901945A (en) * 2020-07-22 2020-11-06 浙江大丰实业股份有限公司 Intelligent stage lighting switching system and operation method

Similar Documents

Publication Publication Date Title
US11638117B2 (en) Beacon addressing
US9949200B2 (en) Centralized beacon management service
US20160021504A1 (en) Adaptive assistance data for tiered service and efficiency in indoor positioning
US8830909B1 (en) Methods and systems to determine user relationships, events and spaces using wireless fingerprints
CN103179661A (en) WLAN (Wireless Local Area Network)-based indoor positioning method and device
US10838677B1 (en) Device-layout determinations
CN112311612B (en) Information construction method and device and storage medium
US9838266B2 (en) Dynamic device collaboration
EP2885747B1 (en) Sensor stimulation and response approach for mapping sensor network addresses to identification information
JP2017504003A (en) Granular asset tracking using landmark tags
CN105373610A (en) Indoor map updating method and server
US10694022B1 (en) Autonomous profile switcher for devices based upon external environment
CN111311193B (en) Method and device for configuring public service resources
WO2021225867A1 (en) Contact tracing among workers and employees
WO2017215475A1 (en) Information pushing method and location positioning method and device
US9949069B2 (en) Population estimation apparatus, program and population estimation method
CN114171060A (en) Lamp management method, device and computer program product
US11223566B2 (en) Cellular network management based on automatic social-data acquisition
CN111314177B (en) Work and rest time period identification method based on wireless signals and related device
CN109407526B (en) Equipment detection method and device and household appliance
CN203015022U (en) Three-dimensional geographical information integrated video monitoring system
CN112543423B (en) Internet of things exhibition hall data sharing method, device, equipment and storage medium
CN111220972B (en) Indoor positioning method and device based on visible light and storage medium
CN117155973A (en) Distributed computing-based data acquisition system and method
CN115226246A (en) Outdoor WIFI communication method and device, electronic equipment and medium

Legal Events

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