CN218938944U - Device capable of adapting to multiple electronic components, switching module, electronic components and electronic product - Google Patents

Device capable of adapting to multiple electronic components, switching module, electronic components and electronic product Download PDF

Info

Publication number
CN218938944U
CN218938944U CN202221462182.0U CN202221462182U CN218938944U CN 218938944 U CN218938944 U CN 218938944U CN 202221462182 U CN202221462182 U CN 202221462182U CN 218938944 U CN218938944 U CN 218938944U
Authority
CN
China
Prior art keywords
module
electronic component
target
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.)
Active
Application number
CN202221462182.0U
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 CN202221462182.0U priority Critical patent/CN218938944U/en
Application granted granted Critical
Publication of CN218938944U publication Critical patent/CN218938944U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Power Sources (AREA)

Abstract

Embodiments of the present disclosure provide an apparatus that can adapt to a plurality of electronic components and an electronic product that can replace the electronic components. The plurality of electronic components can be respectively combined with the device to realize a corresponding plurality of functions. The device includes a control module and a plurality of general purpose input output interfaces (GPIOs) located on a first surface of the device. The plurality of GPIOs are coupled to a control module. Wherein the control module is capable of being coupled to a target electronic component of the plurality of electronic components via a transit module adapted to the target electronic component. The plurality of GPIOs can be directly coupled to a plurality of second input-output interfaces on a second surface of the switch module. The control module is configured to: in the case where the control module is coupled to the target electronic component via the transit module, configuration information of the target electronic component is acquired by means of the transit module, a target code file adapting to the target electronic component is determined according to the acquired configuration information, and the target electronic component is controlled to operate by executing the target code file.

Description

