A method and device for controlling a lamp body

Through NFC tag information comparison and real-time environmental information processing, the problem of low recognition efficiency of lamp body accessories is solved, high-accurate lamp body control is achieved, and the efficiency and accuracy of intelligent control is improved.

CN118555711BActive Publication Date: 2024-12-27APUTURE IMAGING IND CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411017381.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-29
Publication Date
2024-12-27
Estimated Expiration
2044-07-29

Smart Images

  • Figure CN118555711B_ABST
    Figure CN118555711B_ABST
Patent Text Reader

Abstract

The present invention discloses a control method and device for a lamp body, the method comprising: obtaining target tag information of an accessory to be identified; wherein the target tag information comprises NFC tag information; performing an information comparison operation on the target tag information and the pre-determined accessory tag information to obtain an information comparison result; based on the information comparison result, determining an accessory identification result corresponding to the accessory to be identified, and determining the initial light source parameters of the accessory to be identified corresponding to the lamp body according to the accessory identification result. It can be seen that the implementation of the present invention can determine the lamp body control parameters based on the accurate lamp body accessory identification results, which is conducive to improving the accuracy of the determined lamp body control parameters, and further conducive to improving the control efficiency and control accuracy of the intelligent control of the lamp body.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of lighting equipment, and in particular to a method and device for controlling a lamp body. Background Art

[0002] At present, in order to meet different lighting needs, a variety of accessories (also called "lamp accessories") can be selected for use with the lamp body. In actual applications, after the accessories are connected to the lamp body, the lamp body needs to identify the information of the accessories (that is, the type of accessories) to achieve the corresponding functional control of the lamp body. However, the current method of identifying lamp body accessories has the problem that looseness or aging of the contacts or interfaces between the lamp body and the accessories can easily cause misidentification, resulting in low and inaccurate accessory identification efficiency, which is not conducive to improving the control efficiency and control accuracy of the lamp body.

[0003] It can be seen that how to improve the control efficiency and control accuracy of the lamp body is particularly important. Summary of the invention

[0004] The present invention provides a lamp body control method and device, which can determine the lamp body control parameters based on accurate lamp body accessory identification results, which is beneficial to improving the accuracy of the determined lamp body control parameters, and further beneficial to improving the control efficiency and control accuracy of the intelligent control of the lamp body.

[0005] In order to solve the above technical problem, the first aspect of the present invention discloses a control method for a lamp body, wherein each lamp body accessory has label information matching the lamp body accessory, and the method comprises:

[0006] Acquire target tag information of the attachment to be identified; wherein the target tag information includes NFC tag information;

[0007] Performing an information comparison operation on the target tag information and the predetermined attachment tag information to obtain an information comparison result;

[0008] Based on the information comparison result, determining the attachment recognition result corresponding to the attachment to be recognized;

[0009] According to the accessory recognition result, initial light source parameters of the lamp body corresponding to the accessory to be recognized are determined.

[0010] As an optional embodiment, in the first aspect of the present invention, the method further comprises:

[0011] Acquire real-time environment information of the current environment where the accessory to be identified is located, and acquire real-time operation information of the accessory to be identified;

[0012] Determining whether the real-time operation information matches the real-time environment information;

[0013] When it is determined that the real-time operation information does not match the real-time environment information, the accessory operation parameters of the accessory to be identified are obtained, and based on the real-time environment information and the accessory operation parameters, the light source adjustment parameters of the accessory to be identified are generated, and the accessory operation parameters are updated according to the light source adjustment parameters.

[0014] As an optional implementation manner, in the first aspect of the present invention, generating the light source adjustment parameter of the accessory to be identified based on the real-time environment information and the real-time operation information includes:

[0015] Based on the real-time environment information, determine the lighting requirement information of the current environment, and according to the accessory operation parameters, determine the operation status information of the accessory to be identified;

[0016] Determining whether the lighting demand information matches the operating status information;

[0017] When it is determined that the lighting requirement information does not match the operating state information, acquiring the accessory information of the accessory to be identified, and generating a light source adjustment parameter of the accessory to be identified based on the accessory information and the lighting requirement information;

[0018] The attachment information includes one or more of attachment type information and attachment usage information of the attachment to be identified.

[0019] As an optional implementation manner, in the first aspect of the present invention, determining the attachment identification result corresponding to the attachment to be identified based on the information comparison result includes:

[0020] Based on the information comparison result, determining the attachment sequence information of the attachment to be identified;

[0021] According to the attachment sequence information of the attachment to be identified, determining the target attachment sequence information matching the attachment sequence information in a preset attachment sequence information set, and determining the attachment identification result corresponding to the attachment to be identified according to the target attachment sequence information;

[0022] The accessory identification result includes one or more of accessory serial number information of the accessory to be identified and accessory model information of the accessory to be identified.

[0023] As an optional implementation manner, in the first aspect of the present invention, generating the light source adjustment parameter of the accessory to be identified based on the accessory information and the lighting requirement information includes:

[0024] Based on the attachment information, determine an adjustment parameter set of the to-be-identified attachment, wherein the adjustment parameter set includes one or more of a brightness adjustment parameter, a color adjustment parameter, an angle adjustment parameter, and a light source range adjustment parameter corresponding to the to-be-identified attachment;

[0025] According to the lighting requirement information, at least one target adjustment parameter matching the lighting requirement information is determined in the adjustment parameter set, and based on all the target adjustment parameters, a light source adjustment parameter of the accessory to be identified is generated.

[0026] As an optional implementation manner, in the first aspect of the present invention, determining at least one target adjustment parameter matching the lighting demand information in the adjustment parameter set according to the lighting demand information includes:

[0027] Determine the light impact parameters of the current environment according to the real-time environment information, and generate the target demand information of the current environment based on the light impact parameters and the light demand information; wherein the target demand information includes one or more of the light focus position demand information, light brightness demand information, and light irradiation range demand information of the current environment;

[0028] Calculate the demand matching degree between the target demand information and each adjustment parameter included in the adjustment parameter set to obtain the demand matching degree set, and filter out the target matching degrees whose demand matching degrees are greater than or equal to a preset matching degree threshold from the demand matching degree set, and determine the adjustment parameters corresponding to each of the target matching degrees as the target adjustment parameters that match the lighting demand information.

[0029] As an optional implementation, in the first aspect of the present invention, before acquiring the target tag information of the attachment to be identified, the method further includes:

[0030] Establishing an encrypted communication channel between the lamp body and the accessory to be identified, and determining a communication security factor corresponding to the encrypted communication channel;

[0031] Determining whether the communication security factor meets a preset communication security condition;

[0032] When it is determined that the communication security factor meets the preset communication security condition, the operation of acquiring the target tag information of the attachment to be identified is triggered;

[0033] When it is determined that the communication security coefficient does not meet the preset communication security conditions, the communication parameters between the lamp body and the accessory to be identified are determined, and based on the communication parameters and the communication security conditions, the security coefficient adjustment operation is performed on the encrypted communication channel to obtain the adjusted encrypted communication channel, and the operation of determining the communication security coefficient corresponding to the encrypted communication channel and the operation of judging whether the communication security coefficient meets the preset communication security conditions are triggered.

[0034] The second aspect of the present invention discloses a control device for a lamp body, wherein each of the lamp body accessories has label information matching the lamp body accessory, and the device comprises:

[0035] An acquisition module, used to acquire target tag information of the attachment to be identified; wherein the target tag information includes NFC tag information;

[0036] A comparison module, used to perform an information comparison operation on the target tag information and the predetermined attachment tag information to obtain an information comparison result;

[0037] A determination module, configured to determine an attachment recognition result corresponding to the attachment to be recognized based on the information comparison result;

[0038] The determination module is further used to determine the initial light source parameters of the lamp body corresponding to the accessory to be identified according to the accessory identification result.

[0039] As an optional implementation, in the second aspect of the present invention, the acquisition module is further used to acquire real-time environment information of the current environment where the accessory to be identified is located, and to acquire real-time operation information of the accessory to be identified;

[0040] The device also includes:

[0041] A first judgment module, used to judge whether the real-time operation information matches the real-time environment information;

[0042] The acquisition module is further configured to acquire the accessory operation parameters of the accessory to be identified when the first determination module determines that the real-time operation information does not match the real-time environment information;

[0043] A generating module, configured to generate a light source adjustment parameter of the accessory to be identified based on the real-time environment information and the accessory operation parameter;

[0044] An adjustment module is used to perform an adjustment operation on the accessory operating parameters according to the light source adjustment parameters.

[0045] As an optional implementation, in the second aspect of the present invention, the specific manner in which the generating module generates the light source adjustment parameters of the accessory to be identified based on the real-time environment information and the accessory operation parameters includes:

[0046] Based on the real-time environment information, determine the lighting requirement information of the current environment, and according to the accessory operation parameters, determine the operation status information of the accessory to be identified;

[0047] Determining whether the lighting demand information matches the operating status information;

[0048] When it is determined that the lighting requirement information does not match the operating state information, acquiring the accessory information of the accessory to be identified, and generating a light source adjustment parameter of the accessory to be identified based on the accessory information and the lighting requirement information;

[0049] The attachment information includes one or more of attachment type information and attachment usage information of the attachment to be identified.

[0050] As an optional implementation, in the second aspect of the present invention, the specific manner in which the determination module determines the attachment identification result corresponding to the attachment to be identified based on the information comparison result includes:

[0051] Based on the information comparison result, determining the attachment sequence information of the attachment to be identified;

[0052] According to the attachment sequence information of the attachment to be identified, determining the target attachment sequence information matching the attachment sequence information in a preset attachment sequence information set, and determining the attachment identification result corresponding to the attachment to be identified according to the target attachment sequence information;

[0053] The accessory identification result includes one or more of accessory serial number information of the accessory to be identified and accessory model information of the accessory to be identified.

[0054] As an optional implementation, in the second aspect of the present invention, the specific manner in which the generating module generates the light source adjustment parameters of the accessory to be identified based on the accessory information and the lighting requirement information includes:

[0055] Based on the attachment information, determine an adjustment parameter set of the to-be-identified attachment, wherein the adjustment parameter set includes one or more of a brightness adjustment parameter, a color adjustment parameter, an angle adjustment parameter, and a light source range adjustment parameter corresponding to the to-be-identified attachment;

[0056] According to the lighting requirement information, at least one target adjustment parameter matching the lighting requirement information is determined in the adjustment parameter set, and based on all the target adjustment parameters, a light source adjustment parameter of the accessory to be identified is generated.

[0057] As an optional implementation, in the second aspect of the present invention, the specific manner in which the generating module determines, according to the lighting demand information, at least one target adjustment parameter in the adjustment parameter set that matches the lighting demand information includes:

[0058] Determine the light impact parameters of the current environment according to the real-time environment information, and generate the target demand information of the current environment based on the light impact parameters and the light demand information; wherein the target demand information includes one or more of the light focus position demand information, light brightness demand information, and light irradiation range demand information of the current environment;

[0059] Calculate the demand matching degree between the target demand information and each adjustment parameter included in the adjustment parameter set to obtain the demand matching degree set, and filter out the target matching degrees whose demand matching degrees are greater than or equal to a preset matching degree threshold from the demand matching degree set, and determine the adjustment parameters corresponding to each of the target matching degrees as the target adjustment parameters that match the lighting demand information.

[0060] As an optional implementation, in the second aspect of the present invention, the device further includes:

[0061] A construction module, used for constructing an encrypted communication channel between the lamp body and the accessory to be identified before the acquisition module acquires the target tag information of the accessory to be identified;

[0062] The determination module is further used to determine a communication security factor corresponding to the encrypted communication channel;

[0063] A second judgment module is used to judge whether the communication security coefficient meets the preset communication security condition; when it is judged that the communication security coefficient meets the preset communication security condition, the acquisition module is triggered to execute the operation of acquiring the target tag information of the attachment to be identified;

[0064] The determination module is also used to determine the communication parameters between the lamp body and the accessory to be identified when the second judgment module determines that the communication security coefficient does not meet the preset communication security conditions, and based on the communication parameters and the communication security conditions, perform a security coefficient adjustment operation on the encrypted communication channel to obtain an adjusted encrypted communication channel, and trigger the execution of the operation of determining the communication security coefficient corresponding to the encrypted communication channel and trigger the second judgment module to execute the operation of judging whether the communication security coefficient meets the preset communication security conditions.

[0065] The third aspect of the present invention discloses another control device for a lamp body, the device comprising:

[0066] A memory storing executable program code;

[0067] a processor coupled to the memory;

[0068] The processor calls the executable program code stored in the memory to execute the lamp control method disclosed in the first aspect of the present invention.

[0069] The fourth aspect of the present invention discloses a computer storage medium, wherein the computer storage medium stores computer instructions, and when the computer instructions are called, they are used to execute the lamp control method disclosed in the first aspect of the present invention.

[0070] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0071] In an embodiment of the present invention, target tag information of an accessory to be identified is obtained; wherein the target tag information includes NFC tag information; an information comparison operation is performed on the target tag information and the pre-determined accessory tag information to obtain an information comparison result; based on the information comparison result, an accessory identification result corresponding to the accessory to be identified is determined, and according to the accessory identification result, the initial light source parameters of the accessory to be identified corresponding to the lamp body are determined. It can be seen that the implementation of the present invention can help improve the accuracy and reliability of identifying the lamp body accessories, and can determine the lamp body control parameters based on the accurate lamp body accessory identification results, which is conducive to improving the accuracy of the determined lamp body control parameters, and further helps to improve the control efficiency and control accuracy of the intelligent control of the lamp body. BRIEF DESCRIPTION OF THE DRAWINGS

[0072] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0073] Figure 1 It is a flow chart of a lamp control method disclosed in an embodiment of the present invention;

[0074] Figure 2 is a flow chart of another method for controlling a lamp body disclosed in an embodiment of the present invention;

[0075] Figure 3 is a schematic structural diagram of a control device for a lamp body disclosed in an embodiment of the present invention;

[0076] Figure 4 is a schematic structural diagram of another lamp control device disclosed in an embodiment of the present invention;

[0077] Figure 5 It is a structural schematic diagram of another lamp control device disclosed in an embodiment of the present invention. DETAILED DESCRIPTION

[0078] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0079] The terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish different objects rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, device, product or end including a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units inherent to these processes, methods, products or ends.

[0080] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0081] The present invention discloses a lamp control method and device, which can help improve the accuracy and reliability of lamp attachment identification, and can determine lamp control parameters based on accurate lamp attachment identification results, which can help improve the accuracy of the determined lamp control parameters, and further help improve the control efficiency and control accuracy of intelligent lamp control. The following is a detailed description.

[0082] Embodiment 1

[0083] See also Figure 1 , Figure 1 is a flow chart of a lamp control method disclosed in an embodiment of the present invention. Figure 1 The control method of the lamp body described can be applied to the control of the lamp body of the device, and can also be applied to the lamp body itself, wherein the control device of the lamp body can be integrated in the cloud server or the local server, which is not limited in the embodiment of the present invention. Figure 1 As shown, the control method of the lamp body may include the following operations:

[0084] 101. Obtain target tag information of the attachment to be identified.

[0085] In the embodiment of the present invention, the target tag information includes NFC tag information.

[0086] In the embodiment of the present invention, optionally, an NFC (Near Field Communication) tag is a small wireless device that can store information and transmit the information when it is close to a device supporting the NFC function.

[0087] In the embodiment of the present invention, optionally, the accessories to be identified may include one or more accessories of the lamp body such as a light bulb or a light tube, a lampshade, etc., which is not specifically limited in the embodiment of the present invention.

[0088] In an embodiment of the present invention, optionally, the target tag information of the attachment to be identified can be obtained in real time, can be obtained periodically according to a preset time period, or can be obtained when the attachment needs to be identified, which is not specifically limited in the embodiment of the present invention.

[0089] 102. Perform an information comparison operation on the target tag information and the pre-determined attachment tag information to obtain an information comparison result.

[0090] In the embodiment of the present invention, optionally, the information comparison result at least includes difference information and identical information between the target tag information and the predetermined attachment tag information.

[0091] In an embodiment of the present invention, optionally, the pre-determined accessory tag information includes NFC tag information corresponding to a plurality of lamp body accessories, wherein the NFC tag information corresponding to each lamp body accessory may include one or more of the accessory type tag information, accessory model tag information, and accessory name tag information of the lamp body accessory.

[0092] 103. Based on the information comparison result, determine the accessory identification result corresponding to the accessory to be identified; and according to the accessory identification result, determine the initial parameters of the light source of the lamp body corresponding to the accessory to be identified.

[0093] In an embodiment of the present invention, optionally, the accessory identification result corresponding to the accessory to be identified may include one or more of the accessory model identification result, accessory specification identification result, accessory material identification result, accessory function identification result, accessory electrical parameter identification result, and accessory size identification result of the accessory to be identified; wherein, the accessory electrical parameter identification result may include one or more of the operating voltage, operating current, and operating power corresponding to the accessory to be identified.

[0094] In the embodiment of the present invention, optionally, the accessories to be identified may include one or more of a soft box, a diffuser, a reflector, and a honeycomb net.

[0095] In an embodiment of the present invention, optionally, the initial parameters of the light source of the accessory to be identified corresponding to the lamp body may include initial control parameters of the lamp body, wherein the initial control parameters of the lamp body may include one or more of brightness control parameters, color temperature control parameters, light quality control parameters, position control parameters, and beam angle control parameters of the accessory to be identified.

[0096] In the embodiment of the present invention, optionally, the initial parameters of the light source of the lamp body corresponding to the accessory to be identified may be generated based on the accessory identification result; further, the initial parameters of the light source corresponding to different accessories to be identified may be different.

[0097] In the embodiment of the present invention, optionally, for example, when the accessory to be identified includes a soft box or a diffuser, in order to compensate for the light loss caused by the accessory to be identified, it is usually necessary to increase the light brightness of the lamp body, and the initial light source parameters of the lamp body may include brightness (power output) control parameters; when the accessory to be identified (such as filters of different materials) affects the color temperature of the light, the initial light source parameters of the lamp body may include control parameters corresponding to adjusting the color temperature of the light; when the accessory to be identified includes a honeycomb mesh, the honeycomb mesh will make the light more concentrated and harder, and the light parameters can be adjusted according to the light quality requirements through the initial control parameters corresponding to the lamp body, so as to adjust the light parameters to adapt to different shooting requirements; when the accessory to be identified includes a honeycomb mesh, the honeycomb mesh will make the light more concentrated and harder, and the light parameters can be adjusted according to the light quality requirements through the initial control parameters corresponding to the lamp body, so as to adjust the light parameters to adapt to different shooting requirements; When the accessory includes a softbox, the softbox will make the light softer, and the initial control parameters corresponding to the lamp body can be adjusted according to the light quality requirements to adjust the lighting parameters to adapt to different shooting requirements; further, the accessory to be identified may change the propagation path of the light. In this case, the initial light source parameters corresponding to the lamp body may include control parameters for adjusting the position and angle of the light to obtain an ideal lighting effect; further, the accessory to be identified may change the divergence angle of the light. In this case, the initial light source parameters corresponding to the lamp body may include control parameters for changing the divergence angle of the light, so as to adjust the light source and ensure that the light covers the required area.

[0098] It can be seen that the implementation Figure 1 The described lamp body control method can obtain target tag information including NFC tag information of the accessory to be identified, perform information comparison operation on the target tag information and the predetermined accessory tag information to obtain an information comparison result, and determine the accessory identification result corresponding to the accessory to be identified based on the information comparison result, and determine the initial parameters of the light source of the accessory to be identified corresponding to the lamp body according to the accessory identification result, and can automatically identify the tag information of the lamp body accessory through NFC technology, which is conducive to improving the efficiency of intelligent identification of the lamp body accessory, and identify the tag information of the lamp body accessory through NFC technology, which is conducive to improving the accuracy and reliability of identifying the lamp body accessory information, and can also further improve the accuracy and reliability of identifying the lamp body accessory through automated information comparison operation, thereby facilitating further improving the accuracy and efficiency of identifying the lamp body accessory, and further can determine the lamp body control parameters based on the accurate lamp body accessory identification result, which is conducive to improving the accuracy and reliability of the determined lamp body control parameters, and is also conducive to improving the control efficiency and control accuracy of the lamp body.

[0099] Embodiment 2

[0100] See also Figure 2 , Figure 2 is a flow chart of another method for controlling a lamp body disclosed in an embodiment of the present invention. Figure 2The control method of the lamp body described can be applied to the control of the lamp body of the device, and can also be applied to the lamp body itself, wherein the control device of the lamp body can be integrated in the cloud server or the local server, which is not limited in the embodiment of the present invention. Figure 2 As shown, the control method of the lamp body may include the following operations:

[0101] 201. Obtain target tag information of the attachment to be identified.

[0102] 202. Perform an information comparison operation on the target tag information and the pre-determined attachment tag information to obtain an information comparison result.

[0103] 203. Based on the information comparison result, determine the accessory recognition result corresponding to the accessory to be recognized; and according to the accessory recognition result, determine the initial light source parameters of the lamp body corresponding to the accessory to be recognized.

[0104] In the embodiment of the present invention, for the detailed description of steps 201 to 203, please refer to the other descriptions of steps 101 to 103 in the first embodiment, and the embodiment of the present invention will not be repeated.

[0105] 204. Acquire real-time environment information of the current environment where the accessory to be identified is located, and acquire real-time operation information of the accessory to be identified.

[0106] In an embodiment of the present invention, optionally, the real-time environment information of the current environment where the accessory to be identified is located includes one or more of the environment brightness information of the current environment, the environment light incident angle information, and the environment light refraction angle information.

[0107] In an embodiment of the present invention, optionally, the real-time operating information of the accessory to be identified may include one or more of the operating power information, operating lighting brightness information, operating lighting range information, operating lighting incident angle information, and operating lighting refraction angle information of the accessory to be identified.

[0108] In an embodiment of the present invention, optionally, the real-time environment information of the current environment where the accessory to be identified is located and the real-time operation information of the identified accessory can be obtained at the same time, or the real-time environment information can be obtained first and then the real-time operation information can be obtained, or the real-time operation information of the accessory to be identified can be obtained first and then the real-time environment information can be obtained. The embodiment of the present invention does not make specific limitations.

[0109] In an embodiment of the present invention, optionally, obtaining real-time environmental information of the current environment where the accessory to be identified is located can be obtained through one or more of a photoresistor, a photodiode, a phototransistor, a phototransistor, an ambient light sensor, and a light grating sensor; obtaining real-time operation information of the accessory to be identified can be obtained through one or more of an infrared sensor, a pressure sensor, a speed sensor, a current sensor, a light sensor, a temperature sensor, and a humidity sensor.

[0110] 205. Determine whether the real-time operation information matches the real-time environment information.

[0111] In the embodiment of the present invention, optionally, the above-mentioned determining whether the real-time operation information matches the real-time environment information may include:

[0112] Determine the operation lighting information according to the real-time operation information, determine the environmental requirement information according to the real-time environmental information, calculate the information matching degree between the operation lighting information and the environmental requirement information, and determine whether the information matching degree is greater than or equal to a preset matching degree threshold;

[0113] When it is determined that the information matching degree is greater than or equal to the preset matching degree threshold, it is determined that the real-time operation information matches the real-time environment information; when it is determined that the information matching degree is less than the preset matching degree threshold, it is determined that the real-time operation information does not match the real-time environment information.

[0114] 206. When it is determined that the real-time operation information does not match the real-time environment information, the accessory operation parameters of the accessory to be identified are obtained, and based on the real-time environment information and the accessory operation parameters, the light source adjustment parameters of the accessory to be identified are generated, and the accessory operation parameters are updated according to the light source adjustment parameters.

[0115] In the embodiment of the present invention, further optionally, when it is determined that the real-time operation information matches the real-time environment information, it is determined that the current operation parameters of the accessory to be identified meet the lighting operation requirements corresponding to the current environment, and further, the present process can be terminated.

[0116] In an embodiment of the present invention, optionally, the accessory operating parameters of the accessory to be identified may include one or more of the operating brightness parameters, operating lighting range parameters, and operating lighting angle parameters of the accessory to be identified; further, the accessory operating parameters of the accessory to be identified may also include one or more of the operating current parameters, operating voltage parameters, operating power parameters, and operating load parameters of the accessory to be identified.

