A hierarchical wake-up method, device, mobile charging device and storage medium

Through the hierarchical wake-up method, the problem that existing charging devices cannot wake up some modules separately is solved, and efficient resource utilization and flexibility are achieved, and costs are reduced.

CN117040061BActive Publication Date: 2024-12-17诺初绿能(深圳)科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311010179.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-10
Publication Date
2024-12-17
Estimated Expiration
2043-08-10

AI Technical Summary

Technical Problem

Existing charging devices cannot wake up some of their modules separately, resulting in waste of resources and poor flexibility in expansion.

Method used

The hierarchical wake-up method is adopted to obtain and judge the information of each hierarchical module, and wake up and shut down the module step by step, so that the number and type of cascading modules can be realized individually wake up and automatically identify the number and type of cascading modules.

Benefits of technology

It realizes separate awakening of some modules, reduces resource waste, improves expansion flexibility and reliability, and reduces costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117040061B_ABST
    Figure CN117040061B_ABST
Patent Text Reader

Abstract

The present invention discloses a hierarchical wake-up method, device, mobile charging device and storage medium. The hierarchical wake-up method includes: obtaining the hierarchical information of the current layer, judging whether the current layer has a next-level hierarchical module according to the hierarchical information of the current layer; if there is a next-level hierarchical module, waking up the next-level hierarchical module and obtaining the reporting information of the next-level hierarchical module; wherein the next-level hierarchical module is the n-th hierarchical module, and n is greater than or equal to 2; judging whether there is an n+1-th hierarchical module according to the reporting information of the next-level hierarchical module; if there is no next-level hierarchical module, controlling the hierarchical wake-up to end. The present invention judges whether the current layer has a next-level hierarchical module and wakes up the next-level hierarchical module, so that each hierarchical module can judge whether there is a next-level hierarchical module, and the device type of each hierarchical module can be obtained according to the reporting information of the hierarchical module.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of charging technology, and in particular to a hierarchical wake-up method, device, mobile charging equipment and storage medium. Background Art

[0002] Electrical charging robots and charging trailers are a type of commonly used charging equipment, which are usually used to provide power support for electronic devices in outdoor activities, outdoor work, or emergency rescue scenarios. Existing outdoor charging equipment has multiple modules, but usually can only wake up the entire machine uniformly, and cannot wake up some of the modules separately.

[0003] The patent document with publication number CN210074794U discloses a mobile intelligent outdoor charging system, including: a new energy power generation component, which converts new energy into electric energy; the new energy power generation component includes at least one of a solar power generation component, a biogas power generation component, and a wind power generation component; a rechargeable battery component, the power input end of which is connected to the power output end of the new energy power generation component, and stores the electric energy converted by the new energy power generation component; an intelligent control unit, the input end of which is connected to the output end of the rechargeable battery component; the intelligent control unit controls the output voltage value according to the setting, and at the same time issues an instruction to turn on or off the electrical component according to the user setting; and a load. This technical solution can realize mobile charging in the wild, but some modules cannot be awakened separately.

[0004] Therefore, the prior art still needs to be improved and developed. Summary of the invention

[0005] The technical problem to be solved by the present invention is that, in view of the above-mentioned defects of the prior art, a hierarchical wake-up method, device, mobile charging device and storage medium are provided, aiming to solve the problem that the charging device in the prior art can only wake up and start the whole machine uniformly, but cannot wake up some modules therein separately.

[0006] The technical solution adopted by the present invention to solve the technical problem is as follows:

[0007] A hierarchical wake-up method, comprising:

[0008] Get the hierarchical information of this layer, and determine whether this layer has a next-level hierarchical module based on the hierarchical information of this layer;

[0009] If there is a next-level module, wake up the next-level module and obtain the reporting information of the next-level module; wherein the next-level module is an n-th level module, and n is greater than or equal to 2;

[0010] Determine whether there is an n+1th level module according to the reporting information of the next level module;

[0011] If there is no next-level hierarchy module, the control hierarchy wakeup ends.

