[go: up one dir, main page]

CN106648007B - A kind of universal slot realization method, device and communication equipment - Google Patents

A kind of universal slot realization method, device and communication equipment Download PDF

Info

Publication number
CN106648007B
CN106648007B CN201611131367.2A CN201611131367A CN106648007B CN 106648007 B CN106648007 B CN 106648007B CN 201611131367 A CN201611131367 A CN 201611131367A CN 106648007 B CN106648007 B CN 106648007B
Authority
CN
China
Prior art keywords
module
control signal
power
signal
target slot
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
CN201611131367.2A
Other languages
Chinese (zh)
Other versions
CN106648007A (en
Inventor
刘建鑫
石岩
黄金海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jinan Yushi Intelligent Technology Co ltd
Original Assignee
Zhejiang Uniview Technologies 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 Zhejiang Uniview Technologies Co Ltd filed Critical Zhejiang Uniview Technologies Co Ltd
Priority to CN201611131367.2A priority Critical patent/CN106648007B/en
Publication of CN106648007A publication Critical patent/CN106648007A/en
Application granted granted Critical
Publication of CN106648007B publication Critical patent/CN106648007B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/263Arrangements for using multiple switchable power supplies, e.g. battery and AC

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Power Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Details Of Connecting Devices For Male And Female Coupling (AREA)

Abstract

The invention provides a method, a device and communication equipment for realizing a universal slot position, wherein the method comprises the following steps: when the module is inserted into the target slot position, acquiring a module identifier of the module; determining the module as a power module or a battery module according to the module identifier; when the module is a power supply module, inputting a first type control signal to a control signal pin of a connector corresponding to the target slot position; and when the module is a battery module, inputting a second type of control signal to a control signal pin of the connector corresponding to the target slot position. The embodiment of the invention can improve the safety of the communication equipment.

Description

一种通用槽位实现方法、装置及通信设备A kind of universal slot realization method, device and communication equipment

技术领域technical field

本发明涉及通信技术领域,尤其涉及一种通用槽位实现方法、装置及通信设备。The present invention relates to the field of communication technologies, and in particular, to a method, an apparatus and a communication device for realizing a universal slot.

背景技术Background technique

目前,对于通信技术领域中各种类型的通信设备(以存储设备为例),一方面需要给系统供电,这就需要有电源模块(通常为一次电源模块);另一方面在市电异常掉电后,需要保证系统数据的完整性,这就需要有电池模块在市电异常掉电时及时给系统供电,保证系统把内存cache(高速缓冲存储器)中的数据完整的刷到系统盘里。At present, for various types of communication devices in the field of communication technology (taking storage devices as an example), on the one hand, it is necessary to supply power to the system, which requires a power supply module (usually a primary power supply module); After the power is turned on, it is necessary to ensure the integrity of the system data. This requires a battery module to supply power to the system in time when the mains power fails abnormally, so as to ensure that the system completely flushes the data in the memory cache (cache memory) to the system disk.

实际应用中,存储设备一般盘位数都比较大,导致系统功耗也较大,这就导致一个存储设备需要多个电源模块和多个电池模块,然而,电源模块和电池模块的数量多了,就造成使用上容易混淆,尤其对于非硬件开发人员来说(比如测试人员,软件人员,市场维护人员),很容易把电池模块插到电源模块插槽里,有可能对设备造成损坏。对于使用性和可维护性上也是极不方便的。In practical applications, storage devices generally have a large number of disks, which leads to high system power consumption. This leads to a storage device requiring multiple power modules and multiple battery modules. However, the number of power modules and battery modules is too large. , it is easy to be confused in use, especially for non-hardware developers (such as testers, software personnel, market maintenance personnel), it is easy to insert the battery module into the power module slot, which may cause damage to the device. It is also extremely inconvenient for usability and maintainability.

发明内容SUMMARY OF THE INVENTION

本发明提供一种通用槽位实现方法、装置及通信设备,以提高通用设备的安全性。The invention provides a general slot realization method, device and communication equipment, so as to improve the security of the general equipment.

根据本发明的第一方面,提供一种通用槽位实现方法,包括:According to a first aspect of the present invention, there is provided a general slot realization method, comprising:

当检测到目标槽位中插入模块时,获取该模块的模块标识;When detecting that a module is inserted into the target slot, obtain the module identifier of the module;

根据所述模块标识确定该模块为电源模块或电池模块;Determine that the module is a power module or a battery module according to the module identifier;

当该模块为电源模块时,向所述目标槽位对应的连接器的控制信号管脚输入第一类型控制信号;When the module is a power module, input the first type of control signal to the control signal pin of the connector corresponding to the target slot;

当该模块为电池模块时,向所述目标槽位对应的连接器的控制信号管脚输入第二类型控制信号。When the module is a battery module, the second type of control signal is input to the control signal pin of the connector corresponding to the target slot.

根据本发明的第二方面,提供一种通用槽位实现装置,包括:According to a second aspect of the present invention, there is provided a universal slot realization device, comprising:

获取单元,用于当检测到目标槽位中插入模块时,获取该模块的模块标识;an obtaining unit, used to obtain the module identifier of the module when it is detected that a module is inserted into the target slot;

确定单元,用于根据所述模块标识判断该模块为电源模块或电池模块;a determining unit, configured to determine whether the module is a power module or a battery module according to the module identifier;

处理单元,用于当该模块为电源模块时,向所述目标槽位对应的连接器的控制信号管脚输入第一类型控制信号;当该模块为电池模块时,向所述目标槽位对应的连接器的控制信号管脚输入第二类型控制信号。The processing unit is used for inputting the first type control signal to the control signal pin of the connector corresponding to the target slot when the module is a power module; when the module is a battery module, corresponding to the target slot The control signal pin of the connector inputs the second type control signal.

根据本发明的第三方面,提供一种通信设备,包括多个槽位,该多个槽位中任一槽位用于插入电源模块或电池模块,各槽位对应的连接器的控制信号管脚与通信设备的控制信号收发器件之间部署有逻辑处理器;其中:According to a third aspect of the present invention, a communication device is provided, comprising a plurality of slots, any one of the plurality of slots is used for inserting a power module or a battery module, and a control signal tube of a connector corresponding to each slot A logic processor is deployed between the pin and the control signal transceiver device of the communication device; wherein:

所述逻辑处理器包括上述通用槽位实现装置。The logical processor includes the above general slot implementation device.

应用本发明公开的技术方案,当检测到目标槽位中插入模块时,获取该模块的模块标识;根据模块标识确定该模块为电源模块或电池模块;当该模块为电源模块时,向目标槽位对应的连接器的控制信号管脚输入第一类型控制信号;当该模块为电池模块时,向目标槽位对应的连接器的控制信号管脚输入第二类型控制信号,实现了电源模块和电池模块槽位共用,提高了通信设备的安全性。By applying the technical scheme disclosed in the present invention, when a module is detected to be inserted into a target slot, the module identifier of the module is obtained; the module is determined as a power module or a battery module according to the module identifier; when the module is a power module, the module is sent to the target slot. The first type of control signal is input to the control signal pin of the connector corresponding to the bit; when the module is a battery module, the second type of control signal is input to the control signal pin of the connector corresponding to the target slot, so that the power module and the The battery module slots are shared, which improves the security of communication equipment.

附图说明Description of drawings

图1是本发明实施例提供的一种通用槽位实现方法的流程示意图;1 is a schematic flowchart of a method for implementing a general slot position provided by an embodiment of the present invention;

图2是本发明实施例提供的一种应用场景的结构示意图;2 is a schematic structural diagram of an application scenario provided by an embodiment of the present invention;

图3是本发明实施例提供的一种通用槽位实现装置的结构示意图。FIG. 3 is a schematic structural diagram of a device for implementing a universal slot provided by an embodiment of the present invention.

具体实施方式Detailed ways

为了使本领域技术人员更好地理解本发明实施例中的技术方案,并使本发明实施例的上述目的、特征和优点能够更加明显易懂,下面结合附图对本发明实施例中技术方案作进一步详细的说明。In order for those skilled in the art to better understand the technical solutions in the embodiments of the present invention, and to make the above objects, features, and advantages of the embodiments of the present invention more clearly understood, the following describes the technical solutions in the embodiments of the present invention with reference to the accompanying drawings. Further detailed instructions.

请参见图1,图1为本发明实施例提供的一种通用槽位实现方法的流程示意图,如图1所示,该槽位实现方法可以包括以下步骤:Please refer to FIG. 1. FIG. 1 is a schematic flowchart of a general slot implementation method provided by an embodiment of the present invention. As shown in FIG. 1, the slot implementation method may include the following steps:

步骤101、当检测到目标槽位中插入模块时,获取该模块的模块标识。Step 101: When it is detected that a module is inserted into the target slot, the module identifier of the module is acquired.

需要说明的是,本发明实施例提供的技术方案可以应用于任一需要同时部署电源模块和电池模块槽位的通信设备,例如,存储设备。为便于描述,以下以步骤101~步骤104的执行主体为通信设备进行说明。It should be noted that the technical solutions provided by the embodiments of the present invention can be applied to any communication device that needs to deploy the power module and the battery module slot at the same time, for example, a storage device. For convenience of description, the following description will be given by taking the execution subject of steps 101 to 104 as a communication device.

本发明实施例中,目标槽位并不特指某一固定的槽位,而是可以指代通信设备中部署的任一电源模块或电池模块槽位,本发明实施例后续不再复述。In the embodiment of the present invention, the target slot does not specifically refer to a fixed slot, but may refer to any power module or battery module slot deployed in the communication device, which will not be repeated in the embodiments of the present invention.

本发明实施例中,考虑到现有通信设备的设计方案中,电源模块槽位与电池模块槽位二者不兼容,容易发生由于电源模块或电池模块插入错误的槽位导致槽位对应的连接器损坏或通信设备整体损坏,因此,为了提高通信设备安全性,通信设备中部署的电源模块槽位和电池模块槽位可以设置为通用槽位,即对于同一槽位,可以根据需求选择插入电源模块或电池模块。In the embodiment of the present invention, considering that in the design scheme of the existing communication equipment, the power module slot and the battery module slot are incompatible, and it is easy to cause the connection corresponding to the slot due to the power module or the battery module being inserted into the wrong slot. Therefore, in order to improve the security of the communication equipment, the power module slot and the battery module slot deployed in the communication device can be set as common slots, that is, for the same slot, you can choose to insert the power supply according to your needs. module or battery module.

为了实现上述目的,在本发明实施例中,当目标槽位中插入模块时,通信设备需要能够识别所插入的模块为电源模块或电池模块,从而,为目标槽位对应的连接器提供相对应的控制信号。In order to achieve the above purpose, in this embodiment of the present invention, when a module is inserted into a target slot, the communication device needs to be able to identify the inserted module as a power module or a battery module, so as to provide a corresponding connector for the target slot control signal.

相应地,当通信设备检测到目标槽位中插入模块时,通信设备可以获取该模块的模块标识,以便能够根据该模块标识识别该模块为电源模块或电池模块。Correspondingly, when the communication device detects that a module is inserted into the target slot, the communication device can acquire the module identifier of the module, so as to be able to identify the module as a power module or a battery module according to the module identifier.

作为一种可选的实施方式,上述步骤101中,获取该模块的模块标识,包括:As an optional implementation manner, in the above step 101, acquiring the module identifier of the module includes:

获取目标槽位对应的连接器中预设管脚的输入信号;Obtain the input signal of the preset pin in the connector corresponding to the target slot;

根据该预设管脚的输入信号确定该模块的模块标识。The module identifier of the module is determined according to the input signal of the preset pin.

在该实施方式中,可以根据电源模块和电池模块的类型信号输出特点,预先在目标槽位对应的连接器的管脚中确定接收电源模块或电池模块输入的类型信号的管脚(本文中称为预设管脚,其根据实际场景设定)。In this embodiment, according to the type signal output characteristics of the power module and the battery module, the pins of the connector corresponding to the target slot may be determined in advance to receive the type signal input by the power module or the battery module (herein referred to as the pin). It is a preset pin, which is set according to the actual scene).

