CN113205780A - Adaptation method and system for integrated I2C light sensing module of all-in-one machine - Google Patents

Adaptation method and system for integrated I2C light sensing module of all-in-one machine Download PDF

Info

Publication number
CN113205780A
CN113205780A CN202110414108.5A CN202110414108A CN113205780A CN 113205780 A CN113205780 A CN 113205780A CN 202110414108 A CN202110414108 A CN 202110414108A CN 113205780 A CN113205780 A CN 113205780A
Authority
CN
China
Prior art keywords
light sensing
module
sensing module
light
machine
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110414108.5A
Other languages
Chinese (zh)
Other versions
CN113205780B (en
Inventor
黎小辉
郑泽龙
吴小瑶
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Lango Electronic Science and Technology Co Ltd
Original Assignee
Guangzhou Lango Electronic Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Lango Electronic Science and Technology Co Ltd filed Critical Guangzhou Lango Electronic Science and Technology Co Ltd
Priority to CN202110414108.5A priority Critical patent/CN113205780B/en
Publication of CN113205780A publication Critical patent/CN113205780A/en
Application granted granted Critical
Publication of CN113205780B publication Critical patent/CN113205780B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/34Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
    • G09G3/3406Control of illumination source
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Abstract

The invention relates to an adaptation method and system for an integrated I2C light sensing module. In the adaptation method of the integrated I2C light sensing module of the all-in-one machine, the all-in-one machine comprises an automatic backlight module and a control module which are electrically connected, the light sensing module is connected with the control module through an I2C circuit, and the method comprises the following steps: acquiring basic parameters of the light sensing module; obtaining configuration parameters of the light sensing module through online debugging according to the basic parameters; the automatic backlight module is initialized based on the configuration parameters. According to the method and the system for integrating the I2C light sensing modules into the all-in-one machine, after a new light sensing module is connected into the system, the control module automatically identifies basic parameters of the light sensing module, so that configuration is obtained, the effect of initializing the automatic backlight module so as to enable the new light sensing module to be matched with the automatic backlight module is achieved, and convenience and rapidness are achieved.

Description

Adaptation method and system for integrated I2C light sensing module of all-in-one machine
Technical Field
The invention relates to electronic equipment, in particular to an adaptation method and system for an integrated I2C light-sensing module of an all-in-one machine.
Background
All-in-one equipment has a common function: an automatic backlight function. The function needs to use a light sensing equipment module, the intensity of the ambient light is obtained through the light sensing equipment module, and then the backlight brightness is correspondingly adjusted according to the configured mapping relation between the light intensity and the backlight brightness.
The common light sensing device module uses an I2C interface to communicate with a host computer. The host can send a command to the light sensing module through the I2C, and can also read the light sensing value detected by the current light sensing device module through the I2C. Different light sensitivity values correspond to different light intensities. Therefore, the light intensity of the current environment is determined by the read light sensation value on the integrated machine side. And then calling the backlight brightness value of the display set by the platform according to the preset mapping relation between the light sensitivity value and the backlight brightness, and finally realizing the automatic backlight function.
In order to use a certain type of I2C light-sensing equipment module on the all-in-one machine, corresponding configuration needs to be carried out on software, and the module is adapted and integrated. Different light sensing device modules have different device addresses, function register addresses, register address lengths, data lengths and the like. And these can be obtained by querying DATASHEET of the light sensing device module. However, the conventional solution has the following disadvantages:
1. each time a new light sensing module is introduced, the code needs to be modified to increase the support of the light sensing module;
2. the light sensing module used by the all-in-one machine equipment is replaced. The main firmware adapted to the light sensing module needs to be provided again;
3. one firmware cannot be compatible with a plurality of adapted light sensing modules.
Therefore, the existing all-in-one machine has defects in replacement and compatibility of the light sensing module, and needs to be improved and enhanced.
Disclosure of Invention
In view of the defects of the prior art, the invention aims to provide an adaptation method and an adaptation system for an all-in-one integrated I2C light sensing module, which are used for solving the problem that codes are required to be modified when a new light sensing module is introduced every time in the prior art, and can achieve the purpose of automatically tuning and teaching an automatic backlight module after the new light sensing module is connected into a whole.
In order to achieve the purpose, the invention adopts the following technical scheme:
an adaptation method for an integrated I2C light sensing module of an all-in-one machine, the all-in-one machine comprises an automatic backlight module and a control module which are electrically connected, the light sensing module is connected with the control module through an I2C circuit, and the method comprises the following steps:
acquiring basic parameters of the light sensing module;
obtaining configuration parameters of the light sensing module through online debugging according to the basic parameters;
the automatic backlight module is initialized based on the configuration parameters.
Further, in the adaptation method of the all-in-one machine integrated I2C light sensing module, the basic parameters include the equipment model of the light sensing module; the configuration parameters of the light sensing module obtained through online debugging specifically comprise:
s21, inquiring a test instruction on line according to the equipment model;
s22, sending a test instruction to the light sensing module to judge whether the light sensing module is normal, if so, executing a step S23; if not, go to step S21;
and S23, acquiring configuration parameters of the light sensing module based on the equipment model.
Further, in the adaptation method of the all-in-one machine integrated I2C light sensation module, the configuration parameters include a light intensity and light sensation value corresponding relation table; the initializing the automatic backlight module based on the configuration parameters specifically includes:
and recording the corresponding relation table of the light intensity and light sensation values into the automatic backlight module.
Further, the adaptation method of the all-in-one machine integrated I2C light sensing module comprises the following working processes:
receiving the current light sensation value detected by the light sensation module at preset time intervals;
judging whether the current light sensation value is the same as the previous light sensation value or not, and if so, saving the current light sensation value as the previous light sensation value; if not, setting the backlight brightness corresponding to the current light sensation value, and storing the current light sensation value as the previous light sensation value.
Further, the all-in-one machine integrates the adaptation method of the I2C light sensing module, and the all-in-one machine is provided with a plurality of light sensing interfaces of different types and is used for adapting and connecting various types of light sensing modules.
An adaptive system using the method for integrating the I2C light sensing module by the all-in-one machine comprises an automatic backlight module and a control module which are electrically connected, wherein the light sensing module is connected with the control module through an I2C circuit;
the control module is used for detecting and acquiring basic parameters of the light sensing module and obtaining configuration parameters of the light sensing module through online debugging according to the basic parameters; initializing an automatic backlight module based on the configuration parameters;
and the automatic backlight module is used for automatically adjusting the backlight brightness of the integrated machine.
In the adaptive system, the control module comprises a detection unit, an initialization and configuration unit, a read-write unit, a processing unit and a communication unit; the detection unit, the initialization and configuration unit, the read-write unit and the communication unit are respectively connected with the processing unit;
the detection unit is used for detecting the equipment model of the light sensing module;
the initialization and configuration unit is used for initializing the automatic backlight module;
the reading and writing unit is used for carrying out data interaction with the light sensing module;
the communication unit is used for connecting a network;
and the processing unit is used for realizing the functions of the control module.
Further, the adaptation system is characterized in that the all-in-one machine is provided with a plurality of light sensing interfaces of different types, and the light sensing interfaces are used for being adapted and connected with a plurality of types of light sensing modules.
An electronic device, comprising:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method.
Compared with the prior art, the adaptation method and the adaptation system for the all-in-one machine integrated I2C light sensing module have the following beneficial effects:
according to the method and the system for integrating the I2C light sensing modules into the all-in-one machine, after a new light sensing module is connected into the system, the control module automatically identifies basic parameters of the light sensing module, so that configuration is obtained, the effect of initializing the automatic backlight module so as to enable the new light sensing module to be matched with the automatic backlight module is achieved, and convenience and rapidness are achieved.
Drawings
FIG. 1 is a flow chart of an adaptation method provided by the present invention;
FIG. 2 is a flow chart of obtaining configuration parameters of the light sensing module according to the present invention;
FIG. 3 is a flow chart of the operation of the automatic backlight module provided by the present invention;
FIG. 4 is a block diagram of the architecture of the adaptation system provided by the present invention;
fig. 5 is a block diagram of a structure of a computer-readable storage medium provided by the present invention.
Detailed Description
In order to make the objects, technical solutions and effects of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
It is to be understood by those skilled in the art that the foregoing general description and the following detailed description are exemplary and explanatory of specific embodiments of the invention, and are not intended to limit the invention.
The terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process or method that comprises a list of steps does not include only those steps, but may include other steps not expressly listed or inherent to such process or method. Also, without further limitation, one or more devices or subsystems, elements or structures or components beginning with "comprise. The appearances of the phrases "in one embodiment," "in another embodiment," and similar language throughout this specification may, but do not necessarily, all refer to the same embodiment.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
Referring to fig. 1, the present invention provides an adapting method for an integrated I2C light sensing module of an all-in-one machine, the all-in-one machine includes an automatic backlight module and a control module electrically connected, the light sensing module is connected with the control module through an I2C circuit, specifically, the all-in-one machine comprises a photocopy all-in-one machine and a computer all-in-one machine, and the computer all-in-one machine is further preferably selected, generally, the all-in-one machine is required to be capable of adjusting the brightness according to the light intensity of the surrounding environment, when the brightness of the surrounding environment is stronger, the brightness is adjusted to be higher, otherwise, the brightness is adjusted to be lower, the automatic backlight module is used for adjusting the brightness of the all-in-one machine, therefore, the light sensing module is required to detect the light intensity of the surrounding environment, the general all-in-one machine obtains the light sensing value data of the light sensing module through the control module, then the light is transmitted to the automatic backlight module, and the automatic backlight module adjusts the brightness according to the light sensation value; in the use of the light sensing module, equipment replacement may be required, so that the installation and replacement of a new light sensing module are required to be adapted to the all-in-one machine, and the current adaptation method has certain defects, so that the invention provides an adaptation method, which comprises the following steps:
s1, acquiring basic parameters of the light sensing module; specifically, the basic parameters are data representing the identification of the light sensing module, are burnt in the light sensing module when the light sensing module leaves a factory, and can be detected by the processor to be used as the unique identification of each light sensing module; it should be noted that the method for obtaining the basic parameters may use a known technical scheme, and is not particularly limited.
S2, obtaining configuration parameters of the light sensing module through online debugging according to the basic parameters; specifically, after the basic parameters of the light sensing module are determined, the configuration parameters of the light sensing module can be obtained through online query through a network, and a searching method is not limited, and data which can be queried by the light sensing module in a public or non-public manner is taken as the standard. The configuration parameters are operation parameters of the light sensing module, namely data such as rated voltage, rated current, rated power, detection range, data expression mode (for example, light intensity is expressed by 0-100) and the like of the light sensing module in operation, and the obtained data can be adapted to corresponding power or corresponding comparison relation.
As a preferable scheme, please refer to fig. 2, in this embodiment, the basic parameter includes an equipment model of the light sensing module; the configuration parameters of the light sensing module obtained through online debugging specifically comprise:
s21, inquiring a test instruction on line according to the equipment model;
s22, sending a test instruction to the light sensing module to judge whether the light sensing module is normal, if so, executing a step S23; if not, go to step S21;
and S23, acquiring configuration parameters of the light sensing module based on the equipment model.
Specifically, the configuration parameters of the light sensing module are obtained through two steps, in the first step, a test instruction of the light sensing module is obtained firstly, the test instruction is used for testing whether the light sensing module and the processor can perform data exchange and use with each other through the processor, and when the test instruction can be sent normally, the light sensing module is judged to be capable of working normally; secondly, acquiring configuration parameters of the light sensing module on the basis that the light sensing module can work normally; the two-step debugging has the effect that the light sensing module cannot be normally used without obtaining configuration parameters as long as the configured light sensing module can normally work.
And S3, initializing the automatic backlight module based on the configuration parameters. Preferably, the automatic backlight module receives the light sensing value detected by the light sensing module, so as to judge whether the current ambient light intensity changes, and adjust the brightness according to the change; therefore, the automatic backlight module can be normal only by knowing the configuration parameters of the light sensing module; initializing the automatic backlight module based on the configuration parameters specifically means: for example, in the use process of the all-in-one machine, because the old light sensing module fails, a new light sensing module is replaced, and at the moment, the working parameters in the automatic backlight module are taught by the configuration parameters of the old light sensing module, if no adaptation exists, the detection value of the new light sensing module is directly called, and at the moment, value domain mismatching (for example, the value domain of the old light sensing module is 0-100 output light sensing values, and the value domain of the new light sensing module is 50-200 output light sensing values) possibly occurs, so that backlight adjustment is abnormal, and the brightness of the all-in-one machine cannot be adjusted normally. By using the adaptation method provided by the invention, the problems are effectively solved, the working parameters of the automatic backlight module can be adjusted according to the configuration parameters of the new light sensing module after the light sensing module is replaced every time, and the method is convenient and quick.
As a preferred scheme, in this embodiment, the configuration parameters include a light intensity and light sensation value corresponding relation table; the initializing the automatic backlight module based on the configuration parameters specifically includes:
and recording the corresponding relation table of the light intensity and light sensation values into the automatic backlight module. Specifically, the recording operation may be to perform data adjustment on a data storage location in the control module corresponding to the driving of the automatic backlight module, or may be to directly record the light intensity and light sensation value corresponding relation table into the automatic backlight module for adjustment, without specific limitation; when the automatic backlight module has a fixed value range requirement (that is, the corresponding relation table of the light intensity and light sensation values in the automatic backlight module is fixed and cannot be adjusted, for example, the light sensation value 1-100 corresponds to the output brightness of 1-100 brightness units, and the brightness units can set the specification of the integrated machine by themselves or use international units without limitation aiming at the brightness output by the integrated machine), only the stored working parameters in the control module are adjusted to be the optimal scheme, and at the moment, the control module performs corresponding conversion after receiving the light sensation value data of the light sensation module and converts the light sensation value data into a value range matched with the automatic backlight module; when the working value range of the automatic backlight module can be adjusted (for example, the working parameter of the automatic backlight module is that the output brightness corresponding to the light sensation value of 1-100 is 1-100 brightness units, and can be modified to that the output brightness corresponding to the light sensation value of 50-200 is 1-100 brightness units), the automatic backlight module can normally work no matter the control module is modified or the automatic backlight module is modified.
As a preferred solution, please refer to fig. 3, in this embodiment, the working process of the automatic backlight module includes:
s41, receiving the current light sensation value detected by the light sensation module at preset time intervals; specifically, the predetermined time may be set freely, preferably 10 to 50ms, and of course, other times may be selected without limitation; it should be understood that the predetermined time may be set periodically, that is, when the light intensity of the surrounding environment does not change at a plurality of consecutive detection time points, the predetermined time may be slightly extended, for example, from 10ms to 30ms, and when the change of the light intensity of the surrounding environment occurs, the predetermined time may be shortened, for example, from 30ms to 10 ms. Step S42 is performed once after each test.
S42, judging whether the current light sensation value is the same as the previous light sensation value or not, and if so, saving the current light sensation value as the previous light sensation value; if not, setting the backlight brightness corresponding to the current light sensation value, and storing the current light sensation value as the previous light sensation value.
Referring to fig. 4, the invention further provides an adaptive system using the method of integrating the I2C light sensing module in the all-in-one machine, which includes an automatic backlight module and a control module electrically connected to each other, wherein the light sensing module is connected to the control module through an I2C circuit;
the control module is used for detecting and acquiring basic parameters of the light sensing module and obtaining configuration parameters of the light sensing module through online debugging according to the basic parameters; initializing an automatic backlight module based on the configuration parameters;
and the automatic backlight module is used for automatically adjusting the backlight brightness of the integrated machine. Specifically, the automatic backlight module maps the backlight brightness according to the light sensation value, and automatically adjusts the backlight brightness of the display of the all-in-one machine.
Specifically, the invention provides an I2C light-sensing module which can be compatible with multiple types of matched I2C light-sensing modules by using a firmware (namely, an all-in-one machine internal firmware), and the firmware can automatically identify the light-sensing module used by the all-in-one machine. Preferably, in this embodiment, the all-in-one machine has a plurality of different types of light sensing interfaces for adapting to and connecting a plurality of types of light sensing modules. Preferably, the light sensing interface is a hardware interface, including but not limited to a connector, that is, the light sensing module is connected to the all-in-one machine by using the connector, and certainly, the connectors used by the light sensing module are not necessarily uniform, so that the all-in-one machine has multiple connector interfaces enough to adapt to the connection of multiple light sensing modules.
Specifically, the configuration file of the light sensing module needs to include a parameter set (i.e. a configuration parameter set):
1) the light sensing device module is connected to the I2C channel of the host computer in hardware, and generally has a plurality of I2C channels;
2) the equipment address of the light sensing module comprises a reading address and a writing address;
3) the test instruction of the light sensing module can confirm whether the equipment exists or not; such as obtaining a photo-sensing module device ID, or other instructions that may be used to validate the device;
4) starting a register address of the light sensing module and the length of the register address; some light sensing modules need to send a specified instruction to work, if not, the light sensing equipment can work after being electrified, and the situation can be left blank;
5) the light sensing module reads the register address of the light sensing value, the length of the register address and the length of the light sensing data.
Specifically, the all-in-one machine is communicated with the light sensing module, and reads and writes parameters required by the instruction through an I2C bus:
1. the host gives the I2C channel used by the light sensing module;
2. reading addresses of the light sensing modules;
3. writing an address of the light sensing module;
4. the function register address of the light sensing module, the register address length and the data length. In bytes.
Specifically, the all-in-one machine reads and writes the general format of the I2C instruction to the slave device (for example, the light-sensing module, which in this embodiment can be considered as the data instruction format between the processing module and the light-sensing module):
1. reading instructions: i2c _ read i2c channel device address register address length data length;
2. writing instructions: i2c _ write i2c channel device address register address length data.
Preferably, in this embodiment, the control module includes a detection unit,
The device comprises an initialization and configuration unit, a read-write unit, a processing unit and a communication unit; the detection unit, the initialization and configuration unit, the read-write unit and the communication unit are respectively connected with the processing unit; specifically, the detection unit, the initialization and configuration unit, and the read/write unit all use detection circuits commonly used in the art, and are not limited.
The detection unit is used for detecting the equipment model of the light sensing module;
the initialization and configuration unit is used for initializing the automatic backlight module; the specific function of the method is to obtain configuration parameters from the processing unit, and initialize the automatic backlight module based on the configuration parameters, and the specific process may refer to the adaptation method described above, which is not described herein again.
The reading and writing unit is used for carrying out data interaction with the light sensing module; the processing unit and the light sensing module can receive or send corresponding processing data, normal sending of a test instruction and normal reading of a light sensing value of the light sensing module are guaranteed, and the processing unit is related to a main chip platform used by the all-in-one machine and comprises but is not limited to an ADC channel and an I/O channel.
The communication unit is used for connecting a network; specifically, the communication unit includes but is not limited to WiFi, 3G/4G/5G communication.
And the processing unit is used for realizing the functions of the control module. Further, the MCU or the CPU is preferable, and is not particularly limited, and a built-in processor of the all-in-one machine may be used, or a separate processor may be used.
When a new light sensing module needs to be supported, relevant parameters can be confirmed in an online debugging mode, and then a uniform light sensing module configuration file is updated. The light sensing module can be integrated.
The present invention also provides an electronic device comprising:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method.
Referring to fig. 5, the present invention further provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor implements the method. In particular, the technical solution of the present application may be substantially implemented or a part or all of the technical solution contributing to the prior art may be implemented in the form of a software product, which is stored in a storage medium and includes several instructions for executing all or part of the steps of the method described in the embodiments of the present application through a computer device (which may be a personal computer, a server, or a network device). And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It should be understood that equivalents and modifications of the technical solution and inventive concept thereof may occur to those skilled in the art, and all such modifications and alterations should fall within the scope of the appended claims.