[0012] A further configuration of the present invention, after the step of waking up the next-level module if there is one and obtaining the reporting information of the next-level module, further includes: turning off the waking up of the n-th level module.

[0013] A further configuration of the present invention, after the step of determining whether there is an n+1th level module according to the reporting information of the next level module, further includes: shutting down and waking up the nth level module.

[0014] A further configuration of the present invention includes, after the step of determining whether there is an n+1th level module according to the reporting information of the next level module:

[0015] If not, the level wakeup ends.

[0016] A further configuration of the present invention, after the step of determining whether there is an n+1th level module according to the reported information of the nth level module, further includes:

[0017] If yes, then return to the step of waking up the next-level module if there is a next-level module and obtaining the reporting information of the next-level module.

[0018] According to a further configuration of the present invention, the reported information includes module information of the next level level module itself.

[0019] According to a further configuration of the present invention, the hierarchical awakening method performs hierarchical awakening from a top-level hierarchical module.

[0020] Based on the same inventive concept, the present invention also provides a hierarchical awakening device, which includes: an acquisition unit, used to acquire the hierarchical information of the current layer, and when there is a next-level hierarchical module, acquire the reporting information of the next-level hierarchical module

[0021] A judging unit, used to judge whether there is a next-level module in the current layer according to the level information of the current layer, and to judge whether there is an n+1-th level module according to the reporting information of the next-level module;

[0022] Among them, the next level hierarchical module is the nth level hierarchical module, and n is greater than or equal to 2.

[0023] Based on the same inventive concept, the present invention also provides a mobile charging device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the hierarchical wake-up method when executing the computer program.

[0024] According to a further configuration of the present invention, the mobile charging device has multiple layers of hierarchical modules, and the hierarchical modules of each layer are cascaded to each other.

[0025] Based on the same inventive concept, the present invention also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the hierarchical wake-up method are implemented.

[0026] Beneficial effect: The hierarchical awakening method of the present invention awakens the next-level hierarchical module by judging whether there is a next-level hierarchical module in the current layer, so that each hierarchical module can judge whether there is a next-level hierarchical module, and the device type of each hierarchical module can be obtained according to the reporting information of the hierarchical module. In this way, some modules can be awakened separately, the corresponding module function output can be activated, and the number and type of cascaded modules can be automatically identified. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 It is a flow chart of the hierarchical awakening method of the present invention.

[0028] Figure 2 It is a flowchart of the specific implementation of the hierarchical wake-up method in the present invention.

[0029] Figure 3 This is a principle block diagram of the first application of the hierarchical wake-up method of the present invention.

[0030] Figure 4 This is a principle block diagram of the second application of the hierarchical wake-up method of the present invention.

[0031] Figure 5 This is a principle block diagram of the third application of the hierarchical wake-up method of the present invention.

[0032] Figure 6 It is a principle block diagram of a hierarchical wake-up circuit of the hierarchical wake-up method in the present invention.

[0033] Figure 7 It is a structural principle diagram of the mobile charging device in the present invention.

[0034] Description of reference numerals:

[0035] 10. Input circuit; 11. Input interface unit; 12. Pull-up unit; 13. First protection unit; 20. Output circuit; 21. Output interface unit; 22. Pull-down unit; 23. Second protection unit; 30. MCU chip; 50. Hierarchical module; 111. Input communication unit; 211. Output communication unit; 300. Mobile charging device; 310. Host layer; 320. Inverter layer; 330. Solar charging module layer; 340. Battery pack layer; CN1. Input connection socket; CN2. Output connection socket; IO. Input and output interface; MCU_IO1. First network port; MCU_IO2. Second network port; MCU_IO3. Third network port. DETAILED DESCRIPTION

[0036] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0037] In order to make the purpose, technical solution and advantages of the present invention clearer and more specific, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0038] In order to solve the problems of the prior art, the present invention provides a hierarchical wake-up method, which is described below in conjunction with specific embodiments.

