Photometry method, device, apparatus, storage medium, and program product
By configuring a light metering program in the terminal device, a reference light metering position is automatically generated, solving the problems of cumbersome home light metering methods and high labor costs, and realizing the convenience and accuracy of self-light metering.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- GUANGDONG KINGLONG HEALTH LIGHTING TECH CO LTD
- Filing Date
- 2026-02-14
- Publication Date
- 2026-05-29
AI Technical Summary
In existing technologies, home light metering methods are cumbersome and labor-intensive, resulting in low demand for light metering and difficulty in improving light metering efficiency and quality.
By configuring a photometering program in the terminal device, a communication connection with the photometering device is established, and a reference photometering position is automatically generated to assist users in performing self-photometering operations at home, providing location information to improve the accuracy of photometering results.
It enables users to independently measure ambient light, improving the convenience and accuracy of light measurement and reducing labor costs.
Smart Images

Figure CN122108346A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of photometric technology, and in particular relates to photometric methods, apparatus, equipment, storage media and program products. Background Technology
[0002] With the development of lighting equipment, users' demand for improving the health of the light in their environment is gradually increasing. In the case of new home decoration or old house renovation, it is necessary to select suitable lighting equipment to make the lighting effect meet the user's eye needs and achieve healthy lighting. Therefore, before selecting lighting equipment, it is necessary to measure the lighting conditions of the indoor space.
[0003] In related technologies, users typically need to hire professional photometer technicians to use industrial-grade photometers to measure the illumination of indoor spaces in order to obtain photometer results for the indoor spaces.
[0004] However, the above-mentioned light measurement methods are cumbersome and have high labor costs, resulting in low demand for light measurement. Therefore, how to improve the efficiency and quality of home light measurement has become an urgent technical problem to be solved. Summary of the Invention
[0005] This application provides a photometric method, apparatus, device, storage medium, and program product. By configuring a photometric program corresponding to the photometric device in the terminal device, users can easily perform a series of photometric operations according to the operation instructions in the photometric program, realizing the user's self-photometric process of the indoor environment. This ensures the accuracy of the photometric results while improving the convenience and efficiency of photometric measurement.
[0006] In a first aspect, embodiments of this application provide a photometry method, the method being applied to a terminal device, the terminal device running a photometry program, and the terminal device establishing a communication connection with a photometry device, the method comprising:
[0007] Displays the metering preparation interface of the metering procedure; In response to receiving a metering start operation in the metering preparation interface, a metering configuration interface is displayed, which is used to configure the parameters of the spatial attributes of the metering space. In response to receiving a parameter configuration operation in the photometric configuration interface, a photometric execution interface corresponding to the photometric space is displayed. The photometric execution interface displays multiple reference photometric positions corresponding to the photometric space. The photometric device is used to measure the illumination in the photometric space at the reference photometric positions. When the photometer is in the plurality of reference photometer positions in sequence, the photometer results corresponding to the plurality of reference photometer positions are displayed in the photometer execution interface. The photometer results include any one of the following: the photometer data collected at the reference photometer position meets the preset data conditions; the photometer data collected at the reference photometer position does not meet the preset data conditions; or no photometer data is collected at the reference photometer position.
[0008] In some embodiments, in response to receiving the parameter configuration operation in the photometric configuration interface, a target space type matching the photometric space is determined from a plurality of pre-stored candidate space types; Based on the target space type, obtain multiple reference photometric positions corresponding to the photometric space; The photometric execution interface is displayed based on the multiple reference photometric positions.
[0009] In some embodiments, the parameter configuration operation includes a first triggering operation; the step of determining a target space type matching the metering space from a plurality of pre-stored candidate space types in response to receiving the parameter configuration operation in the metering configuration interface includes: The space selection area is displayed in the metering configuration interface, and the space selection area includes the plurality of candidate space types; In response to receiving the first triggering operation in the space selection area, the candidate space type selected by the first triggering operation is determined as the target space type.
[0010] In some embodiments, the target space type is pre-set with multiple candidate metering positions, the parameter configuration operation includes a size configuration operation, and the metering configuration interface includes a size configuration area; Before obtaining multiple reference metering positions corresponding to the metering space based on the target space type, the method further includes: In response to receiving the size configuration operation in the size configuration area, determine the spatial size parameters corresponding to the photometric space; The step of obtaining multiple reference metering positions corresponding to the metering space based on the target space type includes: The spatial layout of the photometric space is determined based on the spatial size parameters and the target space type. The plurality of reference photometer positions are obtained based on the spatial layout and the positional adaptability between the plurality of candidate photometer positions.
[0011] In some embodiments, The reference metering position is one of the plurality of candidate metering positions, or the reference metering position is a position obtained by adjusting the position based on the candidate metering positions.
[0012] In some embodiments, the metering configuration interface further includes an image upload area; The method further includes: In response to receiving the image upload operation in the image upload area, the acquired image corresponding to the metering space is obtained; The spatial layout of the photometric space is determined based on the acquired image, the spatial size parameters, and the target space type.
[0013] In some embodiments, the plurality of reference metering positions includes an i-th reference metering position, which corresponds to the i-th data acquisition area in the metering execution interface, where i is a positive integer; When the photometric device is sequentially positioned at the plurality of reference photometric positions, displaying the photometric results corresponding to the plurality of reference photometric positions in the photometric execution interface includes: Display the first display status corresponding to the i-th data acquisition area; When the photometer is at the i-th reference photometer position and the placement of the photometer meets the preset photometer conditions, the display of the i-th data acquisition area switches from the first display state to the second display state. The second display state is used to indicate that the photometer data acquired at the i-th reference photometer position meets the preset data conditions. The i-th data acquisition area being in the second display state is used to indicate that the photometering at the i-th reference photometer position is successful.
[0014] In some embodiments, when the metering device is at the i-th reference metering position and the placement of the metering device does not meet the preset metering conditions, a voice prompt is triggered. The voice prompt is used to indicate any of the following situations: the metering data collected at the i-th reference metering position does not meet the preset data conditions, or no metering data is collected at the i-th reference metering position, and guides the user to re-perform the metering.
[0015] In some embodiments, after displaying the photometric results corresponding to the plurality of reference photometric positions in the photometric execution interface, the method further includes: If the photometric results corresponding to multiple reference photometric positions all meet the preset data conditions, a photometric report corresponding to the photometric space is generated based on the multiple photometric data. The photometric report is used to evaluate the health of the illumination in the photometric space. The photometric report is determined based on the photometric database pre-stored in the photometric program.
[0016] Secondly, embodiments of this application provide a photometric device, comprising: The display module is used to display the photometric preparation interface of the photometric program; The display module is also used to respond to receiving a metering start operation in the metering preparation interface and display a metering configuration interface, which is used to configure the spatial attributes of the metering space. The configuration module is used to respond to receiving a parameter configuration operation in the photometric configuration interface, display the photometric execution interface corresponding to the photometric space, the photometric execution interface displays multiple reference photometric positions corresponding to the photometric space, and the photometric device is used to measure the illumination in the photometric space at the reference photometric positions; The photometering module is used to display the photometering results corresponding to the multiple reference photometering positions in the photometering execution interface when the photometering device is sequentially positioned at the multiple reference photometering positions. The photometering results include any one of the following: the photometering data collected at the reference photometering position meets the preset data conditions; the photometering data collected at the reference photometering position does not meet the preset data conditions; or no photometering data is collected at the reference photometering position.
[0017] Thirdly, embodiments of this application provide a computer device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the photometric method described in any one of the first aspects above.
[0018] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the photometric method described in any one of the first aspects.
[0019] Fifthly, embodiments of this application provide a computer program product that, when run on a computer device, causes the computer device to perform the photometric method described in any one of the first aspects.
[0020] It is understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant descriptions in the first aspect mentioned above, and will not be repeated here.
[0021] The beneficial effects of the technical solutions provided in this application include at least the following: When a communication connection is established between the terminal device and the metering device, a metering program is installed in the terminal device. By configuring the parameters of the spatial attributes of the metering space, multiple reference metering positions corresponding to the metering space are automatically generated. This helps the user to place the metering device at the reference metering position to measure the illumination of the metering space and obtain the corresponding metering result. In other words, by designing a mini-program, users can perform self-measurement of ambient light at home. Furthermore, based on the self-generated reference metering positions provided by the metering program, it can provide positional basis for users when using the metering device to measure the metering space, thereby improving the accuracy of the metering results. Attached Figure Description
[0022] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0023] Figure 1 This is a schematic diagram of the implementation environment provided in one embodiment of this application; Figure 2 This is a flowchart of a photometric method provided in an embodiment of this application; Figure 3 This is a flowchart of a photometric method provided in an embodiment of this application; Figure 4 This is a schematic diagram of a photometering start-up method provided in an embodiment of this application; Figure 5 This is a schematic diagram illustrating a space type selection method provided in an embodiment of this application; Figure 6 This is a schematic diagram of the candidate photometer position distribution provided in an embodiment of this application; Figure 7 This is a schematic diagram of the photometric process provided in an embodiment of this application; Figure 8 This is a schematic diagram of the photometric program architecture provided in an embodiment of this application; Figure 9 This is a structural diagram of a photometer device provided in an embodiment of this application; Figure 10 This is a schematic diagram of the structure of the computer device provided in the embodiments of this application. Detailed Implementation
[0024] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0025] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.
[0026] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0027] As used in this application specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if detected [the described condition or event]" may be interpreted, depending on the context, as meaning "once determined," "in response to determination," "once detected [the described condition or event]," or "in response to detection [the described condition or event]."
[0028] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0029] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0030] With the development of lighting equipment, users' demand for improving the health of the light in their environment is gradually increasing. In the case of new home decoration or old house renovation, it is necessary to select suitable lighting equipment to make the lighting effect meet the user's eye needs and achieve healthy lighting. Therefore, before selecting lighting equipment, it is necessary to measure the lighting conditions of the indoor space.
[0031] In light measurement scenarios, users typically need to hire professional light metering technicians to use industrial-grade light meters to measure the illumination conditions of an indoor space, thereby obtaining the light measurement results. During the measurement process, the light metering technician uses a handheld light meter and, based on their professional knowledge, places the light meter at a designated location in the indoor space to collect illumination data. The light meter then analyzes the collected illumination data to obtain the corresponding illumination measurement results for the indoor space. Based on the various measurement indicators in the illumination measurement results, the light metering technician provides lighting suggestions for the indoor space, such as: replacing cool light bulbs with warm light bulbs, or replacing low-illuminance lighting equipment with high-illuminance lighting equipment.
[0032] However, the above-mentioned light measurement methods are cumbersome and have high labor costs, resulting in low demand for light measurement. Therefore, how to improve the efficiency and quality of home light measurement has become an urgent technical problem to be solved.
[0033] Based on this, this application provides a photometry method. When a communication connection is established between a terminal device and a photometry device, a photometry program is installed in the terminal device. By configuring the parameters of the spatial attributes of the photometry space, multiple reference photometry positions corresponding to the photometry space are automatically generated. This assists the user in placing the photometry device at the reference photometry position to measure the illumination of the photometry space and obtain the photometry result corresponding to the photometry space. In other words, by designing a mini-program, users can perform self-measurement of ambient light at home. Furthermore, based on the self-generated reference photometry positions provided by the photometry program, the method can provide positional basis for users when using the photometry device to measure the photometry space, thereby improving the accuracy of the photometry result.
[0034] The implementation environment corresponding to this application is described below. The implementation environment includes terminal equipment and photometric equipment; please refer to the illustrative examples. Figure 1 The illustration shows an implementation environment provided by an exemplary embodiment of this application, which includes a terminal device 110 and a photometer 120, wherein the terminal device 110 and the photometer 120 are connected through a wireless communication network.
[0035] In some embodiments, a photometering program is running in the terminal device 110. Therefore, during the process of the photometering program running in the terminal device 110, the photometering preparation interface corresponding to the photometering program is displayed. If a photometering start operation is received in the photometering preparation interface, the photometering configuration interface is displayed. The photometering configuration interface is used to configure the spatial attributes of the photometering space.
[0036] In some embodiments, if the terminal device 110 receives a parameter configuration operation in the photometric configuration interface, it displays the photometric execution interface corresponding to the photometric space, wherein the photometric execution interface displays multiple reference photometric positions corresponding to the photometric space.
[0037] In some embodiments, when the user holds the photometer 120 at a reference photometering position, the photometer 120 performs photometry at the reference photometering position, generates a photometry result, and sends the photometry result to the terminal device 110. After receiving the photometry result, the terminal device 110 displays the photometry result corresponding to the reference photometering position.
[0038] The terminal device 110 can be optional and can be a desktop computer, laptop computer, mobile phone, tablet computer, e-book reader, MP3 (Moving Picture Experts Group Audio Layer III) player, MP4 (Moving Picture Experts Group Audio Layer IV) player, smart TV, smart car, virtual reality (VR), augmented reality (AR) and other terminal devices. This application embodiment does not limit it in this way.
[0039] It should be noted that this application may display prompt interfaces, pop-ups, or output voice prompts before and during the collection of user data. These prompt interfaces, pop-ups, or voice prompts are used to inform the user that their data is being collected. This ensures that the application only begins the steps for collecting user data after receiving confirmation from the user regarding the prompt interface or pop-up; otherwise (i.e., without user confirmation), the steps for collecting user data end, meaning no user data is collected. In other words, all user data collected in this application is collected with the user's consent and authorization, and the collection, use, and processing of related user data must comply with the relevant laws, regulations, and standards of the relevant regions.
[0040] The photometric method provided in the embodiments of this application will be described in detail below. For illustrative purposes, please refer to the following: Figure 2 The diagram illustrates a photometric method provided in an exemplary embodiment of this application, which includes steps 210 to 230.
[0041] Step 210: Display the metering preparation interface of the metering program.
[0042] The terminal device runs a photometry program, and a communication connection is established between the terminal device and the photometry device.
[0043] To illustrate, a light metering program is a program that has the function of detecting indoor ambient light.
[0044] Optionally, the photometering program is an independent program developed by the technician, or the photometering program is a subroutine developed by the technician in the target program. That is, the target program is the parent program and the photometering program is a subroutine or small program. When the terminal device is running the target program, the photometering program can be run synchronously. At this time, if the target program is not running in the terminal device, the photometering program cannot be run independently.
[0045] Optionally, when the terminal device is started, the metering program runs automatically; or, after the terminal device is started, when a start trigger operation for the metering program is received, the metering program is started and run. For example, if the terminal device's display interface shows a program control corresponding to the metering program, and the terminal device receives a trigger operation for the program control, this is used as a start trigger operation; or, after the terminal device is started, if the terminal device is running a parent program corresponding to the metering program, the metering program runs automatically; or, after the terminal device is started, if the terminal device is running a parent program corresponding to the metering program, when a start trigger operation for the metering program is received, the metering program is started and run. For example, if the parent program's running interface shows a program control corresponding to the metering program, and the terminal device receives a trigger operation for the program control, this is used as a start trigger operation. This embodiment of the application does not limit this.
[0046] In illustrative terms, the metering preparation interface refers to the initial running interface of the metering program after it has been started.
[0047] Optionally, the communication connection between the terminal device and the photometric device includes at least one of the following methods: The first type is wired connection.
[0048] 1. Connect via serial port, that is, connect the terminal device and the photometric device through the two ends of the serial port interface to realize data communication between the two devices. For example, the interface type is RS-232, RS-485, RS-422.
[0049] 2. Connect via Universal Serial Bus (USB), that is, by connecting the two ends of the USB to the terminal device and the light metering device respectively, data communication between the two devices can be realized; The second type is wireless connection.
[0050] 1. Wireless Local Area Network (WLAN) connection: This means that the photometer and terminal devices can transmit data and share resources via radio waves without a physical connection. For example, when the terminal device and the photometer are connected to the same WLAN, data communication between the terminal device and the photometer can be realized. Alternatively, the photometer can connect to one of the multiple WLANs pre-set in the photometer program of the terminal device, enabling data communication between the terminal device and the photometer.
[0051] 2. Bluetooth communication: When the distance between the metering device and the terminal device meets the preset distance conditions, both devices enable Bluetooth. The terminal device detects nearby connectable Bluetooth devices. Upon detecting the metering device, it sends a query request, including a query access code. The metering device periodically scans for query requests. If it receives a query request from the terminal device, it sends a query response, including the metering device's Bluetooth address, clock parameters, and other Bluetooth connection data. After receiving the Bluetooth connection data, the terminal device identifies the metering device as the Bluetooth device to connect to. If the terminal device selects the metering device as the connected Bluetooth device (e.g., if the terminal device displays a Bluetooth connection list including the metering device's identifier, and receives a trigger operation on the metering device's identifier, it selects the metering device as the connected Bluetooth device), a physical link is established between the terminal device and the metering device through multiple information exchanges, thus achieving a Bluetooth connection between them.
[0052] 3. Low-power wide area network (Low Range Radio, LoRa) technology, taking a star network as an example, includes a photometer, a terminal device, and a gateway device. The photometer and terminal devices are each equipped with a LoRa module. The photometer and terminal devices are connected to the gateway device through the LoRa module. If the photometer and terminal devices have data transmission needs, the data is first sent to the gateway device, which then forwards it to realize data communication between the photometer and terminal devices.
[0053] 4. Zigbee communication is a wireless communication technology used for short-range and low-speed applications. It enables data communication between terminal devices and photometric devices by adding them to the same Zigbee network.
[0054] It is worth noting that the above-described communication connection method between the terminal device and the photometric device is merely an illustrative example, and the embodiments of this application do not limit it.
[0055] Optionally, the terminal device and the photometer have already established a communication connection before starting the photometering program, or the terminal device and the photometer establish a communication connection through relevant operations after starting the photometering program, or the terminal device and the photometer automatically establish a communication connection during the process of starting the photometering program. This application embodiment does not limit this.
[0056] Step 220: In response to receiving a metering start operation in the metering preparation interface, the metering configuration interface is displayed.
[0057] The metering configuration interface is used to configure the spatial attributes of the metering space.
[0058] Indicatively, the photometering start operation is used to initiate the photometering configuration process corresponding to the photometering program. After the photometering configuration process is completed, the photometering device can perform photometering on the photometering space through a communication connection established with the terminal device.
[0059] In one implementation, a start control is displayed on the metering preparation interface. When the terminal device receives a trigger operation on the start control, it is used as a metering start operation, and the display switches from the metering preparation interface to the metering configuration interface.
[0060] In a schematic way, the photometric configuration interface is used to configure the photometric parameters required by the photometric equipment. The main configuration content includes the spatial parameters corresponding to the photometric space. That is, the spatial parameters corresponding to the photometric space determine the photometric parameters required by the photometric equipment. For example, the spatial range and spatial layout of the photometric space (that is, the arrangement of the items in the photometric space) determine the photometric position of the photometric equipment during the photometric process.
[0061] In illustrative terms, spatial attributes refer to the relevant attribute parameters of the metering space configured by the user. The spatial layout, size, and arrangement of items in the metering space greatly affect the lighting conditions. Furthermore, the lighting needs, metering location, and metering focus vary depending on the occupant of the metering space. For example, if the metering space is a study and the occupant is a student, with a desk placed near the window, then the lighting needs measurement primarily focuses on the lighting conditions in the desk area to check if the lighting is effective in protecting the student's eyes while studying. Conversely, if the metering space is a bedroom and the occupant is an elderly person, then the spatial attributes primarily focus on whether the illumination of the lights installed in the bedroom, without the influence of outdoor ambient light, is within the pre-set eye-protection range. Excessive illuminance can easily cause glare and visual fatigue in the elderly, potentially accelerating visual decline in the long term; insufficient illuminance can lead to difficulty seeing and increase safety hazards. Therefore, for the lighting needs of the elderly, it is necessary to measure whether the lighting is within a suitable visual comfort range.
[0062] Optionally, the lighting conditions corresponding to the photometric space mainly include at least one of illuminance (brightness), color rendering index, light distribution uniformity, color temperature, and spectral composition. Illuminance (brightness) refers to the luminous flux received per unit area, measured in lux (Lux), reflecting the brightness of ambient light; that is, the higher the Lux value, the brighter the ambient light. Light distribution uniformity refers to the distribution of light in space, used to assess the uniformity of the lighting system and avoid areas that are too bright or too dark. Color temperature represents the temperature of the light source's color, measured in Kelvin (K), and affects visual comfort; for example, warm light is more comfortable than cool light. Spectral composition refers to the distribution of light at different wavelengths, which affects plant growth, photography, and video recording.
[0063] In a schematic way, the photometric execution interface refers to the interface used to provide feedback on the measurement results of the photometric device; that is, the photometric execution interface reflects the photometric process of the photometric device.
[0064] Step 230: In response to receiving a parameter configuration operation in the metering configuration interface, display the metering execution interface corresponding to the metering space.
[0065] The photometric execution interface displays multiple reference photometric positions corresponding to the photometric space. The photometric device is used to measure the illumination in the photometric space at the reference photometric positions.
[0066] Indicatively, the reference metering position refers to the location of the metering device when measuring light in the metering space, used to collect the corresponding illumination parameters at that location.
[0067] In illustrative terms, parameter configuration operation refers to configuring multiple parameters, including: space type, space layout, space size, room user role (resident), role's vision status, space image, etc. This application embodiment does not limit this.
[0068] Among them, space type refers to the type of use of the space, such as: bedroom, living room, study, kitchen, bathroom, dressing room, storage room, shower room, etc.
[0069] Spatial layout refers to the arrangement of furnishings within the metering space. For example, in a bedroom, the spatial layout includes the placement of various furnishings such as the bed, wardrobe, bedside table, dressing table, and chairs. Similarly, in a living room, the spatial layout includes the placement of various furnishings such as the sofa, coffee table, air conditioner, television, television cabinet, chairs, and dining table. It can be seen that different space types lead to different types of furnishings in the spatial layout, and therefore, different arrangements. Determining the space type and spatial layout allows for a better determination of the reference metering location, preventing obstruction of the reference metering location by furnishings that would prevent the collection of illumination data.
[0070] Among them, the room user role refers to the object that uses the metering space the most. For example, if the metering space is a study, the user role is usually a student (but it can also be other objects, depending on the actual needs).
[0071] Among them, the character's vision status refers to the vision status of the character used in the room, such as: good vision, normal vision, poor vision, and extremely poor vision.
[0072] Among them, spatial image refers to the real image of the photometric space obtained after image acquisition of the photometric space.
[0073] For illustrative purposes, the reference metering position is determined based on multiple configuration parameters obtained from the parameter configuration operation. In other words, the reference metering position does not need to be manually determined by the user; it is automatically generated by the metering program based on the configuration parameters.
[0074] Optionally, the reference metering position is generated directly based on the configuration parameters, or the reference metering position is generated based on the configuration parameters and then fine-tuned by the user. For example, among the multiple generated reference metering positions, there is reference position 1. The actual location of reference position 1 is blocked by the wardrobe. Therefore, the user can adjust reference position 1 within a preset range by adjusting the operation so that the adjusted reference position 1 is not blocked by the wardrobe.
[0075] In one implementation, candidate metering positions for different spatial types are pre-generated based on different spatial types and corresponding common spatial layouts. After determining the configuration parameters of the metering space according to the parameter configuration operation, a candidate metering position that matches the metering space is selected from multiple sets of candidate metering positions and used as the reference metering position corresponding to the metering space.
[0076] Indicatively, multiple reference metering positions are different locations in the metering space.
[0077] Step 240: When the photometer is in multiple reference photometer positions in sequence, display the photometer results corresponding to the multiple reference photometer positions in the photometer execution interface.
[0078] The photometric results include any one of the following: the photometric data collected at the reference photometric position meets the preset data conditions; the photometric data collected at the reference photometric position does not meet the preset data conditions; or no photometric data was collected at the reference photometric position.
[0079] As an illustration, while the terminal device displays the light metering execution interface, the user can hold the light metering device and move it in the light metering space. When it moves to the corresponding reference light metering position, the light metering device will automatically collect the illumination data corresponding to the reference light metering position and obtain the corresponding light metering result.
[0080] The photometric result includes whether the photometric measurement was successful or failed at the reference photometric position. If the photometric measurement failed, it means that no photometric data was collected at the reference photometric position, or that the person was not correctly positioned at the reference photometric position and there was a positional deviation, so no photometric data could be collected.
[0081] The photometric results include any one of the following: the photometric data collected at the reference photometric position meets the preset data conditions; the photometric data collected at the reference photometric position does not meet the preset data conditions; or no photometric data was collected at the reference photometric position.
[0082] For ease of description, this application refers to the situation where the photometric data collected at the reference photometric position meets the preset data conditions as "successful photometric measurement," and the situation where the photometric data collected at the reference photometric position does not meet the preset data conditions or no photometric data is collected at the reference photometric position as "photometric failure." It should be noted that "photometric failure" includes two different situations: one is that the photometric device successfully collects data, but the data does not meet the requirements of the preset data conditions (e.g., illuminance is lower than a preset threshold); the other is that the photometric device fails to collect any photometric data (e.g., the device is not placed correctly or malfunctions).
[0083] Optionally, for a single reference metering position, one or more measurements need to be taken. Therefore, there may be one or more metering results for the same reference metering position.
[0084] To illustrate, during the photometric process, it is necessary to ensure that there is no outdoor ambient light in the photometric space, such as at night, or with the curtains drawn to block sunlight, so that the photometric data obtained by the photometric device will not be affected by outdoor ambient light.
[0085] Furthermore, during the photometric measurement process, it is essential to ensure that the lighting fixtures in the measurement space are illuminated. This guarantees that the photometric device can measure the illumination effect of the lighting fixtures when measuring the photometric space. Therefore, with the lighting fixtures illuminated, data conditions are set corresponding to the minimum illumination brightness of the lighting fixtures. For example, a minimum illuminance threshold of 50 lux is set. If the photometric data (illuminance data) is lower than 50 lux, it indicates that the photometric data does not meet the preset data conditions. If no photometric data is detected, or if the photometric data does not meet the preset data conditions, it is considered a photometric failure at that reference measurement location. If the photometric data (illuminance data) is greater than 50 lux, it indicates that the photometric data meets the preset data conditions.
[0086] In practical applications, multiple different photometric data may be measured at the same reference photometric location, such as illuminance, color rendering index (CRI), color temperature, and spectral distribution. If the illuminance measured at the reference photometric location meets the preset data conditions, it is considered valid data. In this case, the CRI, color temperature, and spectral distribution measured simultaneously can all be considered valid data. Alternatively, a corresponding preset data threshold can be set for each type of photometric data (e.g., CRI has a corresponding CRI threshold, color temperature has a corresponding color temperature range, and spectral distribution has a corresponding distribution range). Only when the photometric data meets the corresponding preset data conditions is it considered valid data; otherwise, it is considered invalid data and needs to be measured again, or the reference photometric location can be canceled.
[0087] The photometric method provided in this application embodiment establishes a communication connection between a terminal device and a photometric device. The terminal device includes a photometric program that automatically generates multiple reference photometric positions corresponding to the photometric space by configuring parameters of the spatial attributes of the photometric space. This assists the user in placing the photometric device at the reference photometric position to measure the illumination of the photometric space and obtain the corresponding photometric result. In other words, by designing a mini-program, users can perform self-measurement of ambient light at home. Furthermore, the self-generated reference photometric positions provided by the photometric program can assist users in providing positional basis when using the photometric device to measure the photometric space, thereby improving the accuracy of the photometric results.
[0088] The photometric process will now be described in detail. For illustrative purposes, please refer to diagram 3, which shows a flowchart of a photometric method provided in an exemplary embodiment of this application. Specifically, step 230 further includes steps 231 to 233, as follows: Figure 3 As shown, the method includes the following steps.
[0089] Step 210: Display the metering preparation interface of the metering program.
[0090] As an illustration, when the terminal device starts the metering program, the metering preparation interface corresponding to the metering program is displayed.
[0091] This is illustrative; please refer to it. Figure 4 It illustrates a schematic diagram of a photometer activation method provided in an exemplary embodiment of this application, such as... Figure 4 As shown, when the terminal device starts the metering program, the metering preparation interface 410 corresponding to the metering program is displayed. The metering preparation interface 410 displays multiple content display areas, including the device connection status area 402, the historical metering display area (i.e., the metering time axis), the historical metering space display area (i.e., the test space), and the start control 401.
[0092] The device connection status area 402 displays the connection status between the metering device and the terminal device. If the metering device and the terminal device have not established a communication connection, "Not Connected" is displayed; if the metering device and the terminal device successfully establish a communication connection, "Connected" is displayed. The connection process can be implemented as follows: when a connection trigger operation is received in the device connection status area 402 (e.g., triggering the "Not Connected" area), a list of devices to be connected is displayed in the metering preparation interface 410. The list includes multiple candidate device identifiers. The candidate device identifier corresponding to the metering device is triggered to establish a communication connection between the metering device and the terminal device. If the connection is successful, "Connected" is displayed in the metering preparation interface 410. If "Not Connected" is still displayed, the user can troubleshoot and confirm the connection failure and reconnect.
[0093] The historical light metering display area is used to show the timeline of the last light metering result. For example, if the historical light metering display area shows "Three days ago", it means that the last light metering was taken three days ago.
[0094] The historical metering space display area is used to display the historical metering spaces configured at historical moments. For example, the metering preparation interface 410 displays "Bedroom", "Study" and "Living Room", with the bedroom being 60 square meters, the study being 14 square meters and the living room being 63 square meters. This means that within the historical event range, the user has performed parameter configuration operations on these three metering spaces through the metering program and metering equipment (the metering process may have been performed, or it may not have been performed, only the metering space parameters were configured). In other words, when the metering program receives the parameter configuration for the metering space, it will save the relevant parameters for use in the next metering, thereby improving the parameter configuration efficiency.
[0095] Step 220: In response to receiving a metering start operation in the metering preparation interface, the metering configuration interface is displayed.
[0096] The metering configuration interface is used to configure the spatial attributes of the metering space.
[0097] This is illustrative; please continue to refer to it. Figure 4 , Figure 4 The interface also displays a start control 401. If a trigger operation is received on the start control 401, it is used as a metering start operation. Based on the metering start operation, the display switches from the metering preparation interface 410 to the metering configuration interface 420.
[0098] Step 231: In response to receiving a parameter configuration operation in the metering configuration interface, determine the target space type that matches the metering space from a plurality of pre-stored candidate space types.
[0099] The illustrative parameter configuration operation is used to configure various parameters in the photometric space.
[0100] As an illustration, candidate space types include bedrooms, living rooms, studies, kitchens, bathrooms, dressing rooms, storage rooms, and shower rooms.
[0101] The following section provides a detailed explanation of the parameter configuration process.
[0102] In some embodiments, the parameter configuration operation includes a first trigger operation; displaying a spatial selection area in the photometric configuration interface, the spatial selection area including multiple candidate spatial types; and in response to receiving the first trigger operation in the spatial selection area, determining the candidate spatial type selected by the first trigger operation as the target spatial type.
[0103] Indicatively, the space selection area refers to the area used to select the target space type that belongs to the same type as the metering space from multiple candidate space types. For example, if the candidate space types include bedroom, living room, study, kitchen, bathroom, dressing room, storage room, and shower, and the metering space is "bedroom", then "bedroom" is selected as the target space type from the space selection area.
[0104] This is illustrative; please refer to it. Figure 5 It illustrates a schematic diagram of a space type selection method provided in an exemplary embodiment of this application, such as... Figure 5 As shown, the current display metering configuration interface 510 displays a space selection area (i.e., select space type). When a trigger operation is received on the selection box 501 in the space selection area, the space selection area 520 is displayed. In the space selection area 520, multiple candidate space types are gradually displayed according to the sliding operation. If a trigger operation is received on a specific candidate space type (e.g., living room), it is taken as the first trigger operation, and the selected specific candidate space type is taken as the target space type corresponding to the metering space.
[0105] In another implementation, the target space type corresponding to the metering space can be determined by entering text content in the selection box. For example, if "study" is entered, the target space type corresponding to the metering space will be "study".
[0106] In some embodiments, the parameter configuration operation includes a size configuration operation, and the photometric configuration interface includes a size configuration area; in response to receiving a size configuration operation in the size configuration area, the spatial size parameters corresponding to the photometric space are determined.
[0107] The sizing configuration operation is illustrated and used to configure the dimensional parameters of the metering space, such as the length, height, and width of the metering space.
[0108] Generally speaking, multiple photometric acquisition positions of a photometric device correspond to the same horizontal plane during the photometric process. Therefore, the size configuration operation can only configure the length and width of the photometric space, and not the height (in actual cases, multiple photometric acquisition positions may correspond to different heights, and this is not limited).
[0109] Continue to refer to Figure 5 The metering configuration interface 510 also displays a size configuration area 502, used to configure the length and width. Figure 5 It can be seen that the current metering space is 3 meters long and 5 meters wide.
[0110] In addition, continue to refer to Figure 5The metering configuration interface 510 also includes a character configuration area (i.e., the character using the room) and a vision configuration area (i.e., the character's vision status), used to configure the user of the metering space and the user's vision status. Figure 5 It can be seen that the current metering space is intended for students with normal vision.
[0111] In some embodiments, the metering configuration interface further includes an image upload area; in response to receiving an image upload operation in the image upload area, the acquired image corresponding to the metering space is obtained; and the spatial layout of the metering space is determined based on the acquired image, spatial size parameters, and target space type.
[0112] This is an illustration of the image upload area receiving uploaded captured images.
[0113] For illustrative purposes, the acquired image is the image acquired in the photometric space.
[0114] Optionally, the captured image is a pre-stored image in the photo album of the terminal device, or the captured image is an image obtained in real time by opening the camera component in the metering configuration interface to capture the metering space.
[0115] Continue to refer to Figure 5 The metering configuration interface 510 displays an image upload area, which includes an image upload control 503. By triggering the image upload control 503, the corresponding image upload process is executed, and the uploaded acquired image can be displayed in the image upload area.
[0116] It is worth noting that the above parameter configuration process is performed with user authorization.
[0117] To illustrate, after obtaining the acquired image, spatial size parameters, and target space type, the photometric program determines the spatial layout of the photometric space based on these parameters.
[0118] Step 232: Obtain multiple reference metering positions corresponding to the metering space based on the target space type.
[0119] In some embodiments, the target space type pre-sets multiple candidate metering positions, and determines the spatial layout of the metering space based on the spatial size parameters and the target space type; multiple reference metering positions are obtained based on the spatial layout and the positional adaptability between the multiple candidate metering positions.
[0120] Since the spatial layout of each metering space will vary depending on the user's actual needs, even if the metering program pre-sets a series of reference layouts based on different space types and sets corresponding candidate metering positions based on the reference layouts, in actual application, it is still necessary to combine the actual spatial layout and the positional compatibility between multiple candidate metering positions to determine the final multiple reference metering positions for metering.
[0121] The methods for determining location adaptability include the following two: The first method involves pre-setting multiple different floor plans, each with pre-marked candidate metering locations (displayed as light dots). Upon receiving a parameter configuration operation, the floor plan corresponding to the metering space is displayed, allowing the user to manually select multiple reference metering locations from the candidate locations. The second method involves the user uploading images of the metering space. The metering program then performs image recognition on these images, identifying obstacles (cabinets, decorations, etc.) based on the user's selected space type. The space is then divided into zones: activity areas (sofas, chairs, tables, etc.), rest areas (beds), etc., generating a metering area fence. Based on the user-inputted space length and width data, metering points are marked within the fence according to national metering standards, serving as reference metering locations.
[0122] The candidate metering positions are illustrative and represent reference metering positions pre-set by the designer based on different space types. Please refer to them. Figure 6 It illustrates a schematic diagram of the candidate photometering position distribution provided in an exemplary embodiment of this application, such as... Figure 6 As shown, the current display photometric space is a planar schematic diagram (this photometric space is not the photometric space corresponding to this application, but only an example). There are 9 candidate reference positions distributed in the photometric space. The more candidate reference positions there are and the more evenly they are distributed, the more accurate the photometric result will be. Under normal circumstances, the measurement height of the candidate photometric position is 75 cm, that is, when the photometric device is at the candidate photometric position, it is located at a height of 75 cm above the ground.
[0123] As an illustration, the distribution of multiple candidate metering positions varies for different spatial types. Therefore, multiple candidate metering positions are first determined according to the target spatial type. Then, the spatial layout of the metering space is determined based on the acquired image, spatial size parameters, and target spatial type. In combination with the spatial layout, multiple candidate metering positions are adaptively adjusted to obtain multiple reference metering positions.
[0124] In some embodiments, the reference metering position is one of a plurality of candidate metering positions, or the reference metering position is the position obtained after adjusting the position based on the candidate metering positions.
[0125] In this embodiment, there are two ways to adaptively adjust multiple candidate metering positions: First, select a subset of candidate metering positions as multiple reference metering positions. For example, in a bedroom with 16 candidate metering positions, select 9 reference metering positions to ensure they are not obstructed by furniture such as beds, desks, or wardrobes. Second, adjust the candidate metering positions and use the adjusted positions as reference metering positions. For example, if a candidate metering position corresponds to coordinates (14, 16) in the metering space, adjust it to (18, 16) and use this as the coordinate point for the reference metering position.
[0126] Step 233: Display the photometric execution interface based on multiple reference photometric positions.
[0127] Indicatively, the photometric execution interface displays multiple reference photometric positions (only used to indicate reference photometric positions, not their specific distribution).
[0128] Step 240: When the photometer is in multiple reference photometer positions in sequence, display the photometer results corresponding to the multiple reference photometer positions in the photometer execution interface.
[0129] The photometric result includes either a successful photometric measurement at the reference photometric position or a failed photometric measurement at the reference photometric position.
[0130] In some embodiments, the plurality of reference metering positions includes an i-th reference metering position, which corresponds to the i-th data acquisition area in the metering execution interface, where i is a positive integer; a first display state corresponding to the i-th data acquisition area is displayed; when the metering device is at the i-th reference metering position and the placement of the metering device meets the preset metering conditions, the display of the i-th data acquisition area switches from the first display state to a second display state, which is used to indicate that the metering data acquired at the i-th reference metering position meets the preset data conditions, and the i-th data acquisition area being in the second display state is used to indicate that the metering at the i-th reference metering position is successful.
[0131] This is illustrative; please refer to it. Figure 7 It illustrates a schematic diagram of a photometric process provided in an exemplary embodiment of this application, such as... Figure 7As shown, the current display shows the metering execution interface 710, which displays multiple reference metering positions and corresponding data acquisition areas 701. Currently, the first display state (in grayscale) corresponding to the first data acquisition area 701 is displayed, indicating that metering is being performed on the first reference metering position. Combined with voice guidance (used to assist the user in moving the handheld metering device to the corresponding reference metering position), if the metering device is in the first reference metering position and the placement of the metering device meets the preset metering conditions, metering is performed on the first reference metering position. If the metering is successful, the second display state (in black) corresponding to the first data acquisition area 701 is displayed, indicating that the metering of the first reference metering position was successful.
[0132] In some embodiments, when the metering device is at the i-th reference metering position and the placement of the metering device does not meet the preset metering conditions, a voice prompt is triggered. The voice prompt is used to indicate any of the following situations: the metering data collected at the i-th reference metering position does not meet the preset data conditions, or no metering data is collected at the i-th reference metering position, and guides the user to re-perform the metering.
[0133] For illustrative purposes, if the metering device is at the i-th reference metering position and its placement does not meet the preset metering conditions, a voice prompt is triggered. The voice prompt indicates that metering at this reference metering position has failed (possibly because the collected metering data does not meet the preset data conditions, or no metering data was collected), and metering needs to be repeated. For illustrative purposes, using the reference metering position as a baseline, preset position deviation thresholds and angle thresholds are set as preset metering conditions. If the distance between the metering position and the i-th reference metering position reaches the position deviation threshold, or if there is an angle between the metering position and the horizontal line of the i-th reference metering position, and the angle reaches the angle threshold, it indicates that the metering device currently does not meet the preset metering conditions. In this case, a voice prompt is triggered to indicate that metering needs to be repeated, or that the metering position needs to be readjusted.
[0134] Furthermore, illustratively speaking, the photometer itself has a position sensor (such as a gyroscope or an ultra-wideband positioning sensor). When the photometer remains stationary at a designated position for a period exceeding a preset time threshold, it indicates that the photometer is currently in the photometering process. At this time, the photometer detects its current position using the position sensor and compares it with the i-th reference photometering position. If there is a deviation in the distance between the current position and the i-th reference photometering position, the direction and angle of deviation are determined, and these are fed back to the terminal device. The terminal device triggers the voice module and outputs the corresponding voice content for the direction and angle of deviation, such as "Please move 10 cm to the left" or "Please keep the photometer level," to assist the user in moving the photometer to the i-th reference photometering position.
[0135] In some embodiments, the photometric results corresponding to multiple reference photometric positions are all based on the photometric data collected at the reference photometric positions meeting preset data conditions. A photometric report corresponding to the photometric space is generated based on the multiple photometric data. The photometric report is used to evaluate the health of the illumination in the photometric space. The photometric report is determined based on the photometric database pre-stored in the photometric program.
[0136] If the photometric results at multiple reference photometric locations are all successful (i.e., the collected photometric data meets the preset data conditions), a corresponding photometric report is generated based on the photometric data to assess the health of the lighting conditions in the photometric space.
[0137] To illustrate, the photometric program pre-stores multiple different photometric databases, such as illuminance databases, color temperature databases, and spectral databases. Combining reference data from these databases with a pre-trained neural network model, the program performs data cleaning and analysis to generate corresponding photometric results. Based on these results, a photometric report is generated. The photometric report is used to score various ambient light parameters.
[0138] The photometric method provided in this application embodiment establishes a communication connection between a terminal device and a photometric device. The terminal device includes a photometric program that automatically generates multiple reference photometric positions corresponding to the photometric space by configuring parameters of the spatial attributes of the photometric space. This assists the user in placing the photometric device at the reference photometric position to measure the illumination of the photometric space and obtain the corresponding photometric result. In other words, by designing a mini-program, users can perform self-measurement of ambient light at home. Furthermore, the self-generated reference photometric positions provided by the photometric program can assist users in providing positional basis when using the photometric device to measure the photometric space, thereby improving the accuracy of the photometric results.
[0139] The metering method will be explained in detail below. Please refer to the illustrative examples. Figure 8 It illustrates a schematic diagram of a photometric procedure architecture provided in an exemplary embodiment of this application, such as... Figure 8 As shown, the current architecture can include a business presentation layer, a business support layer, and a system support layer.
[0140] The business presentation layer includes member registration, light meter binding, serial port data Bluetooth transmission, self-service light metering, voice interaction, light metering tutorial demonstration, data upload, intelligent data analysis, report beautification, report display, and report sharing.
[0141] The business support layer includes a reporting engine, intelligent agents, content management, voice, API interface extension, data integration services (photometry equipment), a large-model autonomous learning engine, a vector knowledge base, and an AI foundation based on open-source large models.
[0142] The system support layer includes the operating system, database, and security authentication and authorization management.
[0143] The photometric method provided in this application embodiment establishes a communication connection between a terminal device and a photometric device. The terminal device includes a photometric program that automatically generates multiple reference photometric positions corresponding to the photometric space by configuring parameters of the spatial attributes of the photometric space. This assists the user in placing the photometric device at the reference photometric position to measure the illumination of the photometric space and obtain the corresponding photometric result. In other words, by designing a mini-program, users can perform self-measurement of ambient light at home. Furthermore, the self-generated reference photometric positions provided by the photometric program can assist users in providing positional basis when using the photometric device to measure the photometric space, thereby improving the accuracy of the photometric results.
[0144] This is illustrative; please refer to it. Figure 9 The diagram illustrates a photometering device provided in an exemplary embodiment of this application, wherein the photometering device may specifically include the following modules: Display module 910 is used to display the photometry preparation interface of the photometry program; The display module 910 is also used to display a metering configuration interface in response to receiving a metering start operation in the metering preparation interface. The metering configuration interface is used to configure the spatial attributes of the metering space. The configuration module 920 is used to respond to receiving a parameter configuration operation in the photometric configuration interface, display the photometric execution interface corresponding to the photometric space, the photometric execution interface displays multiple reference photometric positions corresponding to the photometric space, and the photometric device is used to measure the illumination in the photometric space at the reference photometric positions; The photometer module 930 is used to display the photometering results corresponding to the plurality of reference photometering positions in the photometering execution interface when the photometering device is sequentially in the plurality of reference photometering positions. The photometering results include any one of the following: the photometering data collected at the reference photometering position meets the preset data conditions; the photometering data collected at the reference photometering position does not meet the preset data conditions; or no photometering data is collected at the reference photometering position.
[0145] In some embodiments, in response to receiving the parameter configuration operation in the photometric configuration interface, a target space type matching the photometric space is determined from a plurality of pre-stored candidate space types; Based on the target space type, obtain multiple reference photometric positions corresponding to the photometric space; The photometric execution interface is displayed based on the multiple reference photometric positions.
[0146] In some embodiments, the parameter configuration operation includes a first trigger operation; the configuration module 920 is further configured to display a spatial selection area in the photometric configuration interface, the spatial selection area including the plurality of candidate spatial types; in response to receiving the first trigger operation in the spatial selection area, the candidate spatial type selected by the first trigger operation is determined as the target spatial type.
[0147] In some embodiments, the target space type is pre-set with a plurality of candidate metering positions. The configuration module 920 is further configured to, in response to receiving the size configuration operation in the size configuration area, determine the spatial size parameters corresponding to the metering space; determine the spatial layout of the metering space based on the spatial size parameters and the target space type; and obtain the plurality of reference metering positions based on the spatial layout and the positional adaptability between the plurality of candidate metering positions.
[0148] In some embodiments, the reference metering position is one of the plurality of candidate metering positions, or the reference metering position is a position obtained by adjusting the position of the candidate metering positions.
[0149] In some embodiments, the metering configuration interface further includes an image upload area; The configuration module 920 is further configured to, in response to receiving the image upload operation in the image upload area, acquire the image corresponding to the metering space; and determine the spatial layout of the metering space based on the acquired image, the spatial size parameters, and the target space type.
[0150] In some embodiments, the plurality of reference metering positions includes an i-th reference metering position, which corresponds to the i-th data acquisition area in the metering execution interface, where i is a positive integer; The display module 910 is further configured to display a first display state corresponding to the i-th data acquisition area; when the photometer is at the i-th reference photometer position and the placement of the photometer meets the preset photometer conditions, the display of the i-th data acquisition area switches from the first display state to a second display state, the second display state being used to indicate that the photometer data acquired at the i-th reference photometer position meets the preset data conditions, and the i-th data acquisition area being in the second display state being used to indicate that the photometering at the i-th reference photometer position is successful.
[0151] In some embodiments, the configuration module 920 is further configured to trigger a voice prompt when the metering device is at the i-th reference metering position and the placement of the metering device does not meet the preset metering conditions. The voice prompt is used to indicate any of the following situations: the metering data collected at the i-th reference metering position does not meet the preset data conditions, or no metering data is collected at the i-th reference metering position, and guide the user to re-perform the metering.
[0152] In some embodiments, the display module 910 is further configured to generate a photometric report corresponding to the photometric space based on multiple photometric data when the photometric results corresponding to multiple reference photometric positions are all in accordance with the preset data conditions. The photometric report is used to evaluate the health of the illumination in the photometric space and is determined based on a photometric database pre-stored in the photometric program.
[0153] The photometering device provided in this application embodiment, when a communication connection is established between the terminal device and the photometering device, has a photometering program in the terminal device. By configuring parameters for the photometering requirements of the photometering space, it automatically generates multiple reference photometering positions corresponding to the photometering space. This assists the user in placing the photometering device at the reference photometering position to measure the illumination of the photometering space and obtain the photometering result corresponding to the photometering space. In other words, by designing a mini-program, users can perform self-measurement of ambient light at home. Furthermore, based on the self-generated reference photometering positions provided by the photometering program, it can assist users in providing positional basis when using the photometering device to measure the photometering space, thereby improving the accuracy of the photometering result.
[0154] See Figure 10 This illustration shows a schematic diagram of the structure of a computer device provided in an embodiment of this application. Figure 10As shown, the computer device 1000 of this embodiment includes: at least one processor 1010 ( Figure 10 (Only one is shown in the image) a processor, a memory 1020, and a computer program 1021 stored in the memory 1020 and executable on at least one processor 1010. When the processor 1010 executes the computer program 1021, it implements the steps in the above-described photometric method embodiment.
[0155] Computer device 1000 can be a desktop computer, laptop, handheld computer, cloud server, or other computing device. This terminal device may include, but is not limited to, processor 1010 and memory 1020. Those skilled in the art will understand that... Figure 10 This is merely an example of computer device 1000 and does not constitute a limitation on computer device 1000. It may include more or fewer components than shown in the figure, or combine certain components, or different components, such as input / output devices, network access devices, etc.
[0156] The processor 1010 may be a Central Processing Unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor.
[0157] In some embodiments, memory 1020 may be an internal storage unit of computer device 1000, such as a hard disk or memory of computer device 1000. In other embodiments, memory 1020 may be an external storage device of computer device 1000, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., provided on computer device 1000. Furthermore, memory 1020 may include both internal and external storage units of computer device 1000. Memory 1020 is used to store operating systems, applications, boot loaders, data, and other programs, such as program code for computer programs. Memory 1020 may also be used to temporarily store data that has been output or will be output.
[0158] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0159] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0160] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0161] In the embodiments provided in this application, it should be understood that the disclosed apparatus / computer devices and methods can be implemented in other ways. For example, the apparatus / computer device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0162] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0163] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0164] If an integrated module / unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying computer program code, recording media, USB flash drives, swivel hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content included in the computer-readable medium can be appropriately added or removed according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electrical carrier signals and telecommunication signals.
[0165] The implementation of all or part of the processes in the methods of the above embodiments can also be accomplished by a computer program product. When the computer program product is run on a computer device, the computer device can implement the steps in the various method embodiments described above.
[0166] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A photometric method, characterized in that, The method is applied to a terminal device, which runs a photometric program, and establishes a communication connection between the terminal device and the photometric device. The method includes: The metering preparation interface of the metering procedure is displayed; In response to receiving a metering start operation in the metering preparation interface, a metering configuration interface is displayed, which is used to configure the parameters of the spatial attributes of the metering space. In response to receiving a parameter configuration operation in the photometric configuration interface, a photometric execution interface corresponding to the photometric space is displayed. The photometric execution interface displays multiple reference photometric positions corresponding to the photometric space. The photometric device is used to measure the illumination in the photometric space at the reference photometric positions. When the photometer is in the plurality of reference photometer positions in sequence, the photometer results corresponding to the plurality of reference photometer positions are displayed in the photometer execution interface. The photometer results include any one of the following: the photometer data collected at the reference photometer position meets the preset data conditions; the photometer data collected at the reference photometer position does not meet the preset data conditions; or no photometer data is collected at the reference photometer position.
2. The method according to claim 1, characterized in that, The step of responding to receiving a parameter configuration operation in the metering configuration interface and displaying the metering execution interface corresponding to the metering space includes: In response to receiving the parameter configuration operation in the photometric configuration interface, a target space type matching the photometric space is determined from a plurality of pre-stored candidate space types; Based on the target space type, obtain multiple reference photometric positions corresponding to the photometric space; The photometric execution interface is displayed based on the multiple reference photometric positions.
3. The method according to claim 2, characterized in that, The parameter configuration operation includes a first trigger operation; The response to receiving the parameter configuration operation in the photometric configuration interface, determining the target space type matching the photometric space from a pre-stored plurality of candidate space types, includes: The space selection area is displayed in the metering configuration interface, and the space selection area includes the plurality of candidate space types; In response to receiving the first triggering operation in the space selection area, the candidate space type selected by the first triggering operation is determined as the target space type.
4. The method according to claim 2, characterized in that, The target space type has multiple candidate metering positions preset, the parameter configuration operation includes a size configuration operation, and the metering configuration interface includes a size configuration area; Before obtaining multiple reference metering positions corresponding to the metering space based on the target space type, the method further includes: In response to receiving the size configuration operation in the size configuration area, determine the spatial size parameters corresponding to the photometric space; The step of obtaining multiple reference metering positions corresponding to the metering space based on the target space type includes: The spatial layout of the photometric space is determined based on the spatial size parameters and the target space type. The plurality of reference photometer positions are obtained based on the spatial layout and the positional adaptability between the plurality of candidate photometer positions.
5. The method according to claim 4, characterized in that, The reference metering position is one of the plurality of candidate metering positions, or the reference metering position is a position obtained by adjusting the position based on the candidate metering positions.
6. The method according to claim 4, characterized in that, The photometric configuration interface also includes an image upload area; The method further includes: In response to receiving the image upload operation in the image upload area, the acquired image corresponding to the metering space is obtained; The spatial layout of the photometric space is determined based on the acquired image, the spatial size parameters, and the target space type.
7. The method according to any one of claims 1 to 6, characterized in that, The plurality of reference metering positions includes the i-th reference metering position, which corresponds to the i-th data acquisition area in the metering execution interface, where i is a positive integer; When the photometric device is sequentially positioned at the plurality of reference photometric positions, displaying the photometric results corresponding to the plurality of reference photometric positions in the photometric execution interface includes: Display the first display status corresponding to the i-th data acquisition area; When the photometer is at the i-th reference photometer position and the placement of the photometer meets the preset photometer conditions, the display of the i-th data acquisition area switches from the first display state to the second display state. The second display state is used to indicate that the photometer data acquired at the i-th reference photometer position meets the preset data conditions. The i-th data acquisition area being in the second display state is used to indicate that the photometering at the i-th reference photometer position is successful.
8. The method according to claim 7, characterized in that, The method further includes: When the metering device is at the i-th reference metering position and the placement of the metering device does not meet the preset metering conditions, a voice prompt is triggered. The voice prompt indicates any of the following situations: the metering data collected at the i-th reference metering position does not meet the preset data conditions, or no metering data is collected at the i-th reference metering position, and guides the user to re-perform the metering.
9. The method according to any one of claims 1 to 6, characterized in that, After displaying the photometric results corresponding to the plurality of reference photometric positions in the photometric execution interface, the method further includes: If the photometric results corresponding to multiple reference photometric positions all meet the preset data conditions, a photometric report corresponding to the photometric space is generated based on the multiple photometric data. The photometric report is used to evaluate the health of the illumination in the photometric space. The photometric report is determined based on the photometric database pre-stored in the photometric program.
10. A photometric device, characterized in that, The device includes: The display module is used to display the metering preparation interface of the metering program; The display module is also used to respond to receiving a photometry start operation in the photometry preparation interface and display a photometry configuration interface, which is used to configure the spatial attributes of the photometry space and establish a communication connection between the terminal device and the photometry device. The configuration module is used to respond to receiving a parameter configuration operation in the photometric configuration interface, display the photometric execution interface corresponding to the photometric space, the photometric execution interface displays multiple reference photometric positions corresponding to the photometric space, and the photometric device is used to measure the illumination in the photometric space at the reference photometric positions; The photometering module is used to display the photometering results corresponding to the multiple reference photometering positions in the photometering execution interface when the photometering device is sequentially positioned at the multiple reference photometering positions. The photometering results include any one of the following: the photometering data collected at the reference photometering position meets the preset data conditions; the photometering data collected at the reference photometering position does not meet the preset data conditions; or no photometering data is collected at the reference photometering position.
11. A computer device, characterized in that, The computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the photometric method as described in any one of claims 1 to 9.
12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the photometric method as described in any one of claims 1 to 9.
13. A computer program product, characterized in that, Includes a computer program, which, when run, causes the photometric method as described in any one of claims 1 to 9 to be performed.