Claims (10)

1. An adaptation method for an integrated I2C light sensing module of an all-in-one machine is characterized in that the all-in-one machine comprises an automatic backlight module and a control module which are electrically connected, the light sensing module is connected with the control module through an I2C circuit, and the method comprises the following steps:
acquiring basic parameters of the light sensing module;
obtaining configuration parameters of the light sensing module through online debugging according to the basic parameters;
the automatic backlight module is initialized based on the configuration parameters.
2. The adapting method of the all-in-one machine integrated I2C light sensing module as claimed in claim 1, wherein the basic parameters include the device model of the light sensing module; the configuration parameters of the light sensing module obtained through online debugging specifically comprise:
s21, inquiring a test instruction on line according to the equipment model;
s22, sending a test instruction to the light sensing module to judge whether the light sensing module is normal, if so, executing a step S23; if not, go to step S21;
and S23, acquiring configuration parameters of the light sensing module based on the equipment model.
3. The adapting method of the all-in-one machine integrated I2C light sensation module as claimed in claim 1, wherein the configuration parameters comprise a table of correspondence of light intensity and light sensation values; the initializing the automatic backlight module based on the configuration parameters specifically includes:
and recording the corresponding relation table of the light intensity and light sensation values into the automatic backlight module.
4. The adapting method of the all-in-one integrated I2C light sensing module as claimed in claim 1, wherein the automatic backlight module comprises:
receiving the current light sensation value detected by the light sensation module at preset time intervals;
judging whether the current light sensation value is the same as the previous light sensation value or not, and if so, saving the current light sensation value as the previous light sensation value; if not, setting the backlight brightness corresponding to the current light sensation value, and storing the current light sensation value as the previous light sensation value.
5. The adapting method of the all-in-one machine integrated I2C light sensing module as claimed in claim 1, wherein the all-in-one machine has a plurality of different types of light sensing interfaces for adapting and connecting a plurality of types of light sensing modules.
6. An adapting system using the method of integrating the I2C light sensing module into the all-in-one machine of any one of claims 1-5, comprising an automatic backlight module and a control module which are electrically connected, wherein the light sensing module is connected with the control module through an I2C circuit;
the control module is used for detecting and acquiring basic parameters of the light sensing module and obtaining configuration parameters of the light sensing module through online debugging according to the basic parameters; initializing an automatic backlight module based on the configuration parameters;
and the automatic backlight module is used for automatically adjusting the backlight brightness of the integrated machine.
7. An adaptation system according to claim 6, wherein the control module comprises a detection unit, an initialization and configuration unit, a read-write unit, a processing unit and a communication unit; the detection unit, the initialization and configuration unit, the read-write unit and the communication unit are respectively connected with the processing unit;
the detection unit is used for detecting the equipment model of the light sensing module;
the initialization and configuration unit is used for initializing the automatic backlight module;
the reading and writing unit is used for carrying out data interaction with the light sensing module;
the communication unit is used for connecting a network;
and the processing unit is used for realizing the functions of the control module.
8. An adapting system according to claim 6, wherein the all-in-one machine has a plurality of different types of light sensing interfaces for adapting and connecting a plurality of types of light sensing modules.
9. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-5.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-5.
CN202110414108.5A 2021-04-16 2021-04-16 Adaptive method and system for integrated I2C light sensing module of all-in-one machine Active CN113205780B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110414108.5A CN113205780B (en) 2021-04-16 2021-04-16 Adaptive method and system for integrated I2C light sensing module of all-in-one machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110414108.5A CN113205780B (en) 2021-04-16 2021-04-16 Adaptive method and system for integrated I2C light sensing module of all-in-one machine

