Multi-system startup method and electronic equipment
In multi-system electronic products, by closing the interactive interface when the first system is started and then opening it again after the second system is started, the problem of interactive interference between systems is solved, normal communication and hardware life are ensured, and cost reduction is achieved. .
Patent Information
- Application Number
- CN202010864534.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-25
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2040-08-25
AI Technical Summary
In multi-system electronic products, the interactive interfaces between systems interact with each other, causing power backflow and affecting the normal operation of the system and the life of the hardware.
By closing the interactive interface when the first system starts and opening it again after the second system starts, the status of the interactive interface between systems can be precisely controlled to avoid interference and ensure normal communication.
It effectively avoids interference between systems, ensures normal system startup and communication, extends hardware life, and reduces costs.
Smart Images

Figure CN114116017B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of software control, and more specifically, to a multi-system startup method and electronic equipment. Background Art
[0002] As the functions of electronic products increase day by day, electronic products generally include multiple systems, and there are interactions between the multiple systems.
[0003] In order to reduce the power consumption of electronic products or meet the requirements of different systems in electronic products for the startup sequence, the startup time of each system in the electronic product is different. In electronic products with multi-system designs, there are problems of mutual influence between the two systems of the interactive interface, such as power backflow, which affects the normal operation of the system and even the life of the system hardware. Summary of the invention
[0004] In view of this, the present invention provides a multi-system startup method and electronic device, which solves the problem of multi-system interaction interference by accurately controlling the state of the interaction interface between systems during the multi-system startup process.
[0005] In order to achieve the above-mentioned invention object, the specific technical solution provided by the present invention is as follows:
[0006] A multi-system startup method is applied to an electronic device, wherein the electronic device includes at least one group of systems with interactive interfaces, each group of systems with interactive interfaces includes: a first system and a second system, and the first system is configured to start the second system first; the method includes:
[0007] The first system closes the interactive interface when starting up;
[0008] After the interactive interface is closed, the second system starts up upon receiving a start trigger signal;
[0009] After determining that the startup of the second system is complete, the first system opens the interactive interface.
[0010] Optionally, determining that the second system is started completely includes:
[0011] The first system obtains a start time of the second system;
[0012] The first system starts timing from the start time of the second system, and the timing duration is the same as the time required for the second system to start
[0013] When the timing ends, the first system determines that the startup of the second system is complete.
[0014] Optionally, determining that the second system is started completely includes:
[0015] The first system receives a level signal output when the second system is started;
[0016] When the level signal changes, the first system determines that the startup of the second system is complete.
[0017] Optionally, the first system closes the interactive interface when starting up, including:
[0018] The first system sets the interactive interface to a high impedance state when starting up.
[0019] Optionally, the first system closes the interactive interface when starting up, including:
[0020] When the first system is started, the interactive interface is set to a level state that matches the level of the second system.
[0021] An electronic device comprising at least one system having an interactive interface;
[0022] Each group of systems with interactive interfaces includes: a first system and a second system;
[0023] The first system is configured to: start up the second system first;
[0024] The first system is used to close the interactive interface when starting;
[0025] The second system is used to start up after the interactive interface is closed and when a start trigger signal is received;
[0026] The first system is further configured to open the interactive interface after determining that the second system has been started.
[0027] Optionally, the first system determines that the startup of the second system is completed, specifically:
[0028] The first system obtains a start time of the second system;
[0029] The first system starts timing from the start time of the second system, and the timing duration is the same as the time required for the second system to start
[0030] When the timing ends, the first system determines that the startup of the second system is complete.
[0031] Optionally, the first system determines that the startup of the second system is completed, specifically:
[0032] The first system receives a level signal output when the second system is started;
[0033] When the level signal changes, the first system determines that the startup of the second system is complete.
[0034] Optionally, the first system turns off the interactive interface by setting the interactive interface to a high impedance state.
[0035] Optionally, the first system closes the interactive interface by setting the interactive interface to a level state matching a level of the second system.
[0036] Compared with the prior art, the beneficial effects of the present invention are as follows:
[0037] The multi-system startup method disclosed in the present invention closes the interactive interface between the first system and the second system when the first system is started, and then opens the interactive interface after the second system is started, so as to avoid interference with the second system during the startup of the first system and ensure that the first system and the second system can communicate normally through the interactive interface after the second system is started. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0039] Figure 1 A schematic diagram of a multi-system startup method disclosed in an embodiment of the present invention;
[0040] Figure 2 A flowchart of a method for determining that startup of a second system is completed disclosed in an embodiment of the present invention;
[0041] Figure 3 A flowchart of another method for determining that startup of a second system is completed according to an embodiment of the present invention;
[0042] Figure 4 It is a schematic diagram of the structure of an electronic device disclosed in an embodiment of the present invention. DETAILED DESCRIPTION
[0043] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0044] Through research, the inventors discovered that in electronic products with multiple system devices, if there is a hardware interaction interface between system A and system B, such as a GPIO interface, and system A is started before system B, when system B is not started but system A is started, the voltage of system B will be pulled up by the voltage of system A through the hardware interaction interface, resulting in power backflow, affecting the normal operation of the electronic product and even the life of the system hardware.
[0045] In order to solve the above technical problems, the multi-system startup method disclosed in the present invention accurately controls the status of the interaction interface between systems during the multi-system startup process at the software level. The system that is started first closes the interaction interface at startup, and the interaction interface is opened again after the startup of the system that is started later is completed, thereby solving the problem of multi-system interaction interference.
[0046] A multi-system startup method disclosed in this embodiment is applied to an electronic device, which includes at least one system with an interactive interface, where the interactive interface is a hardware interactive interface, such as a GPIO interface. The system includes a control module and a power supply circuit, which can be a system or a module, as long as the control module can realize the function of controlling the opening and closing of the interactive interface. Each group of systems with interactive interfaces includes: a first system and a second system, and the first system is configured to start the second system first. It should be noted that the "first" and "second" here are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features.
[0047] For details, please refer to Figure 1 The present embodiment discloses a method for starting a multi-system, which specifically includes the following steps:
[0048] S101: the first system closes the interactive interface when starting up;
[0049] It should be noted that the first system closes the interactive interface immediately when it is capable of closing the interactive interface after the first system is started.
[0050] The first system can disconnect the first system from the second system by setting the interactive interface to a high impedance state, which is equivalent to closing the interactive interface.
[0051] If the interactive interface in some electronic devices cannot be set to a high-impedance state, the first system sets the interactive interface to a level state that matches the level of the second system, that is, the same level as the second system level, which is equivalent to closing the interactive interface to prevent interference such as power backflow between the first system and the second system.
[0052] S102: After the interactive interface is closed, the second system starts up when receiving a start trigger signal;
[0053] The start trigger signal here may be sent by the first system, or may be sent by other systems or modules in the electronic device, or may be self-triggered by the second system according to program settings.
[0054] S103: After determining that the second system has been started, the first system opens an interactive interface.
[0055] The first system opens the interactive interface, that is, the first system and the second system can achieve normal communication through the interactive interface.
[0056] The first system can determine whether the startup of the second system is completed by itself, or by receiving a startup completion signal sent by the second system, or by receiving a second system startup completion signal sent by other systems or modules in the electronic device to determine whether the startup of the second system is completed.
[0057] Among them, see Figure 2 , an optional method for determining that the second system startup is completed is:
[0058] S201: The first system obtains the startup start time of the second system;
[0059] The first system can obtain the startup start time of the second system in a variety of ways, such as the startup start time of the second system is fixed and the first system can know it in advance; the second system outputs an indication signal when it starts to start, and the first system determines that the second system starts to start when receiving the indication signal; other systems or modules in the electronic device send the startup start time or startup start signal of the second system to the first system, etc., which are not specifically limited here.
[0060] S202: The first system starts timing from the start time of the second system, and the timing duration is the same as the duration required for the second system to start;
[0061] Furthermore, in order to ensure that the second system is fully started, the timing duration of the first system may be set to a duration that is not less than the duration required for the second system to start.
[0062] S203: When the timing ends, the first system determines that the startup of the second system is complete.
[0063] See also Figure 3 , an optional method for determining that the second system startup is completed is:
[0064] S301: The first system receives a level signal outputted when the second system is started;
[0065] S302: When the level signal changes, the first system determines that the startup of the second system is complete.
[0066] The second system continuously outputs a level signal during the startup process. When the level signal received by the first system changes, the first system determines that the startup of the second system is completed. For example, if the first system and the second system pre-agree that the startup of the second system is completed when the level signal changes from low to high, then when the level signal received by the first system changes from low to high, the first system determines that the startup of the second system is completed; if the first system and the second system pre-agree that the startup of the second system is completed when the level signal changes from high to low, then when the level signal received by the first system changes from high to low, the first system determines that the startup of the second system is completed.
[0067] In the multi-system startup method disclosed in the present embodiment, the first system closes the interactive interface between the first system and the second system when starting up, and then opens the interactive interface after the second system is started up, so as to avoid interference with the second system during the startup of the first system and ensure that the first system and the second system can communicate normally through the interactive interface after the second system is started up.
[0068] The multi-system startup method disclosed in this embodiment improves existing electronic devices only at the software level, without the need to add additional logic modules or hardware, and without increasing the PCB layout area of the electronic device, thereby reducing the cost of electronic products and being widely applicable.
[0069] Based on the multi-system startup method disclosed in the above embodiment, this embodiment correspondingly discloses an electronic device, see Figure 4 , the electronic device includes at least one system having an interactive interface;
[0070] Each group of systems with interactive interfaces includes: a first system and a second system;
[0071] The first system is configured to: start up the second system first;
[0072] The first system is used to close the interactive interface when starting;
[0073] The second system is used to start up after the interactive interface is closed and when a start trigger signal is received;
[0074] The first system is further configured to open the interactive interface after determining that the second system has been started.
[0075] Optionally, the first system determines that the startup of the second system is completed, specifically:
[0076] The first system obtains a start time of the second system;
[0077] The first system starts timing from the start time of the second system, and the timing duration is the same as the time required for the second system to start
[0078] When the timing ends, the first system determines that the startup of the second system is complete.
[0079] Optionally, the first system determines that the startup of the second system is completed, specifically:
[0080] The first system receives a level signal output when the second system is started;
[0081] When the level signal is a high level signal, the first system determines that the startup of the second system is completed.
[0082] Optionally, the first system turns off the interactive interface by setting the interactive interface to a high impedance state.
[0083] Optionally, the first system closes the interactive interface by setting the interactive interface to a level state matching a level of the second system.
[0084] In the electronic device disclosed in this embodiment, the first system closes the interactive interface between the first system and the second system when starting up, and then opens the interactive interface after the second system is started up, thereby avoiding interference with the second system during the startup of the first system and ensuring that the first system and the second system can communicate normally through the interactive interface after the second system is started up.
[0085] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0086] It should also be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0087] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0088] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for starting a multi-system, characterized in that: Applied to an electronic device, the electronic device includes at least one group of systems with interactive interfaces, each group of systems with interactive interfaces includes: a first system and a second system, the first system is configured to: start the second system first; the method includes: The first system closes the interactive interface when starting up; After the interactive interface is closed, the second system starts up upon receiving a start trigger signal; After determining that the second system has been started, the first system opens the interaction interface, so that the first system and the second system can communicate with each other through the interaction interface.
2. The method according to claim 1, characterized in that Determining that the second system is started up completely includes: The first system obtains a start time of the second system; The first system starts timing from the start time of the second system startup, and the timing duration is the same as the time required for the second system to start; When the timing ends, the first system determines that the startup of the second system is complete.
3. The method according to claim 1, characterized in that Determining that the second system is started up completely includes: The first system receives a level signal output when the second system is started; When the level signal changes, the first system determines that the startup of the second system is complete.
4. The method according to any one of claims 1 to 3, characterized in that The first system closes the interactive interface when starting up, including: The first system sets the interactive interface to a high impedance state when starting up.
5. The method according to any one of claims 1 to 3, characterized in that: The first system closes the interactive interface when starting up, including: When the first system is started, the interactive interface is set to a level state that matches the level of the second system.
6. An electronic device, characterized in that: It includes at least one set of systems with interactive interfaces; Each group of systems with interactive interfaces includes: a first system and a second system; The first system is configured to: start up the second system first; The first system is used to close the interactive interface when starting; The second system is used to start up after the interactive interface is closed and when a start trigger signal is received; The first system is further configured to, after determining that the second system has been started, open the interactive interface, so that the first system and the second system can communicate with each other through the interactive interface.
7. The electronic device according to claim 6, characterized in that: The first system determines that the startup of the second system is completed, specifically: The first system obtains a start time of the second system; The first system starts timing from the start time of the second system, and the timing duration is the same as the time required for the second system to start When the timing ends, the first system determines that the startup of the second system is complete.
8. The electronic device according to claim 6, characterized in that: The first system determines that the startup of the second system is completed, specifically: The first system receives a level signal output when the second system is started; When the level signal changes, the first system determines that the startup of the second system is complete.
9. The electronic device according to any one of claims 6 to 8, characterized in that: The first system turns off the interactive interface by setting the interactive interface to a high impedance state.
10. The electronic device according to any one of claims 6 to 8, characterized in that: The first system closes the interactive interface by setting the interactive interface to a level state matching the level of the second system.