相应地,当通信设备检测到目标槽位中插入模块时,通信设备可以获取该目标槽位对应的连接器中预设管脚的输入信号,并根据该预设管脚的输入信号确定该模块的模块标识。Correspondingly, when the communication device detects that a module is inserted into the target slot, the communication device can obtain the input signal of the preset pin in the connector corresponding to the target slot, and determine the module according to the input signal of the preset pin. the module ID.

值得说明的是,上述通过获取目标槽位对应的连接器中预设管脚的输入信号,并根据预设管脚的输入信号确定模块的模块标识的实现仅仅是本发明实施例中获取模块的模块标识的一种具体示例,而并不是对本发明保护范围的限定,即在本发明实施例中,也可以通过其它方式获取模块的模块标识。It is worth noting that the above-mentioned implementation of obtaining the input signal of the preset pin in the connector corresponding to the target slot, and determining the module identifier of the module according to the input signal of the preset pin is only the realization of obtaining the module in the embodiment of the present invention. A specific example of a module identifier is not intended to limit the protection scope of the present invention, that is, in this embodiment of the present invention, the module identifier of the module may also be obtained in other ways.

例如,可以预先针对目标槽位设计模式选择开关,通过该模块选择开关可以选择目标槽位为电源模块模式或电池模块模式;当用户需要在目标槽位中插入电源模块或电池模块时,可以根据实际情况选择电源模块模式或电池模块模式,相应地,当通信设备检测到目标槽位中插入模块时,可以将当前的模式选择开关的值作为所插入模块的模块标识,并根据该模块标识确定模块的类型。For example, a mode selection switch can be designed for the target slot in advance, and through the module selection switch, the target slot can be selected as the power module mode or the battery module mode; when the user needs to insert a power module or a battery module into the target slot, the Select the power module mode or the battery module mode according to the actual situation. Correspondingly, when the communication device detects that a module is inserted into the target slot, the value of the current mode selection switch can be used as the module ID of the inserted module, and the module ID can be determined according to the module ID. The type of module.