Publications (2)

Publication Number Publication Date
CN113205780A true CN113205780A (en) 2021-08-03
CN113205780B CN113205780B (en) 2022-08-30

Family

ID=77027447

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110414108.5A Active CN113205780B (en) 2021-04-16 2021-04-16 Adaptive method and system for integrated I2C light sensing module of all-in-one machine

Country Status (1)

Country Link
CN (1) CN113205780B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179331A (en) * 2006-11-08 2008-05-14 中兴通讯股份有限公司 Automatic debugging method and system of optical module
CN103117044A (en) * 2013-01-07 2013-05-22 华为终端有限公司 Terminal backlight brightness adjusting method and terminal backlight brightness adjusting device and terminal
CN103345907A (en) * 2013-07-19 2013-10-09 国家电网公司 Automatic regulator of LED backlight optical parameters based on ambient light detection
CN106406752A (en) * 2016-08-29 2017-02-15 深圳新飞通光电子技术有限公司 Method for integrally migrating and storing batch test data by optical module
US20170094142A1 (en) * 2015-09-24 2017-03-30 Hunt Energy Enterprises, L.L.C. System and method for testing photosensitive device degradation
CN106941551A (en) * 2017-02-28 2017-07-11 努比亚技术有限公司 Mobile terminal, mobile terminal light sensation calibrating installation, method and system
CN107659359A (en) * 2017-09-15 2018-02-02 武汉光迅科技股份有限公司 Optical module and its control circuit and method
CN109787682A (en) * 2019-01-04 2019-05-21 深圳市亚派光电器件有限公司 The automatic adjustment method of optical module, device and computer-readable medium
CN112116888A (en) * 2019-06-21 2020-12-22 北京小米移动软件有限公司 Screen calibration method, calibration device and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179331A (en) * 2006-11-08 2008-05-14 中兴通讯股份有限公司 Automatic debugging method and system of optical module
CN103117044A (en) * 2013-01-07 2013-05-22 华为终端有限公司 Terminal backlight brightness adjusting method and terminal backlight brightness adjusting device and terminal
CN103345907A (en) * 2013-07-19 2013-10-09 国家电网公司 Automatic regulator of LED backlight optical parameters based on ambient light detection
US20170094142A1 (en) * 2015-09-24 2017-03-30 Hunt Energy Enterprises, L.L.C. System and method for testing photosensitive device degradation
CN106406752A (en) * 2016-08-29 2017-02-15 深圳新飞通光电子技术有限公司 Method for integrally migrating and storing batch test data by optical module
CN106941551A (en) * 2017-02-28 2017-07-11 努比亚技术有限公司 Mobile terminal, mobile terminal light sensation calibrating installation, method and system
CN107659359A (en) * 2017-09-15 2018-02-02 武汉光迅科技股份有限公司 Optical module and its control circuit and method
US10193631B1 (en) * 2017-09-15 2019-01-29 Accelink Technologies Co., Ltd. Optical module and circuit and method to control the same
CN109787682A (en) * 2019-01-04 2019-05-21 深圳市亚派光电器件有限公司 The automatic adjustment method of optical module, device and computer-readable medium
CN112116888A (en) * 2019-06-21 2020-12-22 北京小米移动软件有限公司 Screen calibration method, calibration device and storage medium