Device capable of adapting to multiple electronic components, switching module, electronic components and electronic product
Technical Field
Embodiments of the present disclosure relate to the field of electronics, and in particular, to an apparatus capable of adapting to a plurality of electronic components and an electronic product capable of replacing the electronic components.
Background
With the popularization of electronic products, home households are often equipped with a large number of electronic products. The electronic products have various types and functions, such as a mobile power supply with an illumination function, a mobile power supply with a wireless charging function, a handheld wireless inflator pump, a handheld illuminating lamp, a handheld disinfection spray 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 control module, a power module, etc. The main control module stores code files, and can control other modules in the electronic product to work by executing the code files, for example, the display module is controlled to display the operation result of the electronic product. The key control module can comprise keys for receiving operation instructions of customers on the electronic product so that the main control module can control corresponding operations of the electronic product according to the operation instructions. The power module may be used to provide power required for the operation of the electronic product.
Disclosure of Invention
Embodiments described herein provide an apparatus, a switch module, an electronic component, and an electronic product with replaceable electronic components that can adapt to a plurality of electronic components.
According to a first aspect of the present disclosure, an apparatus is provided that is adaptable to a plurality of electronic components. The plurality of electronic components can be respectively combined with the device to realize a corresponding plurality of functions. The device includes a control module and a plurality of general purpose input output interfaces (GPIOs) located on a first surface of the device. The plurality of GPIOs are coupled to a control module. Wherein the control module is capable of being coupled to a target electronic component of the plurality of electronic components via a transit module adapted to the target electronic component. The plurality of GPIOs can be directly coupled to a plurality of second input-output interfaces on a second surface of the switch module. The control module is configured to: in the case where the control module is coupled to the target electronic component via the transit module, configuration information of the target electronic component is acquired by means of the transit module, a target code file adapting to the target electronic component is determined according to the acquired configuration information, and the target electronic component is controlled to operate by executing the target code file.
In some embodiments of the present disclosure, the apparatus further comprises a storage module. Wherein the storage module is coupled to the control module. The storage module stores at least one code file. Each code file 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 an object code file from the at least one code file according to the acquired 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 has stored therein a plurality of code files adapted to each of the plurality of electronic components. The control module is further configured to: in the case that 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 comprises power supply information of the target electronic component. The control module is further configured to: in the case that the power module is coupled to the switching module, the power module is controlled to supply power to the target electronic component via the switching module 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 power supply module is controlled to store power supplied from an 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 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 control module is further configured to configure the operating parameters of the plurality of GPIOs according to the acquired configuration information.
In some embodiments of the present disclosure, the apparatus further comprises one or more of the following modules: the display module and the 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 according to the acquired configuration information.
According to a second aspect of the present disclosure, a patching module is provided. The switching module is used for coupling a device capable of adapting to the plurality of electronic components and a target electronic component in the plurality of electronic components. The target electronic component is adapted to the adapter module. The switch module includes a control unit and a plurality of second input-output interfaces located on a second surface of the switch module, the plurality of second input-output interfaces being capable of being directly coupled with a plurality of general purpose input-output interfaces (GPIOs) on a first surface of the device. The control unit is configured to: in the case where the patching module is coupled to the target electronic component, determining configuration information of the target electronic component, and in the case where the patching module is coupled to the device, transmitting the configuration information to the device, so that the device determines a target code file adapting to the target electronic component according to the configuration information, and controls the target electronic component to operate by executing the target code file.
In some embodiments of the present disclosure, the patching module further comprises: at least one first input-output interface for coupling to a target electronic component. Wherein the control unit is further configured to: the method comprises the steps of reading an electrical signal of the at least one first input-output interface, determining identification information of the coupled target electronic component according to the read electrical signal, and determining configuration information of the target electronic component according to the identification information.
In some embodiments of the present disclosure, the patching module further comprises: at least one first input-output interface for coupling to a target electronic component. Wherein the control unit is further configured to: and communicating with the target electronic component through one or more of the at least one first input-output interface to obtain configuration information of the target electronic component.
According to a third aspect of the present disclosure, an electronic assembly is provided. The electronic component can be coupled to a device adaptable to a plurality of electronic components via a switching module adapted thereto. The apparatus includes a control module. The electronic assembly comprises a functional module and at least one third input-output interface. The at least one third input-output interface can be directly coupled with the at least one first input-output interface of the patching module. The electronic assembly is configured to: in case the electronic component is coupled to the control module via the switching module, configuration information of the electronic component is provided to the control module by means of the switching module. The configuration information is used for guiding the control module to control the electronic component to work.
In some embodiments of the present disclosure, the configuration information includes power supply information for 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 case the electronic component is 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 according to the acquired configuration information.
In some embodiments of the present disclosure, a code file for controlling the operation of the electronic component is stored in a memory module of the electronic component. Wherein, in case the electronic component is coupled to the device, the device can read the code file stored in the memory module of the electronic component, so that the control module in the device can control the operation of the electronic component 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 a plurality of versions of a code file adapted to the electronic component. Wherein, in the case that 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 a 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 present 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, a lighting module, a wireless charging module, a steam sterilization 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 screw driver module.
According to a fourth aspect of the present disclosure, an electronic product is provided that can replace an electronic component. The electronic product comprises: the device comprises a plurality of electronic components, a device capable of adapting to the plurality of electronic components and a plurality of switching modules respectively adapting to the plurality of electronic components. The plurality of electronic components can be respectively combined with the device to realize a corresponding plurality of functions. The target electronic component in the plurality of electronic components is coupled to a target switching module in the plurality of switching modules, which is matched with the target electronic component. The target switching module comprises at least one first input-output interface. The at least one first input output interface is directly coupled to at least one third input output interface of the target electronic component. The target switching module is coupled to the device. The target switching module further comprises a control unit. The control unit is configured to: determining configuration information of the target electronic component, and transmitting the configuration information to the device. The apparatus includes a control module. The control module is coupled to the target switching module. The control module is configured to: the method includes the steps of obtaining configuration information of a target electronic component from a target transfer module, determining a target 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 target code file.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following brief description of the drawings of the embodiments will be given, it being understood that the drawings described below relate only to some embodiments of the present disclosure, not to limitations of the present disclosure, in which:
FIG. 1 is an exemplary block diagram of an electronic product with replaceable electronic components according to an embodiment of the present disclosure;
FIG. 2 is another exemplary block diagram of an electronic product with replaceable electronic components according to an embodiment of the present disclosure;
FIG. 3 is yet another exemplary block diagram of an electronic product with replaceable electronic components according to an embodiment of the present disclosure;
FIG. 4 is yet another exemplary block diagram of an electronic product with replaceable electronic components in accordance with an embodiment of the present disclosure; and
fig. 5 is yet another exemplary block diagram of an electronic product with replaceable electronic components according to an embodiment of the present disclosure.
In the drawings, the last two digits are identical to the elements. It is noted that the elements in the drawings are schematic and are not drawn to scale.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present disclosure more apparent, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings. It will be apparent that the described embodiments are some, but not all, of the embodiments of the present disclosure. All other embodiments, which can be made by those skilled in the art based on the described embodiments of the present disclosure without the need for creative efforts, are also within the scope of the protection of the present 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, a 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 parts. In addition, terms such as "first" and "second" are used merely to distinguish one component (or portion of a component) from another component (or another portion of a component).
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, a key control module, a power supply module, and the like.
Embodiments of the present disclosure provide an electronic product with replaceable electronic components. The electronic product according to the embodiments of the present disclosure may replace a plurality of conventional electronic products. The electronic product avoids overlapping waste of resources by sharing one or more modules that are commonly usable by a plurality of conventional electronic products. In some embodiments of the present disclosure, the electronic product may include: the device comprises a plurality of electronic components, a device capable of adapting to the plurality of electronic components and a plurality of switching modules respectively adapting to the plurality of electronic components. One or more modules of a plurality of conventional electronic products that overlap in function may be included in the apparatus described above, and other modules may be included in a corresponding plurality of electronic components. By combining the plurality of electronic components with the device, respectively, the functions of a plurality of traditional electronic products can be realized. In some embodiments of the present disclosure, the plurality of electronic components may have different functional modules. The function 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 intelligent lighting lamp includes a light emitting element. The functionality of the gas monitoring device may be achieved by combining an electronic component comprising a gas sensor with an arrangement of adaptable multiple electronic components. The function 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 some cases, the types or locations of interfaces of the plurality of electronic components may be different from each other, and thus are not conveniently combined directly with the same device. In some embodiments of the present disclosure, a plurality of patching modules respectively adapted to the plurality of electronic components are employed to respectively couple the plurality of electronic components to the device. In one example, the same patching module may be adapted to one or more of the plurality of electronic components.
In actual use, a user may select a target electronic component among the plurality of electronic components as desired, couple the target electronic component to a patching module (which may be referred to in the context as a "target patching module") adapted thereto, and couple the target electronic component via the target patching module to a device that may be adapted to the plurality of electronic components to achieve the target function. When a new function is expected to be realized, the electronic product can realize the expected function by replacing the target electronic component and the target switching module in the electronic product.
Fig. 1 illustrates an exemplary block diagram of an electronic product 100 with replaceable electronic components according to an embodiment of the present disclosure. In the example of fig. 1, the plurality of electronic components and the plurality of patching modules are not shown, but only the target electronic component 130 of the plurality of electronic components and the target patching module 120 of the plurality of patching modules are shown. Those skilled in the art will appreciate that the target electronic component 130 may represent any one of a plurality of electronic components. The target patching module 120 may represent a patching module that is adapted to the arbitrary electronic component.
As shown in fig. 1, the target electronic component 130 is coupled to the target switch module 120. The target relay module 120 is coupled to the device 110 that can adapt to a plurality of electronic components. Since the device 110 may accommodate multiple electronic components, the device 110 needs to operate according to the electronic components to which it is coupled. Where the device 110 is coupled to different electronic components, the operations that it needs to perform are different. For example, where the target electronic component 130 includes a gas sensor, the device 110 may need to receive data acquired 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 device 110 needs to send a signal to the target electronic component 130 that controls the light emitting element to emit light.
In some embodiments of the present disclosure, the device 110 may include a control module 111 (alternatively referred to as a master control module) for controlling the operation of the device 110 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, or the like. The control module 111 can be coupled to the target electronic component 130 via the target relay module 120. The control module 111 may be configured to: in the case where the control module 111 is coupled to the target electronic component 130 via the target relay module 120, configuration information of the target electronic component 130 is acquired by means of the target relay module 120, a target code file adapting to 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 target code file. Herein, "adapting an object code file of a target electronic component" refers to a code file developed or designed for the target electronic component.
Although other modules included in 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 required for operation.
In some embodiments of the present disclosure, the obtained configuration information may include identification information of the target electronic component 130. The object code file of the adaptation target electronic component 130 also includes this identification information. Thus, the object code file of the adaptation target electronic component 130 may be determined from the acquired identification information.
In some embodiments of the present disclosure, the obtained configuration information may also include the communication standard or protocol of the target electronic component 130, the number of interfaces, the interface location, the power supply information (power supply protocol, power supply parameters, etc.), the clock frequency, and other parameters that need to be known to work with the target electronic component 130.
As described above, the control module 111 obtains the configuration information of the target electronic component 130 by means of the target relay module 120. In some embodiments of the present disclosure, the target relay module 120 may include a control unit (not shown). The control unit may be configured to: determining configuration information for the target electronic component 130, and sending the configuration information to the control module 111 of the device 110.
In some embodiments of the present disclosure, the target transit module 120 may further include: at least one first input-output interface for coupling to the target electronic component 130, and a plurality of second input-output interfaces for coupling to the device 110. The respective input-output interfaces may be configured as input interfaces or output interfaces as needed. Although only one interface (one line) for connecting the target patching module 120 and the target electronic component 130 is shown in fig. 1, the line is merely illustrative and does not limit the number of interfaces between the target patching module 120 and the target electronic component 130. Similarly, although only one interface (one line) for connecting the target patching module 120 with the device 110 is shown in fig. 1, the line is merely illustrative and does not limit the number of interfaces between the target patching module 120 and the device 110.
In some embodiments of the present disclosure, the device 110 may include a plurality of general purpose input output interfaces (GPIOs). The plurality of GPIOs may be coupled to a control module 111. The multiple GPIOs may be located on the same surface of the device 110 to enable direct coupling with multiple second input-output interfaces on the target switch module 120. The plurality of second input-output interfaces may be located on the same surface of the target pod 120. Some of the plurality of second input-output interfaces may be used only for pass-through signals without being configured by the target switching module 120. The control module 111 is further configured to configure the operating parameters of the plurality of GPIOs according to the acquired configuration information. In one example, the number of second input-output interfaces on the target switch module 120 may be equal to or less than the number of GPIOs included with the device 110. Because the device 110 may accommodate multiple electronic components and the number of interfaces required to be used for each electronic component may be different, in some cases, a portion of the GPIOs included with the device 110 may not be used. The portion of the GPIOs included in device 110 may be used as a backup interface for future use.
In one example, the control unit of the target relay module 120 may be further configured to: the method comprises the steps of reading the electrical signal of the at least one first input output interface, determining identification information of the coupled target electronic component 130 according to the read electrical signal, and determining configuration information of the target electronic component 130 according to the identification information. The input-output interface of the target electronic component 130 that is coupled to the first input-output interface of the target switch module 120 may be referred to in the context as a "third input-output interface". The first input/output interface, when coupled with a third input/output interface of a different electronic component, can read different electrical characteristics (e.g., voltage, current, resistance, etc.). In one example, one electrical characteristic map (which may be referred to in the context as a "first map") may be established for a plurality of electronic components. The first mapping table reflects the corresponding relation between the read combination relation of the electrical characteristics and the identification information of the plurality of electronic components. Identification information of the target electronic component 130 corresponding to the read combination relationship of the electrical characteristics may be found in the first mapping table. A second mapping table of identification information of the plurality of electronic components and configuration information thereof may be stored in the target switching module 120. The target switching module 120 may search the second mapping table for configuration information of the target electronic component 130 according to the identification information of the target electronic component 130.
In another example, the control unit of the target relay module 120 is further configured to: and communicate with the target electronic component 130 through one or more of the at least one first input output interface to obtain configuration information of the target electronic component 130. In this case, the target electronic component 130 may include a micro control unit. The control unit of the target relay module 120 may communicate with the 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 flash memory (flash), or the like. In which the configuration information of the target electronic component 130 is stored. When the target relay module 120 is coupled with the target electronic component 130, one or more first input-output interfaces (which may be configured as input interfaces herein) may be coupled to the output interface of the memory module. In this way, the target relay module 120 may read the configuration information stored in the storage module of the target electronic component 130 through the one or more first input-output interfaces.
In the example of fig. 1, target electronic component 130 includes a functional module 131. The functional module 131 may be coupled to the third input-output interface. In some embodiments of the present disclosure, the functional module 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, a lighting module, a wireless charging module, a steam sterilization 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 screw driver module.
Although other modules included in the target electronic component 130 are not shown in the example of fig. 1, those skilled in the art will appreciate that the target electronic component 130 may also include other necessary modules required for operation.
As described above, the control module 111 determines an object code file of the adaptation target electronic component 130 according to the acquired configuration information. In some embodiments of the present disclosure, the object code file of the adapted target electronic component 130 may be stored in a storage 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 object electronic component 130 based on 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 the object code file in the 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, the object code file of the adapted object electronic component may be stored in an apparatus that may be adapted to a plurality of electronic components. An apparatus that can adapt a plurality of electronic components can include a memory module. An object code file of the adapted object electronic component may be stored in the storage module. Fig. 2 shows an exemplary block diagram of an electronic product 200 having the arrangement described above. In the example of fig. 2, the apparatus 210, which may adapt to a plurality of electronic components, includes a control module 211 and a storage module 212. The storage module 212 is coupled to the control module 211. The storage module 212 stores at least one code file therein. Each code file of the at least one code file is adapted to a respective electronic component of the plurality of electronic components. For example, a first code file may be adapted to a first electronic component, a second code file may be adapted to a second electronic component, a third code file may be adapted to 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 acquired configuration information.
In one example, the storage module 212 has stored therein a first code file adapted to a first electronic component and a second code file adapted to a 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 functional module 231 and a power module 232. The power module 232 may provide power to the electronic product 200. In particular, 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 target transit module 220 to provide power to the target transit module 220. The target switching module 220 may transfer power received from the power module 232 to the device 210 to which it is coupled. Thus, in the example of fig. 2, the target relay module 220 and the device 210 that can adapt to multiple electronic components may not be provided with a power module. However, those skilled in the art will appreciate that one or both of the target relay module 220 and the device 210 may be provided with a power module, whether or not 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, at least one of the target relay module 220 and the device 210 needs to be provided with the power module.
In some embodiments of the present disclosure, in the case where the target electronic component 230 is not coupled to the target switching module 220 and the device 210, the power module 232 may not provide power to the outside, so as to avoid a security incident caused by a power interface reserved for the target electronic component 230 being connected by mistake.
Fig. 3 illustrates yet another exemplary block diagram of an electronic product 300 of alternative electronic components according to an embodiment of the present disclosure. In the example of fig. 3, an apparatus 310 that may 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 coupled to the control module 311, respectively. The communication module 313 can communicate with an external storage device (not shown). For example, a wireless radio frequency sub-module (e.g., a bluetooth sub-module, a WiFi sub-module, a 4G sub-module, a 5G sub-module, etc.) may be disposed 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 be connected to an external storage device by wire. The external storage device has stored therein a plurality of code files 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 in 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 adapted to a first electronic component and a second code file adapted to a second electronic component. In the case where the configuration information acquired by the control module 311 indicates that the target electronic component is a 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 event that the memory space of the memory module 312 is insufficient to store the first code file, the second code file, and the third code file simultaneously, the third code file may be stored in the memory area of the first code file or the second code file to replace the first code file or the second code file.
In the example of fig. 3, the target electronic component 330 includes a functional module 331 and a power 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 of alternative electronic components according to an embodiment of the present 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 coupled to the control module 411, respectively. The power module 414 is coupled to the target switching module 420 and may provide power to the target switching module 420. In the example of fig. 4, target electronics 430 includes a functional module 431, but does not include a power module. The power module 414 in the device 410 may provide power to the target electronic component 430 via the target relay module 420 under the control of the control module 411. In some embodiments of the present disclosure, the configuration information obtained by the control module 411 includes power supply information of the target electronic component. The control module 411 is further configured to: the power module 414 is controlled to supply power to the target electronic component 430 via the target relay module 420 according to the power supply information. In one example, the control module 411 may determine parameters that provide 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., from the acquired power supply information. In the context of the present disclosure, in an operation performed "via a target relay module," the target relay module only transparently passes commands, instructions, or signals that are not controlled or processed by the target relay module.
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 control power module 414 stores power supplied from an external power source in the energy storage unit via the charging circuit in a case where the power module 414 is coupled to the external power source, and the control power module 414 supplies power from the energy storage unit to the external device to be charged via the discharging circuit in a case where the power 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, whether or not the device 410 is coupled to the target relay module 420 and 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 switching module 420, or an external device to be charged) so that operation can be quickly started when coupled to the other components.
As an alternative to the examples of fig. 2-4, the device that may adapt the plurality of electronic components may comprise only a control module and a power module. Other modules (e.g., a memory module and/or a communication module, etc.) included in the apparatus of fig. 2-4 may be disposed in the target electronic component. The communication module of the target electronic component 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 target electronic component. Wherein, in a case where 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 a 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 with replaceable electronic components according to an embodiment of the present disclosure. In the example of fig. 5, an apparatus 510 that may adapt a plurality of electronic components includes: a control module 511, a storage module 512, a communication module 513, a power module 514, a display module 515, and a keying module 516. The display module 515 may include, for example, a display screen. The keying module 516 may include, for example, one or more keys. The storage module 512, the communication module 513, the power module 514, the display module 515, and the keying module 516 are coupled to the control module 511. 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 keying 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 power percentage, low battery reminder, etc.), operation data of the functional module, etc. 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 device that may adapt the plurality of electronic components may not include a display module and/or a keying module. Alternatively, the target electronic component may comprise a display module and/or a keying module. The control module of the device adaptable to the plurality of electronic components controls the display of the display module of the target electronic component and/or receives key inputs from the key module of the target electronic component via the target relay module.
In summary, the electronic product according to the embodiment of the disclosure may implement module multiplexing, thereby saving hardware resources. The electronic component can be used in a plug-and-play mode after being combined with the device capable of adapting to the plurality of electronic components through the switching module, and the electronic component is convenient, quick and simple to operate. The electronic product provided by the embodiment of the disclosure only needs to replace the switching module and the matched electronic component when the function is expanded, and has strong expandability. In addition, the electronic product according to the embodiment of the disclosure supports updating of the code file, and is convenient for later version upgrading and maintenance.
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 term is generally included. Similarly, the terms "comprising" and "including" are to be construed as being inclusive rather than exclusive. Likewise, the terms "comprising" and "or" should be interpreted as inclusive, unless such an interpretation is expressly prohibited herein. Where the term "example" is used herein, particularly when it follows a set of terms, the "example" is merely exemplary and illustrative and should not be considered exclusive or broad.
Further aspects and scope of applicability 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 are intended for purposes of illustration only and are not intended to limit the scope of the present disclosure.
While several embodiments of the present disclosure have been described in detail, it will be apparent to those skilled in the art that various modifications and variations can be made to the embodiments of the present disclosure without departing from the spirit and scope of the disclosure. The scope of the present disclosure is defined by the appended claims.