步骤102、根据获取到的模块标识确定插入的模块为电源模块或电池模块。Step 102: Determine according to the acquired module identifier that the inserted module is a power module or a battery module.

本发明实施例中,通信设备获取到目标槽位中插入的模块的模块标识时,可以根据获取到的模块标识确定目标槽位中插入的模块为电源模块或电池模块。In the embodiment of the present invention, when the communication device acquires the module identifier of the module inserted in the target slot, it can determine whether the module inserted in the target slot is a power module or a battery module according to the acquired module identifier.

例如,假设电源模块的类型信号为00,电池模块的类型信号为01,预设管脚为管脚a和管脚b,则当通信设备检测到目标槽位中插入模块时,通信设备可以获取目标槽位对应的连接器中管脚a和管脚b的输入信号;若管脚a的输入信号为0,管脚b的输入信号为0,则通信设备可以确定目标槽位中插入的模块为电源模块;若管脚a的输入信号为0,管脚b的输入信号为1,则通信设备可以确定目标槽位中插入的模块为电池模块。For example, assuming that the type signal of the power module is 00, the type signal of the battery module is 01, and the preset pins are pin a and pin b, when the communication device detects that a module is inserted into the target slot, the communication device can obtain The input signal of pin a and pin b in the connector corresponding to the target slot; if the input signal of pin a is 0 and the input signal of pin b is 0, the communication device can determine the module inserted in the target slot is a power supply module; if the input signal of pin a is 0 and the input signal of pin b is 1, the communication device can determine that the module inserted in the target slot is a battery module.

值得说明的是,在本发明实施例中,若通信设备无法从目标槽位对应的连接器的预设管脚中获取到输入信号,或者,根据目标槽位对应的连接器的预设管脚中获取到的输入信号确定目标槽位不是电源模块,也不是电池模块,则通信设备可以进行告警处理,以提示用户(如管理员)进行处理。It is worth noting that, in the embodiment of the present invention, if the communication device cannot obtain the input signal from the preset pins of the connector corresponding to the target slot, or, according to the preset pins of the connector corresponding to the target slot If the input signal obtained in the device determines that the target slot is neither a power module nor a battery module, the communication device can perform alarm processing to prompt the user (such as an administrator) for processing.

步骤103、当该模块为电源模块时,向目标槽位对应的连接器的控制信号管脚输入第一类型控制信号。Step 103: When the module is a power module, input a first type of control signal to the control signal pin of the connector corresponding to the target slot.

步骤104、当该模块为电池模块时,向目标槽位对应的连接器的控制信号管脚输入第二类型控制信号。Step 104: When the module is a battery module, input a second type of control signal to the control signal pin of the connector corresponding to the target slot.

本发明实施例中,通信设备根据获取到的模块标识确定了目标槽位中插入的模块为电源模块或电池模块时,通信设备可以向目标槽位对应的连接器中的控制信号管脚输入对应的控制信号。In the embodiment of the present invention, when the communication device determines that the module inserted in the target slot is a power module or a battery module according to the acquired module identifier, the communication device can input the corresponding control signal pin in the connector corresponding to the target slot. control signal.

