CN115098184A - Electronic assembly and device capable of adapting to multiple electronic assemblies - Google Patents

Electronic assembly and device capable of adapting to multiple electronic assemblies Download PDF

Info

Publication number
CN115098184A
CN115098184A CN202210662012.5A CN202210662012A CN115098184A CN 115098184 A CN115098184 A CN 115098184A CN 202210662012 A CN202210662012 A CN 202210662012A CN 115098184 A CN115098184 A CN 115098184A
Authority
CN
China
Prior art keywords
module
electronic component
control module
coupled
configuration information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210662012.5A
Other languages
Chinese (zh)
Inventor
薛钢
杜政
黄兆煜
黄俊森
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Lemu Communication Co ltd
Original Assignee
Shenzhen Lemu Communication 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 Shenzhen Lemu Communication Co ltd filed Critical Shenzhen Lemu Communication Co ltd
Priority to CN202210662012.5A priority Critical patent/CN115098184A/en
Publication of CN115098184A publication Critical patent/CN115098184A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44568Immediately runnable code

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

Embodiments of the present disclosure provide an electronic component and an apparatus adaptable to a plurality of electronic components. The electronic component can be coupled to a device adaptable to a plurality of electronic components. The apparatus includes a control module. The electronic assembly includes a functional module. The electronic assembly is configured to: in the case where the electronic component is coupled to the control module, configuration information of the electronic component is provided to the control module, the configuration information being used to direct the control module to control the operation of the electronic component.

Description

Electronic assembly and device capable of adapting to multiple electronic assemblies
Technical Field
Embodiments of the present disclosure relate to the field of electronic technology, and in particular, to an electronic component and an apparatus adaptable to a plurality of electronic components.
Background
With the popularization of electronic products, a large number of electronic products are often provided for each family. These electronic products are various in types and functions, such as a portable power source with an illumination function, a portable power source with a wireless charging function, a handheld wireless inflator pump, a handheld illuminating lamp, a handheld disinfection liquid spraying gun, an electric screwdriver, a handheld gas detector, a wireless vehicle-mounted dust collector and the like. These electronic products may have modules with similar functions, such as a main control module, a display module, a key module, a power supply module, and the like. The main control module stores a code file, and can control other modules in the electronic product to work by executing the code file, for example, control the display module to display the operation result of the electronic product. The key module can comprise a key for receiving an operation instruction of the electronic product from a customer, so that the main control module can control the corresponding operation of the electronic product according to the operation instruction. The power module can be used for providing power required by the operation of the electronic product.
Disclosure of Invention
Embodiments described herein provide an electronic component, an apparatus adaptable to a plurality of electronic components, and an electronic product that can replace the electronic components.
According to a first aspect of the present disclosure, an electronic assembly is provided. The electronic component can be coupled to a device that can accommodate multiple electronic components. The apparatus includes a control module. The electronic assembly includes a functional module. The electronic assembly is configured to: in the case where the electronic component is coupled to a control module, configuration information for the electronic component is provided to the control module. The configuration information is used to direct the control module to control the operation of the electronic assembly.
In some embodiments of the present disclosure, the configuration information includes power supply information of the electronic component.
In some embodiments of the present disclosure, the electronic assembly further comprises one or more of the following modules: the device comprises a storage module, a communication module, a power supply module, a display module and a keying module. Wherein, in the event the electronic assembly is coupled to a device, the one or more modules are coupled to a control module to enable the control module to control or configure the one or more modules in accordance with the acquired configuration information.
In some embodiments of the present disclosure, a code file for controlling the operation of the electronic assembly is stored in a memory module of the electronic assembly. The device can read a code file stored in a storage module of the electronic component under the condition that the electronic component is coupled to the device, so that a control module in the device can control the electronic component to work by executing the code file.
In some embodiments of the present disclosure, the communication module of the electronic assembly is capable of communicating with an external storage device. The external storage device may have stored therein multiple versions of a code file that is adapted to the electronic component. Wherein, in a case where the electronic component is coupled to the apparatus, the apparatus may control the communication module of the electronic component to communicate with the external storage device to acquire the target version of the code file and update the code file stored in the storage module with the acquired target version.
In some embodiments of the disclosure, the functional modules include one or more of the following: the device comprises a gas monitoring module, a dust detection module, a satellite communication module, an illumination module, a wireless charging module, a steam disinfection module, an infrared sensing module, an alarm module, an inflator pump module, a tire pressure detection module, an air purification module, a dust collection module, a liquid spraying module and a screwdriver module.
According to a second aspect of the present disclosure, an apparatus is provided that is adaptable to a plurality of electronic components. The apparatus includes a control module. Wherein the control module is capable of being coupled to any of the plurality of electronic components. The control module is configured to: in the case where the control module is coupled to a target electronic component among the plurality of electronic components, configuration information of the target electronic component is acquired from the target electronic component, an object code file that fits the target electronic component is determined according to the acquired configuration information, and the target electronic component is controlled to operate by executing the object code file.
In some embodiments of the disclosure, the apparatus further comprises a storage module. Wherein the storage module is coupled to the control module. At least one code file is stored in the storage module. Each of the at least one code file is adapted to a respective electronic component of the plurality of electronic components. The control module is further configured to select a target code file from the at least one code file based on the obtained configuration information.
In some embodiments of the present disclosure, the apparatus further comprises a communication module. Wherein the communication module is coupled to the control module. The communication module is capable of communicating with an external storage device. The external storage device stores a plurality of code files that are adapted to each of the plurality of electronic components. The control module is further configured to: in a case where it is determined that there is no object code file in the at least one code file, the object code file is acquired from the external storage device through the communication module and the acquired object code file is stored in the storage module.
In some embodiments of the present disclosure, the apparatus further comprises a power module. Wherein the power module is coupled to the control module. The configuration information acquired by the control module includes power supply information of the target electronic component. The control module is further configured to: and under the condition that the power supply module is coupled to the target electronic component, controlling the power supply module to supply power to the target electronic component according to the power supply information.
In some embodiments of the present disclosure, a power module includes an energy storage unit, a charging circuit, and a discharging circuit. The control module is further configured to: the control unit is configured to control the power supply module to store power supplied from the external power source in the energy storage unit via the charging circuit in a case where the power supply module is coupled to the external power source, and to control the power supply module to supply power from the energy storage unit to the external device to be charged via the discharging circuit in a case where the power supply module is coupled to the external device to be charged.
In some embodiments of the present disclosure, the apparatus further comprises a plurality of general purpose input output interfaces (GPIOs). The plurality of GPIOs are coupled to a control module. The plurality of GPIOs can be directly coupled with a plurality of respective input-output interfaces on each of the plurality of electronic components. The control module is further configured to configure operating parameters of the plurality of GPIOs in accordance with the acquired configuration information.
In some embodiments of the disclosure, the control module is further configured to: reading the electrical signals of the plurality of GPIOs, determining identification information of the coupled target electronic component according to the read electrical signals, and determining configuration information of the target electronic component according to the identification information.
In some embodiments of the disclosure, the control module is further configured to: communicating with the target electronic component through one or more of the plurality of GPIOs to obtain configuration information for the target electronic component.
In some embodiments of the disclosure, the apparatus further comprises one or more of the following modules: a display module, and a keying module. Wherein the one or more modules are coupled to the control module. The control module is further configured to control or configure the one or more modules in accordance with the acquired configuration information.
According to a third aspect of the present disclosure, an electronic product is provided that can replace an electronic component. The electronic product includes: a plurality of electronic components, and a device adaptable to the plurality of electronic components. Wherein a target electronic component of the plurality of electronic components is coupled to the device. The apparatus includes a control module. The control module is coupled to the target electronic component. The control module is configured to: the method includes acquiring configuration information of a target electronic component from the target electronic component, determining an object code file adapted to the target electronic component according to the acquired configuration information, and controlling the target electronic component to operate by executing the object code file.
Drawings
To more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings of the embodiments will be briefly described below, it being understood that the drawings described below relate only to some embodiments of the present disclosure and are not intended to limit the present disclosure, wherein:
FIG. 1 is an exemplary block diagram of an electronic product that can replace electronic components in accordance with an embodiment of the present disclosure;
FIG. 2 is another exemplary block diagram of an electronic product that can replace electronic components in accordance with an embodiment of the present disclosure;
FIG. 3 is yet another exemplary block diagram of an electronic product that can replace electronic components in accordance with an embodiment of the present disclosure;
FIG. 4 is yet another exemplary block diagram of an electronic product that can replace electronic components in accordance with an embodiment of the present disclosure; and
fig. 5 is yet another exemplary block diagram of an electronic product that can replace an electronic component in accordance with an embodiment of the present disclosure.
In the drawings, the same reference numerals in the last two digits correspond to the same elements. It should be noted that the elements in the figures are schematic and not drawn to scale.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions of the embodiments of the present disclosure will be described below in detail and completely with reference to the accompanying drawings. It is to be understood that the embodiments described are only a few embodiments of the present disclosure, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the described embodiments of the disclosure without any inventive step, are also within the scope of protection of the disclosure.
Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the presently disclosed subject matter belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the specification and relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein. As used herein, the statement that two or more parts are "connected" or "coupled" together shall mean that the parts are joined together either directly or joined through one or more intermediate components. In addition, terms such as "first" and "second" are only used to distinguish one element (or part of an element) from another element (or another part of an element).
As described above, a plurality of electronic products may have modules with similar functions, but they cannot share modules with each other, which objectively causes overlapping waste of high-value modules such as a main control module, a display screen module, a key control module, and a power supply module.
Embodiments of the present disclosure provide an electronic product capable of replacing an electronic component. An electronic product according to an embodiment of the present disclosure may replace a plurality of conventional electronic products. The electronic product avoids the overlapping waste of resources by sharing one or more modules that can be commonly used by a plurality of traditional electronic products. In some embodiments of the present disclosure, the electronic product may include: a plurality of electronic components, and a device adaptable to the plurality of electronic components. One or more modules whose functions overlap in a plurality of conventional electronic products may be included in the above-described apparatus, and other modules may be included in a corresponding plurality of electronic components. By combining the plurality of electronic components with the device, the functions of a plurality of conventional electronic products can be realized respectively. In some embodiments of the present disclosure, the plurality of electronic components may have different functional modules. The functional module is, for example, a module for realizing a target function in a conventional electronic product. For example, the functional module in the gas monitoring device includes a gas sensor, and the functional module in the smart lighting lamp includes a light emitting element. The functionality of the gas monitoring device may be achieved by combining an electronic assembly comprising a gas sensor with means for adapting the plurality of electronic assemblies. The functionality of the intelligent lighting lamp can be achieved by combining an electronic assembly comprising a light emitting element with a device adaptable to a plurality of electronic assemblies.
In actual use, a user may select a target electronic component among the plurality of electronic components as desired, and couple the target electronic component to a device adaptable to the plurality of electronic components to achieve the target function. When a new function is desired to be realized, the electronic product can be made to realize the desired function by replacing a target electronic component in the electronic product.
Fig. 1 illustrates an exemplary block diagram of an electronic product 100 that may replace electronic components in accordance with an embodiment of the present disclosure. In the example of fig. 1, the plurality of electronic components are not shown, but only the target electronic component 130 of the plurality of electronic components is shown. It will be understood by those skilled in the art that the target electronic component 130 may represent any one of a plurality of electronic components.
As shown in fig. 1, the target electronic component 130 is coupled to the device 110 that can accommodate multiple electronic components. Since the apparatus 110 is adaptable to a plurality of electronic components, the apparatus 110 needs to operate according to the electronic components to which it is coupled. In the case where the device 110 is coupled to different electronic components, the operations it needs to perform are different. For example, where the target electronic component 130 includes a gas sensor, the device 110 needs to receive data collected by the gas sensor from the target electronic component 130. In the case where the target electronic component 130 includes a light emitting element, the apparatus 110 needs to transmit a signal to the target electronic component 130 to control the light emitting element to emit light.
In some embodiments of the present disclosure, the apparatus 110 may include a control module 111 (alternatively referred to as a master module) for controlling the apparatus 110 to operate according to the electronic components to which it is coupled. The control module 111 may be, for example, a Micro Control Unit (MCU), a real-time operating system (RTOS) platform, an intelligent operating system hardware platform, and the like. The control module 111 can be coupled to the target electronic component 130. The control module 111 may be configured to: in a case where the control module 111 is coupled to the target electronic component 130, configuration information of the target electronic component 130 is acquired from the target electronic component 130, an object code file that fits the target electronic component 130 is determined according to the acquired configuration information, and the target electronic component is controlled to operate by executing the object code file. Herein, the "object code file adapted to the target electronic component" refers to a code file developed or designed for the target electronic component.
Although other modules included with the apparatus 110 are not shown in the example of fig. 1, those skilled in the art will appreciate that the apparatus 110 may also include other necessary modules needed for operation.
In some embodiments of the present disclosure, the acquired configuration information may include identification information of the target electronic component 130. The object code file of the adapted target electronic component 130 also includes the identification information. Accordingly, an object code file that fits the target electronic component 130 may be determined from the acquired identification information.
In some embodiments of the present disclosure, the acquired configuration information may also include a communication standard or protocol of the target electronic component 130, the number of interfaces, the location of the interfaces, power information (power protocol, power parameters, etc.), clock frequency, and other parameters that need to be known to work with the target electronic component 130.
In some embodiments of the present disclosure, the device 110 may include a plurality of general purpose input output interfaces (GPIOs). Although only one interface (a line) for connecting the target electronic component 130 with the apparatus 110 is shown in fig. 1, the line is merely illustrative and does not limit the number of interfaces between the target electronic component 130 and the apparatus 110. The multiple GPIOs may be coupled to the control module 111. The multiple GPIOs may be located on the same surface of the device 110 so as to be capable of being directly coupled with multiple input-output interfaces (which may be referred to in this context as "third input-output interfaces") on the target electronic component 130. The plurality of third input/output interfaces may be located on the same surface of the target electronic component 130. The control module 111 is further configured to configure operating parameters of the multiple GPIOs in accordance with the acquired configuration information. In one example, the number of third input-output interfaces on the target electronic component 130 may be equal to or less than the number of GPIOs included with the device 110. Since the device 110 may be adapted to a plurality of electronic components, and the number of interfaces required for each electronic component may be different, a larger number of GPIOs may be provided on the device 110 than the number of input/output interfaces of known electronic components. In some cases, a portion of the GPIO included with device 110 may not be used (not coupled to the third input-output interface). This portion of the GPIO included in device 110 may serve as a backup interface for future use.
In one example, the control module 111 may be configured to: reading the electrical signals of the plurality of GPIOs, determining identification information of the coupled target electronic component 130 from the read electrical signals, and determining configuration information of the target electronic component 130 from the identification information. When the plurality of GPIOs are coupled to the third input/output interfaces of different electronic devices, different electrical characteristics (e.g., voltage, current, resistance, etc.) can be read. In one example, one electrical characteristic mapping table (which may be referred to as a "first mapping table" in the context) may be established for a plurality of electronic components. The first mapping table reflects the correspondence between the read combination relationship of the electrical characteristics and the identification information of the plurality of electronic components. The identification information of the target electronic component 130 corresponding to the read combination relationship of the electrical characteristics can be looked up in the first mapping table. A second mapping table of identification information of a plurality of electronic components and configuration information thereof may be stored in the device 110. The apparatus 110 may look up the configuration information of the target electronic component 130 according to the identification information of the target electronic component 130 in the second mapping table.
In another example, the control module 111 may be configured to: communicate with the target electronic component 130 through one or more of the plurality of GPIOs to obtain configuration information for the target electronic component 130. In this case, the target electronic component 130 may include a micro control unit. The control module 111 may communicate with a micro-control unit of the target electronic component 130 to obtain configuration information of the target electronic component 130. Alternatively, the target electronic component 130 may include a memory module, such as an electrically erasable programmable read-only memory (EEPROM) or a flash memory (flash), etc. In which configuration information of the target electronic component 130 is stored. When the control module 111 is coupled with the target electronic component 130, the one or more GPIOs (which may be configured here as input interfaces) may be coupled to the output interface of the memory module. In this way, the control module 111 may read the configuration information stored in the memory module of the target electronic component 130 through the one or more GPIOs.
In the example of fig. 1, the target electronic component 130 includes a functional module 131. The functional module 131 may be coupled to the plurality of third input/output interfaces. In some embodiments of the present disclosure, the functional modules 131 may include one or more of the following modules: the device comprises a gas monitoring module, a dust detection module, a satellite communication module, an illumination module, a wireless charging module, a steam disinfection module, an infrared sensing module, an alarm module, an inflator pump module, a tire pressure detection module, an air purification module, a dust collection module, a liquid spraying module and a screwdriver module.
Although other modules included by the target electronic component 130 are not shown in the example of fig. 1, one skilled in the art will appreciate that the target electronic component 130 may also include other necessary modules needed for operation.
As described above, the control module 111 determines an object code file to fit the target electronic component 130 according to the acquired configuration information. In some embodiments of the present disclosure, the object code file that adapts the target electronic component 130 may be stored in a memory module of the target electronic component 130. The control module 111 may determine how to read the object code file in the storage module of the target electronic component 130 according to the acquired configuration information. In this case, the memory module of the target electronic component 130 corresponds to an external memory device of the apparatus 110. The control module 111 may execute an object code file in a storage module of the target electronic component 130 to control the operation of the target electronic component 130.
Alternatively, in some embodiments of the present disclosure, an object code file that adapts a target electronic component may be stored in a device that can adapt a plurality of electronic components. The apparatus to which the plurality of electronic components may be adapted may comprise a memory module. An object code file that adapts the target electronic component may be stored in the memory module. Fig. 2 shows an exemplary block diagram of an electronic product 200 having the above-described arrangement. In the example of fig. 2, the apparatus 210, which may adapt a plurality of electronic components, includes a control module 211 and a storage module 212. The memory module 212 is coupled to the control module 211. The storage module 212 stores at least one code file therein. Each of the at least one code file adapts a respective electronic component of the plurality of electronic components. For example, a first code file fits a first electronic component, a second code file fits a second electronic component, a third code file fits a third electronic component, and so on. The control module 211 is further configured to select an object code file from the at least one code file according to the obtained configuration information.
In one example, the storage module 212 has stored therein a first code file that adapts the first electronic component and a second code file that adapts the second electronic component. In the case where the configuration information acquired by the control module 211 indicates that the target electronic component is the second electronic component, the control module 211 selects the second code file as the target code file.
In the example of fig. 2, the target electronic component 230 includes a function module 231 and a power module 232. The power module 232 may provide power to the electronic product 200. Specifically, the power module 232 may be coupled to the functional module 231 to provide power to the functional module 231. The power module 232 may also be coupled to the device 210 to provide power to the device 210. Thus, in the example of fig. 2, the apparatus 210 that can accommodate multiple electronic components may not be provided with a power supply module. However, those skilled in the art will appreciate that the device 210 may be provided with a power module, regardless of whether the target electronic component 230 includes the power module 232. In the case where the target electronic component 230 does not include the power module 232, the device 210 needs to be provided with a power module.
In some embodiments of the present disclosure, in a case where the target electronic component 230 is not coupled to the device 210, the power module 232 may not provide power to the outside, so as to avoid a security accident caused by a misconnection of the reserved power supply interface of the target electronic component 230.
Fig. 3 illustrates yet another exemplary block diagram of an electronic product 300 that may replace electronic components in accordance with an embodiment of the disclosure. In the example of fig. 3, an apparatus 310 that can adapt a plurality of electronic components includes: a control module 311, a storage module 312, and a communication module 313. Wherein, the storage module 312 and the communication module 313 are respectively coupled to the control module 311. The communication module 313 can communicate with an external storage device (not shown). For example, a wireless radio sub-module (e.g., a bluetooth sub-module, a WiFi sub-module, a 4G sub-module, a 5G sub-module, etc.) may be arranged in the communication module 313 to wirelessly communicate with an external storage device (e.g., a cloud storage node, etc.). Alternatively, the communication module 313 may also be in wired connection with an external storage device. The external storage device stores a plurality of code files that are adapted to each of the plurality of electronic components. The control module 311 is further configured to: in the case where it is determined that there is no object code file among the at least one code file stored in the storage module 312, the object code file is acquired from the external storage device through the communication module 313 and the acquired object code file is stored in the storage module 312.
In one example, the storage module 312 has stored therein a first code file that adapts a first electronic component and a second code file that adapts a second electronic component. In the case where the configuration information acquired by the control module 311 indicates that the target electronic component is the third electronic component, the control module 311 may acquire a third code file adapted to the third electronic component from an external storage device through the communication module 313 and store the third code file in the storage module 312. In the case where the storage space of the storage module 312 is insufficient to store the first, second, and third code files at the same time, the third code file may be stored in a storage area of the first or second code file to replace the first or second code file.
In the example of fig. 3, the target electronic component 330 includes a function module 331 and a power supply module 332. Similar to the example of fig. 2, the power module 332 may provide power to the electronic product 300.
Fig. 4 illustrates yet another exemplary block diagram of an electronic product 400 that may replace electronic components in accordance with an embodiment of the disclosure. In the example of fig. 4, an apparatus 410 that can adapt a plurality of electronic components includes: a control module 411, a storage module 412, a communication module 413, and a power module 414. The storage module 412, the communication module 413, and the power module 414 are respectively coupled to the control module 411. In the example of fig. 4, the target electronic component 430 includes the function module 431 but does not include the power supply module. The power module 414 in the device 410 may provide power to the target electronic component 430 under the control of the control module 411. In some embodiments of the present disclosure, the configuration information acquired by the control module 411 includes power supply information of the target electronic component. The control module 411 is further configured to: and controlling the power supply module 414 to supply power to the target electronic component 430 according to the power supply information. In one example, the control module 411 may determine parameters for providing power to the target electronic component 430, such as a power supply protocol (SPI, I2C, PD, etc. protocol), a rated voltage value, a rated current value, etc., according to the acquired power supply information.
In some embodiments of the present disclosure, although not shown, the power module 414 may include an energy storage unit, a charging circuit, and a discharging circuit. The control module 411 is further configured to: the power supply module 414 is controlled to store power supplied from the external power source in the energy storage unit via the charging circuit in a case where the power supply module 414 is coupled to the external power source, and the power supply module 414 is controlled to supply power from the energy storage unit to the external device to be charged via the discharging circuit in a case where the power supply module 414 is coupled to the external device to be charged. In this case, the device 410 may be used as a mobile power source regardless of whether the device 410 is coupled to the target electronic component 430.
In some embodiments of the present disclosure, the apparatus 410 may be in a low power consumption mode before the apparatus 410 is coupled to other components (the target electronic component 430, or an external device to be charged) so as to be able to quickly start operating when coupled to other components.
As an alternative to the examples of fig. 2-4, the apparatus to which the plurality of electronic components may be adapted may comprise only a control module and a power supply module. Other modules included in the apparatus of fig. 2-4 (e.g., a memory module and/or a communication module, etc.) may be provided in the target electronic component. The communication module of the target electronic component is capable of communicating with an external storage device. Multiple versions of a code file that fits the target electronic component may be stored in the external storage device. Wherein, in case that the target electronic component is coupled to an apparatus adaptable to a plurality of electronic components, the apparatus may control the communication module of the target electronic component to communicate with the external storage device to acquire the target version of the target code file and update the code file stored in the storage module of the target electronic component with the acquired target version.
Fig. 5 illustrates yet another exemplary block diagram of an electronic product 500 that may replace electronic components in accordance with an embodiment of the disclosure. In the example of fig. 5, an apparatus 510 that can adapt a plurality of electronic components includes: a control module 511, a memory module 512, a communication module 513, a power module 514, a display module 515, and a key module 516. The display module 515 may include, for example, a display screen. The key module 516 may include, for example, one or more keys. Coupled to the control module 511 are a memory module 512, a communication module 513, a power module 514, a display module 515, and a key module 516. The control module 511 may be configured to control or configure one or more of the storage module 512, the communication module 513, the power module 514, the display module 515, and the key module 516 according to the acquired configuration information. For example, the control module 511 may control the display module 515 to display the acquired configuration information, battery information (battery percentage, low power reminder, etc.), operation data of the function module, and the like. The control module 511 may configure the functions of the respective keys in the key module according to the acquired configuration information.
As an alternative to the example of fig. 5, the apparatus that can adapt the plurality of electronic components may not include a display module and/or a keying module. Alternatively, the target electronic component may include a display module and/or a keying module. A control module of the apparatus adaptable to a plurality of electronic components controls display of a display module of a target electronic component and/or receives key input from a key module of the target electronic component.
In summary, the electronic product according to the embodiment of the present disclosure can implement module reuse, thereby saving hardware resources. Moreover, the electronic assembly can realize plug and play after being combined with a device which can be adapted to a plurality of electronic assemblies, and is convenient and quick and simple to operate. According to the electronic product of the embodiment of the disclosure, only the matched electronic component needs to be replaced when the function is expanded, and the expandability is strong. In addition, the electronic product supports updating of code files, and later version upgrading and maintenance are facilitated.
As used herein and in the appended claims, the singular forms of words include the plural and vice versa unless the context clearly dictates otherwise. Thus, when referring to the singular, the plural of the corresponding terms is generally included. Similarly, the terms "comprising" and "including" are to be construed as being inclusive rather than exclusive. Likewise, the terms "include" and "or" should be construed as inclusive unless such interpretation is explicitly prohibited herein. Where the term "example" is used herein, particularly when it comes after a set of terms, it is merely exemplary and illustrative and should not be considered exclusive or extensive.
Further aspects and ranges of adaptability will become apparent from the description provided herein. It should be understood that various aspects of the present application may be implemented alone or in combination with one or more other aspects. It should also be understood that the description and specific examples herein are intended for purposes of illustration only and are not intended to limit the scope of the present disclosure.
Several embodiments of the present disclosure have been described in detail above, but it is apparent that various modifications and variations can be made to the embodiments of the present disclosure by those skilled in the art without departing from the spirit and scope of the present disclosure. The scope of the present disclosure is defined by the appended claims.

Claims (13)

1. An electronic component couplable to an apparatus adaptable to a plurality of electronic components, the apparatus comprising a control module, the electronic component comprising a functional module, the electronic component configured to: providing configuration information of the electronic component to the control module, the configuration information being used to direct the control module to control the operation of the electronic component, in the case where the electronic component is coupled to the control module.
2. The electronic component of claim 1, wherein the configuration information comprises power supply information for the electronic component.
3. The electronic assembly of claim 1, further comprising one or more of the following modules: a storage module, a communication module, a power module, a display module, and a key module,
wherein, with the electronic assembly coupled to the device, the one or more modules are coupled to the control module to enable the control module to control or configure the one or more modules in accordance with the acquired configuration information.
4. The electronic assembly of any of claims 1-3, the functional modules comprising one or more of the following:
the device comprises a gas monitoring module, a dust detection module, a satellite communication module, an illumination module, a wireless charging module, a steam disinfection module, an infrared sensing module, an alarm module, an inflator pump module, a tire pressure detection module, an air purification module, a dust collection module, a liquid spraying module and a screwdriver module.
5. An apparatus adaptable to a plurality of electronic components, the apparatus comprising a control module,
wherein the control module is coupleable to any of the plurality of electronic components, the control module configured to: in a case where the control module is coupled to a target electronic component among the plurality of electronic components, acquiring configuration information of the target electronic component from the target electronic component, determining an object code file that fits the target electronic component according to the acquired configuration information, and controlling the target electronic component to operate by executing the object code file.
6. The apparatus of claim 5, further comprising a storage module coupled to the control module, the storage module having stored therein at least one code file, each of the at least one code file adapting to a respective electronic component of the plurality of electronic components, the control module further configured to select the target code file from the at least one code file according to the obtained configuration information.
7. The apparatus of claim 6, further comprising a communication module, wherein the communication module is coupled to the control module, the communication module capable of communicating with an external storage device having stored therein a plurality of code files that adapt each of the plurality of electronic components, the control module further configured to: in a case where it is determined that the object code file is not present in the at least one code file, the object code file is acquired from the external storage device through the communication module and the acquired object code file is stored in the storage module.
8. The apparatus of any of claims 5 to 7, further comprising a power module, wherein the power module is coupled to the control module, the configuration information obtained by the control module includes power supply information for the target electronic component, the control module is further configured to: controlling the power supply module to supply power to the target electronic component according to the power supply information when the power supply module is coupled to the target electronic component.
9. The apparatus of claim 8, wherein the power module comprises an energy storage unit, a charging circuit, and a discharging circuit, the control module further configured to: control the power supply module to store power provided by an external power source in the energy storage unit via the charging circuit if the power supply module is coupled to the external power source, and control the power supply module to provide power from the energy storage unit to an external device-to-be-charged via the discharging circuit if the power supply module is coupled to the external device-to-be-charged.
10. The apparatus of any one of claims 5 to 7 and 9, further comprising a plurality of general purpose input output interfaces, GPIOs, wherein the plurality of GPIOs are coupled to the control module, the plurality of GPIOs capable of being directly coupled with a plurality of respective input output interfaces on each of the plurality of electronic components, the control module further configured to configure operating parameters of the plurality of GPIOs in accordance with the acquired configuration information.
11. The apparatus of claim 10, wherein the control module is further configured to: reading electrical signals of the plurality of GPIOs, determining identification information of a coupled target electronic component according to the read electrical signals, and determining configuration information of the target electronic component according to the identification information; or alternatively
The control module is further configured to: communicating with the target electronic component through one or more of the plurality of GPIOs to obtain configuration information of the target electronic component.
12. The apparatus of any one of claims 5 to 7 and 9, further comprising one or more of: a display module and a key control module,
wherein the one or more modules are coupled to the control module, the control module further configured to control or configure the one or more modules according to the obtained configuration information.
13. An electronic product in which electronic components can be replaced, comprising: a plurality of electronic components, and means adaptable to said plurality of electronic components,
wherein a target electronic component of the plurality of electronic components is coupled to the device;
wherein the apparatus comprises a control module coupled to the target electronic component, the control module configured to: the method comprises the steps of obtaining configuration information of the target electronic component from the target electronic component, determining an object code file adapting to the target electronic component according to the obtained configuration information, and controlling the target electronic component to work by executing the object code file.
CN202210662012.5A 2022-06-13 2022-06-13 Electronic assembly and device capable of adapting to multiple electronic assemblies Pending CN115098184A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210662012.5A CN115098184A (en) 2022-06-13 2022-06-13 Electronic assembly and device capable of adapting to multiple electronic assemblies

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210662012.5A CN115098184A (en) 2022-06-13 2022-06-13 Electronic assembly and device capable of adapting to multiple electronic assemblies

Publications (1)

Publication Number Publication Date
CN115098184A true CN115098184A (en) 2022-09-23

Family

ID=83291387

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210662012.5A Pending CN115098184A (en) 2022-06-13 2022-06-13 Electronic assembly and device capable of adapting to multiple electronic assemblies

Country Status (1)

Country Link
CN (1) CN115098184A (en)

Similar Documents

Publication Publication Date Title
US20120306621A1 (en) Lighting control network configuration with rfid devices
EP3266284B1 (en) Method for configuring an electronic element in a lighting system, electronic element and configuring system
US10009981B2 (en) System and apparatus for selectively interrupting the power supply of lighting elements
US11496816B2 (en) Telematics road ready system including a bridge integrator unit
CN105608859A (en) Method and system for enabling wireless control in tools
CN114780162B (en) Device capable of adapting to multiple electronic components and electronic product capable of replacing electronic components
CN219811186U (en) Electronic component, device capable of adapting to multiple electronic components and electronic product
CN218938944U (en) Device capable of adapting to multiple electronic components, switching module, electronic components and electronic product
CN115098184A (en) Electronic assembly and device capable of adapting to multiple electronic assemblies
CN115114204A (en) Switching module and device capable of adapting to multiple electronic components
CN104865840A (en) Intelligent household control device
US20230061051A1 (en) Illumination system
CN217388740U (en) Sensor data transmission device, sensor system and intelligent home system
WO2019244751A1 (en) Device control method, control apparatus, and system
CN114552740A (en) Plug-and-play intelligent switching system and control method thereof
CN105022256A (en) Design method of pointer type multifunction intelligent clock
CN219872366U (en) Device capable of adapting to multiple electronic components, switching module, electronic components and electronic product
CN218938945U (en) Electronic component, device capable of adapting to multiple electronic components and electronic product
CN114780161B (en) Device capable of adapting to multiple electronic components and electronic product capable of replacing electronic components
CN112383953A (en) Portable networking assisting device and wireless sensor networking system
CN111611001A (en) Mobile terminal, energy storage manager and upgrading system thereof
EP3843508A1 (en) Emergency lighting system
CN115114205A (en) Switching module and device capable of adapting to multiple electronic components
CN115098185A (en) Electronic assembly and device capable of adapting to multiple electronic assemblies
CN213365040U (en) Position data acquisition and transmission device

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