Claims (14)

1. An apparatus adaptable to a plurality of electronic components, the plurality of electronic components being respectively combinable with the apparatus to achieve a corresponding plurality of functions, the apparatus comprising: a control module and a plurality of general purpose input output interfaces, GPIOs, located on a first surface of the device, the plurality of GPIOs coupled to the control module,
wherein the control module is coupleable to a target electronic component of the plurality of electronic components via a switch module adapted to the target electronic component, the plurality of GPIOs is directly coupleable with a plurality of second input-output interfaces on a second surface of the switch module, the control module configured to: in the case that the control module is coupled to the target electronic component via the transit module, configuration information of the target electronic component is acquired by means of the transit module, a target code file adapting to the target electronic component is determined according to the acquired configuration information, and the target electronic component is controlled to operate by executing the target code file.
2. The apparatus of claim 1, further comprising a storage module, wherein the storage module is coupled to the control module, the storage module having at least one code file stored therein, each code file 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.
3. The apparatus of claim 2, 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 adapted to each of the plurality of electronic components, the control module further configured to: in the case that 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.
4. The apparatus of any of claims 1-3, further comprising a power module, wherein the power module is coupled to the control module, the configuration information obtained by the control module including power supply information for the target electronic component, the control module further configured to: and controlling the power module to supply power to the target electronic component through the switching module according to the power supply information under the condition that the power module is coupled to the switching module.
5. The apparatus of claim 4, wherein the power module comprises an energy storage unit, a charging circuit, and a discharging circuit, the control module further configured to: the power supply module is controlled to store power supplied from an external power supply in the energy storage unit via the charging circuit in a case where the power supply module is coupled to the external power supply, and to supply power from the energy storage unit to an 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.
6. A device according to any one of claims 1 to 3, wherein the control module is further configured to configure the operating parameters of the plurality of GPIOs according to the acquired configuration information.
7. A device according to any one of claims 1 to 3, further comprising 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 further configured to control or configure the one or more modules according to the acquired configuration information.
8. A pod for coupling a device adaptable to a plurality of electronic components with a target electronic component of the plurality of electronic components, the target electronic component being adapted to the pod, the pod comprising a control unit and a plurality of second input output interfaces located on a second surface of the pod, the plurality of second input output interfaces being directly coupleable with a plurality of general purpose input output interfaces GPIOs on a first surface of the device, the control unit being configured to: determining configuration information of the target electronic component in the condition that the transfer module is coupled to the target electronic component, and sending the configuration information to the device in the condition that the transfer module is coupled to the device, so that the device determines a target code file adapting to the target electronic component according to the configuration information, and controlling the target electronic component to work by executing the target code file.
9. The patching module of claim 8, further comprising: at least one first input-output interface for coupling to the target electronic component;
wherein the control unit is further configured to: reading an electrical signal of the at least one first input-output interface, determining identification information of the coupled target electronic component according to the read electrical signal, and determining configuration information of the target electronic component according to the identification information; or alternatively
The control unit is further configured to: and communicating with the target electronic component through one or more first input/output interfaces of the at least one first input/output interface to acquire configuration information of the target electronic component.
10. An electronic component couplable to an apparatus of an adaptable plurality of electronic components via a switch module adapted thereto, the apparatus comprising a control module, the electronic component comprising a functional module and at least one third input output interface couplable directly with at least one first input output interface of the switch module, the electronic component configured to: in the case that the electronic component is coupled to the control module via the switching module, configuration information of the electronic component is provided to the control module by means of the switching module, and the configuration information is used for guiding the control module to control the electronic component to work.
11. The electronic component of claim 10, wherein the configuration information comprises power supply information of the electronic component.
12. The electronic assembly of claim 10, further comprising one or more of the following modules: a storage module, a communication module, a power supply module, a display module and a keying module,
Wherein, in case the electronic component is 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 according to the acquired configuration information.
13. The electronic assembly of any of claims 10-12, the functional module comprising one or more of the following:
the device comprises a gas monitoring module, a dust detection module, a satellite communication module, a lighting module, a wireless charging module, a steam sterilization 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 screw driver module.
14. An electronic product with replaceable electronic components, comprising: a plurality of electronic components, a device capable of adapting to the plurality of electronic components, and a plurality of switching modules respectively adapted to the plurality of electronic components, wherein the plurality of electronic components can be respectively combined with the device to realize a corresponding plurality of functions,
wherein a target electronic component of the plurality of electronic components is coupled to a target switch module of the plurality of switch modules that is adapted to the target electronic component, the target switch module comprising at least one first input-output interface that is directly coupled to at least one third input-output interface of the target electronic component;
Wherein the target pod module is coupled to the apparatus, the target pod module further comprising a control unit configured to: determining configuration information of the target electronic component and sending the configuration information to the device;
wherein the apparatus comprises a control module coupled to the target transit module, the control module configured to: the method comprises the steps of obtaining configuration information of the target electronic component from the target transfer module, determining a target 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 target code file.
CN202221462182.0U 2022-06-13 2022-06-13 Device capable of adapting to multiple electronic components, switching module, electronic components and electronic product Active CN218938944U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202221462182.0U CN218938944U (en) 2022-06-13 2022-06-13 Device capable of adapting to multiple electronic components, switching module, electronic components and electronic product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202221462182.0U CN218938944U (en) 2022-06-13 2022-06-13 Device capable of adapting to multiple electronic components, switching module, electronic components and electronic product