具体地,当通信设备确定目标槽位中插入的模块为电源模块时,通信设备可以向目标槽位对应的连接器的控制信号管脚中输入对应电源模块的控制信号(本文中称为第一类型控制信号);Specifically, when the communication device determines that the module inserted in the target slot is a power module, the communication device may input a control signal of the corresponding power module into the control signal pin of the connector corresponding to the target slot (herein referred to as the first power module). type control signal);

当通信设备确定目标槽位中插入的模块为电源模块时,通信设备可以向目标槽位对应的连接器的控制信号管脚中输入对应电池模块的控制信号(本文中称为第二类型控制信号)。When the communication device determines that the module inserted in the target slot is a power module, the communication device can input a control signal corresponding to the battery module (herein referred to as the second type control signal) into the control signal pin of the connector corresponding to the target slot. ).

进一步地,在本发明实施例中,目标槽位对应的连接器的控制信号管脚中,同一控制信号管脚对应电源模块和电池模块的信号方向需要保持一致;其中,该信号方向可以包括信号输入或信号输出。Further, in the embodiment of the present invention, among the control signal pins of the connector corresponding to the target slot, the signal directions of the same control signal pin corresponding to the power supply module and the battery module need to be consistent; wherein, the signal direction may include a signal input or signal output.

具体地,在本发明实施例中,对于目标槽位对应的连接器的任一控制信号管脚,当该控制信号管脚对于电源模块为信号输入管脚时,该控制信号管脚对于电池模块也需要为信号输入管脚;同理,当该控制信号管脚对于电源模块为信号输出管脚时,该控制信号管脚对于电池模块也需要为信号输出管脚。Specifically, in the embodiment of the present invention, for any control signal pin of the connector corresponding to the target slot, when the control signal pin is a signal input pin for the power module, the control signal pin is for the battery module. It also needs to be a signal input pin; similarly, when the control signal pin is a signal output pin for the power module, the control signal pin also needs to be a signal output pin for the battery module.

可见,在图1所示的方法流程中,对于任一通用槽位,通信设备通过在检测到槽位中插入模块时,获取该模块的模块标识,并根据该模块标识识别插入的为电源模块或电池模块,进而,根据识别结果为该槽位对应的连接器的信号管脚输入对应的控制信号,实现了电源模块和电池模块槽位共用,提高了通信设备的安全性。It can be seen that in the method flow shown in FIG. 1, for any general slot, the communication device obtains the module identifier of the module when detecting that a module is inserted in the slot, and identifies the inserted power module according to the module identifier. Or a battery module, and further, according to the identification result, input a corresponding control signal to the signal pin of the connector corresponding to the slot, realize the sharing of the slot of the power module and the battery module, and improve the security of the communication device.

此外,在本发明实施例中,由于电源模块和电池模块共用槽位,因此,在通信设备槽位数量固定的情况下,可以根据实际需求灵活配置电源模块和电池模块的数量,提高了电源模块和电池模块配置的灵活性。In addition, in the embodiment of the present invention, since the power module and the battery module share the same slot, therefore, in the case that the number of communication device slots is fixed, the number of the power module and the battery module can be flexibly configured according to actual needs, thereby improving the power supply module. and flexibility in battery module configuration.

例如,对于供电较为稳定的场景,可以配置较多的电源模块,以保证功耗需求;对于容易出现异常掉电的场景,可以配置较多的电池模块,以保证掉电时的系统可靠性For example, for scenarios with relatively stable power supply, more power modules can be configured to ensure power consumption requirements; for scenarios prone to abnormal power failures, more battery modules can be configured to ensure system reliability during power failures

进一步地,在本发明实施例中,目标槽位对应的连接器的电源信号管脚中,同一电源信号管脚对应电源模块和电池模块的信号一致。Further, in the embodiment of the present invention, among the power signal pins of the connector corresponding to the target slot, the same power signal pin corresponds to the same signal of the power supply module and the battery module.

具体地,在本发明实施例中,电源模块和电池模块共用电源信号(包括系统电源信息和接地)通道,目标槽位对应的连接器中电源信号管脚可以直接分别连接槽位电源和接地(GND)。对于目标槽位对应的连接器中任一电源信号管脚,该电源信号管脚对应电源模块的信号定义与对应电池信号的定义相同。Specifically, in this embodiment of the present invention, the power supply module and the battery module share a power supply signal (including system power supply information and grounding) channel, and the power supply signal pins in the connector corresponding to the target slot can be directly connected to the slot power supply and grounding ( GND). For any power signal pin in the connector corresponding to the target slot, the signal definition of the power signal pin corresponding to the power module is the same as the definition of the corresponding battery signal.

例如,假设电源信号管脚1对于电源模块为5V_SB(standby,等待电压)信号,则电源信号管脚1对于电池模块也为5V_SB信号;同理,假设电源信号管脚2对于电源模块为接地信号,则电源信号管脚2对于电池模块也为接地信号。For example, suppose that the power signal pin 1 is the 5V_SB (standby, waiting voltage) signal for the power module, then the power signal pin 1 is also the 5V_SB signal for the battery module; similarly, it is assumed that the power signal pin 2 is the ground signal for the power module , then the power signal pin 2 is also a ground signal for the battery module.

值得说明的是,在本发明实施例中,上述通用槽位支持热插拔。It should be noted that, in the embodiment of the present invention, the above-mentioned general slot supports hot swapping.

为了使本领域技术人员更好地理解本发明实施例提供的技术方案,下面结合具体应用场景对本发明实施例提供的技术方案进行描述。In order for those skilled in the art to better understand the technical solutions provided by the embodiments of the present invention, the technical solutions provided by the embodiments of the present invention are described below with reference to specific application scenarios.