[0039] Some existing large-scale equipment usually has multiple functional modules, such as industrial machine tools, industrial robots or outdoor energy storage charging equipment. When these devices are working, some charging equipment such as mobile charging trailers usually have multiple functional modules, but when working, they often need to wake up the whole machine uniformly, so some modules will be woken up even if they are not needed, resulting in a waste of resources; in addition, when expanding, the cascade order and cascade number of the expansion modules are usually fixed and cannot be changed, so once assembled, it is not easy to adjust, which has problems such as poor flexibility and a small number of expandable modules.

[0040] Example 1

[0041] Therefore, the present invention provides a hierarchical awakening method to improve the problems of the prior art.

[0042] The present invention provides a preferred embodiment of a hierarchical wake-up method, such as Figure 1 As shown, Figure 1 This is a flowchart of the hierarchical wake-up method. According to different requirements, the order of the steps in the flowchart can be changed, and some steps can be omitted.

[0043] Figure 2 is a flowchart of the specific implementation of the hierarchical wake-up method, Figure 3 The principle block diagram of the application of the hierarchical wake-up method. In the application of this method, the whole device includes multiple hierarchical modules 50 when in use. The hierarchical module 50 set at the top is the first level, and the second level, third level, fourth level, ..., nth level, etc. are stacked downward in sequence. Of course, different hierarchical modules 50 are electrically and structurally connected, and each hierarchical module 50 can communicate with each other. Each of the hierarchical modules 50 can be set to a different functional module structure, and the hierarchical modules 50 can be increased or decreased accordingly according to actual conditions.

[0044] In the whole device, one of the hierarchical modules 50 is the host layer, which regulates the hierarchical wake-up process of the whole device. The host layer is composed of a chip of model GD32F303 and the external circuit of the chip. Similarly, other hierarchical modules 50 other than the host layer are composed of CMS8S6990 chip, CMS8S6990 chip or BAT32G439 chip and the external circuit of the chip. In this embodiment, the top-level hierarchical module 50 is used as the host layer for explanation; in other embodiments, the host layer can also be set in the hierarchical modules 50 of other layers, such as the middle hierarchical module 50 or the bottom hierarchical module 50.

[0045] Please refer to Figure 1-Figure 3 , further illustrating this embodiment, the hierarchical awakening method provided in this embodiment can be applied to a structure having multiple layers of hierarchical modules 50, and the steps of the hierarchical awakening method are as follows:

[0046] S100, obtaining the hierarchical information of the current layer, and determining whether the current layer has a next-level hierarchical module according to the hierarchical information of the current layer;

[0047] Specifically, when the hierarchical wake-up is started, the hierarchical module 50 of the current layer will obtain the hierarchical information of the current layer, and determine whether there is a next-level hierarchical module 50 according to the hierarchical information of the current layer. The hierarchical information of the current layer includes information on whether there is a next-level hierarchical module. In this embodiment, the host layer as the first level will determine whether there is a next-level hierarchical module 50 below it. If there is no next level, the hierarchical wake-up ends, because if there is no next level, then the whole machine does not need to perform the next hierarchical wake-up step.

[0048] S110, if there is a next-level module, wake up the next-level module and obtain the reporting information of the next-level module; wherein the next-level module is an n-th level module, and n is greater than or equal to 2;

[0049] Specifically, when it is determined that there is a next-level hierarchical module 50, the next-level hierarchical module 50 is awakened by the current-level hierarchical module 50. After awakening, the current-level hierarchical module 50 will also obtain the reporting information of the next-level hierarchical module 50 and send the reporting information of the next-level hierarchical module 50 to the host layer. The reporting information of the next-level hierarchical module 50 is the module information of the next-level hierarchical module 50 itself, which includes the device type of the next-level hierarchical module 50 itself and whether there is an n+1-level hierarchical module 50. That is, the host layer can know the device type of the next-level hierarchical module 50 itself and whether there is an n+1-level hierarchical module 50. Among them, the next-level hierarchical module is the n-th hierarchical module, and n is greater than or equal to 2. In addition, the n-th hierarchical module 50 itself or the host layer can judge whether there is an n+1-th hierarchical module 50.

[0050] S120, turning off the wake-up module of the nth level;

[0051] Specifically, after awakening, the awakened level module 50 can be turned off and awakened, and in actual execution, it can also be selected not to turn off and awaken the n-th level level module 50, so that multiple levels are in the awakened state at the same time, and the host layer turns off and awakens the n-th level level module 50. That is, step S120 can be skipped, and the host layer can turn off or not turn off and awaken the n-th level level module 50.

[0052] S130, judging whether there is an n+1th level module according to the reported information of the next level module; specifically, at this time, the host layer or the nth level module 50 will make a judgment according to the reported information. There will be two situations when judging: if there is, that is, if there is an n+1th level module 50, it will return to step S110, if not, it will enter step S140.

[0053] S140, if not, the hierarchical wake-up ends;

[0054] Specifically, when the host layer or the nth level module determines that there is no next level module, the level wake-up is completed at this time, and there is no need to perform subsequent wake-up work. The process ends and no loop is performed.

[0055] In other embodiments, steps S120 and S130 can be interchanged, that is, it can be determined whether there is an n+1th level first, and then the nth level can be closed. And n≥2, that is, n=2,3,4,5,6...; the value of n can be adjusted according to the actual application of the user.

[0056] Further, in this embodiment, please refer to Figure 1-3, to illustrate the situation when there are 4 levels of hierarchy. When the hierarchical awakening method is applied to the hierarchical module 50 with 4 levels, there are the following steps:

[0057] A. Level 1 determines whether there is a next level in this layer;

[0058] Specifically, in this embodiment, the first level is the host layer, the host layer will obtain the hierarchical information of this layer, and determine whether there is a next-level hierarchical module in this layer according to the hierarchical information of this layer, and the host layer will determine whether there is a next-level hierarchical module 50 below it, that is, the second level. If there is no second level, the hierarchical awakening ends, because if there is no second level, then there is no need to proceed to the next hierarchical awakening step.

[0059] B. When the host layer determines that there is a next level, the host layer wakes up the second level, and the second level sends its own reporting information to the host layer;

[0060] Specifically, when the host layer determines that there is level 2, the host layer will wake up level 2. After waking up, level 2 will send its own reporting information to the host layer, so that the host layer can obtain the reporting information of level 2. The host layer can then know the device type of level 2 itself and whether there is level 3.

[0061] C. The host layer turns off the wake-up level 2;

[0062] Specifically, the host layer may choose to disable or not disable wake-up level 2.

[0063] D. Determine whether there is a Level 3 based on the reported information from Level 2;

[0064] Specifically, the current level 2 or host layer will determine whether there is a level 3 according to the reporting information of the level 2. If there is no level 3, the level wake-up ends.

[0065] E. If there is a level 3, then wake up the level 3, and the level 3 will send its own reporting information to the host layer.

[0066] Specifically, if the second level or the host layer determines that there is a third level, the host layer controls the second level to wake up the third level, and after the third level is awakened, it sends its own reporting information to the host layer.

[0067] F. Host layer closes wake-up level 3;

[0068] Specifically, the host layer can choose to turn off or not turn off wake-up level 3.

[0069] G. Determine whether there is a Level 4 based on the reported information at Level 3;

[0070] Specifically, the current level 3 or host layer will determine whether there is a level 4 according to the reporting information of the level 3. If there is no level 4, the level wake-up ends.

[0071] H. If there is a level 4, then wake up the level 4, and the level 4 will send its own reporting information to the host layer.

[0072] I. Host layer closes wake-up level 4;

[0073] Specifically, the host layer can choose to turn off or not turn off wake-up level 4.

[0074] J. Determine whether there is a Level 5 based on the reported information of Level 4;

[0075] Specifically, the current level 4 or host layer will determine whether there is a level 5 according to the reporting information of the level 2. If there is no level 5, the level wake-up ends.

[0076] K. There is no level 5, and the level awakening ends.

[0077] Specifically, the above steps can be extended to a structure of a hierarchical module 50 having any number of layers, 5, 6, 7, ..., until a layer determines that there is no next layer, and the hierarchical wake-up is completed.

[0078] Therefore, according to such a hierarchical wake-up method, any number of cascaded hierarchical modules 50 in the overall structure can be determined, and the reporting information of each level will be obtained during the wake-up process. The type of equipment at each level can be obtained from these reporting information, so that different types of modules can be expanded arbitrarily, and the activation of the corresponding module function output can be achieved at the same time, with high freedom of expansion, high flexibility, low cost and high reliability.

[0079] In addition, in actual application, the method can also start hierarchical awakening from a hierarchical module 50 other than the top layer, that is, the bottom layer module 50 can be set as the host layer, and any hierarchical module 50 between the top layer and the bottom layer can also be set as the host layer. Figure 4 and Figure 5 The hierarchical awakening can be started from the bottom hierarchical module 50, or from any hierarchical module 50 between the top and bottom hierarchical modules. The only difference is the direction and number of the hierarchical awakening, which will not be described in detail here.

[0080] In this embodiment, if Figure 6 As shown, the hierarchical wake-up method can realize specific process control based on this hierarchical wake-up circuit. Figure 3 Each layer of the hierarchical module 50 is provided with a wake-up circuit of the hierarchical level.

[0081] The hierarchical wake-up circuit includes: an input circuit 10, an output circuit 20 and an MCU chip 30, wherein for the host layer, the MCU chip 30 is a GD32F303 chip; the MCU chip in the hierarchical module 50 outside the host layer is a CMS8S6990 chip, a CMS8S699 chip or a BAT32G439 chip, and of course, it can also be a chip of other models.

[0082] The input circuit 10 includes: an input interface unit 11, a pull-up unit 12 and a first protection unit 13; the output circuit 20 includes: an output interface unit 21, a pull-down unit 22 and a second protection unit 23. The input circuit 10 has a first network port MCU_IO1 and a second network port MCU_IO2, and the output circuit 20 has a third network port MCU_IO3. The first network port MCU_IO1, the second network port MCU_IO2 and the third network port MCU_IO3 are all connected to the input and output interface IO of the MCU chip 30.

[0083] Specifically, the input interface unit 11 is provided with an input communication unit 111, and the output interface unit 21 is provided with an output communication unit 211. The input communication unit 111 and the output communication unit 211 are communication tools of each hierarchical module 50, and are used to communicate between each hierarchical module 50. Level conversion will occur in the input interface unit 11 and the output interface unit 21, and the MCU chip 30 judges the state of the hierarchical module 50 by reading and identifying the level signal conversion of the input interface unit 11 and the output interface unit 21. The MCU chip 30 can also control the state of the hierarchical module 50 by controlling the level signals of the input interface unit 11 and the output interface unit 21.

[0084] When the hierarchical modules 50 are cascaded, the input circuit 10 of the current hierarchical module 50 is connected to the output circuit 20 of the previous hierarchical module 50; the output circuit 20 of the current hierarchical module 50 is connected to the input circuit 10 of the next hierarchical module;

[0085] The current layer level module 50 communicates with the previous or next layer level module 50 through the input interface unit 11 and the output interface unit 21 .

[0086] Specifically, the input interface unit 11 is provided with an input communication unit 111, and the output interface unit 21 is provided with an output communication unit 211. The input communication unit 111 and the output communication unit 211 are communication tools of each hierarchical module 50, and are used to communicate with the hierarchical module 50 of the previous layer or the next layer to realize communication between each hierarchical module 50. When cascading, the output communication unit 211 of the hierarchical module 50 of the previous layer and the input communication unit 111 of the hierarchical module of the next layer communicate to judge the device type of the hierarchical module of the next layer. In addition, level conversion will occur in the input interface unit 11 and the output interface unit 21, and the MCU chip 30 of this layer judges the state of the hierarchical module 50 of the current layer by reading and identifying the level signal conversion of the input interface unit 11 and the output interface unit 21. The MCU chip 30 can also control the state of the hierarchical module 50 by controlling the level signal of the input interface unit 11 and the output interface unit 21.

