Parameter adjustment method, system and device, storage medium and program product
Through the automatic adjustment of the working parameters of the luminous component of the smart cabinet, the identification difficulties caused by uneven lighting in the QR code area of the takeaway cabinet are solved, the recognition efficiency and accuracy are improved, and intelligent automatic control is realized.
Patent Information
- Application Number
- CN202411299531.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-14
- Publication Date
- 2024-12-27
AI Technical Summary
The QR code area of the takeaway cabinet is uneven in light due to environmental changes, which leads to difficulty in identifying QR codes or slow recognition speed.
By obtaining the geographical location and ambient light intensity of the smart cabinet, combined with the pre-acquisitioned lighting configuration data, the working parameters of the luminous component are automatically adjusted to ensure that the QR code is evenly illuminated in different environments, and the recognition efficiency and accuracy are improved.
It realizes clear display and rapid identification of QR codes, improves user experience, and does not require manual intervention, and has intelligent and automated adjustment functions.
Smart Images

Figure CN119212150A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent control technology, and specifically to a parameter adjustment method, system, device, storage medium and program product. Background Art
[0002] The takeaway industry is one of the products of the Internet era. In the takeaway industry, after the buyer of the goods places an order through the client, the delivery party takes the goods from the merchant and delivers them. When the delivery party arrives at the takeaway cabinet near the delivery address, the goods can be delivered to the takeaway cabinet by scanning the QR code on the takeaway cabinet, and the buyer can take the goods by scanning the QR code on the takeaway cabinet. In order to facilitate the delivery party and the buyer to scan the QR code, the takeaway cabinet is also provided with a light box to illuminate the QR code area through the light box. At present, the light box of the takeaway cabinet is usually manually controlled to make it in a normally open state or a normally closed state. Since the takeaway cabinet can be laid in various scenes indoors and outdoors, the lighting of the takeaway cabinet light box will be uneven due to factors such as environmental changes, day and night alternation, and weather changes. Therefore, the light box adopts a normally open state or a normally closed state in each environment, which will cause the QR code area on the takeaway cabinet to be too bright or too weak, and ultimately lead to problems such as the QR code cannot be recognized or the recognition speed is slow. Summary of the invention
[0003] In order to solve the problems in the above-mentioned related technologies such as the QR code area of the takeaway cabinet being too bright or too weak, resulting in the QR code being unable to be recognized or the recognition speed being slow, the present application provides a parameter adjustment method, system, device, storage medium and program product.
[0004] A first aspect of the present application provides a parameter adjustment method, which is applied to a smart cabinet, wherein the smart cabinet includes a light-emitting component and an information code illuminated by the light-emitting component, and the method includes:
[0005] Obtain the day and night information of the location of the smart cabinet and the light intensity of the environment where the smart cabinet is located;
[0006] Determine the target operating parameters of the light emitting components based on the day and night information, light intensity and pre-acquired lighting configuration data;
[0007] The current working parameters of the light-emitting component are adjusted to target working parameters; the recognition time of the information code corresponding to the target working parameters is lower than the recognition time of the information code corresponding to the current working parameters.
[0008] A second aspect of the present application provides a parameter adjustment method, which is applied to a management platform, and the method includes:
[0009] Receiving a time acquisition request sent by the smart cabinet, where the time acquisition request includes a geographical location of the smart cabinet;
[0010] Query the day and night information corresponding to the geographical location and send the day and night information to the smart cabinet; the day and night information is used by the smart cabinet to determine the target working parameters of the light-emitting components of the smart cabinet in combination with the light intensity of the environment in which the smart cabinet is located and the pre-acquired lighting configuration data, and adjust the current working parameters of the light-emitting components to the target working parameters; the light-emitting components are used to illuminate the information code of the smart cabinet, and the recognition time of the information code corresponding to the target working parameters is lower than the recognition time of the information code corresponding to the current working parameters
[0011] A third aspect of the present application provides a parameter adjustment device, which is applied to a smart cabinet, wherein the smart cabinet includes a light-emitting component and an information code illuminated by the light-emitting component, and the device includes:
[0012] The first acquisition module is used to obtain the day and night information of the location of the smart cabinet and the light intensity of the environment where the smart cabinet is located;
[0013] A first determination module, used to determine target operating parameters of the light emitting component according to day and night information, light intensity and pre-acquired lighting configuration data;
[0014] The adjustment module is used to adjust the current working parameters of the light-emitting component to the target working parameters; the recognition time of the information code corresponding to the target working parameters is lower than the recognition time of the information code corresponding to the current working parameters
[0015] A fourth aspect of the present application provides a parameter adjustment device, which is applied to a management platform, and the device includes:
[0016] A receiving module, used for receiving a time acquisition request sent by a smart cabinet, where the time acquisition request includes a geographical location of a location of the smart cabinet;
[0017] A query module, used to query the day and night information corresponding to the geographical location;
[0018] A sending module is used to send day and night information to a smart cabinet; the day and night information is used by the smart cabinet to determine the target working parameters of the light-emitting components of the smart cabinet in combination with the light intensity of the environment in which the smart cabinet is located and the pre-acquired lighting configuration data, and the current working parameters of the light-emitting components are adjusted to the target working parameters; the light-emitting components are used to illuminate the information code of the smart cabinet, and the recognition time of the information code corresponding to the target working parameters is lower than the recognition time of the information code corresponding to the current working parameters.
[0019] A fifth aspect of the present application provides a parameter adjustment system, the system comprising: a smart cabinet and a management platform, the smart cabinet comprising a light-emitting component and an information code illuminated by the light-emitting component;
[0020] A smart cabinet is used to send a time acquisition request to a management platform and receive the day and night information of the smart cabinet sent by the management platform; and obtain the light intensity of the environment in which the smart cabinet is located; determine the target working parameters of the light-emitting components of the smart cabinet according to the day and night information, the light intensity and the lighting configuration data obtained in advance; adjust the current working parameters of the light-emitting components to the target working parameters; the recognition time of the information code corresponding to the target working parameters is lower than the recognition time of the information code corresponding to the current working parameters;
[0021] The management platform is used to receive a time acquisition request sent by the smart cabinet, query the day and night information according to the geographical location of the smart cabinet included in the time acquisition request, and send the day and night information to the smart cabinet.
[0022] The sixth aspect of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method described in the first aspect above, or to implement the method described in the second aspect above.
[0023] The seventh aspect of the present application provides a computer-readable storage medium having a computer program stored thereon, wherein the program is executed by a processor to implement the method as described in the first aspect above, or to implement the method as described in the second aspect above.
[0024] An eighth aspect of the present application provides a computer program product, including a computer program, wherein the computer program is executed by a processor to implement the method described in the first aspect above, or to implement the method described in the second aspect above.
[0025] This application has at least the following beneficial effects or advantages:
[0026] In the embodiment of the present application, when the day and night information of the location of the smart cabinet and the light intensity of the environment in which the smart cabinet is located are obtained, the target working parameters of the light-emitting component are determined according to the day and night information, the light intensity and the lighting configuration data obtained in advance; and the current working parameters of the light-emitting component are adjusted to the target working parameters; wherein the recognition time of the information code corresponding to the target working parameters is lower than the recognition time of the information code corresponding to the current working parameters. Thus, by obtaining the lighting configuration data in advance and combining the day and night information of the current location of the smart cabinet and the light intensity of the environment in which it is located, the target working parameters of the light-emitting component are determined, so that the light emitted by the light-emitting component when working based on the target working parameters can match the current external environment of the smart cabinet, thereby ensuring that the information code can be clearly displayed, and improving the recognition efficiency and accuracy of the information code. Furthermore, since no manual parameters are required in the adjustment process of the working parameters, it is more intelligent and realizes the automatic adjustment of the working parameters of the light-emitting component.
[0027] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0029] Figure 1 A schematic diagram of an application scenario of a parameter adjustment method provided in an embodiment of the present application;
[0030] Figure 2 A first flow chart of a parameter adjustment method provided in an embodiment of the present application;
[0031] Figure 3 A second flow chart of a parameter adjustment method provided in an embodiment of the present application;
[0032] Figure 4 A third flow chart of a parameter adjustment method provided in an embodiment of the present application;
[0033] Figure 5 A fourth flow chart of a parameter adjustment method provided in an embodiment of the present application;
[0034] Figure 6 A fifth flow chart of a parameter adjustment method provided in an embodiment of the present application;
[0035] Figure 7 A first structural schematic diagram of a parameter adjustment device provided in an embodiment of the present application;
[0036] Figure 8 A second structural schematic diagram of a parameter adjustment device provided in an embodiment of the present application;
[0037] Fig. 9 A schematic diagram of the composition of a parameter adjustment system provided in an embodiment of the present application;
[0038] Fig.10 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0039] Fig.11 A schematic diagram of the structure of a storage medium provided in an embodiment of the present application. DETAILED DESCRIPTION
[0040] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0041] First, some nouns or terms that appear in the description of the embodiments of the present application are subject to the following explanations:
[0042] Takeaway cabinet: It includes multiple compartments and is an intelligent storage and retrieval terminal for storing goods.
[0043] Takeaway cabinet light box: Located on the top of the takeaway cabinet, it usually has brand logos, QR codes that need to be scanned to store and retrieve goods, etc., and is illuminated by LED lights.
[0044] Working parameters of the light box: a set of configuration parameters, including luminous brightness, flashing frequency, etc., which can be controlled by the control components of the takeaway cabinet.
[0045] Light intensity: refers to the measure of light energy received per unit area, which is related to the intensity of the light source, distance and scattering of the light beam.
[0046] Light brightness: Light brightness refers to the measurement of the luminous flux emitted or reflected per unit solid angle per unit area from a specific direction. It is not only related to the light intensity, but also to the observation angle and reflection characteristics.
[0047] Luminous brightness: refers to the luminous flux emitted or reflected by a light source or surface per unit area or unit solid angle in a specific direction.
[0048] Flicker frequency: refers to the frequency at which the brightness of a light source changes rapidly over time.
[0049] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. The singular forms of "a", "said" and "the" used in this application and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0050] It should be understood that, although the terms first, second, third, etc. may be used in the present application to describe various information, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determination", etc.
[0051] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0052] The takeaway industry is currently being widely developed in various places. The use of takeaway cabinets provides convenience for both the distributors and buyers of goods. By scanning the QR code on the takeaway cabinet, the goods can be stored and retrieved. In order to facilitate the scanning of the QR code, the QR code area is usually illuminated by the light box of the takeaway cabinet. At present, the light box of the takeaway cabinet usually has two working states: normally open and normally closed, and is controlled manually, that is, the manager of the takeaway cabinet can operate the switch on the takeaway cabinet. When the control component of the takeaway cabinet obtains the user's operation information on the switch, it determines the working state corresponding to the operation information (such as the normally open state) and sets the working parameters of the light box to the working parameters corresponding to the corresponding working state (such as the working parameters corresponding to the normally open state). In the normally open and normally closed working states, the same distributor or the same buyer often needs different recognition times to scan the QR code at different times and places, and the recognition success rate will also vary greatly. For example, at night, the QR code will reflect light, which makes the recognition speed of the QR code slow or even unrecognizable, thereby prolonging the storage and retrieval time of the goods, or requiring repeated scanning of the code, etc., and the experience of both the distributor and the buyer is poor. Furthermore, because takeaway cabinets can be dismantled, modified, moved, and laid in various indoor and outdoor scenes, such as fully outdoor open-air venues, semi-outdoor building eaves, indoor stairways, subway entrances, basements, underground parking lots, etc., and the environmental factors of different laying locations are often different, for example, some locations have artificial light sources, and some locations are dark and dark. In the above complex situations, the light boxes of takeaway cabinets are all manually controlled, using a simple normally open or normally closed working state, which is not intelligent and cannot meet the needs of rapid recognition of QR codes.
[0053] Based on this, the embodiment of the present application provides a parameter adjustment method. Figure 1Schematic diagram of an application scenario of a parameter adjustment method provided in an embodiment of the present application. Figure 1 As shown, the scenario includes a smart cabinet and a management platform. The smart cabinet can communicate with the management platform through a network. The smart cabinet includes a light-emitting component and an information code illuminated by the light-emitting component. The smart cabinet can be a takeaway cabinet, a courier cabinet, an independent retail cabinet, etc., and the information code can be a QR code, a barcode, etc. The management platform can be a terminal device or a server. The terminal device can be a mobile phone, a tablet computer, a desktop computer, a portable notebook, etc., and the server can be a physical server, a cloud server, etc.
[0054] Figure 1 In the figure, the smart cabinet also includes multiple compartments, the information code and the light-emitting component are located in the light box above the smart cabinet, and the management platform is a physical server. It should be understood that Figure 1 The illustration is only a schematic representation of the application scenario of the parameter adjustment method involved in the present application, and does not constitute a limitation on the technical solution of the present application. In some other embodiments, the application scenario of the parameter adjustment method involved in the present application may also include more or fewer components.
[0055] Specifically, the smart cabinet can maintain the acquisition strategy of day and night information and light intensity, maintain the pre-acquired lighting configuration data, maintain the parameter adjustment strategy, etc. Among them, the acquisition strategy of day and night information and light intensity is used to instruct the smart cabinet to obtain the light intensity of the environment where the smart cabinet is located at a preset time interval, and obtain the day and night information of the location of the smart cabinet from the management platform; the lighting configuration data may include multiple reference light intensities, working parameters corresponding to each reference light intensity, etc.; the parameter adjustment strategy is used to instruct the smart cabinet to determine the target working parameters of the light-emitting component according to the acquired day and night information, light intensity and lighting configuration data; and adjust the current working parameters of the light-emitting component to the target working parameters. The management platform maintains a query strategy for day and night information, which is used to instruct the management platform to query the corresponding day and night information based on the time acquisition request of the smart cabinet and send it to the smart cabinet. Therefore, by pre-acquiring the lighting configuration data, and combining the day and night information of the current location of the smart cabinet and the light intensity of the environment, the target working parameters of the light-emitting component are determined, so that the light emitted by the light-emitting component when working based on the target working parameters can match the current external environment of the smart cabinet, thereby ensuring that the information code can be clearly displayed, and improving the recognition efficiency and accuracy of the information code. Furthermore, since no manual parameters are required in the process of adjusting the working parameters, it is more intelligent and realizes the automatic adjustment of the working parameters of the light-emitting component.
[0056] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The several specific embodiments listed can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
[0057] Figure 2 A flow chart of a parameter adjustment method provided in an embodiment of the present application, Figure 2 The method shown can be Figure 1 The smart cabinet in the implementation. Figure 2 As shown, the method includes the following steps 101-103.
[0058] Step 101, obtaining the day and night information of the location of the smart cabinet and the light intensity of the environment in which the smart cabinet is located, wherein the smart cabinet includes a light-emitting component and an information code illuminated by the light-emitting component.
[0059] Step 102, determining target operating parameters of the light emitting component according to the day and night information, light intensity and pre-acquired lighting configuration data.
[0060] Step 103, adjusting the current working parameters of the light-emitting component to target working parameters; the recognition time of the information code corresponding to the target working parameters is lower than the recognition time of the information code corresponding to the current working parameters.
[0061] Considering the light brightness and light intensity of the environment in which the smart cabinet is located, both can affect the recognition rate of the information code, and the light brightness during the day is often different from the light brightness at night. In order to determine the accurate target working parameters, in an embodiment of the present application, the day and night information of the location of the smart cabinet is first obtained. Among them, the day and night information is used to distinguish between day and night. In some embodiments, the day and night information may include sunrise time and sunset time, the first time period from sunrise time to sunset time is daytime, and the second time period from sunset time to sunrise time is nighttime. In some embodiments, the day and night information may include a first time period and a second time period, the first time period is from sunrise time to sunset time, that is, corresponding to daytime; the second time period is from sunset time to sunrise time, that is, corresponding to nighttime. The specific content of the day and night information can be set as needed in actual applications.
[0062] The smart cabinet in the embodiment of the present application may include a light-emitting component and an information code illuminated by the light-emitting component. Among them, the light-emitting component may be a device that can emit light, such as an LED lamp, and the information code may be any one of a QR code, a barcode, etc. The smart cabinet in the embodiment of the present application may also include at least one light sensor, and obtain the light intensity of the environment in which the smart cabinet is located through the at least one light sensor. When the smart cabinet includes multiple light sensors, the average value of the light intensity detected by each light sensor can be determined as the light intensity of the environment in which the smart cabinet is located. The specific positions of the light-emitting component, the information code, and the light sensor in the smart cabinet, as well as the specific structure of the smart cabinet, are not specifically limited in this application, and they can be set according to needs in actual applications. For example, the smart cabinet may also include multiple compartments, or multiple storage layers, etc.
[0063] In order to accurately determine the target operating parameters of the light-emitting component at different light intensities and different time periods, in an embodiment of the present application, lighting configuration data is pre-acquired. The lighting configuration data may include multiple reference light intensities, and the working parameters corresponding to the first time period and the working parameters corresponding to the second time period at each reference light intensity. Among them, the working parameters include luminous brightness and flickering frequency. Under the same light intensity, the luminous brightness corresponding to the first time period is less than the luminous brightness corresponding to the second time period; the flickering frequency corresponding to the first time period is less than the flickering frequency corresponding to the second time period. Since the recognition time of the information code corresponding to the target working parameter is lower than the recognition time of the information code corresponding to the current working parameter, it can be understood that each working parameter in the lighting configuration data can be considered to be the most suitable working parameter under the corresponding reference light intensity and the corresponding time period.
[0064] In the embodiment of the present application, when the day and night information of the location of the smart cabinet and the light intensity of the environment in which the smart cabinet is located are obtained, the target working parameters of the light-emitting component are determined according to the day and night information, the light intensity and the lighting configuration data obtained in advance; and the current working parameters of the light-emitting component are adjusted to the target working parameters; wherein the recognition time of the information code corresponding to the target working parameters is lower than the recognition time of the information code corresponding to the current working parameters. Thus, by obtaining the lighting configuration data in advance and combining the day and night information of the current location of the smart cabinet and the light intensity of the environment in which it is located, the target working parameters of the light-emitting component are determined, so that the light emitted by the light-emitting component when working based on the target working parameters can match the current external environment of the smart cabinet, thereby ensuring that the information code can be clearly displayed, and improving the recognition efficiency and accuracy of the information code. Furthermore, since no manual parameters are required in the adjustment process of the working parameters, it is more intelligent and realizes the automatic adjustment of the working parameters of the light-emitting component.
[0065] Considering that the length of day and night corresponding to different regions, different seasons and different weather conditions is often different, in order to accurately determine the current target working parameters of the light-emitting components of the smart cabinet, in some embodiments, the day and night information of the location of the smart cabinet can be obtained based on the geographical location of the location of the smart cabinet. Specifically, Figure 3 As shown, step 101 may include the following steps 1011 and 1012:
[0066] Step 1011, obtain the geographical location of the smart cabinet, and obtain the day and night information of the location of the smart cabinet based on the geographical location.
[0067] In some embodiments, Figure 4 As shown, the smart cabinet can send a geographic location acquisition request to the management platform at a preset time interval according to the cabinet identification of the smart cabinet, and receive the geographic location sent by the management platform. When the management platform receives the geographic location acquisition request, it queries the corresponding geographic location in the correspondence between the cabinet identification and the address location according to the cabinet identification, and sends the queried geographic location to the smart cabinet. The preset time interval is, for example, 30 seconds, 50 seconds, 1 minute, etc. It should be noted that Figure 4 For illustration only and not for limitation, the execution order of some operations can be interchanged or performed simultaneously. For example, step 7 can be performed simultaneously with step 1, or step 7 can be performed before step 1, or step 7 can be performed simultaneously with step 4, or step 7 can be performed before step 4, etc.
[0068] Considering that in actual applications, the smart cabinet may be dismantled, modified, or moved, in order to facilitate the management of the geographical location of the smart cabinet and accurately obtain the geographical location of the smart cabinet during parameter adjustment, the smart cabinet may also be configured with a preset application, and when the geographical location is obtained through the preset application, a save request is sent to the management platform. That is, the method may also include the following steps A:
[0069] Step A: If the geographic location is obtained through the preset application, a save request is sent to the management platform according to the geographic location and the cabinet identifier of the smart cabinet.
[0070] When the management platform receives the save request sent by the smart cabinet, it saves the geographical location and cabinet identification. Therefore, when the geographical location of the smart cabinet changes, the accuracy of the geographical location maintained by the management platform is guaranteed by sending a save request to the management platform in a timely manner, thereby providing a guarantee for accurately adjusting the working parameters of the light-emitting component.
[0071] Considering that in actual applications, factors such as network instability may cause the failure of sending the time acquisition request of the smart cabinet, or the failure of sending the day and night information of the management platform. Based on this, in one or more embodiments of the present application, the smart cabinet saves the acquired day and night information to the designated storage area after each acquisition of the day and night information. And when the day and night information sent by the management platform is not received, the day and night information is read from the designated storage area. In other words, step 1011 may include: sending a time acquisition request to the management platform according to the acquired geographic location; if the day and night information sent by the management platform is not received, reading the day and night information from the designated storage area; wherein the day and night information in the designated storage area is acquired and updated when the working parameters of the light-emitting component were adjusted last time.
[0072] Correspondingly, after obtaining the day and night information of the location of the smart cabinet, the method may also include: updating the day and night information in the designated storage area according to the obtained day and night information.
[0073] Specifically, it can be determined whether the day and night information in the designated storage area is the same as the acquired day and night information; if they are different, the day and night information in the designated storage area is replaced with the acquired day and night information; if they are the same, the day and night information in the designated storage area is determined as the updated day and night information. Alternatively, each time the day and night information is acquired, the day and night information in the storage area is replaced with the acquired day and night information.
[0074] Step 1012, obtaining the light intensity of the environment in which the smart cabinet is located.
[0075] The method for obtaining the light intensity may refer to the aforementioned related description, and the repeated parts will not be repeated here.
[0076] Therefore, the smart cabinet obtains the geographical location of the location at preset time intervals, and obtains the day and night information of the location based on the geographical location, so as to determine the target working parameters of the light-emitting component according to the day and night information, thereby ensuring that the light emitted by the light-emitting component when working based on the target working parameters matches the current day and night changes and external environment of the location of the smart cabinet, thereby ensuring that the information code can be displayed clearly, thereby improving the recognition efficiency and accuracy of the information code.
[0077] As mentioned above, under the same light intensity, the target operating parameters of the light emitting component are often different in different time periods. In order to accurately determine the target operating parameters of the current light emitting component, the current target time period is first determined. Figure 5 As shown, step 102 may include the following steps 1021 and 1022:
[0078] Step 1021, determine the target time period to which the current system time of the smart cabinet belongs; the target time period is the first time period or the second time period corresponding to the day and night information, and the ambient light brightness of the first time period is greater than the ambient light brightness of the second time period.
[0079] Specifically, the current system time of the smart cabinet is obtained, and the system time is matched with the first time period and the second time period corresponding to the day and night information; if the system time is within the first time period, the first time period is determined as the target time period; if the system time is within the second time period, the second time period is determined as the target time period.
[0080] Step 1022, obtaining target operating parameters of the light-emitting component in the lighting configuration data according to the target time period and light intensity.
[0081] Specifically, determine the target light intensity that matches the light intensity of the environment in which the smart cabinet is located among the multiple reference light intensities included in the lighting configuration data; and determine the working parameters corresponding to the target light intensity and the target time period as the target working parameters of the light-emitting component.
[0082] Wherein, determining the target light intensity that matches the light intensity of the environment in which the smart cabinet is located among the multiple reference light intensities included in the lighting configuration data may include:
[0083] If the multiple reference light intensities include a reference light intensity that is the same as the light intensity of the environment in which the smart cabinet is located, the reference light intensity that is the same as the light intensity of the environment in which the smart cabinet is located among the multiple reference light intensities is determined as the target light intensity that matches the light intensity of the environment in which the smart cabinet is located.
[0084] If the multiple reference light intensities do not include the light intensity of the environment in which the smart cabinet is located, determine the candidate light intensities in the reference light intensities that are less than the light intensity of the environment in which the smart cabinet is located, and determine the maximum light intensity in the candidate light intensities as the target light intensity that matches the light intensity.
[0085] Specifically, multiple reference light intensities are compared with the light intensity of the environment where the smart cabinet is located; if there is a successfully compared reference light intensity, it is determined that the reference light intensity includes the same reference light intensity as the light intensity of the environment where the smart cabinet is located, and the successfully compared reference light intensity among the multiple reference light intensities is determined as the target light intensity that matches the light intensity of the environment where the smart cabinet is located. If there is no successfully compared reference light intensity, a candidate light intensity that is less than the light intensity of the environment where the smart cabinet is located among the reference light intensities is determined, and the candidate light intensities are sorted to obtain the maximum light intensity; the maximum light intensity is determined as the target light intensity that matches the light intensity of the environment where the smart cabinet is located.
[0086] As an example, some lighting configuration data is as follows:
[0087]
[0088] Among them, K represents the light intensity, L represents the luminous brightness in the working parameters, and f represents the flicker frequency in the working parameters. The reference light intensities include K1, K2, K3, and K4, and K1 < K2 < K3 < K4. If the light intensity of the environment where the intelligent cabinet is currently located is K5, and K2 < K5 < K3, and the target time period to which the current system time of the intelligent cabinet belongs is the first time period, it is determined that the reference light intensity does not include the light intensity K5 of the environment where the intelligent cabinet is located; at this time, it is determined that the candidate light intensities less than K5 in the reference light intensities are K1 and K2, and K2 is determined as the target light intensity matching K5; and the working parameters (L21, f21) corresponding to K2 (i.e., the target light intensity) and the first time period (i.e., the target time period) are determined as the target working parameters.
[0089] By determining the target time period to which the current system time of the intelligent cabinet belongs, and based on the target time period and the light intensity of the environment where the intelligent cabinet is located, obtaining the target working parameters in the lighting configuration data, the accuracy of the determined target working parameters is ensured. Furthermore, it is ensured that the light emitted by the light-emitting component when working based on the target working parameters can match the current time and the current environment, so that the information code can be clearly displayed, improving the recognition efficiency and recognition accuracy of the information code.
[0090] In order to achieve accurate automatic adjustment of the working parameters of the light-emitting component, in one or more embodiments of the present application, before determining the target light intensity that matches the light intensity of the environment where the intelligent cabinet is located among the multiple reference light intensities included in the lighting configuration data, the method may further include the following steps B1 to B3:
[0091] Step B1, for each reference light intensity among the multiple reference light intensities, obtain the target recognition time corresponding to each preset working parameter among the multiple preset working parameters under the reference light intensity and the target time period; the target recognition time includes the recognition time for recognizing the information code from multiple angles.
[0092] In order to clarify the working parameters corresponding to the first time period and the second time period at each reference light intensity. In some embodiments, step B1 may include: for each reference light intensity among multiple reference light intensities, obtaining the target recognition time corresponding to each preset working parameter in multiple preset working parameters under the reference light intensity and the first time period; and obtaining the target recognition time corresponding to each preset working parameter in multiple preset working parameters under the reference light intensity and the second time period. Among them, the target recognition time includes the recognition time of recognizing the information code from multiple angles, such as 30 degrees, 60 degrees, 90 degrees, 120 degrees, 150 degrees, etc. with the information code as the reference point, which can be set according to needs in actual applications.
[0093] As an example, the preset working parameters may include working parameter 1, working parameter 2, working parameter 3, etc., and multiple angle examples include 30 degrees, 60 degrees, 90 degrees, 120 degrees, and 150 degrees with the information code as the reference point; for the above-mentioned reference light intensity K1, obtain the recognition time 1 required to scan the information code from 30 degrees, the recognition time 2 required to scan the information code from 60 degrees, the recognition time 3 required to scan the information code from 90 degrees, the recognition time 4 required to scan the information code from 120 degrees, and the recognition time 5 required to scan the information code from 150 degrees under K1, the first time period, and the working parameter 1, and determine the recognition time 1, recognition time 2, recognition time 3, recognition time 4, and recognition time 5 as the target time corresponding to the working parameter 1 under K1 and the first time period. Similarly, we can obtain the target time corresponding to working parameter 2 and the target time corresponding to working parameter 3 under K1 and the first time period; and the target time corresponding to working parameter 1, the target time corresponding to working parameter 2, and the target time corresponding to working parameter 3 under K1 and the second time period... Under K4 and the first time period, the target time corresponding to working parameter 1, the target time corresponding to working parameter 2, and the target time corresponding to working parameter 3; under K4 and the second time period, the target time corresponding to working parameter 1, the target time corresponding to working parameter 2, and the target time corresponding to working parameter 3.
[0094] Step B2: determining the average recognition time and the recognition time variance corresponding to each preset working parameter according to the target recognition time.
[0095] Taking into account that each target recognition time includes multiple recognition times, the fluctuations of each recognition time may be relatively large, for example, the time difference between the shortest recognition time and the longest recognition time is relatively large. At this time, the average recognition time cannot accurately reflect the recognition time level. Therefore, in some embodiments of the present application, the average recognition time and recognition time variance corresponding to each preset working parameter are determined according to the target recognition time.
[0096] Continuing with the above example, according to the target time recognition time 1, recognition time 2, recognition time 3, recognition time 4, and recognition time 5 corresponding to working parameter 1 under K1 and the first period, the average recognition time and recognition time variance corresponding to working parameter 1 are calculated. The specific calculation process of the average recognition time and the recognition time variance can be referred to the relevant technology and will not be described in detail here.
[0097] Step B3, determining the target working parameters corresponding to the reference light intensity and the target time period according to the average recognition time and the recognition time variance corresponding to each preset working parameter.
[0098] The average recognition time corresponding to each preset working parameter under the reference light intensity and the target time period is sorted to obtain the sorting result; the minimum average recognition time in the sorting result is determined as the current average recognition time, and whether the recognition time variance corresponding to the current average recognition time is less than the variance threshold, if so, the preset working parameter corresponding to the current average recognition time is determined as the target working parameter corresponding to the reference light intensity and the target time period. If not, the average recognition time in the sorting result that is greater than the current average recognition time and is adjacent to the current average recognition time is determined as the current average recognition time, and the aforementioned operation of determining whether the recognition time variance corresponding to the current average recognition time is less than the variance threshold is performed until the target working parameter corresponding to the reference light intensity and the target time period is obtained.
[0099] By determining the working parameters of each reference light intensity in the first time period and the second time period among multiple reference light intensities, lighting configuration data is obtained, which provides an accurate basis for adjusting the working parameters of the light-emitting components and ensures the accuracy and convenience of the working parameter adjustment.
[0100] Corresponding to the above-mentioned embodiment of the parameter adjustment method, the present application also provides an embodiment of a parameter adjustment method. Figure 6 A flow chart of a parameter adjustment method provided in an embodiment of the present application, Figure 6 The method shown can be Figure 1 The management platform in the implementation. Figure 6 As shown, the method includes the following steps 201 and 202.
[0101] Step 201, receiving a time acquisition request sent by a smart cabinet, where the time acquisition request includes a geographical location of the smart cabinet;
[0102] Step 202, query the day and night information corresponding to the geographical location, and send the day and night information to the smart cabinet; wherein, the day and night information is used by the smart cabinet to determine the target working parameters of the light-emitting component of the smart cabinet in combination with the light intensity of the environment in which the smart cabinet is located and the pre-acquired lighting configuration data, and adjust the current working parameters of the light-emitting component to the target working parameters; the light-emitting component is used to illuminate the information code of the smart cabinet, and the recognition time of the information code corresponding to the target working parameters is lower than the recognition time of the information code corresponding to the current working parameters.
[0103] In some implementations, the management platform may query the day and night information corresponding to the address location on a preset web page according to the geographic location included in the time acquisition request.
[0104] In the parameter adjustment method provided by the embodiment of the present application, when the management platform receives the time acquisition request sent by the smart cabinet, it queries the day and night information according to the geographical location of the location of the smart cabinet included in the time acquisition request, and sends the day and night information to the smart cabinet, so that the smart cabinet determines the target working parameters of the light-emitting component of the smart cabinet according to the day and night information, the light intensity of the environment, and the pre-acquired lighting configuration data, and adjusts the current working parameters of the light-emitting component to the target working parameters. Thus, by pre-acquiring the lighting configuration data and combining the day and night information of the current location of the smart cabinet and the light intensity of the environment, the target working parameters of the light-emitting component are determined, so that the light emitted by the light-emitting component when working based on the target working parameters can match the current external environment of the smart cabinet, thereby ensuring that the information code can be clearly displayed and improving the recognition efficiency and accuracy of the information code. Furthermore, since no manual parameters are required in the adjustment process of the working parameters, it is more intelligent and realizes the automatic adjustment of the working parameters of the light-emitting component.
[0105] Considering that smart cabinets often need to be dismantled, modified, and moved, in order to accurately obtain the day and night information of the current location of the smart cabinet, in some embodiments, the smart cabinet first obtains the geographical location of the smart cabinet from the management platform, and sends a time acquisition request to the management platform based on the geographical location. That is, before step 201, the method may also include the following steps 2001 and 2002:
[0106] Step 2001: receiving a geographic location acquisition request sent by a smart cabinet, where the geographic location acquisition request includes a cabinet identifier of the smart cabinet;
[0107] Step 2002: According to the cabinet identification, the corresponding geographical location is searched in the correspondence between the cabinet identification and the geographical location, and the searched geographical location is sent to the smart cabinet.
[0108] Furthermore, in order to achieve unified management of the geographical locations of smart cabinets at different locations, in some embodiments, when the smart cabinet obtains its own geographical location through a preset application, it sends a save request to the management platform. Accordingly, the method may also include the following steps C1 to C3:
[0109] Step C1, receiving a save request sent by a smart cabinet, wherein the save request includes a geographical location of the smart cabinet and a cabinet identifier, and the geographical location is obtained by the smart cabinet through a preset application.
[0110] Step C2: if a corresponding geographical location is found in the correspondence between the cabinet identifier and the geographical location according to the cabinet identifier, the found geographical location is updated to the geographical location included in the save request.
[0111] Step C3: if the corresponding geographical location is not found in the correspondence between the cabinet identification and the geographical location according to the cabinet identification, a correspondence between the cabinet identification and the geographical location is established.
[0112] It is understandable that when the management platform fails to find the corresponding geographical location in the correspondence between the cabinet identification and the geographical location according to the cabinet identification, it indicates that the smart cabinet sends a save request to the management platform for the first time; when the management platform finds the corresponding geographical location in the correspondence between the cabinet identification and the geographical location according to the cabinet identification, it indicates that the smart cabinet does not send a save request to the management platform for the first time. Therefore, maintaining the geographical location of the smart cabinet through the management platform not only realizes the unified management of the geographical location of the smart cabinet, but also can provide guarantee for accurately adjusting the working parameters of the light-emitting components of the smart cabinet.
[0113] Corresponding to the above-mentioned embodiment of the parameter adjustment method, the present application also provides an embodiment of a parameter adjustment device. Figure 7 is a schematic diagram of a parameter adjustment device according to an exemplary embodiment. The device can be configured in Figure 1 The device is used to execute the parameter adjustment method applied to the smart cabinet provided in any of the above embodiments, such as Figure 7 As shown, the parameter adjustment device comprises:
[0114] The first acquisition module 301 is used to acquire the day and night information of the location of the smart cabinet and the light intensity of the environment where the smart cabinet is located.
[0115] The first determination module 302 is used to determine the target operating parameters of the light-emitting component according to the day and night information, the light intensity and the pre-acquired lighting configuration data.
[0116] The adjustment module 303 is used to adjust the current working parameters of the light-emitting component to the target working parameters; the recognition time of the information code corresponding to the target working parameters is lower than the recognition time of the information code corresponding to the current working parameters.
[0117] In some implementations, the first determining module 302 is specifically configured to:
[0118] Determine the target time period to which the current system time of the smart cabinet belongs; the target time period is the first time period or the second time period corresponding to the day and night information, and the ambient light brightness of the first time period is greater than the ambient light brightness of the second time period.
[0119] According to the target time period and light intensity, the target operating parameters of the light-emitting component are obtained in the lighting configuration data.
[0120] In some implementations, the first determining module 302 is further specifically configured to:
[0121] A target light intensity matching the light intensity among the plurality of reference light intensities is determined.
[0122] The operating parameters corresponding to the target light intensity and the target time period are determined as the target operating parameters of the light-emitting component.
[0123] In some implementations, the first determining module 302 is further specifically configured to:
[0124] If the multiple reference light intensities include a reference light intensity that is the same as the light intensity of the environment in which the smart cabinet is located, the reference light intensity that is the same as the light intensity among the multiple reference light intensities is determined as the target light intensity that matches the light intensity.
[0125] If the multiple benchmark light intensities do not include the light intensity of the environment in which the smart cabinet is located, determine the candidate light intensities among the benchmark light intensities that are less than the light intensity of the environment in which the smart cabinet is located, and determine the maximum light intensity among the candidate light intensities as the target light intensity that matches the light intensity of the environment in which the smart cabinet is located.
[0126] In some implementations, the device further includes: a second acquisition module, a second determination module, and a third determination module.
[0127] The second acquisition module is used to obtain, for each of the multiple reference light intensities, a target recognition time corresponding to each of the multiple preset working parameters under the reference light intensity and the target time period before the first determination module 302 determines the target light intensity that matches the light intensity of the environment in which the smart cabinet is located among the multiple reference light intensities; the target recognition time includes the recognition time of the information code from multiple angles.
[0128] The second determination module is used to determine the average recognition time and the recognition time variance corresponding to each preset working parameter according to the target recognition time.
[0129] The third determination module is used to determine the target working parameter corresponding to the reference light intensity and the target time period according to the average recognition time and the recognition time variance corresponding to each preset working parameter.
[0130] In some embodiments, the target operating parameter includes an operating parameter corresponding to the first time period or an operating parameter corresponding to the second time period; the operating parameter includes luminous brightness and flickering frequency.
[0131] Under the same light intensity, the luminous brightness corresponding to the first time period is smaller than the luminous brightness corresponding to the second time period; the flickering frequency corresponding to the first time period is smaller than the flickering frequency corresponding to the second time period.
[0132] In some implementations, the first acquisition module 301 is specifically used to:
[0133] Get the geographic location of the smart cabinet.
[0134] Based on the geographical location, obtain the day and night information of the location of the smart cabinet.
[0135] In some implementations, the first acquisition module 301 is further specifically configured to:
[0136] According to the cabinet identification of the smart cabinet, a geographic location acquisition request is sent to the management platform; the geographic location acquisition request is used to request the management platform to query the corresponding geographic location according to the cabinet identification.
[0137] Receive the geographic location sent by the management platform.
[0138] In some implementations, the device further includes: an updating module.
[0139] The first acquisition module 301 is specifically used for: sending a time acquisition request to the management platform according to the geographical location; if the day and night information of the geographical location sent by the management platform is not received, reading the day and night information of the geographical location from the designated storage area; the day and night information in the designated storage area is acquired and updated when the working parameters of the light-emitting component were adjusted last time.
[0140] The updating module is used to update the day and night information in the designated storage area according to the acquired day and night information after the first acquiring module 301 acquires the day and night information of the location of the smart cabinet.
[0141] The parameter adjustment device provided in the embodiment of the present application and the parameter adjustment method provided in the embodiment of the present application are based on the same inventive concept and have the same beneficial effects as the methods adopted, operated or implemented therein.
[0142] The implementation process of the functions and effects of each module in the above-mentioned device is specifically described in the implementation process of the corresponding steps in the above-mentioned method, which will not be repeated here.
[0143] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can refer to the partial description of the method embodiments. The device embodiments described above are merely schematic, wherein the modules described as separate components may or may not be physically separated, and the components illustrated as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present application. A person of ordinary skill in the art may understand and implement it without creative work.
[0144] Corresponding to the above-mentioned embodiment of the parameter adjustment method, the present application also provides an embodiment of a parameter adjustment device. Figure 8 is a schematic diagram of a parameter adjustment device according to an exemplary embodiment. The device can be configured in Figure 1 The device is used to execute the parameter adjustment method applied to the management platform provided in any of the above embodiments, such as Figure 8 As shown, the parameter adjustment device comprises:
[0145] The receiving module 401 is used to receive a time acquisition request sent by a smart cabinet, where the time acquisition request includes a geographical location of the smart cabinet.
[0146] The query module 402 is used to query the day and night information corresponding to the geographical location.
[0147] The sending module 403 is used to send the day and night information to the smart cabinet; the day and night information is used by the smart cabinet to determine the target working parameters of the light-emitting components of the smart cabinet in combination with the light intensity of the environment in which the smart cabinet is located and the pre-acquired lighting configuration data, and adjust the current working parameters of the light-emitting components to the target working parameters; the light-emitting components are used to illuminate the information code of the smart cabinet, and the recognition time of the information code corresponding to the target working parameters is lower than the recognition time of the information code corresponding to the current working parameters.
[0148] In some implementations, the receiving module 401 is further configured to:
[0149] A geographic location acquisition request sent by a smart cabinet is received; the geographic location acquisition request includes a cabinet identifier of the smart cabinet.
[0150] According to the cabinet identification, the corresponding geographical location is searched in the correspondence between the cabinet identification and the geographical location, and the searched geographical location is sent to the smart cabinet.
[0151] In some embodiments, the apparatus further comprises: an update module;
[0152] The receiving module 401 is further used to receive a save request sent by the smart cabinet, where the save request includes the geographical location of the smart cabinet and a cabinet identifier, and the geographical location is obtained by the smart cabinet through a preset application.
[0153] The update module is used to update the queried geographical location to the geographical location included in the save request if the corresponding geographical location is queried in the corresponding relationship according to the cabinet identification; if the corresponding geographical location is not queried in the corresponding relationship according to the cabinet identification, establish the corresponding relationship between the cabinet identification and the geographical location.
[0154] The parameter adjustment device provided in the embodiment of the present application and the parameter adjustment method provided in the embodiment of the present application are based on the same inventive concept and have the same beneficial effects as the methods adopted, operated or implemented therein.
[0155] The implementation process of the functions and effects of each module in the above-mentioned device is specifically described in the implementation process of the corresponding steps in the above-mentioned method, which will not be repeated here.
[0156] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can refer to the partial description of the method embodiments. The device embodiments described above are merely schematic, wherein the modules described as separate components may or may not be physically separated, and the components illustrated as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present application. A person of ordinary skill in the art may understand and implement it without creative work.
[0157] Corresponding to the above-mentioned embodiment of the parameter adjustment method, the present application also provides an embodiment of the parameter adjustment system. Fig. 9 FIG. 1 is a schematic diagram showing a structure of a parameter adjustment system according to an exemplary embodiment. Fig. 9 As shown, the parameter adjustment system includes: a smart cabinet 501 and a management platform 502 , wherein the smart cabinet 501 includes a light-emitting component 5011 and an information code 5012 illuminated by the light-emitting component 5011 .
[0158] The smart cabinet 501 is used to send a time acquisition request to the management platform 502, and receive the day and night information of the smart cabinet sent by the management platform 502; and obtain the light intensity of the environment in which the smart cabinet 501 is located; determine the target working parameters of the light-emitting component 5011 of the smart cabinet 501 according to the day and night information, light intensity and pre-acquired lighting configuration data; adjust the current working parameters of the light-emitting component 5011 to the target working parameters; the recognition time of the information code corresponding to the target working parameters is lower than the recognition time of the information code corresponding to the current working parameters.
[0159] The management platform 502 is used to receive a time acquisition request sent by the smart cabinet 501 , query the day and night information according to the geographical location of the smart cabinet 501 included in the time acquisition request, and send the day and night information to the smart cabinet 501 .
[0160] The parameter adjustment system provided in the embodiment of the present application and the parameter adjustment method provided in the embodiment of the present application are based on the same inventive concept and have the same beneficial effects as the methods adopted, operated or implemented therein.
[0161] It is understandable that the division of the above modules is only a division of logical functions. In actual implementation, the functions of the above modules can be integrated into hardware entities. For example, the functions of the first acquisition module 301, the receiving module 401 and the sending module 403 can be integrated into a transceiver, and the functions of the first determination module 302, the adjustment module 303 and the query module 402 can be integrated into a processor.
[0162] Based on this, some embodiments of the present application further provide an electronic device corresponding to the parameter adjustment method provided in the aforementioned embodiment, and the electronic device can be configured as follows: Figure 1 The smart cabinet or management platform shown is used to execute the above parameter adjustment method.
[0163] Fig.10 6 is a hardware structure diagram of an electronic device according to an exemplary embodiment, the electronic device includes: a communication interface 601, a processor 602, a memory 603 and a bus 604; wherein the communication interface 601, the processor 602 and the memory 603 communicate with each other through the bus 604. The processor 602 can execute the parameter adjustment method described above by reading and executing the machine executable instructions corresponding to the control logic of the parameter adjustment method in the memory 603. The specific content of the method is referred to the above embodiment, which will not be repeated here.
[0164] The memory 603 mentioned in the embodiment of the present application can be any electronic, magnetic, optical or other physical storage device, and can contain storage information, such as executable instructions, data, etc. Specifically, the memory 603 can be RAM (Random Access Memory), flash memory, storage drive (such as hard disk drive), any type of storage disk (such as optical disk, DVD, etc.), or similar storage medium, or a combination thereof. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 601 (which can be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. can be used.
[0165] The bus 604 may be an ISA bus, a PCI bus or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The memory 603 is used to store programs, and the processor 602 executes the programs after receiving execution instructions.
[0166] Processor 602 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in processor 602 or an instruction in software form. The above-mentioned processor 602 can be a general-purpose processor, including a network processor (Network Processor, referred to as NP), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a readily available programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware controls, etc. The disclosed methods, steps and logic block diagrams in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiments of the present application can be directly embodied as a hardware decoding processor to execute, or the hardware and software modules in the decoding processor are combined to execute.
[0167] The electronic device provided in the embodiment of the present application and the parameter adjustment method provided in the embodiment of the present application are based on the same inventive concept and have the same beneficial effects as the methods adopted, operated or implemented therein.
[0168] The present application also provides a computer-readable storage medium corresponding to the parameter adjustment method provided in the above embodiment. Fig.11 As shown, the computer-readable storage medium shown is a CD 70 on which a computer program (ie, a program product) is stored. When the computer program is run by a processor, the parameter adjustment method provided by any of the aforementioned embodiments will be executed.
[0169] It should be noted that examples of the computer-readable storage medium may also include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other optical or magnetic storage media, which are not listed here one by one.
[0170] The computer-readable storage medium provided in the above-mentioned embodiments of the present application and the parameter adjustment method provided in the embodiments of the present application are based on the same inventive concept and have the same beneficial effects as the methods adopted, run or implemented by the application programs stored therein.
[0171] An embodiment of the present application also provides a computer program product corresponding to the parameter adjustment method provided in the aforementioned embodiment. The computer program product includes a computer program, and the computer program is executed by a processor to implement the parameter adjustment method provided in the aforementioned embodiment.
[0172] The computer program product provided by the above-mentioned embodiments of the present application and the parameter adjustment method provided by the embodiments of the present application are based on the same inventive concept and have the same beneficial effects as the method adopted, run or implemented by the application program stored therein.
[0173] The solutions in this application specification and embodiments, if they involve the processing of personal information, will be processed on the premise of having a legal basis (such as obtaining the consent of the subject of personal information, or being necessary for the performance of a contract, etc.), and will only be processed within the scope of regulations or agreements. If a user refuses to process personal information other than the necessary information for basic functions, it will not affect the user's use of basic functions.
[0174] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the claims.
[0175] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0176] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.
Claims
1. A parameter adjustment method, characterized in that: Applied to a smart cabinet, the smart cabinet includes a light-emitting component and an information code illuminated by the light-emitting component, and the method includes: Obtaining the day and night information of the location of the smart cabinet and the light intensity of the environment where the smart cabinet is located; Determining target operating parameters of the light emitting assembly according to the day and night information, the light intensity and pre-acquired lighting configuration data; The current operating parameters of the light-emitting component are adjusted to the target operating parameters; the recognition time of the information code corresponding to the target operating parameters is lower than the recognition time of the information code corresponding to the current operating parameters.
2. The method according to claim 1, characterized in that: Determining the target operating parameters of the light emitting component according to the day and night information, the light intensity and the pre-acquired lighting configuration data includes: Determine the target time period to which the current system time of the smart cabinet belongs; the target time period is the first time period or the second time period corresponding to the day and night information, and the ambient light brightness of the first time period is greater than the ambient light brightness of the second time period; According to the target time period and the light intensity, target operating parameters of the light emitting component are obtained in the lighting configuration data.
3. The method according to claim 2, characterized in that The lighting configuration data includes a plurality of reference light intensities, and obtaining the target operating parameters of the light emitting component in the lighting configuration data according to the target time period and the light intensity, comprises: Determine a target light intensity among the plurality of reference light intensities that matches the light intensity; The target light intensity and the operating parameters corresponding to the target time period are determined as the target operating parameters of the light-emitting component.
4. The method according to claim 3, characterized in that: The determining of a target light intensity matching the light intensity among the plurality of reference light intensities comprises: If the multiple reference light intensities include a reference light intensity that is the same as the light intensity, determining the reference light intensity that is the same as the light intensity among the multiple reference light intensities as the target light intensity that matches the light intensity; If the light intensity is not included in the multiple reference light intensities, candidate light intensities smaller than the light intensity are determined among the reference light intensities, and the maximum light intensity among the candidate light intensities is determined as the target light intensity matching the light intensity.
5. The method according to claim 3 or 4, characterized in that: Before determining the target light intensity matching the light intensity among the multiple reference light intensities, the method further includes: For each of the multiple reference light intensities, obtaining a target recognition time corresponding to each of the multiple preset working parameters under the reference light intensity and the target time period; the target recognition time includes recognition time for recognizing the information code from multiple angles; According to the target recognition time, determining the average recognition time and the recognition time variance corresponding to each of the preset working parameters; The reference light intensity and the target working parameter corresponding to the target time period are determined according to the average recognition time and the recognition time variance corresponding to each of the preset working parameters.
6. The method according to any one of claims 1 to 4, characterized in that: The obtaining of the day and night information of the location of the smart cabinet includes: Obtaining the geographical location of the smart cabinet; According to the geographical location, the day and night information of the location of the smart cabinet is obtained.
7. The method according to claim 6, characterized in that The acquiring the day and night information of the location of the smart cabinet according to the geographical location includes: Sending a time acquisition request to the management platform according to the geographical location; If the day and night information of the geographical location sent by the management platform is not received, the day and night information of the geographical location is read from the designated storage area; the day and night information in the designated storage area is obtained and updated when the working parameters of the light-emitting component were adjusted last time; After obtaining the day and night information of the location of the smart cabinet, the method further includes: The day and night information in the designated storage area is updated according to the acquired day and night information.
8. A parameter adjustment method, characterized in that: Applied to a management platform, the method comprises: Receiving a time acquisition request sent by a smart cabinet, wherein the time acquisition request includes a geographical location of a location of the smart cabinet; Query the day and night information corresponding to the geographical location, and send the day and night information to the smart cabinet; the day and night information is used by the smart cabinet to determine the target working parameters of the light-emitting components of the smart cabinet in combination with the light intensity of the environment in which the smart cabinet is located and the pre-acquired lighting configuration data, and adjust the current working parameters of the light-emitting components to the target working parameters; the light-emitting components are used to illuminate the information code of the smart cabinet, and the recognition time of the information code corresponding to the target working parameters is lower than the recognition time of the information code corresponding to the current working parameters.
9. A parameter adjustment system, characterized in that: The system comprises: a smart cabinet and a management platform, wherein the smart cabinet comprises a light-emitting component and an information code illuminated by the light-emitting component; The smart cabinet is used to send a time acquisition request to the management platform and receive the day and night information of the smart cabinet sent by the management platform; and obtain the light intensity of the environment where the smart cabinet is located; determine the target working parameters of the light-emitting component of the smart cabinet according to the day and night information, the light intensity and the pre-acquired lighting configuration data; adjust the current working parameters of the light-emitting component to the target working parameters; the recognition time of the information code corresponding to the target working parameters is lower than the recognition time of the information code corresponding to the current working parameters; The management platform is used to receive the time acquisition request sent by the smart cabinet, query the day and night information according to the geographical location of the smart cabinet included in the time acquisition request, and send the day and night information to the smart cabinet.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: The processor executes the program to implement the method according to any one of claims 1 to 7, or to implement the method according to claim 8.