请参见图2,为本发明实施例提供的通用槽位实现原理示意图,如图2所示,通用槽位对应的连接器中电源信号管脚直接分别与槽位的电源和GND连接,该连接器的控制信号管脚与通信设备的控制信号收发器件(图中未示出)之间部署有逻辑处理器(LOGIC)。Please refer to FIG. 2 , which is a schematic diagram of the implementation principle of a universal slot provided by an embodiment of the present invention. As shown in FIG. 2 , the power signal pins in the connector corresponding to the universal slot are directly connected to the power supply and GND of the slot, respectively. A logic processor (LOGIC) is disposed between the control signal pins of the device and the control signal transceiver device (not shown in the figure) of the communication device.

基于图2所示的原理示意图,本发明实施例提供的通用槽位的工作原理如下:Based on the schematic diagram of the principle shown in FIG. 2 , the working principle of the general slot provided in the embodiment of the present invention is as follows:

当通信设备检测到槽位中插入模块时,通信设备可以获取该模块的模块标识,并通过逻辑处理器根据该模块标识确定该模块为电源模块或电池模块。When the communication device detects that a module is inserted into the slot, the communication device can obtain the module identifier of the module, and determine that the module is a power module or a battery module according to the module identifier through the logic processor.

当该模块为电源模块时,通信设备通过逻辑处理器将控制信号处理为电源模块控制信号,并输出给连接器的控制信号管脚。When the module is a power module, the communication device processes the control signal into a power module control signal through the logic processor, and outputs the control signal to the control signal pin of the connector.

当该模块为电池模块时,通信设备通过逻辑处理器将控制信号处理为电池模块控制信号,并输出给连接器的控制信号管脚。When the module is a battery module, the communication device processes the control signal into a battery module control signal through the logic processor, and outputs it to the control signal pin of the connector.

其中,连接器各PIN脚(管脚)的处理方式如下(以槽位对应的连接器为70pin连接器为例):Among them, the processing method of each PIN pin (pin) of the connector is as follows (take the connector corresponding to the slot as a 70pin connector as an example):

PIN12-PIN21,PIN49-PIN59是共用的GND,直接接单板地。PIN12-PIN21, PIN49-PIN59 are shared GND, directly connected to the board ground.

PIN24-PIN47是共用的12V,对于电源模块是12V输出,对于电池模块充电时是12V输入,放电时是12V输出,直接接系统12V。PIN24-PIN47 is a shared 12V, which is 12V output for the power module, 12V input when charging the battery module, 12V output when discharging, and directly connected to the system 12V.

PIN65,PIN66是共用的5V_SB,直接接系统的前电源5V。PIN65, PIN66 are shared 5V_SB, directly connected to the front power supply 5V of the system.

PIN1是电源模块开关和电池模块的开关共用引脚,对于模块来说都是输入信号,通过逻辑处理器确定模块类型来确定是给模块输入MCU_PSU_ON_N还是MCU_BAT_OFF,达到兼容目的。PIN1 is the pin shared by the switch of the power module and the switch of the battery module. It is an input signal for the module. The logic processor determines the module type to determine whether to input MCU_PSU_ON_N or MCU_BAT_OFF to the module to achieve compatibility.

PIN2是电源模块的PSKILL引脚,单板上接GND,对于电池模块也直接接GND。PIN2 is the PSKILL pin of the power module, which is connected to GND on the board, and also directly connected to GND for the battery module.

PIN3对于电源模块为NC,对于电池模块是输入控制信号MCU_BAT_CTRL0,可以达到兼容目的。PIN3 is NC for the power module, and the input control signal MCU_BAT_CTRL0 for the battery module, which can achieve the purpose of compatibility.

PIN4对于电源模块为NC,对于电池模块是输入控制信号MCU_BAT_CTRL1,可以达到兼容目的。PIN4 is NC for the power module, and the input control signal MCU_BAT_CTRL1 for the battery module, which can achieve the purpose of compatibility.

PIN5对于电源模块是其内部EERPOM(Electrically Erasable ProgrammableRead-Only Memory,电可擦可编程只读存储器)地址输入信号ADDRESS0;对于电池模块是输入控制信号MCU_BAT_CTRL2,通过逻辑处理器确定模块类型来确定是给模块输入地址信号还是电池控制信号,达到兼容目的。PIN5 for the power module is its internal EERPOM (Electrically Erasable Programmable Read-Only Memory) address input signal ADDRESS0; for the battery module, it is the input control signal MCU_BAT_CTRL2, which is determined by the logic processor to determine the module type. The module input address signal is also the battery control signal to achieve compatibility.

PIN6对于电源模块是其内部EERPOM地址输入信号ADDRESS1;对于电池模块是输入控制信号MCU_BAT_CTRL3,通过逻辑处理器确定模块类型来确定是给模块输入地址信号还是电池控制信号,达到兼容目的。PIN6 is its internal EERPOM address input signal ADDRESS1 for the power module; it is the input control signal MCU_BAT_CTRL3 for the battery module, and the logic processor determines the module type to determine whether to input the address signal or the battery control signal to the module to achieve compatibility.

PIN7对于电源模块为NC;对于电池模块为输出信号电池状态BAT_MCU_STS0。PIN7 is NC for the power module; it is the output signal battery status BAT_MCU_STS0 for the battery module.

PIN8对于电源模块为输出信号ALERT_N;对于电池模块为输出信号电池状态BAT_MCU_STS1。通过逻辑处理器确定模块类型来确定给模块输入的控制信号,可以达到兼容目的。PIN8 is the output signal ALERT_N for the power module; it is the output signal battery status BAT_MCU_STS1 for the battery module. The purpose of compatibility can be achieved by determining the type of the module by the logic processor to determine the control signal input to the module.

PIN9对于电源模块为输出信号PSU_MCU_AC_OK;对于电池模块为输出信号电池状态BAT_MCU_STS2。通过逻辑处理器确定模块类型来确定给模块输入的控制信号,可以达到兼容目的。PIN9 is the output signal PSU_MCU_AC_OK for the power supply module; it is the output signal battery status BAT_MCU_STS2 for the battery module. The purpose of compatibility can be achieved by determining the type of the module by the logic processor to determine the control signal input to the module.

PIN10对于电源模块为NC;对于电池模块为输出信号电池状态BAT_MCU_STS3。PIN10 is NC for the power module; it is the output signal battery status BAT_MCU_STS3 for the battery module.

PIN11对于电源模块为NC;对于电池模块为电池模块的均流信号。PIN11 is NC for the power module; it is the current sharing signal of the battery module for the battery module.

PIN22对于电源模块为NC;对于电池模块为电池前电源BAT_MCU_PRE_VOL。PIN22 is NC for the power module and BAT_MCU_PRE_VOL for the battery module.

PIN23和PIN48对于电源模块为NC;对于电池模块为电池后电源BAT_MCU_POST_VOL。PIN23 and PIN48 are NC for the power module and BAT_MCU_POST_VOL for the battery module.

PIN60是模块的在位信号。PIN60 is the in-position signal of the module.

PIN61是模块的PCB版本号。PIN61 is the PCB version number of the module.

PIN62,PIN63是模块的类型信号,逻辑处理器根据这个两个管脚的输入信号确定插入模块为电源模块或电池模块。PIN62 and PIN63 are the type signals of the module, and the logic processor determines that the inserted module is a power module or a battery module according to the input signals of the two pins.

PIN64对于电源模块是I2C(Inter-Integrated Circuit,串行总线)数据信号SMBUS_SDA,访问电源模块内部EEPROM;对于电池模块是NC。PIN64 is the I2C (Inter-Integrated Circuit, serial bus) data signal SMBUS_SDA for the power module, and accesses the internal EEPROM of the power module; for the battery module, it is NC.

PIN67对于电源模块是I2C时钟信号SMBUS_SCL,访问电源模块内部EEPROM;对于电池模块是NC。PIN67 is the I2C clock signal SMBUS_SCL for the power module, which accesses the internal EEPROM of the power module; it is NC for the battery module.

PIN68对于电源模块是NC;对于电池模块是输入信号BAT_PSU_MCU_PWRGD。PIN68 is NC for the power supply module; it is the input signal BAT_PSU_MCU_PWRGD for the battery module.

PIN68对于电源模块是输出信号PSU_MCU_PWRGD;对于电池模块是NC。PIN68 is the output signal PSU_MCU_PWRGD for the power module and NC for the battery module.

PIN70对于电源模块的均流信号;对于电池模块为NC。PIN70 is the current sharing signal for the power module; it is NC for the battery module.

应该认识到,上述实施例中虽然以通用槽位对应的连接器为70pin连接器为例进行说明,但其并不是对本发明保护范围的限定,也即本发明实施例中通用槽位对应的连接器并不限于70pin连接器,例如,通用槽位对应的连接器也可以包括对应电源信号的电源电源器以及对应控制信号的2mm低速连接器。在本发明实施例的基础上,本领域技术人员在不付出创造性劳动的前提下对通用槽位对应的连接器以及连接器管脚信号定义的调整和变型均应属于本发明保护范围。It should be recognized that although the above-mentioned embodiment takes the connector corresponding to the general slot as a 70pin connector as an example, this does not limit the protection scope of the present invention, that is, the connection corresponding to the general slot in the embodiment of the present invention The connector is not limited to the 70pin connector, for example, the connector corresponding to the general slot may also include a power supply unit corresponding to the power signal and a 2mm low-speed connector corresponding to the control signal. On the basis of the embodiments of the present invention, the adjustment and modification of the connector corresponding to the general slot and the definition of the connector pin signal by those skilled in the art without creative work shall fall within the protection scope of the present invention.

通过以上描述可以看出,在本发明实施例提供的技术方案中,当检测到目标槽位中插入模块时,获取该模块的模块标识;根据模块标识确定该模块为电源模块或电池模块;当该模块为电源模块时,向目标槽位对应的连接器的控制信号管脚输入第一类型控制信号;当该模块为电池模块时,向目标槽位对应的连接器的控制信号管脚输入第二类型控制信号,实现了电源模块和电池模块槽位共用,提高了通信设备的安全性。It can be seen from the above description that in the technical solution provided by the embodiment of the present invention, when it is detected that a module is inserted into the target slot, the module identifier of the module is obtained; the module is determined to be a power module or a battery module according to the module identifier; when When the module is a power module, the first type of control signal is input to the control signal pin of the connector corresponding to the target slot; when the module is a battery module, the first type of control signal is input to the control signal pin of the connector corresponding to the target slot. The second type of control signal realizes the sharing of the power module and the battery module slot, and improves the security of the communication equipment.

请参见图3,为本发明实施例提供的一种通用槽位实现装置的结构示意图,其中,该通用槽位实现装置可以应用于上述方法实施例中的通信设备,如图3所示,该通用槽位实现装置可以包括:Please refer to FIG. 3 , which is a schematic structural diagram of an apparatus for implementing a universal slot provided by an embodiment of the present invention, wherein the apparatus for implementing a universal slot may be applied to the communication equipment in the above method embodiments. As shown in FIG. 3 , the Universal slot implementation means may include:

获取单元310,用于当检测到目标槽位中插入模块时,获取该模块的模块标识;an acquiring unit 310, configured to acquire the module identifier of the module when it is detected that a module is inserted into the target slot;

确定单元320,用于根据所述模块标识判断该模块为电源模块或电池模块;a determining unit 320, configured to determine whether the module is a power module or a battery module according to the module identifier;

处理单元330,用于当该模块为电源模块时,向所述目标槽位对应的连接器的控制信号管脚输入第一类型控制信号;当该模块为电池模块时,向所述目标槽位对应的连接器的控制信号管脚输入第二类型控制信号。The processing unit 330 is configured to input the first type control signal to the control signal pin of the connector corresponding to the target slot when the module is a power module; when the module is a battery module, to the target slot The control signal pins of the corresponding connectors input the second type of control signals.

在可选实施例中,所述获取单元310,可以具体用于获取所述目标槽位对应的连接器中预设管脚的输入信号;根据根据该预设管脚的输入信号确定该模块的模块标识。In an optional embodiment, the obtaining unit 310 may be specifically configured to obtain the input signal of the preset pin in the connector corresponding to the target slot; determine the module's input signal according to the input signal of the preset pin Module ID.

在可选实施例中,所述获取所述目标槽位对应的连接器中预设管脚的输入信号;根据根据该预设管脚的输入信号确定该模块的模块标识。In an optional embodiment, the acquiring the input signal of the preset pin in the connector corresponding to the target slot; and determining the module identifier of the module according to the input signal according to the preset pin.

在可选实施例中,所述目标槽位对应的连接器的电源信号管脚中,同一电源信号管脚对应电源模块和电池模块的信号一致。In an optional embodiment, among the power signal pins of the connector corresponding to the target slot, the same power signal pin corresponds to the same signal of the power module and the battery module.

进一步地,本发明实施例还提供一种通信设备,该通信设备包括多个槽位,该多个槽位中任一槽位用于插入电源模块或电池模块,各槽位对应的连接器的控制信号管脚与通信设备的控制信号收发器件之间部署有逻辑处理器;其中:Further, an embodiment of the present invention also provides a communication device, the communication device includes a plurality of slots, any slot in the plurality of slots is used for inserting a power module or a battery module, and the connector corresponding to each slot is A logic processor is deployed between the control signal pins and the control signal transceiver device of the communication device; wherein:

所述逻辑处理器可以包括图3所示的通用槽位实现装置。The logical processor may include the general slot implementation device shown in FIG. 3 .

在可选实施例中,所述多个槽位中插入至少一个电源模块,其余槽位可以根据实际需求选择插入电源模块或电池模块。In an optional embodiment, at least one power module is inserted into the plurality of slots, and the remaining slots can be selectively inserted into a power module or a battery module according to actual requirements.

上述装置中各个单元的功能和作用的实现过程具体详见上述方法中对应步骤的实现过程,在此不再赘述。For details of the implementation process of the functions and functions of each unit in the above device, please refer to the implementation process of the corresponding steps in the above method, which will not be repeated here.

对于装置实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本发明方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。For the apparatus embodiments, since they basically correspond to the method embodiments, reference may be made to the partial descriptions of the method embodiments for related parts. The device embodiments described above are only illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in One place, or it can be distributed over multiple network elements. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of the present invention. Those of ordinary skill in the art can understand and implement it without creative effort.

由上述实施例可见,当检测到目标槽位中插入模块时,获取该模块的模块标识;根据模块标识确定该模块为电源模块或电池模块;当该模块为电源模块时,向目标槽位对应的连接器的控制信号管脚输入第一类型控制信号;当该模块为电池模块时,向目标槽位对应的连接器的控制信号管脚输入第二类型控制信号,实现了电源模块和电池模块槽位共用,提高了通信设备的安全性。It can be seen from the above embodiment that when it is detected that a module is inserted into the target slot, the module identifier of the module is obtained; according to the module identifier, it is determined that the module is a power supply module or a battery module; when the module is a power supply module, it is corresponding to the target slot. The first type of control signal is input to the control signal pin of the connector; when the module is a battery module, the second type of control signal is input to the control signal pin of the connector corresponding to the target slot, so as to realize the power supply module and the battery module. Slots are shared, which improves the security of communication equipment.

本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本发明的其它实施方案。本申请旨在涵盖本发明的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本发明的一般性原理并包括本发明未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本发明的真正范围和精神由下面的权利要求指出。Other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of the invention which follow the general principles of the invention and which include common knowledge or conventional techniques in the art not disclosed by the invention . The specification and examples are to be regarded as exemplary only, with the true scope and spirit of the invention being indicated by the following claims.

应当理解的是,本发明并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本发明的范围仅由所附的权利要求来限制。It should be understood that the present invention is not limited to the precise structures described above and illustrated in the accompanying drawings, and that various modifications and changes may be made without departing from its scope. The scope of the present invention is limited only by the appended claims.

Claims (10)