Publications (1)

Publication Number Publication Date
CN218938944U true CN218938944U (en) 2023-04-28

Family

ID=86085342

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202221462182.0U Active CN218938944U (en) 2022-06-13 2022-06-13 Device capable of adapting to multiple electronic components, switching module, electronic components and electronic product

Country Status (1)

Country Link
CN (1) CN218938944U (en)

Similar Documents

Publication Publication Date Title
US8332671B2 (en) Power supply device, and remote control device thereof
US8749095B2 (en) Uninterruptible power supply system and power management method thereof suitable for audio visual apparatus
US20070132405A1 (en) General operating system
US7277930B2 (en) Switching/lighting correlation system
EP3266284A1 (en) Method for configuring an electronic element in a lighting system, electronic element and configuring system
CN103460712A (en) Terminal device, communication method therefor, and communication module
US8384312B2 (en) Power distribution system for supplying electrical power to a plurality of lighting units
CN218938944U (en) Device capable of adapting to multiple electronic components, switching module, electronic components and electronic product
CN219811186U (en) Electronic component, device capable of adapting to multiple electronic components and electronic product
CN114780162B (en) Device capable of adapting to multiple electronic components and electronic product capable of replacing electronic components
EP2132961B1 (en) Control circuit, system for operating a device and device for programming such a control circuit
CN104865840A (en) Intelligent household control device
CN115114204A (en) Switching module and device capable of adapting to multiple electronic components
CN115098184A (en) Electronic assembly and device capable of adapting to multiple electronic assemblies
CN219872366U (en) Device capable of adapting to multiple electronic components, switching module, electronic components and electronic product
CN114552740A (en) Plug-and-play intelligent switching system and control method thereof
CN115734430A (en) Lighting system
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
CN111611001A (en) Mobile terminal, energy storage manager and upgrading system thereof
KR102096028B1 (en) Iot service device using intelligent hardware module
EP3843508A1 (en) Emergency lighting system
US11385692B2 (en) Remote automatic control power supply system
CN216118447U (en) Industrial data acquisition device
CN112628953B (en) Air conditioner, control method and device thereof, storage medium and control end

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant