Energy-saving control methods, systems, FTTR devices, memory sticks and program products
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-14
- Publication Date
- 2026-08-14
AI Technical Summary
为了保障全屋网络的持续稳定,FTTR设备一般都保持着长期通电运行的状态,同时,FTTR设备上存储棒接口的供电通路也会处于持续供电的状态,在FTTR设备未接入存储棒的情况下,这种持续供电显然会造成大量不必要的能源消耗
[0011]本申请实施例提出一种节能控制方法、系统、FTTR设备、存储棒及程序产品,在该节能控制方法中,FTTR设备会持续向待接入存储棒的目标接口发送检测信号,以确定存储棒是否接入,在接收到对应检测信号的反馈信号、确定存储棒接入至FTTR设备的情况下,FTTR设备不会直接向存储棒供电,而是会根据检测信号和反馈信号对存储棒的接入进行合法性验证,在合法性验证的验证结果为存储棒合法接入的情况下,FTTR设备才会向存储棒供电,既能够避免FTTR设备在存储棒未接入的情况下持续对外供电导致的能耗浪费,从而节省大量能耗,又能够避免因存储棒非法接入至FTTR设备导致的设备损坏或数据安全问题,提高安全性。
Smart Images

Figure CN122569710A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to an energy-saving control method, system, FTTR device, memory stick, and program product. Background Technology
[0002] To meet users' growing demands for data storage and sharing, most mainstream FTTR (Fiber to the Room) devices now feature storage expansion capabilities, enabling data storage and retrieval in seconds by connecting storage sticks via a data interface. To ensure the continuous stability of the whole-house network, FTTR devices are typically kept powered on continuously. Simultaneously, the power supply to the storage stick interface on the FTTR device remains continuously powered. When no storage sticks are connected to the FTTR device, this continuous power supply obviously results in significant unnecessary energy consumption. Summary of the Invention
[0003] The main objective of this application is to provide an energy-saving control method, system, FTTR device, memory stick, and program product, aiming to at least solve the technical problem of how to avoid the ineffective energy consumption caused by the continuous power supply to the memory stick interface when the FTTR device is powered on for a long time.
[0004] To achieve the above objectives, embodiments of this application provide an energy-saving control method applied to an FTTR device, comprising: Send a detection signal to the target interface of the storage stick to be connected; In response to receiving a feedback signal from the target interface, it is determined that the target interface is connected to the storage stick, wherein the feedback signal is obtained by the storage stick connected to the target interface performing a preset processing on the detection signal; The access of the storage stick is verified based on the detection signal and the feedback signal to obtain the verification result; In response to the verification result indicating that the storage stick is legally connected, power is supplied to the storage stick through the target interface; The step of verifying the legality of the access to the storage stick based on the detection signal and the feedback signal, and obtaining the verification result, includes: Acquire the first level state of the detection signal and the second level state of the feedback signal; If the first level state and the second level state satisfy a preset relationship, the verification result indicates that the memory stick is legally connected.
[0005] Furthermore, to achieve the above objectives, embodiments of this application also provide an energy-saving control method applied to a memory stick, comprising: In response to receiving a detection signal sent by the FTTR device through the target interface, the detection signal is processed in a preset manner to obtain a feedback signal; The FTTR device outputs the feedback signal to the target interface. The feedback signal is used by the FTTR device to verify the legality of the access of the storage stick based on the detection signal and the feedback signal, and to supply power to the storage stick through the target interface after the verification result shows that the storage stick is legally accessed. Power is supplied by the FTTR device; The FTTR device verifies the legitimacy of the access to the storage stick based on the detection signal and the feedback signal, including: acquiring a first level state of the detection signal and a second level state of the feedback signal; and determining that the verification result is that the storage stick is legally accessed when the first level state and the second level state satisfy a preset relationship.
[0006] Furthermore, to achieve the above objectives, embodiments of this application also provide an energy-saving control system, including an FTTR device and a storage stick, wherein: The FTTR device is configured to send a detection signal to the target interface of the memory stick to be connected. The storage stick is configured to, in response to receiving the detection signal, perform preset processing on the detection signal to obtain a feedback signal, and output the feedback signal to the target interface; The FTTR device is configured to, in response to receiving the feedback signal, determine that the target interface is connected to the storage stick; perform a legality verification of the access of the storage stick based on the detection signal and the feedback signal, and obtain a verification result; and, in response to the verification result indicating that the storage stick is legally connected, supply power to the storage stick through the target interface. The storage stick is configured to be powered on based on the electrical energy provided by the FTTR device; The step of verifying the legality of the access to the storage stick based on the detection signal and the feedback signal, and obtaining the verification result, includes: Acquire the first level state of the detection signal and the second level state of the feedback signal; If the first level state and the second level state satisfy a preset relationship, the verification result indicates that the memory stick is legally connected.
[0007] In addition, to achieve the above objectives, this application also provides an FTTR device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor. The computer program is configured to implement the energy-saving control method applied to the FTTR device as described above.
[0008] In addition, to achieve the above objectives, embodiments of this application also provide a storage stick configured to implement the energy-saving control method applied to the storage stick as described above.
[0009] In addition, to achieve the above objectives, this application also provides a computer program product, which includes a computer program that, when executed by a processor, implements the energy-saving control method described above.
[0010] In addition, to achieve the above objectives, this application embodiment also provides a computer storage medium storing a computer program, which, when executed by a processor, implements the energy-saving control method described above.
[0011] This application proposes an energy-saving control method, system, FTTR device, storage stick, and program product. In this energy-saving control method, the FTTR device continuously sends detection signals to the target interface of the storage stick to be connected to determine whether the storage stick is connected. Upon receiving a feedback signal corresponding to the detection signal and confirming that the storage stick is connected to the FTTR device, the FTTR device does not directly supply power to the storage stick. Instead, it performs a legality verification of the storage stick's connection based on the detection signal and the feedback signal. Only when the legality verification result indicates that the storage stick is legally connected will the FTTR device supply power to the storage stick. This avoids energy waste caused by the FTTR device continuously supplying power when the storage stick is not connected, thus saving a significant amount of energy. It also avoids equipment damage or data security issues caused by the storage stick being illegally connected to the FTTR device, thereby improving security. Attached Figure Description
[0012] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the drawings described below are only a part of the embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0013] Figure 1 A flowchart illustrating an energy-saving control method for FTTR equipment provided in an embodiment of this application; Figure 2 A schematic diagram of an energy-saving control system involved in an energy-saving control method applied to an FTTR device, provided as an embodiment of this application; Figure 3 A schematic diagram of an energy-saving control circuit involved in an energy-saving control method applied to an FTTR device, provided as an embodiment of this application; Figure 4A schematic flowchart illustrating an energy-saving control method applied to a memory stick, provided as an embodiment of this application; Figure 5 This is a schematic diagram illustrating an application scenario of an energy-saving control system provided in an embodiment of this application; Figure 6 A flowchart illustrating a differentiated power supply strategy for an energy-saving control system provided in an embodiment of this application; Figure 7 This is a schematic diagram of the structure of an FTTR device provided in an embodiment of this application.
[0014] The realization of the objectives, functional features and advantages of the embodiments of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0015] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that the embodiments of this application can also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods are omitted so as not to obscure the description of the embodiments of this application with unnecessary detail.
[0016] With the widespread adoption of gigabit fiber broadband, FTTR technology has become the mainstream solution for achieving whole-house gigabit Wi-Fi coverage. As a core infrastructure for building the current smart home ecosystem, FTTR home devices are typically deployed in various rooms of the home, providing users with high-speed network access. To meet users' growing needs for data storage and sharing, most mainstream FTTR home devices now feature storage expansion capabilities, such as connecting storage sticks via USB (Universal Serial Bus) interfaces to achieve instant data storage and retrieval, enabling local data caching, offline downloading, or media sharing services.
[0017] FTTR home-side smart products generally maintain a long-term power-on state to ensure the continuous stability of the whole-house network. Currently, for storage devices mounted on FTTR devices, the traditional solutions in related technologies usually adopt a relatively simple constant power supply method, that is: as long as the FTTR device motherboard is powered on, regardless of whether the storage stick is connected or whether data read and write operations are being performed, its interface power supply is always in a physically connected state. However, this traditional power supply method has the following drawbacks: (1) It lacks a reasonable physical presence detection mechanism, resulting in low energy utilization and unnecessary power consumption of the device. In actual application scenarios, the data read and write of the storage stick has the characteristics of "bursting" and "discontinuous". Most of the time, it is only used as network-attached storage and there is no actual data interaction. When the storage stick is not connected or is in an idle state, the power supply circuit of the FTTR device is still in a continuous power supply state. Its idle power consumption ratio is relatively high. Long-term operation will cause a lot of unnecessary energy consumption and increase the user's electricity expenses. (2) It affects the lifespan of the storage stick and the reliability of data storage. Currently, the mainstream power management solutions usually rely on the hibernation command sent by the operating system to make the storage stick enter "software standby" or "low power mode". However, in this mode, the main control chip inside the memory stick still needs to monitor the interface signals to respond to possible wake-up commands. Therefore, physical power cutoff is not achieved, meaning that the memory stick still consumes milliamps of current in standby mode. Prolonged operation in this state will cause the internal electronic components to remain continuously active, accelerating component aging. This not only shortens the lifespan of the memory stick but may also lead to data read / write errors, data loss, and other problems, impacting the user experience.
[0018] Based on this, embodiments of this application provide an energy-saving control method, system, FTTR device, storage stick, and program product. The FTTR device continuously sends detection signals to the target interface of the storage stick to be connected to determine whether the storage stick is connected. Upon receiving a feedback signal corresponding to the detection signal and confirming that the storage stick is connected to the FTTR device, the FTTR device does not directly supply power to the storage stick. Instead, it verifies the legitimacy of the storage stick's connection based on the detection signal and the feedback signal. Only when the verification result indicates that the storage stick is legally connected will the FTTR device supply power to the storage stick. This avoids energy waste caused by the FTTR device continuously supplying power when the storage stick is not connected, thus saving significant energy consumption. It also prevents equipment damage or data security issues caused by unauthorized connection of the storage stick to the FTTR device, improving security.
[0019] The energy-saving control method, system, FTTR device, memory stick, and program product provided in this application are specifically described through the following embodiments. First, the energy-saving control method in this application embodiment is described.
[0020] Reference Figure 1 , Figure 1 A flowchart illustrating an energy-saving control method applicable to FTTR equipment, as provided in this application embodiment, is shown below. Figure 1 As shown, the energy-saving control method provided in this embodiment includes steps S10 to S40.
[0021] Step S10: Send a detection signal to the target interface of the storage stick to be connected; In this embodiment, the target interface can be a physical interface on the FTTR device specifically designed for plugging in a storage stick, such as a USB interface, a TYPE-C interface, or other types of data interfaces. A storage stick is a plug-and-play micro storage unit designed specifically for FTTR devices, usually referring to NAS (Network Attached Storage) storage modules launched by manufacturers, mainly used to solve the needs of home data backup and sharing. The target interface usually includes multiple pins. The FTTR device can send a detection signal to the pins on the target interface used for data transmission. When a storage stick with a connector adapted to the target interface is plugged into the target interface, the detection signal can be transmitted to the storage stick through the target interface.
[0022] As an example, the energy-saving control method provided in this embodiment can be combined with, for example, Figure 2 Understanding the energy-saving control system shown, the detection signal can be the CC_OUT presence detection output signal provided to the target interface by the SOC (System on Chip) module in the FTTR device through GPIO (General Purpose Input / Output) port 1. After the FTTR device is powered on, the SOC module can continuously send pulse signals to the target interface through CC_OUT. This can be a pre-set set of identification codes, so that the memory stick can receive the detection signal and perform corresponding processing after being connected to the target interface.
[0023] Step S20: In response to receiving a feedback signal from the target interface, determine that the target interface is connected to the storage stick, wherein the feedback signal is obtained by the storage stick connected to the target interface performing preset processing on the detection signal.
[0024] In this embodiment, the detection signal can be pre-processed by the storage stick to generate a corresponding feedback signal. The feedback signal is then transmitted back to the FTTR device through the target interface, allowing the FTTR device to determine that the target interface has been connected to the storage stick based on the feedback signal. The pre-processing is a function that is set in the storage stick during manufacturing and can be implemented by software or hardware. This function enables the storage stick to convert the received detection signal into a feedback signal and output it. Whether the pre-processing can ensure that the detection signal and the feedback signal satisfy a certain relationship determines whether the subsequent legality verification can pass. However, if the storage stick is not connected to the target interface, or the storage stick connected to the target interface is damaged, or the storage stick connected to the target interface cannot perform pre-processing on the detection signal, the verification will fail. In the absence of a feedback signal, the FTTR device will determine that the target interface is not connected to the memory stick because it cannot receive a feedback signal from the target interface. Therefore, the FTTR device in this embodiment can determine whether the target interface is connected to the memory stick by sending a detection signal and receiving a feedback signal, thereby completing the presence detection of the memory stick. If the presence detection result is that the target interface is connected to the memory stick, the FTTR device will execute subsequent steps to further determine whether to supply power to the connected memory stick. Conversely, if the presence detection result is that the target interface is not connected to the memory stick, the FTTR device will not execute subsequent steps or supply power to the target interface, which can avoid energy waste and ensure the safe and stable operation of the FTTR device.
[0025] As an example, such as Figure 2 As shown, the feedback signal can be the CC_IN presence detection input signal received by the SOC module through the GPIO2 port connected to the target interface. The SOC module can determine whether the target interface is connected to the memory stick by continuously monitoring whether the GPIO2 port receives the CC_IN presence detection input signal.
[0026] Step S30: Verify the legality of the access to the storage stick based on the detection signal and feedback signal, and obtain the verification result.
[0027] In this embodiment, when a storage stick is connected to a target interface, the FTTR device can verify the legitimacy of the storage stick connection by comparing the detection signal and the feedback signal. The verification result can include whether the storage stick is legally connected or illegally connected. A legally connected storage stick indicates that it is a legitimate storage stick recognized by the FTTR device, and its built-in preset processing is recognized by the FTTR device, capable of converting the detection signal into a compliant feedback signal, thus passing the legitimacy verification. An illegally connected storage stick indicates that its connector is compatible with the target interface but is incompatible with the FTTR device; the built-in preset processing of an illegal storage stick or illegal peripheral is not recognized by the FTTR device and cannot convert the detection signal into a compliant feedback signal, thus failing the legitimacy verification. By implementing this legitimacy verification, faults such as short circuits and overcurrents caused by the FTTR device supplying power to illegal peripherals can be effectively avoided, as well as data security issues caused by the FTTR device transmitting stored data to illegal peripherals, thus improving security.
[0028] In some feasible embodiments, step S30 above may include: Step S31: Obtain the first level state of the detection signal and the second level state of the feedback signal.
[0029] In this embodiment, the FTTR device can compare the first level state of the detection signal and the second level state of the feedback signal, and use the comparison result as the basis for determining the legality verification result. This is because the memory stick recognized by the FTTR device contains a circuit that can have a specified influence on the level state of the input signal for performing preset processing. The feedback signal is the output signal obtained by the memory stick after the detection signal is input into its internal circuit for performing preset processing and processing. The circuit for performing preset processing can be a loop circuit that makes the first level state and the second level state the same, or an inverting circuit that makes the first level state and the second level state opposite, or other types of circuits that make the first level state and the second level state satisfy a preset relationship. This embodiment does not limit this.
[0030] Step S32: If the first level state and the second level state satisfy the preset relationship, the verification result is that the memory stick is legally connected.
[0031] In this embodiment, if the memory stick is legally connected, the detection signal, after being processed by the memory stick's internal loopback circuit, will produce a compliant feedback signal. In this embodiment, compliance means that the first level state of the detection signal and the second level state of the feedback signal satisfy a preset relationship. Therefore, when the first level state of the detection signal and the second level state of the feedback signal satisfy the preset relationship, it can be determined that the memory stick currently connected to the target interface is a legal memory stick recognized by the FTTR device, containing circuitry for performing preset processing, thus obtaining the verification result of legal memory stick connection. In this embodiment, the circuitry for performing preset processing can be an internal loopback circuit. The preset processing corresponding to a legally connected memory stick involves the memory stick inputting the detection signal to its internal loopback circuit for processing. The corresponding preset relationship is that the level states are the same. For example, if both the first and second level states are high or both are low, the verification result is set as legal memory stick connection; conversely, if the first and second level states are different, the verification result is set as illegal memory stick connection.
[0032] As an example, after the FTTR device is powered on, the SOC module can output a low-level CC_OUT presence detection output signal to the target interface through its own GPIO1 port. When the memory stick is legally connected to the target interface, the GPIO2 port can receive a low-level CC_IN presence detection input signal obtained by the memory stick through preset processing. When the SOC module detects that the level states of the GPIO1 port and the GPIO2 port are the same, it can determine that the memory stick is legally connected.
[0033] In step S40, in response to the verification result indicating that the storage stick is legally connected, power is supplied to the storage stick through the target interface.
[0034] In this embodiment, if the verification result indicates that the memory stick is legally connected, it means that the memory stick has been correctly plugged into the target interface and that the memory stick is a legal memory stick recognized by the FTTR device. If the in-situ detection is correct and the legality verification is passed, the FTTR device can provide power to the memory stick through the pins on the target interface used for transmitting power, so that the memory stick can be powered on and operated.
[0035] In some feasible embodiments, after step S40 above, the energy-saving control method applied to the FTTR device may further include: Step S50: Receive the clock request signal sent by the memory stick through the target interface.
[0036] In this embodiment, after the memory stick is powered on by the power supplied by the FTTR device through the target interface, the memory stick continuously sends a clock request signal to the FTTR device. When the FTTR device has a data interaction requirement, it can notify the memory stick through PCIe (Peripheral Component Interconnect Express, expansion card connector) related signals. At this time, the memory stick pulls the clock request signal high to initiate a handshake and requests the FTTR device to provide a high-frequency clock to support high-speed data transmission. When the FTTR device does not have a data interaction requirement, the memory stick continuously pulls the clock request signal low, so that the FTTR device reduces the power consumption of the memory stick or directly cuts off power depending on the duration of the low level of the clock request signal. The signal state of the clock request signal can reflect whether there is data interaction between the FTTR device and the memory stick in the corresponding time period. When the clock request signal is high, it indicates that there is data interaction between the memory stick and the FTTR device in the corresponding time period; when the clock request signal is low, it indicates that there is no data interaction between the memory stick and the FTTR device in the corresponding time period. Therefore, when the FTTR device receives the clock request signal through the target interface, it can continuously monitor the state changes of the clock request signal to determine whether the memory stick is in an active state that requires frequent data interaction, a short-term idle state that does not require data interaction for a short period of time, or a deep idle state that does not require data interaction for a long period of time. Based on the real-time data interaction needs, it can determine whether the current power supply mode needs to be adjusted to avoid energy waste.
[0037] As an example, such as Figure 2 As shown, the clock request signal can be the CLKREQ signal received by the SOC module through the GPIO3 port connected to the target interface. The SOC module can determine whether it needs to adjust the power supply method to the target interface by continuously monitoring the level of the CLKREQ signal received by the GPIO3 port.
[0038] In step S60, in response to the clock request signal being at a low level for a duration greater than a first preset threshold, a state adjustment command is sent to the memory stick to make the memory stick operate in a low-power mode.
[0039] In this embodiment, the FTTR device can determine whether there is a data interaction requirement on the memory stick by monitoring the level of the clock request signal. When the clock request signal is high, it indicates that there is a data interaction requirement. Conversely, when the clock request signal is low, it indicates that there is no data interaction requirement. Therefore, if the clock request signal remains low for a certain period of time, it indicates that the FTTR device does not need to interact with the memory stick during that period. In this embodiment, a first preset threshold T1 is set as a critical point for this certain period of time. If the duration of the clock request signal being low is greater than the first preset threshold T1, it is considered that the memory stick has been in a short-term idle state. In order to avoid wasting power, the FTTR device will send a state adjustment command to the memory stick to enable ASPM (Active State Power Management) and control the memory stick to enter a low-power mode. Although the FTTR device will continue to supply power to the memory stick at this time, the memory stick's operating mode has been adjusted to a low-power mode, thus reducing power consumption and saving unnecessary energy. Conversely, if the duration of the clock request signal being low is not greater than the first preset threshold T1, the FTTR device can maintain the power supply to the memory stick without interfering with the memory stick's operating mode, thus avoiding frequent adjustments to the memory stick's operating mode due to a short idle state.
[0040] Step S70: After the memory stick is in low power mode, in response to the clock request signal being low for a duration greater than a second preset threshold, power supply to the memory stick is stopped.
[0041] In this embodiment, the FTTR device's continuous monitoring of the clock request signal does not cease even when the memory stick is in low-power mode. If the clock request signal remains low for a certain period even when the memory stick is in low-power mode, it indicates that the memory stick may be in a deep idle state where data interaction is not required for an extended period. Continuing to supply power to the memory stick in this state would be a waste of energy, and to conserve unnecessary power, power supply should be stopped. This embodiment sets a second preset threshold T2 as a critical point for this certain period. After the memory stick enters low-power mode, if the duration of the low clock request signal exceeds the second preset threshold T2, the memory stick is considered to be in a deep idle state, and the FTTR device immediately stops supplying power to the memory stick upon receiving this information. Conversely, after the memory stick is in low-power mode, if the duration of the clock request signal being low is not greater than the second preset threshold T2, it can be determined again whether the duration of the clock request signal being low is greater than the first preset threshold T1. If the duration of the clock request signal being low is greater than the first preset threshold T1, it means that the memory stick is still in a short-term idle state and the data interaction frequency between the FTTR device and the memory stick is not high. In this case, the FTTR device can continue to maintain power supply, and the memory stick can continue to maintain low-power mode. If the duration of the clock request signal being low is not greater than the first preset threshold T1, it means that the data interaction between the FTTR device and the memory stick is relatively frequent. At this time, the low-level timer can be cleared, and the memory stick can be controlled to switch from low-power mode to normal working mode.
[0042] It should be noted that since the first preset threshold T1 and the second preset threshold T2 are the critical thresholds for different stages before and after the memory stick is in low-power mode, they do not need to be correlated. Their specific values can be flexibly configured according to actual needs, and this embodiment does not impose any restrictions on this. Furthermore, the clock request signal involved in this embodiment can also be replaced with an analog signal that supports adjusting the level state and has similar functionality, which can also achieve the adjustment of the memory stick's operating mode.
[0043] In some feasible embodiments, after step S70 above, the energy-saving control method applied to the FTTR equipment may further include: In step S80, in response to the data interaction request for the storage stick, proceed to step S30 above.
[0044] In this embodiment, after the FTTR device stops supplying power to the memory stick, the FTTR device may need to re-interact with the memory stick. In order for the memory stick to respond to the data interaction request of the FTTR device, the memory stick needs to be powered on again. However, before re-supplying the memory stick connected to the target interface, the validity verification process in step S30 above needs to be re-executed. The purpose is to improve the security of data interaction and avoid the situation where the FTTR device directly re-supplyes the faulty memory stick. For example, in the application scenario where the clock request signal is at a low level for a long time due to the memory stick failure and the FTTR device has stopped supplying power to the memory stick, as long as the FTTR device performs the validity verification again before re-supplying power, it can avoid supplying power to the faulty memory stick.
[0045] In some feasible embodiments, the step of stopping power supply to the memory stick in step S70 above may include: adjusting the power supply control signal to turn off the energy-saving control circuit in the FTTR device.
[0046] The energy-saving control circuit is configured to allow or prohibit the external power supply of the FTTR device from supplying power to the target interface. The energy-saving control circuit may include a first switching unit, a voltage divider unit, a second switching unit, and a protection unit. The first switching unit is configured to adjust its own on / off state according to the power supply control signal. The voltage divider unit is configured to adjust the controlled terminal voltage of the second switching unit according to the on / off state of the first switching unit. The second switching unit is configured to adjust the on / off state of the energy-saving control circuit according to the controlled terminal voltage. The protection unit is configured to provide overvoltage protection.
[0047] In this embodiment, the energy-saving control circuit is located between the external power supply and the target interface of the FTTR device. The external power supply can be a 12V DC power supply obtained by converting 220V AC power through the power adapter of the FTTR device. The FTTR device can be powered on by connecting to the external power supply through the power switch. The power supply control signal can be output by the SOC module through the GPIO4 port. This power supply control signal can directly affect the on / off state of the first switching unit, thereby indirectly affecting the on / off state of the second switching unit, and thus adjusting the on / off state of the energy-saving control circuit, which is equivalent to controlling the on / off state of the circuit between the working power supply and the target interface.
[0048] As an example, refer to Figure 3 , Figure 3A schematic diagram of an example structure of the energy-saving control circuit involved in this embodiment is shown. In this embodiment, the power supply control signal can be a valid high-level signal or a low-level signal; the controlled terminal of the first switching unit is connected to the power supply control signal, the first terminal is grounded, and the second terminal is electrically connected to a voltage divider unit, which can be a transistor or a MOSFET (Metal-Oxide-Semiconductor Field-Effect Transistor). Transistor (metal-oxide-semiconductor field-effect transistor) or other switching devices with similar functions; the voltage divider unit may include a first resistor R1 and a second resistor R2, the first end of the first resistor R1 is electrically connected to the second end of the first switching unit, the second end of the first resistor R1 is electrically connected to the first end of the second resistor R2, and the second end of the second resistor R2 is electrically connected to the power supply; the second switching unit may include a gate filter capacitor C1, a bootstrap capacitor C2, a MOSFET VT1, and combined filter capacitors C3, C4, and C5, the first end of the gate filter capacitor C1, the first end of the bootstrap capacitor C2, and the gate of the MOSFET VT1 are connected together with the second end of the first resistor R1 and the first end of the second resistor R2, the second end of the gate filter capacitor C1, the source of the MOSFET VT1, and the second end of the second resistor R2 are connected together and then electrically connected to the power supply, the second end of the bootstrap capacitor C2 is grounded, and the combined filter capacitors C3, C4, and C5 are connected in parallel between the drain of the MOSFET VT1 and ground; the protection unit may include a diode VT2, the anode of the diode VT2 is electrically connected to the drain of the MOSFET VT1, and the cathode of the diode VT2 is electrically connected to the target interface.
[0049] In such Figure 3In the energy-saving control circuit shown, the first resistor R1 and the second resistor R2 can be separate bias resistors, and the MOSFET VT1 can be a P-channel MOSFET power transistor. The source of the MOSFET VT1 is connected to the power supply voltage. When the first switching unit is on, the first terminal of the first resistor R1 is grounded. The first resistor R1 and the second resistor R2 control the voltage division so that the gate of the MOSFET VT1 receives a sufficiently high voltage, driving the MOSFET VT1 to conduct. The power supply voltage provided by the power supply can then reach the target interface through the energy-saving control circuit to power the memory stick. When the first switching unit is off, the first terminal of the first resistor R1 is not connected, the gate of the MOSFET VT1 has no driving voltage, the MOSFET VT1 is off, and the power supply voltage provided by the power supply cannot reach the target interface through the energy-saving control circuit, thereby stopping the power supply to the memory stick. In this embodiment, the gate filter capacitor C1 can filter out high-frequency interference at the gate of the MOSFET VT1, stabilize the gate voltage, and prevent gate malfunction. The bootstrap capacitor C2 can work with the first resistor R1 to increase the rise time of the gate voltage of the MOSFET VT1, accelerate the conduction speed of the MOSFET VT1, and reduce switching losses. As an example, the resistance of R1 can be 18.2KΩ, the resistance of R2 can be 10KΩ, the capacitance of C1 can be 0.1uF, the capacitance of C2 can be 1000pF, and C3, C4, and C5 can use different combinations of capacitance values to achieve wideband filtering. The resistance values of R1 and R2, and the capacitance values of C1 and C2 can also be flexibly selected according to actual needs, as long as the corresponding function is achieved. This embodiment does not impose any restrictions on this. Diode VT2 can be a Schottky diode. When the MOSFET VT1 is turned off quickly, it can use its low forward voltage drop and ultra-fast recovery characteristics to provide a low-impedance discharge path for the parasitic inductance current generated by the downstream load, avoiding voltage spikes from damaging the MOSFET VT1 or downstream sensitive devices. It can also be used to prevent reverse power connection.
[0050] In some feasible embodiments, the energy-saving control circuit in the above embodiments can also be replaced with a dedicated power management chip to achieve higher control accuracy and support dynamic voltage regulation and current limiting, but this will also increase costs.
[0051] This embodiment provides an energy-saving control method applicable to FTTR equipment. By performing presence detection, legality verification, and hierarchical identification of idle states on the memory sticks, and in conjunction with an energy-saving control circuit, it achieves tiered power supply management for the memory sticks. Power is not supplied when the memory stick is not connected or is illegally connected. When the memory stick is briefly idle, it can be controlled to enter a low-power ASPM energy-saving mode. When the memory stick is idle for a long period, power supply can be stopped, significantly reducing the overall power consumption of the FTTR equipment and minimizing unnecessary energy loss. The energy-saving control method provided in this embodiment can be implemented based on hardware circuitry, offering fast response and high reliability. Through the interaction of detection signals and clock request signals with the memory sticks, it achieves automatic power supply, energy saving, and power-off mechanisms, significantly reducing the power-on time of the memory sticks and their cumulative operating time, thereby effectively extending their lifespan and reducing replacement frequency and maintenance costs. This embodiment can determine the legality of the memory sticks plugged into the FTTR equipment through data loopback, preventing power supply to unauthorized peripherals and ensuring the safe use of the FTTR equipment.
[0052] Furthermore, embodiments of this application also provide an energy-saving control method applicable to memory sticks, referring to... Figure 4 , Figure 4 A flowchart illustrating an energy-saving control method applicable to memory sticks, as provided in this application embodiment, is shown below. Figure 4 As shown, the energy-saving control method provided in this embodiment includes steps S100 to S300.
[0053] Step S100: In response to receiving the detection signal sent by the FTTR device through the target interface, the detection signal is processed in a preset manner to obtain a feedback signal.
[0054] In this embodiment, after the storage stick is plugged into the target interface of the FTTR device, it receives a detection signal. The detection signal is a pulse signal continuously provided to the target interface by the FTTR device after it is powered on, and it can be a pre-set set of identification codes. The preset processing is a function set in the storage stick during manufacturing, which can be implemented by software or hardware. This function enables the storage stick to convert the received detection signal into a feedback signal and output it. Whether the preset processing can make the detection signal and the feedback signal satisfy a certain relationship determines whether the subsequent legality verification performed by the FTTR device can pass, and thus determines whether the storage stick can receive the power provided by the FTTR device.
[0055] Step S200: Output a feedback signal to the target interface of the FTTR device. The feedback signal is used by the FTTR device to verify the legality of the access of the storage stick based on the detection signal and the feedback signal, and to supply power to the storage stick through the target interface after the verification result shows that the storage stick is legally accessed. Step S300: Power on based on the power supplied by the FTTR device.
[0056] In this embodiment, after the storage stick provides a feedback signal to the FTTR device, the FTTR device can compare the detection signal and the feedback signal to verify the legitimacy of the storage stick's access. The verification result can include whether the storage stick is legally connected or illegally connected. A legally connected storage stick indicates that it is a legitimate storage stick recognized by the FTTR device, and its built-in preset processing is a processing method recognized by the FTTR device, capable of converting the detection signal into a compliant feedback signal, thus passing the legitimacy verification. An illegally connected storage stick indicates that its connector is compatible with the target interface but is incompatible with the FTTR device, and its built-in preset processing is not recognized by the FTTR device, failing to convert the detection signal into a compliant feedback signal, thus failing the legitimacy verification. After the legitimacy verification performed on the FTTR device is successful, the storage stick can receive power from the FTTR device through the target interface and thus power on and operate.
[0057] In some feasible embodiments, the step of performing preset processing on the detection signal to obtain the feedback signal in step S100 above may include: Step S101: The detection signal is input to the internal loop circuit for processing and a feedback signal is output; wherein, the internal loop circuit includes a 0-ohm resistor.
[0058] In this embodiment, the memory stick may include an internal loopback circuit for performing preset processing. The internal loopback circuit is electrically connected to the connector of the memory stick that plugs into the target interface. When the connector of the memory stick is plugged into the target interface of the FTTR device, the internal loopback circuit can receive the detection signal, perform preset processing on it, and output a feedback signal. Even if the memory stick contains a main control chip or processor, this preset processing does not require intervention from the main control chip or processor; it can be achieved solely through this internal loopback circuit. As an example, such as... Figure 2 As shown, the internal loop circuit of the memory stick can be set as a 0-ohm resistor, that is, the two ends of the 0-ohm resistor are connected to the data receive pin and the data transmit pin on the connector of the memory stick respectively. When the connector of the memory stick is plugged into the target interface, the detection signal will reach one end of the 0-ohm resistor through the data receive pin, and then the feedback signal will be output from the other end of the 0-ohm resistor. The feedback signal can be transmitted back to the target interface through the data transmit pin.
[0059] In some feasible embodiments, the energy-saving control method applied to memory sticks described above may further include: In step S400, a clock request signal is sent to the FTTR device through the target interface, so that the FTTR device controls the operating mode of the memory stick according to the duration of the clock request signal being low.
[0060] In this embodiment, after the memory stick is powered on by the power supplied by the FTTR device through the target interface, it continuously outputs a clock request signal to the FTTR device. When the memory stick receives a PCIe-related signal from the FTTR device, it can know that the FTTR device has a data interaction requirement. At this time, the memory stick will pull the clock request signal high to complete the handshake and request the FTTR device to provide a high-frequency clock to support high-speed data transmission. When the memory stick does not receive a PCIe-related signal from the FTTR device, it means that the FTTR device does not have a data interaction requirement. At this time, the memory stick will continuously pull the clock request signal low so that the FTTR device can reduce the power consumption of the memory stick or directly power off depending on the duration of the clock request signal being low.
[0061] As an example, when the FTTR device is powered normally and sends a state adjustment command based on the state change of the clock request signal, the memory stick will adjust its own operating mode to a low-power mode based on the state adjustment command; when the FTTR device stops powering based on the state change of the clock request signal, the memory stick's operating mode will change to stop working due to the power interruption.
[0062] This embodiment provides an energy-saving control method applicable to memory sticks. After the memory stick is connected to the target interface of an FTTR device, the internal loopback circuit in the memory stick, used for performing preset processing, receives a detection signal and outputs a feedback signal. This quickly informs the FTTR device that the memory stick has been connected to the target interface, allowing the FTTR device to promptly supply power to the legally connected memory stick after successful verification. This reduces unnecessary power consumption caused by the FTTR device continuously supplying power to the target interface over a long period, while also ensuring that the legally connected memory stick can power on and operate normally, thus guaranteeing the safety of both the memory stick and the FTTR device. After the memory stick is powered on by the power provided by the FTTR device, a clock request signal can be continuously sent to the FTTR device, and the level of the clock request signal can be adjusted based on the data interaction requirements of the FTTR device. This allows the FTTR device to continuously monitor the state changes of the clock request signal to determine whether the current power supply method needs to be adjusted, avoiding energy waste.
[0063] The energy-saving control method for memory sticks provided in this embodiment belongs to the same technical concept as the energy-saving control method for FTTR devices provided in the above embodiments. Technical details not described in detail in this embodiment can be found in any of the above embodiments, and this embodiment has the same beneficial effects as any of the above embodiments.
[0064] Furthermore, embodiments of this application also provide an energy-saving control system, which includes an FTTR device and a storage stick, as shown in the reference. Figure 2 ,in: The FTTR device is configured to send a detection signal to the target interface of the memory stick to be connected; The storage stick is configured to, in response to receiving a detection signal, perform preset processing on the detection signal to obtain a feedback signal, and output the feedback signal to the target interface; The FTTR device is configured to, in response to receiving a feedback signal, determine that the target interface is connected to the storage stick; perform a legality verification of the storage stick's access based on the detection signal and the feedback signal, and obtain a verification result; in response to the verification result indicating that the storage stick is legally connected, supply power to the storage stick through the target interface. The storage stick is configured to be powered on based on the electrical power supplied by the FTTR device.
[0065] The energy-saving control system provided in this embodiment can be applied to, for example... Figure 5 The all-optical home networking scenario shown typically employs a distributed networking architecture with one FTTR main gateway and N FTTR sub-gateways to achieve whole-house fiber optic coverage and intelligent networking. The FTTR main gateway connects upstream to the operator's Optical Line Terminal (OLT) via fiber optic cable. As the core of the home network, the FTTR main gateway handles overall management and data forwarding. Downstream, the FTTR main gateway is deployed via cascaded FTTR sub-gateways in various functional areas, such as FTTR sub-gateway 1 in the living room, FTTR sub-gateway 2 in bedroom 1, and FTTR sub-gateway N in the study, achieving whole-house network coverage and ensuring high-speed internet access for home devices such as mobile phones and computers. In this all-optical FTTR home network, storage sticks, as pluggable intelligent expansion accessories, are mounted on the FTTR main gateway and the FTTR sub-gateways in each room, forming a distributed home data storage and service system. FTTR home devices need to be powered on continuously to ensure the stability of the whole-house network. The adapter converts 220V AC voltage to 12V DC voltage to power the FTTR gateway device. FTTR devices are usually equipped with a power switch S, which users can operate to control the power supply to the corresponding FTTR device. FTTR devices power the memory stick and transmit data through USB or TYPE-C interfaces.
[0066] Considering that data interaction between the FTTR device and the memory stick does not occur constantly, and the memory stick is idle most of the time, the energy-saving control system provided in this embodiment also includes an energy-saving control circuit integrated into the FTTR device. After determining that the memory stick is in place and valid, the FTTR device continuously monitors the data activity status of the memory stick and synchronously feeds back the status signal to the energy-saving control circuit, enabling the energy-saving control circuit to execute a differentiated power supply strategy based on the feedback signal. (Refer to...) Figure 6 The overall process of this differentiated power supply strategy may include, for example: Figure 6 Steps S1 to S7 are shown below: Step S1: Power on the FTTR device. At this time, the adapter is plugged into a 220V power supply, the power switch is closed, the FTTR device starts running and executes the program, pulls the in-situ detection output signal low, and waits for the memory stick access signal and subsequent status detection.
[0067] Step S2: The FTTR core module detects the status of the presence detection input signal in real time. If a high level is detected, it is determined that the memory stick is not connected or the device is illegal, and the process returns to step S1, continuously waiting for the memory stick presence signal; if a low level pulse is detected, it is determined that the memory stick is a legal device and has been physically connected, and the process proceeds to step S3.
[0068] Step S3: After receiving the memory stick in-place signal, the FTTR core module pulls the power control signal high. The energy-saving control circuit responds to the signal, turning on the memory stick's power supply circuit to provide the memory stick with its normal operating voltage. The memory stick completes power-on initialization and enters the operational state. At the same time, the FTTR core module begins monitoring the memory stick's clock request signal to determine its operating status.
[0069] Step S4: The FTTR core module continuously monitors the clock request signal output by the memory stick: if the low level duration of the signal does not exceed the threshold T1, it is determined that the memory stick is still in the data interaction / active state, and the process returns to step S3 to maintain the power-saving control circuit on and normal power supply; if the low level duration exceeds the threshold T1, it is determined that the memory stick enters a short-term idle state, and the process proceeds to step S5.
[0070] Step S5: The FTTR core module sends an ASPM (Active State Power Management) enable command to the memory stick, triggering the memory stick's PCIe link to enter a low-power link state. In this state, the memory stick shuts down some of the PCIe link's transmit / receive circuits, reducing link-level idle power consumption while maintaining device presence and rapid wake-up capability. During this stage, the memory stick maintains basic power supply and can respond to data read / write requests at any time. The FTTR core module continues to monitor the clock request signal to determine whether the idle time should be further extended.
[0071] Step S6: After the memory stick enters ASPM mode, the FTTR core module continues to monitor the clock request signal: if the low level duration does not exceed the threshold T2, it is determined that the memory stick is still in a moderately idle state, and the process remains in step S5, maintaining the ASPM low-power mode; if the low level duration exceeds the threshold T2, it is determined that the memory stick has entered a long-term deep idle state, and the process proceeds to step S7.
[0072] Step S7: The FTTR core module pulls the power control signal low, the energy-saving control circuit responds to the signal, and cuts off the power supply circuit of the memory stick to achieve maximum energy saving. If the FTTR device subsequently needs data interaction, the process immediately jumps back to step S2 to re-execute the memory stick presence detection and validity verification. After the presence detection and validity verification pass, the energy-saving control circuit is turned on to restore the power supply to the memory stick and normal operation. If there is no data interaction requirement, the device remains in the off state until the next data request or the memory stick is reinserted.
[0073] The energy-saving control system provided in this embodiment belongs to the same technical concept as the energy-saving control method provided in the above embodiments. Technical details not described in detail in this embodiment can be found in any of the above embodiments, and this embodiment has the same beneficial effects as any of the above embodiments.
[0074] Furthermore, this application also provides an FTTR device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, which are executed by the at least one processor to enable the at least one processor to perform the energy-saving control method applied to the FTTR device in any of the above embodiments.
[0075] The following is for reference. Figure 7 It shows a schematic diagram of the structure of an FTTR device suitable for implementing the embodiments of this application. Figure 7 The FTTR device shown is merely an example and should not be construed as limiting the functionality or scope of the embodiments described in this application. Figure 7As shown, the FTTR device may include a processing unit 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in the read-only memory 1002 or a program loaded from the storage device 1003 into the random access memory 1004. The random access memory 1004 also stores various programs and data required for the operation of the FTTR device. The processing unit 1001, the read-only memory 1002, and the random access memory 1004 are interconnected via a bus 1005. An input / output interface 1006 is also connected to the bus. Typically, the following systems can be connected to the input / output interface 1006: input devices 1007 including, for example, a touchscreen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; storage devices 1003 including, for example, magnetic tape, hard disk, etc.; and communication devices 1009. Communication device 1009 allows the FTTR device to communicate wirelessly or wiredly with other devices to exchange data. Although FTTR devices with various systems are shown in the figures, it should be understood that implementation or possession of all the systems shown is not required. More or fewer systems may be implemented alternatively.
[0076] In particular, according to the embodiments disclosed in this application, the process described above with reference to the flowchart can be implemented as a computer software program.
[0077] The embodiments disclosed in this application may also include a computer program product comprising a computer program carried on a computer storage medium, the computer program containing program code for performing the methods shown in the flowchart. In such embodiments, the computer program may be downloaded and installed from a network via a communication device, or installed from storage device 1003, or installed from read-only memory 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of the embodiments disclosed in this application.
[0078] The beneficial effects of the FTTR device and computer program product provided in this embodiment are the same as those of the energy-saving control method for FTTR devices provided in the above embodiments, and other technical features of the FTTR device and computer program product are the same as those disclosed in the above method embodiments, and will not be repeated here.
[0079] Furthermore, this application also provides a storage stick capable of executing the energy-saving control method for storage sticks provided in the above embodiments.
[0080] The beneficial effects of the storage stick provided in this embodiment are the same as those of the energy-saving control method applied to the storage stick provided in the above embodiments, and other technical features of the storage stick are the same as those disclosed in the above method embodiments, and will not be repeated here.
[0081] Furthermore, this application embodiment also provides a computer storage medium, which can be a non-volatile computer storage medium, storing a computer program that, when executed by a processor, implements the energy-saving control method provided in any of the above embodiments.
[0082] The computer storage medium provided in this application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems or devices, or any combination thereof. More specific examples of computer storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the computer storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system or device. The program code contained on the computer storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.
[0083] The aforementioned computer storage medium may be included in an electronic device; or it may exist independently and not be assembled into an electronic device.
[0084] The aforementioned computer storage medium carries one or more programs, which, when executed by an electronic device, enable the electronic device to implement the aforementioned energy-saving control method.
[0085] Computer program code for performing the operations of this application can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0086] The beneficial effects of the computer storage medium provided in this embodiment are the same as those of the energy-saving control method provided in the above embodiments, and will not be repeated here.
[0087] It should be understood that the various parts disclosed in the embodiments of this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.
[0088] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
[0089] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0090] It should be noted that although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than that shown in the flowchart. The terms "first," "second," etc., in the specification, claims, and drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.
[0091] It should also be understood that references to "one embodiment" or "some embodiments" in the specification of embodiments of this application mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0092] The above describes some implementation methods of the embodiments of this application. However, the embodiments of this application are not limited to the above implementation methods. Those skilled in the art can make various equivalent modifications or substitutions without departing from the spirit of the embodiments of this application. All such equivalent modifications or substitutions are included within the scope defined by the claims of the embodiments of this application.
Claims
1. An energy-saving control method, characterized in that, Applied to FTTR equipment, including: Send a detection signal to the target interface of the storage stick to be connected; In response to receiving a feedback signal from the target interface, it is determined that the target interface is connected to the storage stick, wherein the feedback signal is obtained by the storage stick connected to the target interface performing a preset processing on the detection signal; The access of the storage stick is verified based on the detection signal and the feedback signal to obtain the verification result; In response to the verification result indicating that the storage stick is legally connected, power is supplied to the storage stick through the target interface; The step of verifying the legality of the access to the storage stick based on the detection signal and the feedback signal, and obtaining the verification result, includes: Acquire the first level state of the detection signal and the second level state of the feedback signal; If the first level state and the second level state satisfy a preset relationship, the verification result indicates that the memory stick is legally connected.
2. The energy-saving control method as described in claim 1, characterized in that, The preset processing corresponding to the legally accessed storage stick is that the storage stick inputs the detection signal to its internal loop circuit for processing, and the preset relationship is that the level states are the same.
3. The energy-saving control method as described in claim 1, characterized in that, After powering the memory stick, the method further includes: Receive the clock request signal sent by the memory stick through the target interface; In response to the clock request signal being at a low level for a duration greater than a first preset threshold, a state adjustment command is sent to the memory stick to make the memory stick operate in a low-power mode; After the memory stick is in low-power mode, power supply to the memory stick is stopped in response to the clock request signal being low for a duration greater than a second preset threshold.
4. The energy-saving control method as described in claim 3, characterized in that, The step of stopping power supply to the memory stick includes: The power supply control signal is adjusted to shut down the energy-saving control circuit in the FTTR device; wherein the energy-saving control circuit is configured to allow or prohibit the external power supply of the FTTR device from supplying power to the target interface, the energy-saving control circuit includes a first switching unit, a voltage divider unit, a second switching unit, and a protection unit, the first switching unit is configured to adjust its own on / off state according to the power supply control signal, the voltage divider unit is configured to adjust the controlled terminal voltage of the second switching unit according to the on / off state of the first switching unit, the second switching unit is configured to adjust the on / off state of the energy-saving control circuit according to the controlled terminal voltage, and the protection unit is configured to provide overvoltage protection.
5. The energy-saving control method as described in claim 3, characterized in that, After stopping power supply to the memory stick, the method further includes: In response to a data interaction request for the storage stick, the process proceeds to the step of verifying the legitimacy of the access to the storage stick based on the detection signal and the feedback signal.
6. An energy-saving control method, characterized in that, Applied to memory sticks, including: In response to receiving a detection signal sent by the FTTR device through the target interface, the detection signal is processed in a preset manner to obtain a feedback signal; The FTTR device outputs the feedback signal to the target interface. The feedback signal is used by the FTTR device to verify the legality of the access of the storage stick based on the detection signal and the feedback signal, and to supply power to the storage stick through the target interface after the verification result shows that the storage stick is legally accessed. Power is supplied by the FTTR device; The FTTR device verifies the legitimacy of the access to the storage stick based on the detection signal and the feedback signal, including: acquiring a first level state of the detection signal and a second level state of the feedback signal; and determining that the verification result is that the storage stick is legally accessed when the first level state and the second level state satisfy a preset relationship.
7. The energy-saving control method as described in claim 6, characterized in that, The step of performing preset processing on the detection signal to obtain a feedback signal includes: The detection signal is input to an internal loop circuit for processing, and the feedback signal is output; wherein, the internal loop circuit includes a 0-ohm resistor.
8. The energy-saving control method as described in claim 6, characterized in that, The method further includes: A clock request signal is sent to the FTTR device through the target interface, so that the FTTR device controls the operating mode of the memory stick according to the duration of the clock request signal being low.
9. An energy-saving control system, characterized in that, Includes FTTR devices and storage sticks, of which: The FTTR device is configured to send a detection signal to the target interface of the memory stick to be connected. The storage stick is configured to, in response to receiving the detection signal, perform a preset processing on the detection signal to obtain a feedback signal, and output the feedback signal to the target interface; The FTTR device is configured to, in response to receiving the feedback signal, determine that the target interface is connected to the storage stick; perform a legality verification of the access of the storage stick based on the detection signal and the feedback signal, and obtain a verification result; and, in response to the verification result indicating that the storage stick is legally connected, supply power to the storage stick through the target interface. The storage stick is configured to be powered on based on the electrical energy provided by the FTTR device; The step of verifying the legality of the access to the storage stick based on the detection signal and the feedback signal, and obtaining the verification result, includes: Acquire the first level state of the detection signal and the second level state of the feedback signal; If the first level state and the second level state satisfy a preset relationship, the verification result indicates that the memory stick is legally connected.
10. An FTTR device, characterized in that, The FTTR device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the energy-saving control method as described in any one of claims 1 to 5.
11. A storage stick, characterized in that, The storage stick is configured to implement the energy-saving control method as described in any one of claims 6 to 8.
12. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the energy-saving control method as described in any one of claims 1 to 5.