[0087] After the modules 50 of each level are cascaded, for the input interface unit 11 and the output interface unit 21 of a level module 50, the input interface unit 11 of this level is connected to the output interface unit 21 of the previous level, and the output interface unit 21 of this level is connected to the input interface unit 11 of the next level. Figure 3 For example, in the third level module 50, in the third level, the input interface unit 11 of the third level is connected to the output interface unit 21 of the second level, and the output interface unit 21 of the third level is connected to the input interface unit 11 of the fourth level. Of course, it can be understood that if the current level module 50 has no upper level, such as being at the top level, the input interface unit 11 of the current level does not need to be connected to the output interface unit 21 of other levels; if the current level module 50 has no lower level, such as being at the bottom level, the output interface unit 21 of the current level does not need to be connected to the input interface unit 11 of other levels.

[0088] Further, in the input circuit 10, the first protection unit 13 is respectively connected to the first network port MCU_IO1 and the second network port MCU_IO2 and is connected to the pull-up unit 12, so as to protect the input circuit 10 and limit the voltage in the hierarchical wake-up circuit to a safe range; the pull-up unit 12 is also respectively connected to the first network port MCU_IO1 and the second network port MCU_IO2, and is respectively connected to the first protection unit 13 and the input interface unit 11.

[0089] Furthermore, in the output circuit 20, the second protection unit 23 is connected to the third network port MCU_IO3 for protecting the output circuit 20 and limiting the voltage in the circuit within a safe range; the pull-down unit 22 is connected to the second protection unit 23 and the output interface unit 21 respectively.

[0090] Please continue to refer to Figure 3 and Figure 6 . When the modules 50 of each level are cascaded, after the input interface unit 11 of this level is connected to the output interface unit 21 of the previous level, the input interface unit 11 will have a level change due to the presence of the pull-down unit 22 of the previous level, and the MCU chip 30 of this level will read that the second network port MCU_IO2 is pulled down from the default high level to a low level. Therefore, the MCU chip 30 of this level can determine whether the upper level module 50 is cascaded by reading the change of the high and low levels of the second network port MCU_IO2. When the MCU chip 30 reads that the high level of the input interface unit changes to a low level through the second network port MCU_IO2, it can be known that the upper level module 50 is cascaded.

[0091] And the MCU chip 30 can control the wake-up activation of the next-level hierarchical module 50 through the third network port MCU_IO3. The MCU chip 30 in this level can choose whether to activate the next-level hierarchical module 50 by controlling the level change of the third network port MCU_IO3, and the MCU chip 30 in this level can also judge whether it has been activated by the previous-level hierarchical module 50 through the level change of the first network port MCU_IO1. After the current-level hierarchical module 50 is activated, the level signal of the input interface unit 11 will also change. When the MCU chip 30 in this level reads that the first network port MCU_IO1 is pulled from a high level to a low level, it can be known that the current-level hierarchical module 50 has been activated.

[0092] Furthermore, after the output interface unit 21 of this level is connected to the input interface unit 11 of the next level, the output interface unit 21 will have a level change due to the existence of the pull-up unit 12 of the next level, and the MCU chip 30 of this level will read that the third network port MCU_IO3 is pulled up from the default low level to the high level. Therefore, the MCU chip 30 of this level can judge whether the next level module 50 is cascaded by reading the change of the high and low levels of the third network port MCU_IO3. When the MCU chip 30 reads that the third network port MCU_IO3 changes from a low level to a high level, it can be known that the upper level module 50 is cascaded.

[0093] And when cascading, the input communication unit 111 of this level will also send and receive data to communicate with the upper module, automatically identify the type of the upper module, and implement the corresponding function; the output communication unit 211 of this level will also communicate and send data to identify the type of the lower module.

[0094] In this way, the hierarchical wake-up circuit can achieve the following functions:

[0095] 1. The current level module 50 reads the level status of the second network port MCU_IO2 through the MCU chip 30 to determine whether there is an upper level module 50 at the current level;

[0096] 2. The current level module 50 reads the level status of the third network port MCU_IO3 through the MCU chip 30 to determine whether there is a lower level module 50 at this level;

[0097] 3. The current level module 50 reads the level status of the first network port MCU_IO1 through the MCU chip 30 to determine whether the current level is awakened and activated by the upper level module 50;