[0117] In this optional embodiment, further optional, for example, when the lamp body is connected to an accessory, the card reader chip in the lamp body will read the accessory information written in the NFC card tag on the accessory before leaving the factory. At this time, the processor of the lamp body can determine the corresponding accessory connected to the lamp body at this time by comparing the read information with the information stored in the processor itself, and display it on the screen of the lamp body. The lamp body will also respond accordingly according to these different accessories and adjust the light parameters of the light source.

[0118] It can be seen that the implementation Figure 2 The described lamp body control method can obtain the real-time environmental information of the current environment where the accessory to be identified is located, as well as the real-time operating information of the accessory to be identified and determine whether the real-time operating information matches the real-time environmental information. If they do not match, the accessory operating parameters of the accessory to be identified are obtained and the light source adjustment parameters of the accessory to be identified are generated based on the real-time environmental information and the accessory operating parameters. The accessory operating parameters are further updated according to the light source adjustment parameters, and the operating status and environmental information of the accessory can be obtained in real time to improve the real-time nature of the information. The corresponding light source adjustment parameters can be generated only when it is determined that the real-time operating information does not match the real-time environmental information, which is conducive to further improving the intelligence and efficiency of generating light source adjustment parameters. Efficiency, avoiding the need to adjust the light source again when the light source in the current environment has met the corresponding needs, and being able to improve the accuracy and real-time performance of generating light source adjustment parameters based on analysis and judgment of real-time data, and by generating light source adjustment parameters and performing intelligent adjustment operations on accessories to be identified, it can bring a more humane and comfortable use experience to the current environment and users in the current environment, and is conducive to further improving the accuracy and reliability of identifying lamp accessories, and further being able to determine lamp control parameters based on accurate lamp accessory identification results, which is conducive to improving the accuracy and reliability of the determined lamp control parameters, and is also conducive to improving the control efficiency and control accuracy of the lamp control.

[0119] In an optional embodiment, generating a light source adjustment parameter of the accessory to be identified based on the real-time environment information and the real-time operation information includes:

[0120] Based on the real-time environment information, determine the lighting requirement information of the current environment, and determine the operating status information of the accessory to be identified according to the accessory operating parameters;

[0121] Determine whether the lighting demand information matches the operating status information;

[0122] When it is determined that the lighting requirement information does not match the operating status information, the accessory information of the accessory to be identified is obtained, and based on the accessory information and the lighting requirement information, a light source adjustment parameter of the accessory to be identified is generated;

[0123] The attachment information includes one or more of attachment type information and attachment usage information of the attachment to be identified.

[0124] In this optional embodiment, optionally, the above-mentioned determining the lighting requirement information of the current environment based on the real-time environment information, and determining the operating state information of the accessory to be identified according to the accessory operating parameters, may include:

[0125] Input the real-time environment information into a predetermined demand determination model to obtain a demand output result, and determine the lighting demand information of the current environment based on the demand output result;

[0126] The operation keywords in the attachment operation parameters are extracted, and the operation status information of the attachment to be identified is generated based on all the operation keywords.

[0127] In this optional embodiment, optionally, the above-mentioned determination of whether the lighting demand information matches the operating status information may include:

[0128] Determine first key information of lighting requirement information, and determine second key information of operation status information, wherein the first key information may include lighting requirement information of the current environment, and the second key information may include the operation status of the accessory to be identified;

[0129] Determining whether the first key information matches the second key information;

[0130] When it is determined that the first key information matches the second key information, it is determined that the lighting demand information matches the operating status information; when it is determined that the first key information does not match the second key information, it is determined that the lighting demand information does not match the operating status information.

[0131] In this optional embodiment, further optionally, when it is determined that the lighting requirement information matches the operating status information, the light source adjustment parameters of the accessory to be identified can be directly generated based on the lighting requirement information.

[0132] In this optional embodiment, optionally, the accessory information of the accessory to be identified may include accessory type information and accessory model information of the accessory to be identified. Furthermore, the accessory information of the accessory to be identified may also include one or more of accessory operating time information, accessory maintenance information, accessory operating frequency information, and accessory operating time information of the accessory to be identified.

[0133] It can be seen that the implementation of this optional embodiment can determine the lighting demand information of the current environment based on real-time environmental information, and determine the operating status information of the accessory to be identified based on the accessory operating parameters, and judge whether the lighting demand information matches the operating status information. If they do not match, the accessory information of the accessory to be identified is obtained, and the light source adjustment parameters of the accessory to be identified are generated based on the accessory information and the lighting demand information. The light source adjustment parameters can be intelligently generated according to the changes in the current environment to adjust the operating light of the accessory to be identified, so that the operation of the accessory to be identified can adapt to the lighting needs in the current environment, and can avoid excessive lighting by accurately matching the lighting needs and operating status of the current environment, thereby saving energy consumption, and flexibly adjusting the light source parameters according to different types of accessory information and lighting needs to adapt to a variety of lighting scenes, and by generating light source adjustment parameters and performing intelligent adjustment operations on the accessory to be identified, a more humane and comfortable use experience can be brought to the current environment and users of the current environment, which is conducive to improving the control efficiency and control accuracy of the intelligent control of the lamp body.

[0134] In another optional embodiment, performing an information comparison operation on the target tag information and the predetermined attachment tag information to obtain an information comparison result includes:

[0135] Extracting target NFC information from the target tag information, performing an information comparison operation based on the extracted target NFC information and the predetermined attachment tag information to obtain tag comparison information;

[0136] Based on the label comparison information, an information comparison result between the target label information and the attachment label information is generated.

[0137] In this optional embodiment, optionally, performing an information comparison operation based on the extracted target NFC information and the predetermined attachment tag information to obtain tag comparison information may include:

[0138] Based on the predetermined accessory tag information, determining the accessory NFC tag information from all the accessory tag information;

[0139] Based on the extracted target NFC information and the attached NFC tag information, perform an information comparison and analysis operation on the target NFC information and the attached NFC tag information to obtain an information analysis result, and generate tag comparison information based on the information analysis result;

[0140] The information analysis result includes the difference information and the same information between the target NFC information and the attached NFC tag information.

[0141] In this optional embodiment, optionally, the information comparison result includes at least tag comparison information; further, the information comparison result includes at least difference information and identical information between the target NFC information and the attachment NFC tag information in the tag comparison information; wherein, the identical information between the target NFC information and the attachment NFC tag information includes overlapping information in the target NFC information and the attachment NFC tag information.

[0142] It can be seen that implementing this optional embodiment can extract the target NFC information in the target tag information, perform an information comparison operation based on the extracted target NFC information and the predetermined attachment tag information to obtain tag comparison information, and generate an information comparison result between the target tag information and the attachment tag information based on the tag comparison information. The target tag information can be accurately extracted through NFC technology, which can ensure the accuracy of information comparison and reduce misjudgment caused by reading errors. In addition, fast data transmission can be achieved through NFC technology, so that the information comparison operation can be performed in real time and the results can be fed back in time. The data transmission process of NFC technology is relatively safe, which reduces the risk of information being intercepted or tampered with during transmission, and can also simplify The user operation process is simplified, and the user only needs to complete the information comparison through a simple touch, which improves the user experience and is conducive to improving the convenience of user use. In addition, the information comparison operation can be performed based on the target NFC information and the predetermined accessory tag information, which is conducive to improving the accuracy and reliability of the tag comparison information, thereby improving the accuracy and reliability of the subsequent information comparison results, and further improving the accuracy and reliability of identifying the lamp body accessories, as well as the accuracy and efficiency of identifying the lamp body accessories. The lamp body control parameters can also be determined based on the accurate lamp body accessory identification results, which is conducive to improving the control efficiency and control accuracy of the intelligent control of the lamp body.

[0143] In yet another optional embodiment, determining the attachment recognition result corresponding to the attachment to be recognized based on the information comparison result includes:

[0144] Based on the information comparison result, determining the attachment sequence information of the attachment to be identified;

[0145] According to the attachment sequence information of the attachment to be identified, target attachment sequence information matching the attachment sequence information is determined in a preset attachment sequence information set, and an attachment identification result corresponding to the attachment to be identified is determined according to the target attachment sequence information;

[0146] The attachment identification result includes one or more of attachment serial number information of the attachment to be identified and attachment model information of the attachment to be identified.

[0147] In this optional embodiment, the accessory sequence information of the accessory to be identified may optionally include one or more of an accessory serial number, an accessory model, and an accessory production date of the accessory to be identified.

[0148] In this optional embodiment, optionally, the preset attachment sequence information set includes attachment sequence information corresponding to a plurality of attachments.

[0149] In this optional embodiment, optionally, the above-mentioned determining, based on the attachment sequence information of the attachment to be identified, target attachment sequence information matching the attachment sequence information in a preset attachment sequence information set, and determining, based on the target attachment sequence information, an attachment identification result corresponding to the attachment to be identified, may include:

[0150] Determine target sequence information according to the attachment sequence information of the attachment to be identified;

[0151] Calculate the sequence information matching degree between the target sequence information and each attachment sequence information included in the preset attachment sequence information set, and select the target information matching degree greater than or equal to the preset information matching degree threshold from all sequence information matching degrees, and determine the attachment sequence information corresponding to all target information matching degrees as the target attachment sequence information matching the attachment sequence information;

[0152] The attachment identification information corresponding to the target attachment sequence information is determined, and the attachment identification result corresponding to the attachment to be identified is determined based on the attachment identification information.

[0153] It can be seen that the implementation of this optional embodiment can determine the accessory sequence information of the accessory to be identified based on the information comparison result, and determine the target accessory sequence information that matches the accessory sequence information in the preset accessory sequence information set according to the accessory sequence information of the accessory to be identified, and then determine the accessory identification result corresponding to the accessory to be identified. The accuracy of the accessory identification result can be ensured through precise matching of the sequence information to avoid confusion or misidentification, and the recognition efficiency can be improved by quickly retrieving matching information in the preset accessory sequence information set, so that NFC technology can also be integrated with other information systems to improve the intelligence and efficiency of determining the accessory identification result corresponding to the accessory to be identified, and can also improve the accuracy and reliability of determining the accessory identification result corresponding to the accessory to be identified, which is conducive to further improving the accuracy and reliability of identifying lamp body accessories, and is conducive to further improving the accuracy and efficiency of identifying lamp body accessories.

[0154] In yet another optional embodiment, generating a light source adjustment parameter of the accessory to be identified based on the accessory information and the light requirement information includes:

[0155] Based on the attachment information, determine an adjustment parameter set of the attachment to be identified, wherein the adjustment parameter set includes one or more of a brightness adjustment parameter, a color adjustment parameter, an angle adjustment parameter, and a light source range adjustment parameter corresponding to the attachment to be identified;

[0156] According to the lighting requirement information, at least one target adjustment parameter matching the lighting requirement information is determined in the adjustment parameter set, and based on all the target adjustment parameters, a light source adjustment parameter of the accessory to be identified is generated.

[0157] In this optional embodiment, optionally, the adjustment parameter set of the accessory to be identified may include an adjustable parameter value range of the accessory to be identified; for example, the brightness adjustment parameter corresponds to an adjustment range of brightness from dark to bright; the angle adjustment parameter corresponds to an adjustment range of angle from 0 degrees to 360 degrees; and the light source range adjustment parameter corresponds to an adjustment range from a small range to a large range.

[0158] It can be seen that the implementation of this optional embodiment can determine the adjustment parameter set of the accessory to be identified based on the accessory information, and determine the target adjustment parameters that match the lighting requirement information in the adjustment parameter set according to the lighting requirement information, and generate the light source adjustment parameters of the accessory to be identified based on all the target adjustment parameters, and can accurately determine the adjustable parameter set of the accessory to be identified by analyzing the accessory information, and can select the target adjustment parameters that match the specific requirements in the adjustment parameter set according to the lighting requirement information to ensure that the lighting settings meet the user needs and the needs of the current environment, and can intelligently generate the light source adjustment parameters of the accessory to be identified, and can realize intelligent adjustment and automatic control of the light source parameters, which is conducive to improving the intelligence and efficiency of the light source adjustment, and through intelligent adjustment, the light source adjustment can respond to environmental changes and user needs in real time, which is conducive to improving the intelligence and convenience of the user's control of the light source, and is conducive to improving the accuracy and reliability of the intelligent adjustment of the light source, and can also determine the lamp body control parameters based on accurate lamp body accessory recognition results, thereby helping to improve the control efficiency and control accuracy of the intelligent control of the lamp body.

[0159] In yet another optional embodiment, according to the lighting demand information, determining at least one target adjustment parameter matching the lighting demand information in the adjustment parameter set includes:

[0160] Determine the lighting impact parameters of the current environment according to the real-time environment information, and generate the target demand information of the current environment based on the lighting impact parameters and the lighting demand information; wherein the target demand information includes one or more of the lighting focus position demand information, lighting brightness demand information, and lighting irradiation range demand information of the current environment;

[0161] The demand matching degree between the target demand information and each adjustment parameter included in the adjustment parameter set is calculated to obtain the demand matching degree set, and the target matching degrees whose demand matching degrees are greater than or equal to the preset matching degree threshold are screened out from the demand matching degree set, and the adjustment parameters corresponding to each target matching degree are determined as the target adjustment parameters that match the lighting demand information.

[0162] In this optional embodiment, optionally, the lighting impact parameters of the current environment may include parameters that affect the light source of the accessory to be identified in the current environment; for example, the lighting impact parameters may include one or more of sunlight impact parameters, light incident angle impact parameters, and light exit angle impact parameters.

[0163] In this optional embodiment, optionally, the target requirement information of the current environment may also include lighting requirement information. Further optionally, the lighting focus position requirement information includes a lighting focus point in the current environment.

[0164] In this optional embodiment, optionally, the requirement matching degree set includes the requirement matching degree between the target requirement information and each adjustment parameter included in the adjustment parameter set.

[0165] It can be seen that the implementation of this optional embodiment can determine the lighting impact parameters of the current environment according to the real-time environmental information, and generate target demand information based on the lighting impact parameters and the lighting demand information, calculate the demand matching degree between the target demand information and each adjustment parameter included in the adjustment parameter set to obtain a matching degree set, and screen out the target matching degree from the demand matching degree set to determine the target adjustment parameters. The lighting impact parameters can be determined by considering the real-time environmental information, and the target demand information can be generated based on this, so that the lighting adjustment is more environmentally adaptable, and the lighting settings can be accurately adjusted according to different environmental conditions. By calculating the demand matching degree between the target demand information and each adjustment parameter in the adjustment parameter set, the accurate selection of the adjustment parameters is ensured, and it can be ensured that the selected adjustment parameters meet the current lighting needs to the greatest extent, and the lighting can be accurately adjusted according to the real-time environment and lighting needs, which can significantly improve the user's comfort and satisfaction, and thus help to improve the intelligence and convenience of the user's control of the light source, as well as help to improve the accuracy and reliability of the intelligent adjustment of the light source.

[0166] In yet another optional embodiment, before obtaining the target tag information of the attachment to be identified, the method further includes:

[0167] Establish an encrypted communication channel between the lamp body and the accessory to be identified, and determine the communication security factor corresponding to the encrypted communication channel;

[0168] Determine whether the communication security factor meets the preset communication security conditions;

[0169] When it is determined that the communication security factor meets the preset communication security condition, an operation of acquiring target tag information of the attachment to be identified is triggered;

[0170] When it is determined that the communication security factor does not meet the preset communication security conditions, the communication parameters between the lamp body and the accessory to be identified are determined, and based on the communication parameters and the communication security conditions, the security factor adjustment operation is performed on the encrypted communication channel to obtain the adjusted encrypted communication channel, and the operation of determining the communication security factor corresponding to the encrypted communication channel and the operation of determining whether the communication security factor meets the preset communication security conditions are triggered.

[0171] In this optional embodiment, optionally, an encrypted communication channel is used for data communication between the lamp body and the accessory to be identified; further, the communication security factor corresponding to the encrypted communication channel at least includes an encryption security factor corresponding to the encrypted communication channel.

[0172] In this optional embodiment, optionally, the above-mentioned determination of whether the communication security factor meets the preset communication security condition may include:

[0173] Determine the encrypted communication security level corresponding to the encrypted communication channel according to the communication security factor, and judge whether the encrypted communication security level is greater than or equal to a preset security level threshold;

[0174] When it is determined that the security level of encrypted communication is greater than or equal to the preset security level threshold, it is determined that the communication security factor meets the preset communication security conditions; when it is determined that the security level of encrypted communication is less than the preset security level threshold, it is determined that the communication security factor does not meet the preset communication security conditions.

