CN111897760A - Electronic product, expansion device thereof, control method and control device - Google Patents
Electronic product, expansion device thereof, control method and control device Download PDFInfo
- Publication number
- CN111897760A CN111897760A CN202010749981.5A CN202010749981A CN111897760A CN 111897760 A CN111897760 A CN 111897760A CN 202010749981 A CN202010749981 A CN 202010749981A CN 111897760 A CN111897760 A CN 111897760A
- Authority
- CN
- China
- Prior art keywords
- module
- expansion
- bus
- electronic product
- control
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Systems (AREA)
Abstract
The invention discloses an electronic product and an expansion device, a control method and a control device thereof, wherein the expansion device comprises: the bus gating module, the control module and at least one expansion interface; at least one expansion interface is connected with the control module; the bus gating module is connected between the control module and at least one expansion interface; a control module to: if the expansion module is detected to be accessed on the expansion interface, reading module information of the expansion module; wherein, the module information is pre-stored in the expansion module; and controlling the bus gating module to gate the corresponding bus of the electronic product for the expansion interface according to the module information, and performing initialization configuration on the expansion module. The invention can flexibly increase the required functions of the electronic product according to the requirements of the user, thereby enabling the application of the electronic product to be wider.
Description
Technical Field
The present invention relates to the field of electronic technologies, and in particular, to an electronic product, and an expansion device, a control method, and a control device thereof.
Background
Most wireless devices (such as a router, an intelligent sound box, a wireless CPE and the like) on the market at present are integrated into a whole machine, and do not have hardware upgrading or function expansion. In addition, a few wireless devices are provided with mini PCIe or M.2 interfaces, hardware upgrading can be carried out through replacing modules, and function expansion is not achieved.
For example, the wireless device of the user originally only supports the wireless of the 802.11n technology, and then wants to use the wireless of the 802.11ac technology with higher speed. Also for example, the user's wireless device supports only Wi-Fi wireless technology, and the user later needs to add wireless to the wireless device that supports bluetooth technology. The user can only eliminate the original equipment and buy the wireless equipment meeting the requirements of the user again. In addition, for the wireless device with the mini PCIe or M.2 interface, the hardware can be upgraded by replacing the module, but the function expansion is not realized. For example, the wireless device of the user replaces the wireless module supporting the 802.11n technology with the wireless module supporting the 802.11ac technology, but cannot replace the wireless module supporting the 802.11ac technology with other modules (such as an LTE/4G module, a portal module, an IOT module, and the like).
Therefore, the existing wireless device does not have function expansion and cannot increase required functions according to the requirements of users, so that the application of the wireless device is limited.
Disclosure of Invention
The embodiment of the invention provides an electronic product, and an expansion device, a control method and a control device thereof, which can enable the electronic product to have function expansion, and can flexibly increase required functions according to the requirements of users, so that the electronic product is more widely applied.
An embodiment of the present invention provides an expansion device for an electronic product, including: the bus gating module, the control module and at least one expansion interface;
at least one expansion interface is connected with the control module; the bus gating module is connected between the control module and at least one expansion interface;
the control module is configured to:
detecting whether the expansion interface has the number of pins and the pins are connected with an expansion module with the same setting as the expansion interface;
if detecting that an expansion module is accessed on the expansion interface, reading module information of the expansion module; the module information comprises module type information of the expansion module and bus type information of the expansion module; the module information is pre-stored in the expansion module;
and controlling the bus gating module to gate the corresponding bus of the electronic product for the expansion interface according to the module information, and performing initialization configuration on the expansion module.
As an improvement of the above scheme, the module information includes module type information of the expansion module, and bus type information of the expansion module;
the control module is specifically configured to:
controlling the bus gating module to gate a corresponding bus of the electronic product for the expansion interface according to the bus type information;
and performing initialization configuration on the expansion module according to the module type information.
As an improvement of the above solution, before performing initial configuration on the expansion module, the control module is further configured to:
the control module itself is reset.
As an improvement of the above scheme, the number of the expansion interfaces is at least two, and the number of the pins and the pin setting of each expansion interface are consistent.
As an improvement of the above scheme, the pins of each expansion interface include a bus pin, a detection pin, a power supply pin, a control bus pin and a ground pin;
the control module detects whether an expansion module is accessed to the expansion interface or not through a detection signal of the detection pin;
and the control module reads the module information of the expansion module through a control bus pin.
As an improvement of the above scheme, the bus comprises a high-speed bus and a low-speed serial bus;
the bus pins comprise a high-speed bus pin and a low-speed serial bus pin;
the bus gating module comprises a high-speed bus gating unit and a low-speed serial bus gating unit;
the high-speed bus gating unit is connected between the control module and the high-speed bus pins of the expansion interfaces; the low-speed serial bus gating unit is connected between the control module and the low-speed serial bus pin of each expansion interface;
and after the control module obtains the bus type information, the control module controls the corresponding gating unit to gate the corresponding bus for the expansion interface according to the bus type information.
As an improvement of the above scheme, the electronic product is a wireless communication device;
the type of the extension module comprises at least one of the following: WIFI module, removal wireless module, NAS data storage module, LAN/WAN wired module, bluetooth module, zigBee module, Z-Wave module, 4G/5G module, voice module, sensor module.
As an improvement of the scheme, the electronic product is provided with a plurality of high-speed buses and a plurality of low-speed serial buses.
As an improvement of the above scheme, the expansion interface is a slot structure.
Another embodiment of the present invention correspondingly provides an electronic product, which includes the expansion device of the electronic product according to any one of the above aspects.
Another embodiment of the present invention correspondingly provides a method for controlling an expansion device applied to the electronic product, including:
detecting whether an expansion module is accessed to the expansion interface;
if detecting that an expansion module is accessed on the expansion interface, reading module information of the expansion module; the module information is pre-stored in the expansion module;
and controlling the bus gating module to gate the corresponding bus of the electronic product for the expansion interface according to the module information, and performing initialization configuration on the expansion module.
As an improvement of the above scheme, the module information includes module type information of the expansion module, and bus type information of the expansion module;
then, the controlling the bus gating module to gate the corresponding bus of the electronic product for the expansion interface according to the module information and perform initialization configuration on the expansion module includes:
controlling the bus gating module to gate a corresponding bus of the electronic product for the expansion interface according to the bus type information;
and performing initialization configuration on the expansion module according to the module type information.
As an improvement of the above solution, after the controlling the bus gating module to gate the corresponding bus of the electronic product for the expansion interface according to the bus type information, and before the initializing configuration is performed on the expansion module according to the module type information, the control method further includes:
the control module itself is reset.
Another embodiment of the present invention provides a control apparatus for an electronic product, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, where the processor implements the control method according to the above embodiment of the invention when executing the computer program.
Another embodiment of the present invention provides a storage medium, where the computer-readable storage medium includes a stored computer program, where when the computer program runs, a device on which the computer-readable storage medium is located is controlled to execute the control method described in the above embodiment of the present invention.
Compared with the prior art, one of the technical solutions has the following advantages:
by arranging the bus gating module, the control module and at least one expansion interface, when an electronic product needs to add functions required by a user, the user can access the expansion module capable of realizing the corresponding functions into the expansion interface, and when the control module detects that the expansion module is accessed into the expansion interface, the control module reads related module information of the expansion module; then controlling the bus gating module to gate the corresponding bus of the electronic product for the expansion interface according to the module information; and finally, performing initialization configuration on the expansion module according to the module type information, so that the expansion module can normally work. From the above analysis, it can be seen that the electronic product can have function expansion by the above technical solution of the present invention, so that the required functions can be flexibly increased according to the requirements of the user, thereby enabling the application of the electronic product to be wider. Of course, it is not necessary for any product in which the invention is practiced to achieve all of the above-described advantages at the same time.
Drawings
Fig. 1 is a schematic structural diagram of an expansion device of an electronic product according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an expansion device of another electronic product according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a control module controlling a high-speed bus strobe unit to strobe a high-speed bus for an expansion interface according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating a control module controlling a low-speed serial bus strobe unit to strobe a low-speed serial bus for an expansion interface according to an embodiment of the invention;
fig. 5 is a flowchart illustrating a control method of an expansion device of an electronic product according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a control device of an electronic product according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a schematic structural diagram of an expansion device of an electronic product according to an embodiment of the present invention is shown, where the expansion device includes: the system comprises a control module 1, a bus gating module 2 and at least one expansion interface 3; at least one expansion interface 3 is connected with the control module 1; the bus gating module 2 is connected between the control module 1 and at least one expansion interface 3; the control module 1 is configured to:
detecting whether the expansion interface 3 has the number of pins and the pins are set to be accessed by the expansion module consistent with the expansion interface 3;
if detecting that an expansion module is accessed on the expansion interface 3, reading module information of the expansion module; the module information is pre-stored in the expansion module;
and controlling the bus gating module to gate the corresponding bus of the electronic product for the expansion interface according to the module information, and performing initialization configuration on the expansion module.
In the embodiment of the present invention, by setting the bus gating module 2, the control module 1, and at least one expansion interface 3, when an electronic product needs to add a function required by a user, the user can access an expansion module capable of implementing a corresponding function to the expansion interface 3, and when the control module 1 detects that the expansion interface 3 has the expansion module access, the control module reads module information related to the expansion module; then controlling the bus gating module 2 to gate the corresponding bus of the electronic product for the expansion interface 3 according to the module information; and finally, performing initialization configuration on the expansion module according to the module information, so that the expansion module can normally work. From the above analysis, it can be seen that the electronic product can have function expansion by the above technical solution of the present invention, so that the required functions can be flexibly increased according to the requirements of the user, thereby enabling the application of the electronic product to be wider.
As an example, the module information includes module type information of the expansion module, bus type information of the expansion module; the control module is specifically configured to:
controlling the bus gating module to gate a corresponding bus of the electronic product for the expansion interface according to the bus type information;
and performing initialization configuration on the expansion module according to the module type information.
It is understood that the number of pins and the pin arrangement of the expansion module for accessing the expansion interface 3 are the same as those of the expansion interface 3. As an example, the bus may include two types of high-speed bus and low-speed serial bus, and both the high-speed bus and the low-speed serial bus of the electronic product are connected to the gating module. The high-speed bus of the electronic product may be of various types, for example, a PCIE bus, a SATA bus, a USXGMII bus, and the like. The low-speed serial bus of the electronic product may also be various, for example, a UART bus, an IIC bus, an I2S bus, an SPI bus, an SMI bus, and other bus types. The control module 1 controls the bus gating module 2 to gate the corresponding bus for the expansion interface 3 according to the bus type information read to the expansion module, for example, if the bus type information read by the control module 1 for the expansion module is a PCIE bus, the control module 2 controls the expansion interface 3 inserted into the expansion module to gate the PCIE bus. Of course, the bus may also include only the high speed bus type described above, or a low speed serial bus type, etc.
It should be noted that the module type information is used to indicate a module type of the extension module, for example, to indicate that the extension module is a WIFI module or a bluetooth module. The module type information may be an ID code including an extension module, and the module type of the extension module may be identified by the ID code, for example, if the ID code is 01, the extension module is identified as a WIFI module, and if the ID code is 02, the extension module is identified as a bluetooth module. In addition, the control module 1 is preset with the content of the initialization configuration for the corresponding expansion module. When the control module 1 reads the module type information of the extension module, the control module 1 performs initialization configuration on the extension module according to the preset initialization configuration content corresponding to the extension module, so that the extension module can normally work. The initialization configuration content preset by the control module 1 may include corresponding initialization configuration parameters and/or initialization programs, and the control module 1 may perform initialization configuration on the extension module according to an existing initialization configuration mode.
It is to be understood that the module information may also include only type information (e.g., module ID) of the module. Of course, the module information may also include other information contents, as long as the information contents included in the module information enable the control module to identify the type and bus type of each expansion module, which is not specifically limited herein.
Specifically, before the initial configuration of the extension module, the control module 1 is further configured to:
the control module 1 itself is reset.
In this embodiment, before the initialization configuration of the expansion module, the control module 1 itself may be reset, so that the initialization configuration of the expansion module can be better performed subsequently.
Further, the number of the expansion interfaces 3 is at least two, and the number of pins and the pin setting of each expansion interface 3 are the same.
In this embodiment, at least two expansion interfaces 3 are provided, and the number of pins and the pin setting of each expansion interface 3 are the same, so that different expansion modules can be arbitrarily accessed into the expansion interfaces 3, and it is not necessary to configure a specific expansion interface 3 for each expansion module, thereby making the use of the expansion interfaces 3 more general and flexible, and further enabling a user to add various expansion modules for electronic products more flexibly. It is understood that the pin number and the pin arrangement of each expansion module are the same as those of the expansion interface 3.
In the above embodiment, referring to fig. 2, the pins of each of the expansion interfaces 3 include a bus pin, a detection pin, a power supply pin, a control bus pin, and a ground pin; the low-speed serial bus gating unit 21 is connected between the control module 1 and the low-speed serial bus pin of each expansion interface 3; the control module 1 detects whether an expansion module is accessed to the expansion interface 3 through a detection signal of the detection pin; the control module 1 reads the module information of the expansion module through a control bus pin.
Further, the bus pins include a high-speed bus pin and a low-speed serial bus pin; the bus gating module 2 comprises a high-speed bus gating unit 20 and a low-speed serial bus gating unit 21; the high-speed bus gating unit 20 is connected between the control module 1 and the high-speed bus pins of each expansion interface 3; and after the control module 1 obtains the bus type information, controlling a corresponding gating unit to gate a corresponding bus for the expansion interface 3 according to the bus type information.
As an example, the number of pins and the pin arrangement of the expansion interface 3 are shown in table 1:
TABLE 1 pin description of expansion interface 3
As an example, the control module 1 reads the module information of the expansion module through the control bus pins IIC _ SCL and IIC _ SDA.
Specifically, the manner that the control module 1 detects whether the expansion interface 3 has an expansion module access through the detection pin may be: the control module 1 judges whether the expansion interface 3 is accessed by an expansion module or not by detecting the high-low level state of the module on-position signal M _ Online of the pin, wherein the module of the control module 1 is pulled up (high level) under the default condition of the module on-position signal M _ Online (the expansion module is not accessed), the expansion module pulls the signal down to low level after the expansion module is accessed, and the control module 1 immediately detects that the signal is changed into low level, namely the expansion module is accessed.
Illustratively, the control module 1 obtains the relevant module information by accessing register values of registers (e.g., EEPROM registers) of the expansion module on the expansion interface 3. For example, table 2 shows the register value definition for the EEPROM register on the module, wherein the control module 1 reads the EEPROM register value on the extension module through the control bus pin (IIC bus pin) and identifies the module type of the extension module from the value of the 0x0000 register; identifying a high speed bus type of the extension module from a value of a 0x0001 register; the low speed serial bus type of the expansion module is identified from the values of the 0x0002 to 0x0006 registers.
TABLE 2 register value definition of registers
Specifically, the control module 1 flexibly configures a high-speed bus of an accessed expansion module as shown in fig. 3, wherein the high-speed gating unit is a high-speed switch unit, and the high-speed bus is configured on demand of the accessed expansion module by the high-speed switch unit. For example, when the expansion interface 3P1 accesses a Wi-Fi module with a PCIe interface, the high-speed switch switches the PCIe bus of the CPU to the expansion interface 3P 1.
In addition, the control module 1 flexibly configures the low-speed serial bus of the accessed expansion module as shown in fig. 4, and gates the accessed expansion module to the required low-speed serial bus by internal bus simulation of the CPLD or the EPLD. For example, the low-speed serial bus of the control module 1 and the CPLD/EPLD is an I2C bus, and the extension interface 3P1 is connected to a bluetooth module with a UART interface, so that the I2C bus of the control module 1 is converted into a UART bus by using a UART bus simulator of the CPLD/EPLD, thereby realizing the module communication of the control module 1 to the extension interface 3 connected to the P1.
By way of example, the electronic product is a wireless communication device, such as a router, a wireless CPE, or the like.
As an example, the type of the extension module may include at least one of: the system comprises a WIFI module, a mobile wireless module, an NAS data storage module, a LAN/WAN wired module, a Bluetooth module, a ZigBee module, a Z-Wave module, a 4G/5G module, a voice module and a sensor module; it should be noted that the type of the extension module is not specifically limited herein, and the extension module may also be of another type.
As an example, if the expansion interface 3 is a slot structure, correspondingly, the interface structure of the expansion module is a plug structure, where the plug interface of the expansion module is adapted to the slot interface of the expansion interface 3.
Fig. 5 is a schematic flow chart of a control method applied to the expansion device of the electronic product according to another embodiment of the present invention. The method comprises the following steps:
s10, detecting whether the expansion module is accessed to the expansion interface 3;
s11, if it is detected that an expansion module is accessed on the expansion interface 3, reading module information of the expansion module; the module information is pre-stored in the expansion module;
and S12, controlling the bus gating module to gate the corresponding bus of the electronic product for the expansion interface according to the module information, and performing initialization configuration on the expansion module.
In the embodiment of the present invention, by setting the bus gating module 2, the control module 1, and at least one expansion interface 3, when an electronic product needs to add a function required by a user, the user can access an expansion module capable of implementing a corresponding function to the expansion interface 3, and when the control module 1 detects that the expansion interface 3 has the expansion module access, the control module reads module information related to the expansion module; then controlling the bus gating module 2 to gate the corresponding bus of the electronic product for the expansion interface 3 according to the module information; and finally, performing initialization configuration on the expansion module according to the module information, so that the expansion module can normally work. From the above analysis, it can be seen that the electronic product can have function expansion by the above technical solution of the present invention, so that the required functions can be flexibly increased according to the requirements of the user, thereby enabling the application of the electronic product to be wider. A
As an example, the module information includes module type information of the expansion module, bus type information of the expansion module; the step S12 includes:
s120, controlling the bus gating module to gate the corresponding bus of the electronic product for the expansion interface according to the bus type information;
and S121, performing initialization configuration on the extension module according to the module type information.
Specifically, after the controlling the bus gating module 2 to gate the corresponding bus of the electronic product for the expansion interface 3 according to the bus type information and before the initializing configuration is performed on the expansion module according to the module type information, the controlling method further includes:
the control module 1 itself is reset.
In addition, the related content of the control method for the expansion device of the electronic product provided by the present invention may also refer to the related content of the expansion device of the electronic product in the above embodiments.
Fig. 6 is a schematic diagram of a control device of an electronic product according to an embodiment of the present invention. The control device of this embodiment includes: a processor 10, a memory 11 and a computer program stored in said memory and executable on said processor. The processor implements the steps in the above-described respective control method embodiments when executing the computer program. Alternatively, the processor implements the functions of the modules/units in the above device embodiments when executing the computer program.
Illustratively, the computer program may be partitioned into one or more modules/units that are stored in the memory and executed by the processor to implement the invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program in the control apparatus.
The control device may include, but is not limited to, a processor, a memory. It will be appreciated by those skilled in the art that the schematic illustrations are merely exemplary of control devices and are not intended to be limiting and may include more or fewer components than those shown, or some components in combination, or different components.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, which is the control center for the control device and connects the various parts of the overall control device using various interfaces and lines.
The memory may be used to store the computer programs and/or modules, and the processor may implement the various functions of the control device by running or executing the computer programs and/or modules stored in the memory, as well as by invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
Wherein, the integrated module/unit of the control device can be stored in a computer readable storage medium if it is implemented in the form of software functional unit and sold or used as a stand-alone product. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
It should be noted that the above-described device embodiments are merely illustrative, where the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. In addition, in the drawings of the embodiment of the apparatus provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, and may be specifically implemented as one or more communication buses or signal lines. One of ordinary skill in the art can understand and implement it without inventive effort.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.
Claims (10)
1. An expansion device of an electronic product, comprising: the bus gating module, the control module and at least one expansion interface;
at least one expansion interface is connected with the control module; the bus gating module is connected between the control module and at least one expansion interface;
the control module is configured to:
detecting whether the expansion interface has the number of pins and the pins are connected with an expansion module with the same setting as the expansion interface;
if detecting that an expansion module is accessed on the expansion interface, reading module information of the expansion module; the module information is pre-stored in the expansion module;
and controlling the bus gating module to gate the corresponding bus of the electronic product for the expansion interface according to the module information, and performing initialization configuration on the expansion module.
2. The extension apparatus of the electronic product according to claim 1, wherein the module information includes module type information of the extension module, bus type information of the extension module;
the control module is specifically configured to:
controlling the bus gating module to gate a corresponding bus of the electronic product for the expansion interface according to the bus type information;
and performing initialization configuration on the expansion module according to the module type information.
3. The expansion device of the electronic product of claim 1, wherein before the initial configuration of the expansion module, the control module is further configured to:
the control module itself is reset.
4. The expansion device of the electronic product according to claim 1, wherein the number of the expansion interfaces is at least two, and the pin number and the pin arrangement of each expansion interface are the same.
5. The expansion device of the electronic product according to claim 2, wherein the pins of each expansion interface include a bus pin, a detection pin, a power supply pin, a control bus pin, and a ground pin;
the control module detects whether an expansion module is accessed to the expansion interface or not through a detection signal of the detection pin;
and the control module reads the module information of the expansion module through a control bus pin.
6. Expansion device of an electronic product according to claim 4,
the bus comprises a high-speed bus and a low-speed serial bus;
the bus pins comprise a high-speed bus pin and a low-speed serial bus pin;
the bus gating module comprises a high-speed bus gating unit and a low-speed serial bus gating unit;
the high-speed bus gating unit is connected between the control module and the high-speed bus pins of the expansion interfaces; the low-speed serial bus gating unit is connected between the control module and the low-speed serial bus pin of each expansion interface;
and after the control module obtains the bus type information, the control module controls the corresponding gating unit to gate the corresponding bus for the expansion interface according to the bus type information.
7. The expansion device of the electronic product according to claim 1, wherein the electronic product is a wireless communication device;
the type of the extension module comprises at least one of the following: the system comprises a WIFI module, a mobile wireless module, an NAS data storage module, a LAN/WAN wired module, a Bluetooth module, a ZigBee module, a Z-Wave module, a 4G/5G module, a voice module and a sensor module;
the expansion interface is of a slot structure;
the electronic product is provided with various high-speed buses and various low-speed serial buses.
8. An electronic product, characterized in that it comprises an expansion device of an electronic product according to any one of claims 1-6.
9. A control method applied to an expansion device of an electronic product according to any one of claims 1 to 6, comprising:
detecting whether an expansion module is accessed to the expansion interface;
if detecting that an expansion module is accessed on the expansion interface, reading module information of the expansion module; the module information is pre-stored in the expansion module;
and controlling the bus gating module to gate the corresponding bus of the electronic product for the expansion interface according to the module information, and performing initialization configuration on the expansion module.
10. A control apparatus of an electronic product, comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the control method according to any one of claims 8 to 9 when executing the computer program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010749981.5A CN111897760A (en) | 2020-07-30 | 2020-07-30 | Electronic product, expansion device thereof, control method and control device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010749981.5A CN111897760A (en) | 2020-07-30 | 2020-07-30 | Electronic product, expansion device thereof, control method and control device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111897760A true CN111897760A (en) | 2020-11-06 |
Family
ID=73183715
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010749981.5A Pending CN111897760A (en) | 2020-07-30 | 2020-07-30 | Electronic product, expansion device thereof, control method and control device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111897760A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113535623A (en) * | 2021-06-11 | 2021-10-22 | 中国长城科技集团股份有限公司 | Port configuration circuit, method and server |
CN115248344A (en) * | 2021-04-25 | 2022-10-28 | 内蒙古电力(集团)有限责任公司电力营销服务与运营管理分公司 | Automatic identification method for expansion module of intelligent electric energy meter and intelligent electric energy meter |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202267962U (en) * | 2011-10-11 | 2012-06-06 | 联想(北京)有限公司 | Bus interface circuit and electronic device |
CN102546869A (en) * | 2012-01-06 | 2012-07-04 | 海能达通信股份有限公司 | USB (Universal Serial Bus) interface multiplexing interphone and control method thereof |
CN107003974A (en) * | 2016-06-03 | 2017-08-01 | 达闼科技(北京)有限公司 | A kind of interface detection method and device |
CN110008151A (en) * | 2019-03-27 | 2019-07-12 | 联想(北京)有限公司 | Electronic equipment, data transmission device and data transmission device method |
CN110456705A (en) * | 2019-08-14 | 2019-11-15 | 珠海格力电器股份有限公司 | Network control device capable of dynamically expanding interface and building automatic control system |
-
2020
- 2020-07-30 CN CN202010749981.5A patent/CN111897760A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202267962U (en) * | 2011-10-11 | 2012-06-06 | 联想(北京)有限公司 | Bus interface circuit and electronic device |
CN102546869A (en) * | 2012-01-06 | 2012-07-04 | 海能达通信股份有限公司 | USB (Universal Serial Bus) interface multiplexing interphone and control method thereof |
CN107003974A (en) * | 2016-06-03 | 2017-08-01 | 达闼科技(北京)有限公司 | A kind of interface detection method and device |
CN110008151A (en) * | 2019-03-27 | 2019-07-12 | 联想(北京)有限公司 | Electronic equipment, data transmission device and data transmission device method |
CN110456705A (en) * | 2019-08-14 | 2019-11-15 | 珠海格力电器股份有限公司 | Network control device capable of dynamically expanding interface and building automatic control system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115248344A (en) * | 2021-04-25 | 2022-10-28 | 内蒙古电力(集团)有限责任公司电力营销服务与运营管理分公司 | Automatic identification method for expansion module of intelligent electric energy meter and intelligent electric energy meter |
CN113535623A (en) * | 2021-06-11 | 2021-10-22 | 中国长城科技集团股份有限公司 | Port configuration circuit, method and server |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112996020B (en) | Bluetooth-based automatic test method and device and Bluetooth test terminal | |
CN109725867A (en) | Virtual screen sharing method, device and electronic equipment | |
CN111897760A (en) | Electronic product, expansion device thereof, control method and control device | |
CN111984557A (en) | Data processing method, device and system | |
CN114138333B (en) | Program loading method and related device | |
CN113986796A (en) | PCIe link width dynamic configuration method, device, equipment and readable medium | |
CN114840465A (en) | Method, device, equipment and storage medium for improving compatibility of PCIe card | |
CN109032623A (en) | A kind of initial method and BIOS mirror image of BIOS mirror image | |
CN111679728B (en) | Data reading method and device | |
CN111124433A (en) | Program programming device, system and method | |
CN111104178A (en) | Dynamic library loading method, terminal device and storage medium | |
CN209928414U (en) | Mainboard and computer equipment | |
US20200034101A1 (en) | Data displaying method and electronic device | |
CN109257652B (en) | Configuration information switching method and device, electronic device, system and storage medium | |
US10007529B2 (en) | Data terminal running mode switching method, device, and data terminal | |
CN112417802B (en) | Method, system, equipment and storage medium for simulating storage chip | |
CN113272785B (en) | Method for mounting file system, terminal equipment and storage medium | |
CN114003528A (en) | OCP switching card, switching system and switching method | |
CN105512041A (en) | Method and device for testing application program performance and electronic equipment | |
CN114185720B (en) | Method, device, equipment and storage medium for dynamic hot backup of server | |
CN107451067B (en) | Processing method for downloading test and related product | |
CN108958837A (en) | A kind of method, system and the medium of dynamic configuration ME firmware | |
US20170131946A1 (en) | Method and device for formatting storage of mobile terminal | |
CN115587026A (en) | Chip testing method and device, storage medium and chip | |
CN111752588A (en) | Application program updating method and electronic equipment |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20201106 |