[0098] 4. The current level module 50 controls the level conversion of the third network port MCU_IO3 through the MCU chip 30 to select whether to wake up the lower level module 50 .

[0099] In this way, through the hierarchical wake-up circuit, the hierarchical wake-up method of this embodiment can automatically identify the number and types of cascaded modules, and different types of modules can be expanded arbitrarily, while activating the corresponding module function output, thereby achieving high freedom of expansion, high flexibility, low cost and high reliability.

[0100] Example 2

[0101] The present invention also uses a mobile charging device to which the hierarchical wake-up method described in Example 1 is applied. This embodiment is a specific application embodiment of the hierarchical wake-up method in Example 1 to further illustrate the hierarchical wake-up method.

[0102] like Figure 7 As shown, the environment includes one or more mobile charging devices 300, and the user can charge one or more power-consuming devices through the mobile charging device 300. The power-consuming devices to be charged can be large power-consuming devices such as new energy vehicles, lathes, power-consuming robots, and televisions, and can also be commonly used power-consuming devices in life such as lighting equipment, mobile phones, computers, and speakers.

[0103] The mobile charging device 300 is cascaded with multiple hierarchical modules 50, and different hierarchical modules 50 are electrically and structurally connected to each other. Each hierarchical module 50 can be set to a different functional module structure, such as a host, a battery pack, an interface layer, etc. The number of hierarchical modules 50 of the mobile charging device 300 can also be adjusted according to actual conditions, and the hierarchical modules 50 can be increased or decreased accordingly.

[0104] For the mobile charging device, when the user uses it, not all the hierarchical modules 50 are needed, and often only some of the hierarchical modules 50 may be needed. The traditional way of waking up the whole device will cause a waste of power and resources.

[0105] Specifically, the mobile charging device 300 is stacked with four level modules 50 in order from top to bottom: a host layer 310 , an inverter layer 320 , a solar charging module layer 330 , and a battery pack layer 340 .

[0106] Among them, the signal of the MCU chip in the host layer 310 is GD32F303, the signal of the MCU chip 30 in the inverter layer 320 is BAT32G439, ​​and the signal of the MCU chip 30 in the solar charging module layer 330 is CMS8S6990.

[0107] When the hierarchical awakening method is applied to the mobile charging device 300, the application process is as follows:

[0108] The host layer 310 determines whether there is a next-level module 50 below it, and wakes up and activates the inverter layer 320;

[0109] After being awakened, the inverter layer 320 will send its own reporting information to the host layer 310. The reporting information of the inverter layer 320 includes information that the inverter layer 320 itself is the inverter layer 320, that is, the device information of the level module 50 of the next level of the host layer 310 is the inverter, and the reporting information also includes that the inverter layer 320 also has the next level module 50, that is, the solar charging module layer 330;

[0110] The host layer 310 shuts down and wakes up the inverter layer 320. Of course, if it is needed, the inverter layer 320 may not be shut down and woken up;

[0111] The host layer 310 controls the inverter layer 320 to wake up the solar charging module layer 330. Similarly, after being woken up, the solar charging module layer 330 will send its own reporting information to the host layer 310.

[0112] The host layer 310 shuts down and wakes up the solar charging module layer 330. Of course, if it is needed, the solar charging module layer 330 may not be shut down and woken up;

[0113] The host layer 310 controls the solar charging module layer 330 to wake up the battery pack layer 340. After being awakened, the battery pack layer 340 will send its own reporting information to the host layer 310. Of course, at this time, the reporting information includes information that there is no next level in the battery pack layer 340.

[0114] The host layer 310 turns off and wakes up the battery pack layer 340. Of course, if it is needed, the battery pack layer 340 may not be turned off and woken up;

[0115] Level wakeup ends.

[0116] In this way, after executing the hierarchical awakening method, the mobile charging device 300 can know that it has functional modules such as inverter, solar charging and battery pack; and can determine the number of hierarchical modules 50 cascaded by itself, that is, four levels; and when applied, it can only awaken and use the hierarchical modules 50 that need to be used. The effect of effectively improving resources and increasing the degree of freedom of expansion is achieved.

[0117] In addition, based on the above-mentioned hierarchical awakening method, the present invention also provides a hierarchical awakening device, which includes: an acquisition unit, used to acquire the hierarchical information of the current layer, and when there is a next-level hierarchical module, acquire the reporting information of the next-level hierarchical module

[0118] A judging unit, used to judge whether there is a next-level module in the current layer according to the level information of the current layer, and to judge whether there is an n+1-th level module according to the reporting information of the next-level module;

[0119] Among them, the next level hierarchical module is the nth level hierarchical module, and n is greater than or equal to 2.

[0120] In addition, the present invention also provides a computer-readable storage medium, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the hierarchical wake-up method are implemented, as specifically described in the above method.

[0121] In summary, the present invention provides a hierarchical wake-up method, device, mobile charging device battery and storage medium, which have the following beneficial effects:

[0122] The present invention determines whether there is a next-level module in the current layer and wakes up the next-level module, so that each level module can determine whether there is a next-level module, and according to the reporting information of the level module, the device type of each level module can be obtained. In this way, the number and type of cascade modules can be automatically identified, and the corresponding module function output can be activated at the same time, which has the effect of high degree of freedom of expansion.

[0123] It should be understood that the application of the present invention is not limited to the above examples. For ordinary technicians in this field, improvements or changes can be made based on the above description. All these improvements and changes should fall within the scope of protection of the claims attached to the present invention.

Claims

1. A hierarchical wake-up method, characterized in that: It includes: Obtain the hierarchical information of this layer, and determine whether this layer has a next-level hierarchical module based on the hierarchical information of this layer; each hierarchical module communicates with each other; If there is a next-level hierarchical module, wake up the next-level hierarchical module and obtain the reporting information of the next-level hierarchical module; the reporting information includes the module information of the next-level hierarchical module itself, including the device type of the next-level hierarchical module itself and whether there is information of the n+1th level hierarchical module; Determine whether there is an n+1th level module according to the reporting information of the next level module; wherein the next level module is an nth level module, and n is greater than or equal to 2; If there is no next-level module, the control level wakeup ends; After the step of waking up the next level module if there is one and obtaining the reporting information of the next level module, the method includes: shutting down and waking up the nth level module.

2. The hierarchical wake-up method according to claim 1, characterized in that: After the step of judging whether there is an n+1th level module according to the reporting information of the next level module, the method includes: shutting down and waking up the nth level module.

3. The hierarchical wake-up method according to claim 1, characterized in that: After the step of determining whether there is an n+1th level module according to the reporting information of the next level module, the method further includes: If yes, then return to the step of waking up the next-level module if there is a next-level module and obtaining the reporting information of the next-level module.

4. The hierarchical wake-up method according to claim 1, characterized in that: The hierarchical awakening method performs hierarchical awakening from the top-level hierarchical module.

5. A hierarchical awakening device, characterized in that: include: An acquisition unit, used to acquire the hierarchical information of the current layer, and when there is a next-level hierarchical module, acquire the reporting information of the next-level hierarchical module; The reported information includes the module information of the next level module itself, including the device type of the next level module itself and whether there is information of the n+1 level module; each level module communicates with each other; A judging unit, used to judge whether there is a next-level module in the current layer according to the level information of the current layer, and to judge whether there is an n+1-th level module according to the reporting information of the next-level module; If there is no next-level module, the control level wakeup ends; If there is a next-level module, wake up the next-level module, and after the step of obtaining the reporting information of the next-level module, close the step of waking up the n-th level module; Among them, the next level hierarchical module is the nth level hierarchical module, and n is greater than or equal to 2.

6. A mobile charging device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the hierarchical wake-up method according to any one of claims 1 to 4 when executing the computer program.

7. The mobile charging device according to claim 6, characterized in that: The mobile charging device has multiple layers of hierarchical modules, and the hierarchical modules of each layer are cascaded to each other.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the hierarchical wake-up method according to any one of claims 1 to 4 are implemented.