[0175] In this optional embodiment, optionally, the communication parameters between the lamp body and the accessory to be identified include one or more of a communication speed parameter, a communication mode parameter, and a communication data volume parameter between the lamp body and the accessory to be identified.

[0176] In this optional embodiment, optionally, the above-mentioned performing a security factor adjustment operation on the encrypted communication channel based on the communication parameters and the communication security conditions to obtain an adjusted encrypted communication channel may include:

[0177] Based on the communication parameters, simulate updating the parameters of the encrypted communication channel to obtain a simulated communication channel, and determine whether the simulated communication channel meets the preset communication security conditions;

[0178] When it is determined that the analog communication channel meets the preset communication security condition, a channel adjustment parameter matching the communication parameter is determined in the encrypted communication channel, and a security factor adjustment operation is performed on the channel adjustment parameter based on the communication parameter to obtain an adjusted encrypted communication channel;

[0179] When it is determined that the simulated communication channel does not meet the preset communication security conditions, the operation of re-triggering the execution based on the communication parameters, performing simulation update parameters on the encrypted communication channel, obtaining the simulated communication channel, and determining whether the simulated communication channel meets the preset communication security conditions.

[0180] It can be seen that the implementation of this optional embodiment can build an encrypted communication channel between the lamp body and the accessory to be identified and determine the corresponding communication security factor, judge whether the communication security factor meets the preset communication security conditions, and if so, trigger the operation of obtaining the target tag information of the accessory to be identified; if not, determine the communication parameters between the lamp body and the accessory to be identified, and perform the security factor adjustment operation on the encrypted communication channel based on the communication parameters and the communication security conditions to obtain the adjusted encrypted communication channel, and trigger the operation of determining the communication security factor corresponding to the encrypted communication channel and judging whether the communication security factor meets the preset communication security conditions. The encrypted communication channel between the two can ensure that the data transmitted between the two is encrypted, thereby preventing the data from being illegally obtained or tampered with, which is conducive to ensuring the security and accuracy of data transmission, and determining the communication security factor corresponding to the encrypted communication channel can quantify the security level of communication, and can intuitively determine the security degree of the encrypted communication channel. When the communication security factor does not meet the preset communication security conditions, the encrypted communication channel can be adaptively adjusted, which is conducive to improving the security and reliability of data communication through the encrypted communication channel, and then conducive to improving the accuracy and reliability of subsequent identification of lamp body accessories, and is conducive to further improving the accuracy and efficiency of identifying lamp body accessories.

[0181] Embodiment 3

[0182] See also Figure 3 , Figure 3 is a schematic diagram of the structure of a lamp control device disclosed in an embodiment of the present invention. The device is applied to the lamp, and each lamp attachment has label information matching the lamp attachment, such as Figure 3 As shown, the control device of the lamp body may include:

[0183] The acquisition module 301 is used to acquire the target tag information of the attachment to be identified; wherein the target tag information includes NFC tag information;

[0184] A comparison module 302 is used to perform an information comparison operation on the target tag information and the pre-determined attachment tag information to obtain an information comparison result;

[0185] A determination module 303 is used to determine an attachment recognition result corresponding to the attachment to be recognized based on the information comparison result;

[0186] The determination module 303 is further used to determine the initial light source parameters of the lamp body corresponding to the accessory to be identified according to the accessory identification result.

[0187] It can be seen that the implementation Figure 3 The described device can obtain target tag information including NFC tag information of the accessory to be identified, perform information comparison operation on the target tag information and predetermined accessory tag information to obtain information comparison result, and determine the accessory identification result corresponding to the accessory to be identified based on the information comparison result, and determine the initial parameters of the light source of the accessory to be identified corresponding to the lamp body according to the accessory identification result, and can automatically identify the tag information of the lamp body accessory through NFC technology, which is conducive to improving the efficiency of intelligent identification of the lamp body accessory, and identify the tag information of the lamp body accessory through NFC technology, which is conducive to improving the accuracy and reliability of identifying the lamp body accessory information, and can also further improve the accuracy and reliability of identifying the lamp body accessory through automated information comparison operation, thereby facilitating further improving the accuracy and efficiency of identifying the lamp body accessory, and further can determine the lamp body control parameters based on accurate lamp body accessory identification results, which is conducive to improving the accuracy and reliability of the determined lamp body control parameters, and is also conducive to improving the control efficiency and control accuracy of the lamp body.

[0188] In an optional embodiment, if Figure 4 As shown, the acquisition module 301 is also used to acquire the real-time environment information of the current environment where the accessory to be identified is located, and to acquire the real-time operation information of the accessory to be identified;

[0189] The device also includes:

[0190] A first determination module 304 is used to determine whether the real-time operation information matches the real-time environment information;

[0191] The acquisition module 301 is further used to acquire the accessory operation parameters of the accessory to be identified when the first determination module 304 determines that the real-time operation information does not match the real-time environment information;

[0192] A generating module 305, for generating light source adjustment parameters of the accessory to be identified based on the real-time environment information and the accessory operation parameters;

[0193] The adjustment module 306 is used to update the accessory operating parameters according to the light source adjustment parameters.

[0194] It can be seen that the implementation Figure 4The described device can obtain the real-time environmental information of the current environment where the accessory to be identified is located, obtain the real-time operation information of the accessory to be identified, and determine whether the real-time operation information matches the real-time environmental information. If not, the accessory operation parameters of the accessory to be identified are obtained, and the light source adjustment parameters of the accessory to be identified are generated based on the real-time environmental information and the accessory operation parameters. The accessory operation parameters are further updated according to the light source adjustment parameters. The operation status and environmental information of the accessory can be obtained in real time to improve the real-time nature of the information, and the corresponding light source adjustment parameters can be generated only when it is determined that the real-time operation information does not match the real-time environmental information, which is conducive to further improving the intelligence and efficiency of generating light source adjustment parameters, avoiding the light source being adjusted again when the light source in the current environment has met the corresponding requirements, and can be based on the analysis and judgment of real-time data. It is conducive to improving the accuracy and real-time nature of generating light source adjustment parameters, and by generating light source adjustment parameters and performing intelligent adjustment operations on the accessory to be identified, it can bring a more humane and comfortable use experience to the current environment and the users of the current environment, and further, it can determine the lamp body control parameters based on the accurate lamp body accessory recognition results, which is conducive to improving the accuracy and reliability of the determined lamp body control parameters, and is also conducive to improving the control efficiency and control accuracy of the lamp body.

[0195] In another optional embodiment, Figure 4 As shown, the specific manner in which the generating module 305 generates the light source adjustment parameters of the accessory to be identified based on the real-time environment information and the accessory operation parameters includes:

[0196] Based on the real-time environment information, determine the lighting requirement information of the current environment, and determine the operating status information of the accessory to be identified according to the accessory operating parameters;

[0197] Determine whether the lighting demand information matches the operating status information;

[0198] When it is determined that the lighting requirement information does not match the operating status information, the accessory information of the accessory to be identified is obtained, and based on the accessory information and the lighting requirement information, a light source adjustment parameter of the accessory to be identified is generated;

[0199] The attachment information includes one or more of attachment type information and attachment usage information of the attachment to be identified.

[0200] It can be seen that the implementation Figure 4The described device can determine the lighting demand information of the current environment based on real-time environmental information, and determine the operating status information of the accessory to be identified based on the accessory operating parameters, and judge whether the lighting demand information matches the operating status information. If they do not match, the accessory information of the accessory to be identified is obtained, and the light source adjustment parameters of the accessory to be identified are generated based on the accessory information and the lighting demand information. The light source adjustment parameters can be intelligently generated according to the changes in the current environment to adjust the operating light of the accessory to be identified, so that the operation of the accessory to be identified can adapt to the lighting needs in the current environment, and excessive lighting can be avoided by accurately matching the lighting needs and operating status of the current environment, thereby saving energy consumption, and flexibly adjusting the light source parameters according to different types of accessory information and lighting needs to adapt to a variety of lighting scenes, and by generating light source adjustment parameters and performing intelligent adjustment operations on the accessory to be identified, a more humane and comfortable use experience can be brought to the current environment and users of the current environment, which is conducive to further improving the accuracy and reliability of identifying lamp body accessories, and thus is conducive to improving the control efficiency and control accuracy of intelligent control of the lamp body.

[0201] In yet another optional embodiment, Figure 4 As shown, the specific manner in which the determination module 303 determines the attachment identification result corresponding to the attachment to be identified based on the information comparison result includes:

[0202] Based on the information comparison result, determining the attachment sequence information of the attachment to be identified;

[0203] According to the attachment sequence information of the attachment to be identified, target attachment sequence information matching the attachment sequence information is determined in a preset attachment sequence information set, and an attachment identification result corresponding to the attachment to be identified is determined according to the target attachment sequence information;

[0204] The attachment identification result includes one or more of attachment serial number information of the attachment to be identified and attachment model information of the attachment to be identified.

[0205] It can be seen that the implementation Figure 4The described device can determine the accessory sequence information of the accessory to be identified based on the information comparison result, and determine the target accessory sequence information matching the accessory sequence information in the preset accessory sequence information set according to the accessory sequence information of the accessory to be identified, and then determine the accessory identification result corresponding to the accessory to be identified. It can ensure the accuracy of the accessory identification result and avoid confusion or misidentification through precise matching of sequence information, and can improve the identification efficiency by quickly retrieving matching information in the preset accessory sequence information set, so that NFC technology can also be integrated with other information systems to improve the intelligence and efficiency of determining the accessory identification result corresponding to the accessory to be identified, and can also improve the accuracy and reliability of determining the accessory identification result corresponding to the accessory to be identified, which is conducive to further improving the accuracy and reliability of identifying lamp body accessories, and is conducive to further improving the accuracy and efficiency of identifying lamp body accessories.

[0206] In yet another optional embodiment, Figure 4 As shown, the specific manner in which the generating module 303 generates the light source adjustment parameters of the accessory to be identified based on the accessory information and the light requirement information includes:

[0207] Based on the attachment information, determine an adjustment parameter set of the attachment to be identified, wherein the adjustment parameter set includes one or more of a brightness adjustment parameter, a color adjustment parameter, an angle adjustment parameter, and a light source range adjustment parameter corresponding to the attachment to be identified;

[0208] According to the lighting requirement information, at least one target adjustment parameter matching the lighting requirement information is determined in the adjustment parameter set, and based on all the target adjustment parameters, a light source adjustment parameter of the accessory to be identified is generated.

[0209] It can be seen that the implementation Figure 4The described device can determine the adjustment parameter set of the accessory to be identified based on the accessory information, and determine the target adjustment parameters that match the lighting requirement information in the adjustment parameter set according to the lighting requirement information, and generate the light source adjustment parameters of the accessory to be identified based on all the target adjustment parameters. It can accurately determine the adjustable parameter set of the accessory to be identified by analyzing the accessory information, and can select the target adjustment parameters that match the specific requirements in the adjustment parameter set according to the lighting requirement information to ensure that the lighting settings meet the user requirements and the requirements of the current environment. It can also intelligently generate the light source adjustment parameters of the accessory to be identified, and can realize intelligent adjustment and automatic control of the light source parameters, which is conducive to improving the intelligence and efficiency of the light source adjustment. Through intelligent adjustment, the light source adjustment can respond to environmental changes and user needs in real time, which is conducive to improving the intelligence and convenience of the user's control of the light source, as well as the accuracy and reliability of the intelligent adjustment of the light source. It can also determine the lamp body control parameters based on accurate lamp body accessory recognition results, which is conducive to improving the control efficiency and control accuracy of the intelligent control of the lamp body.

[0210] In yet another optional embodiment, Figure 4 As shown, the specific manner in which the generating module 303 determines at least one target adjustment parameter matching the lighting demand information in the adjustment parameter set according to the lighting demand information includes:

[0211] Determine the lighting impact parameters of the current environment according to the real-time environment information, and generate the target demand information of the current environment based on the lighting impact parameters and the lighting demand information; wherein the target demand information includes one or more of the lighting focus position demand information, lighting brightness demand information, and lighting irradiation range demand information of the current environment;

[0212] The demand matching degree between the target demand information and each adjustment parameter included in the adjustment parameter set is calculated to obtain the demand matching degree set, and the target matching degrees whose demand matching degrees are greater than or equal to the preset matching degree threshold are screened out from the demand matching degree set, and the adjustment parameters corresponding to each target matching degree are determined as the target adjustment parameters that match the lighting demand information.

[0213] It can be seen that the implementation Figure 4The described device can determine the lighting influence parameters of the current environment according to the real-time environmental information, and generate the target demand information based on the lighting influence parameters and the lighting demand information, calculate the demand matching degree between the target demand information and each adjustment parameter included in the adjustment parameter set to obtain a matching degree set, and screen out the target matching degree from the demand matching degree set to determine the target adjustment parameter, and can determine the lighting influence parameters by considering the real-time environmental information, and generate the target demand information based on this, so that the lighting adjustment is more environmentally adaptable, and can accurately adjust the lighting settings according to different environmental conditions, and ensure the accurate selection of the adjustment parameters by calculating the demand matching degree between the target demand information and each adjustment parameter in the adjustment parameter set, and can ensure that the selected adjustment parameters meet the current lighting demand to the greatest extent, and can accurately adjust the lighting according to the real-time environment and lighting demand, which can significantly improve the user's comfort and satisfaction, and thus help to improve the intelligence and convenience of the user's control of the light source, and help to improve the accuracy and reliability of the intelligent adjustment of the light source.

[0214] In yet another optional embodiment, Figure 4 As shown, the device also includes:

[0215] A construction module 307, used to construct an encrypted communication channel between the lamp body and the accessory to be identified before the acquisition module acquires the target tag information of the accessory to be identified;

[0216] The determination module 303 is further used to determine the communication security factor corresponding to the encrypted communication channel;

[0217] The second judgment module 308 is used to judge whether the communication security coefficient meets the preset communication security condition; when it is judged that the communication security coefficient meets the preset communication security condition, the acquisition module is triggered to execute the operation of acquiring the target tag information of the attachment to be identified;

[0218] The determination module 303 is also used to determine the communication parameters between the lamp body and the accessory to be identified when the second judgment module 308 determines that the communication security coefficient does not meet the preset communication security conditions, and based on the communication parameters and the communication security conditions, perform a security coefficient adjustment operation on the encrypted communication channel to obtain an adjusted encrypted communication channel, and trigger the execution of an operation to determine the communication security coefficient corresponding to the encrypted communication channel and trigger the second judgment module 308 to execute an operation to determine whether the communication security coefficient meets the preset communication security conditions.

[0219] It can be seen that the implementation Figure 4The described device can construct an encrypted communication channel between the lamp body and the accessory to be identified and determine the corresponding communication security factor, judge whether the communication security factor meets the preset communication security condition, if it meets, trigger the operation of obtaining the target tag information of the accessory to be identified, if not, determine the communication parameters between the lamp body and the accessory to be identified, perform the security factor adjustment operation on the encrypted communication channel based on the communication parameters and the communication security condition to obtain the adjusted encrypted communication channel, and trigger the operation of determining the communication security factor corresponding to the encrypted communication channel and the operation of judging whether the communication security factor meets the preset communication security condition. By constructing an encrypted communication channel between the lamp body and the accessory to be identified, it can ensure that the data transmitted between the two is encrypted, thereby preventing the data from being illegally obtained or tampered with, which is conducive to ensuring the security and accuracy of data transmission, determining the communication security factor corresponding to the encrypted communication channel, quantifying the security level of the communication, intuitively determining the security degree of the encrypted communication channel, and adaptively adjusting the encrypted communication channel when the communication security factor does not meet the preset communication security condition, which is conducive to improving the security and reliability of data communication through the encrypted communication channel, and then conducive to improving the accuracy and reliability of subsequent identification of lamp body accessories, and conducive to further improving the accuracy and efficiency of identifying lamp body accessories.

[0220] Embodiment 4

[0221] See also Figure 5 , Figure 5 FIG. 1 is a schematic diagram of the structure of another lamp control device disclosed in an embodiment of the present invention. Figure 5 As shown, the control device of the lamp body may include:

[0222] A memory 401 storing executable program codes;

[0223] a processor 402 coupled to the memory 401;

[0224] The processor 402 calls the executable program code stored in the memory 401 to execute the steps of the lamp control method described in the first embodiment of the present invention or the second embodiment of the present invention.

[0225] Embodiment 5

[0226] An embodiment of the present invention discloses a computer storage medium, which stores computer instructions. When the computer instructions are called, they are used to execute the steps in the lamp control method described in the first embodiment of the present invention or the second embodiment of the present invention.

[0227] Embodiment 6

[0228] An embodiment of the present invention discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable a computer to execute the steps in the lamp control method described in Embodiment 1 or Embodiment 2.

[0229] The device embodiments described above are only illustrative, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, i.e., they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative work.

[0230] Through the specific description of the above embodiments, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on such an understanding, the above technical solution can be essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.

[0231] Finally, it should be noted that the control method and device for a lamp body disclosed in the embodiment of the present invention disclose only the preferred embodiments of the present invention, which are only used to illustrate the technical solution of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, it should be understood by those skilled in the art that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features therein can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.

Claims

1. A method for controlling a lamp, characterized in that: The method is applied to a lamp body, the lamp body is used to connect at least one lamp body accessory, each of the lamp body accessories has label information matching the lamp body accessory, and the method includes: Acquire target tag information of an accessory to be identified; wherein the target tag information includes NFC tag information; wherein the accessory to be identified includes one or more of a soft box, a diffuser, a reflector, and a honeycomb net; Performing an information comparison operation on the target tag information and the predetermined attachment tag information to obtain an information comparison result; Based on the information comparison result, determining the attachment recognition result corresponding to the attachment to be recognized; According to the accessory recognition result, determine the initial light source parameters of the lamp body corresponding to the accessory to be recognized; wherein the initial light source parameters include initial control parameters of the lamp body, and the initial control parameters include one or more of brightness control parameters, color temperature control parameters, light quality control parameters, position control parameters, and beam angle control parameters of the accessory to be recognized; The method further comprises: Acquire real-time environment information of the current environment where the accessory to be identified is located, and acquire real-time operation information of the accessory to be identified; Determining whether the real-time operation information matches the real-time environment information; When it is determined that the real-time operation information does not match the real-time environment information, the accessory operation parameters of the accessory to be identified are obtained, and based on the real-time environment information and the accessory operation parameters, the light source adjustment parameters of the accessory to be identified are generated, and the accessory operation parameters are updated according to the light source adjustment parameters; The step of generating the light source adjustment parameter of the accessory to be identified based on the real-time environment information and the accessory operation parameter comprises: Based on the real-time environment information, determine the lighting requirement information of the current environment, and according to the accessory operation parameters, determine the operation status information of the accessory to be identified; Determining whether the lighting demand information matches the operating status information; When it is determined that the lighting requirement information does not match the operating state information, acquiring the accessory information of the accessory to be identified, and generating a light source adjustment parameter of the accessory to be identified based on the accessory information and the lighting requirement information; The attachment information includes one or more of attachment type information and attachment usage information of the attachment to be identified.

2. The lamp control method according to claim 1, characterized in that: The determining, based on the information comparison result, an attachment identification result corresponding to the attachment to be identified includes: Based on the information comparison result, determining the attachment sequence information of the attachment to be identified; According to the attachment sequence information of the attachment to be identified, determining the target attachment sequence information matching the attachment sequence information in a preset attachment sequence information set, and determining the attachment identification result corresponding to the attachment to be identified according to the target attachment sequence information; The accessory identification result includes one or more of accessory serial number information of the accessory to be identified and accessory model information of the accessory to be identified.

3. The lamp control method according to claim 1, characterized in that: The step of generating a light source adjustment parameter of the accessory to be identified based on the accessory information and the light requirement information includes: Based on the attachment information, determine an adjustment parameter set of the to-be-identified attachment, wherein the adjustment parameter set includes one or more of a brightness adjustment parameter, a color adjustment parameter, an angle adjustment parameter, and a light source range adjustment parameter corresponding to the to-be-identified attachment; According to the lighting requirement information, at least one target adjustment parameter matching the lighting requirement information is determined in the adjustment parameter set, and based on all the target adjustment parameters, a light source adjustment parameter of the accessory to be identified is generated.

4. The lamp control method according to claim 3, characterized in that: The determining, according to the lighting demand information, at least one target adjustment parameter matching the lighting demand information in the adjustment parameter set includes: Determine the light impact parameters of the current environment according to the real-time environment information, and generate the target demand information of the current environment based on the light impact parameters and the light demand information; wherein the target demand information includes one or more of the light focus position demand information, light brightness demand information, and light irradiation range demand information of the current environment; Calculate the demand matching degree between the target demand information and each adjustment parameter included in the adjustment parameter set to obtain the demand matching degree set, and filter out the target matching degrees whose demand matching degrees are greater than or equal to a preset matching degree threshold from the demand matching degree set, and determine the adjustment parameters corresponding to each of the target matching degrees as the target adjustment parameters that match the lighting demand information.

5. The lamp control method according to claim 1, characterized in that: Before obtaining the target tag information of the attachment to be identified, the method further includes: Establishing an encrypted communication channel between the lamp body and the accessory to be identified, and determining a communication security factor corresponding to the encrypted communication channel; Determining whether the communication security factor meets a preset communication security condition; When it is determined that the communication security factor meets the preset communication security condition, the operation of acquiring the target tag information of the attachment to be identified is triggered; When it is determined that the communication security coefficient does not meet the preset communication security conditions, the communication parameters between the lamp body and the accessory to be identified are determined, and based on the communication parameters and the communication security conditions, the security coefficient adjustment operation is performed on the encrypted communication channel to obtain the adjusted encrypted communication channel, and the operation of determining the communication security coefficient corresponding to the encrypted communication channel and the operation of judging whether the communication security coefficient meets the preset communication security conditions are triggered.

6. A control device for a lamp body, characterized in that: The device is applied to a lamp body, the lamp body is used to connect at least one lamp body accessory, each of the lamp body accessories has label information matching the lamp body accessory, and the device includes: An acquisition module, used to acquire target tag information of an accessory to be identified; wherein the target tag information includes NFC tag information; wherein the accessory to be identified includes one or more of a soft box, a diffuser, a reflector, and a honeycomb net; A comparison module, used to perform an information comparison operation on the target tag information and the predetermined attachment tag information to obtain an information comparison result; A determination module, configured to determine an attachment recognition result corresponding to the attachment to be recognized based on the information comparison result; The determination module is further used to determine the initial light source parameters of the lamp body corresponding to the accessory to be identified according to the accessory identification result; wherein the initial light source parameters include initial control parameters of the lamp body, and the initial control parameters include one or more of brightness control parameters, color temperature control parameters, light quality control parameters, position control parameters, and beam angle control parameters of the accessory to be identified; The acquisition module is further used to acquire real-time environment information of the current environment where the accessory to be identified is located, and to acquire real-time operation information of the accessory to be identified; The device also includes: A first judgment module, used to judge whether the real-time operation information matches the real-time environment information; The acquisition module is further configured to acquire the accessory operation parameters of the accessory to be identified when the first determination module determines that the real-time operation information does not match the real-time environment information; A generating module, configured to generate a light source adjustment parameter of the accessory to be identified based on the real-time environment information and the accessory operation parameter; An adjustment module, used for performing an adjustment operation on the accessory operating parameters according to the light source adjustment parameters; The specific manner in which the generating module generates the light source adjustment parameters of the accessory to be identified based on the real-time environment information and the accessory operation parameters includes: Based on the real-time environment information, determine the lighting requirement information of the current environment, and according to the accessory operation parameters, determine the operation status information of the accessory to be identified; Determining whether the lighting demand information matches the operating status information; When it is determined that the lighting requirement information does not match the operating state information, acquiring the accessory information of the accessory to be identified, and generating a light source adjustment parameter of the accessory to be identified based on the accessory information and the lighting requirement information; The attachment information includes one or more of attachment type information and attachment usage information of the attachment to be identified.

7. A control device for a lamp body, characterized in that: The device comprises: A memory storing executable program code; a processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the lamp control method according to any one of claims 1 to 5.

8. A computer storage medium, characterized in that The computer storage medium stores computer instructions, and when the computer instructions are called, they are used to execute the lamp control method according to any one of claims 1 to 5.