1. A method for implementing a universal slot, comprising:
when detecting that a module is inserted into the target slot, acquiring a module identifier of the module, including: designing a mode selection switch aiming at a target slot position in advance, and selecting the target slot position as a power module mode or a battery module mode through the mode selection switch; when the module is detected to be inserted into the target slot position, taking the value of the current mode selection switch as the module identification of the inserted module;
determining the module as a power module or a battery module according to the module identifier;
when the module is a power supply module, inputting a first type control signal to a control signal pin of a connector corresponding to the target slot position;
and when the module is a battery module, inputting a second type of control signal to a control signal pin of the connector corresponding to the target slot position.
2. The method of claim 1, wherein obtaining the module identifier of the module comprises:
acquiring an input signal of a preset pin in a connector corresponding to the target slot position;
and determining the module identification of the module according to the input signal of the preset pin.
3. The method according to claim 1, wherein in the control signal pins of the connection corresponding to the target slot, the signal directions of the power module and the battery module corresponding to the same control signal pin are consistent; wherein the signal direction comprises a signal input or a signal output.
4. The method of claim 1, wherein the power signal pins of the connector corresponding to the target slot correspond to the same power signal pins corresponding to the power module and the battery module.
5. A universal slot implementation device, comprising:
the obtaining unit is used for obtaining the module identifier of the module when detecting that the module is inserted into the target slot position, and comprises the following steps: designing a mode selection switch aiming at a target slot position in advance, and selecting the target slot position as a power module mode or a battery module mode through the mode selection switch; when the module is detected to be inserted into the target slot position, taking the value of the current mode selection switch as the module identification of the inserted module;
the determining unit is used for judging that the module is a power module or a battery module according to the module identifier;
the processing unit is used for inputting a first type of control signal to a control signal pin of the connector corresponding to the target slot position when the module is a power supply module; and when the module is a battery module, inputting a second type of control signal to a control signal pin of the connector corresponding to the target slot position.
6. The apparatus of claim 5,
the acquisition unit is specifically configured to acquire an input signal of a preset pin in a connector corresponding to the target slot; and determining the module identification of the module according to the input signal of the preset pin.
7. The apparatus according to claim 5, wherein in the control signal pins of the connection corresponding to the target slot, the signal directions of the power module and the battery module corresponding to the same control signal pin are consistent; wherein the signal direction comprises a signal input or a signal output.
8. The apparatus of claim 5, wherein the power signal pins of the connector corresponding to the target slot correspond to the same power signal pins corresponding to the power modules and the battery modules.
9. A communication device is characterized by comprising a plurality of slot positions, wherein any slot position in the plurality of slot positions is used for inserting a power module or a battery module, and a logic processor is arranged between a control signal pin of a connector corresponding to each slot position and a control signal transceiver of the communication device; wherein:
the logical processor comprises the universal slot implementation apparatus of any of claims 5-8.
10. The communications device of claim 9, wherein at least one power module is inserted into the plurality of slots.
CN201611131367.2A 2016-12-09 2016-12-09 A kind of universal slot realization method, device and communication equipment Active CN106648007B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611131367.2A CN106648007B (en) 2016-12-09 2016-12-09 A kind of universal slot realization method, device and communication equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611131367.2A CN106648007B (en) 2016-12-09 2016-12-09 A kind of universal slot realization method, device and communication equipment

Publications (2)

Publication Number Publication Date
CN106648007A CN106648007A (en) 2017-05-10
CN106648007B true CN106648007B (en) 2020-06-19

Family

ID=58824131

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611131367.2A Active CN106648007B (en) 2016-12-09 2016-12-09 A kind of universal slot realization method, device and communication equipment

Country Status (1)

Country Link
CN (1) CN106648007B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113378505B (en) * 2020-03-10 2023-05-30 浙江宇视科技有限公司 A wiring layout adjustment method, device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201548899U (en) * 2009-11-26 2010-08-11 英业达股份有限公司 Standby power supply equipment of notebook computer
CN103631345A (en) * 2013-12-17 2014-03-12 济南腾越电子有限公司 Modularized full-ruggedized computer
CN106155954A (en) * 2015-03-30 2016-11-23 上海航天有线电厂有限公司 The system and method that a kind of module identification and COM1 distribute automatically

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201548899U (en) * 2009-11-26 2010-08-11 英业达股份有限公司 Standby power supply equipment of notebook computer
CN103631345A (en) * 2013-12-17 2014-03-12 济南腾越电子有限公司 Modularized full-ruggedized computer
CN106155954A (en) * 2015-03-30 2016-11-23 上海航天有线电厂有限公司 The system and method that a kind of module identification and COM1 distribute automatically

Also Published As

Publication number Publication date
CN106648007A (en) 2017-05-10

Similar Documents

Publication Publication Date Title
EP3123312B1 (en) In-system provisioning of firmware for a hardware platform
CN104202194B (en) The collocation method and device of PCIe topologys
CN107493685B (en) Reprogramming a port controller via its own external port
US9645954B2 (en) Embedded microcontroller and buses
CN109639446B (en) FPGA device and cloud system based on FPGA device
US10509750B2 (en) System and method for controlling multi-function pins in management controller stack
US20150074323A1 (en) Data bus host and controller switch
CN103218180A (en) Disk positioning method and device
EP2798428B1 (en) Apparatus and method for managing operation of a mobile device
US9946552B2 (en) System and method for detecting redundant array of independent disks (RAID) controller state from baseboard management controller (BMC)
US9703937B2 (en) Method to prevent operating system digital product key activation failures
US11232060B2 (en) Method, apparatus and system for power supply policy exchange on a bus
CN112783721B (en) Method, device, system and storage medium for I2C bus monitoring
CN103257922B (en) A kind of method of quick test BIOS and OS interface code reliability
TWI604304B (en) Electronic apparatus and detection method using the same
TWI677250B (en) Network system and authenticating method
US10198270B2 (en) Dynamic hardware configuration via firmware interface at computing device boot
TW201617774A (en) Backup power and load discovery
CN106648007B (en) A kind of universal slot realization method, device and communication equipment
CN106030544B (en) Method for detecting memory of computer equipment and computer equipment
EP2750030A1 (en) Method, apparatus and processor for reading BIOS
EP2942714A2 (en) Monitoring method, monitoring apparatus, and electronic device
CN116539992A (en) Storage device in-place stable state detection device, method, logic module and medium
CN115098342A (en) System log collection method, system, terminal and storage medium
CN114153507A (en) A control method and device, and storage medium

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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20221116

Address after: 250101 4th floor, building 5, zone A2, Hanyu Jingu, Shunhua South Road, high tech Zone, Jinan City, Shandong Province

Patentee after: Jinan Yushi Intelligent Technology Co.,Ltd.

Address before: 310051 Zhejiang Jiangling Hangzhou Road, Binjiang District, Jiangling, 88, No. 10 South Block 1-11.

Patentee before: ZHEJIANG UNIVIEW TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right