Also Published As

Publication number Publication date
CN113205780B (en) 2022-08-30

Similar Documents

Publication Publication Date Title
CN109346014B (en) Virtual reality equipment and screen control method thereof
US10656676B2 (en) Docking device, electrical device, and MAC address cloning method
CN111198795A (en) Method and device for acquiring memory temperature by substrate controller
US11615217B2 (en) Configuration update method for LED display screen, receiver card, LED display module, and LED display screen
US11495191B2 (en) Reading extended display identification data (EDID) from display device to get native resolution of display device
CN113205780B (en) Adaptive method and system for integrated I2C light sensing module of all-in-one machine
KR100607951B1 (en) Apparatus and method for controlling automatically display in multimedia system
US20220334996A1 (en) Interface switching apparatus, communication device, and interface switching method
US20170116146A1 (en) Control method and control device for a mobile terminal
CN109977044B (en) USB device enumeration detection method and system and firmware upgrading method and system
TW202139558A (en) USB charging circuit and method, chip and charger
CN110377550A (en) A kind of method and computer equipment for realizing display warm connection function
CN115766901A (en) Data transmission equipment and method of image sensor
CN105204801A (en) Information processing method and electronic equipment
CN113411531B (en) Video transmission device
CN115016360A (en) Data transmission control circuit, method, equipment and storage medium
CN109903803B (en) Method and system for testing storage module
CN115102937A (en) Server power source self-adaptive communication method, equipment and medium
CN103226479B (en) Electronic apparatus system and electronic equipment
CN112953788A (en) Network state detection method and device, BMC and storage medium
CN109658898B (en) Circuit and method for preventing error of read data and display device
CN112363966A (en) Serial port conversion circuit, base station, circuit conversion method and computer storage medium
CN112598830A (en) Intelligent terminal of gate
CN101562007A (en) Display control device capable of automatically updating firmware and update method thereof
US20190295538A1 (en) Modification of user command

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Room 238, room 406, 1 Yichuang street, Huangpu District, Guangzhou, Guangdong 510700

Applicant after: Guangzhou langguo Electronic Technology Co.,Ltd.

Address before: Room 238, room 406, 1 Yichuang street, Huangpu District, Guangzhou, Guangdong 510700

Applicant before: GUANGZHOU LANGO ELECTRONIC SCIENCE & TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant