Control method of wireless device and wireless device

By using a combination of small-capacity memory and large-capacity memory in wireless devices, the normal startup of dual CPUs is achieved, which solves the problem of large central processor memory occupation and difficult layout, and improves the reliability and stability of the device.

CN114137882BActive Publication Date: 2024-09-03GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111451916.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-30
Publication Date
2024-09-03
Estimated Expiration
2041-11-30

AI Technical Summary

Technical Problem

The central processor of the customer front-end equipment in existing wireless equipment needs to be equipped with a large-capacity memory, resulting in high storage costs, difficult layout, and complex implementation.

Method used

By using a combination of a small-capacity first memory and a large-capacity second memory in the wireless device, the startup program and the main program stored in the first memory are run to start the second central processor and transfer the first central processor to the first memory. The main program of the processor is transferred to the third memory to complete the normal startup of the dual CPU.

Benefits of technology

The storage space and layout area occupied by large-capacity memory are reduced, the cost and layout difficulty are reduced, the implementation steps are simplified, and the reliability and stability of the device are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114137882B
    Figure CN114137882B
Patent Text Reader

Abstract

The present disclosure provides a control method of a wireless device and a wireless device, and relates to the field of computer technology. The control method of the wireless device includes: when starting the second central processor in the wireless device, running the startup program of the first central processor stored in the first memory; the first memory is connected to the first central processor; if the second central processor in the wireless device is started, the first main program of the first central processor stored in the second memory is sent to the third memory; the second memory is connected to the second central processor, and the capacity of the first memory is less than the capacity of the second memory; the third memory is connected to the first central processor; the first central processor completes the startup based on the first main program. The technical solution of the embodiment of the present disclosure can reduce costs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a control method for a wireless device and a wireless device. Background Art

[0002] With the development of wireless devices such as CPE (Customer Premise Equipment), two central processors are usually configured on the CPE device to process data.

[0003] In the related art, each central processor in the client front-end device needs to be configured with a large-capacity memory. Among them, the large-capacity memory will occupy a large area and increase the storage cost. In addition, the large-capacity memory will increase the difficulty of layout and the implementation method will be complicated. Summary of the invention

[0004] The present disclosure provides a control method for a wireless device and a wireless device, thereby overcoming the technical problem of complex implementation methods at least to a certain extent.

[0005] According to one aspect of the present disclosure, a control method for a wireless device is provided, comprising: when starting a second central processor in the wireless device, running a startup program of the first central processor stored in a first memory; connecting the first memory to the first central processor; if the startup of the second central processor in the wireless device is completed, sending a first main program of the first central processor stored in the second memory to a third memory; connecting the second memory to the second central processor, and the capacity of the first memory is smaller than the capacity of the second memory; connecting the third memory to the first central processor; and completing startup of the first central processor based on the first main program.

[0006] According to one aspect of the present disclosure, a wireless device is provided, comprising: a first central processing unit and a second central processing unit; a first memory connected to the first central processing unit, and used to store a startup program of the first central processing unit, so that the first central processing unit is partially started by running the startup program; a second memory connected to the second central processing unit, and used to store a first main program of the first central processing unit, a second main program of the second central processing unit, and a startup program of the second central processing unit; the capacity of the first memory is smaller than that of the second memory; and a third memory connected to the first central processing unit, and used to store the first main program of the first central processing unit sent by the second central processing unit after the startup of the second central processing unit is completed.

[0007] In the technical solutions provided by some embodiments of the present disclosure, the first central processor and the second central processor are started together by a startup program and a main program through a combination of a small-capacity first memory of a first central processor in a wireless device and a large-capacity second memory of a second central processor. Among them, because the small-capacity first memory and the large-capacity second memory cooperate with each other, the startup program of the first central processor is used to store the first main program of the first central processor, and the normal startup of multiple central memories is realized, the storage space occupied by the large-capacity memory in the related technology is reduced, the area required for the wiring of the large-capacity memory is reduced, and the layout difficulty and cost are reduced, the implementation steps are simplified, the feasibility is improved, and the reliability and stability of the device are improved.

[0008] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present disclosure, and together with the specification, are used to explain the principles of the present disclosure. Obviously, the drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0010] Figure 1 A schematic diagram showing an application scenario in which the control method for a wireless device according to an embodiment of the present disclosure can be applied;

[0011] Figure 2 A flowchart schematically illustrates a method for controlling a wireless device according to an exemplary embodiment of the present disclosure;

[0012] Figure 3 A structural diagram of a memory in the related art in an embodiment of the present disclosure is shown;

[0013] Figure 4 A first structural diagram of a memory in an embodiment of the present disclosure is shown;

[0014] Figure 5 A second structural diagram of a memory in an embodiment of the present disclosure is shown;

[0015] Figure 6 A schematic diagram of a process of transmitting a first main program in an embodiment of the present disclosure is shown;

[0016] Figure 7 A schematic diagram of a process for determining a startup state in an embodiment of the present disclosure is shown;

[0017] Figure 8 A block diagram of a wireless device in an exemplary embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0018] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concepts of the example embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.

[0019] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.

[0020] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the steps. For example, some steps may be decomposed, while some steps may be combined or partially combined, so the actual execution order may change according to the actual situation. In addition, all the terms "first" and "second" below are only for the purpose of distinction and should not be used as limitations of the present disclosure.

[0021] An embodiment of the present disclosure provides a method for controlling a wireless device. Figure 1 A schematic diagram is shown of an application scenario in which the control method for a wireless device according to an embodiment of the present disclosure can be applied.

[0022] like Figure 1As shown, it can be specifically applied to the control process of the customer front-end device 101. Among them, the device 101 can be a wireless device, for example, it can be various types of wireless devices, which are not limited here. In the embodiment of the present disclosure, the device 101 specifically refers to the customer front-end device, and the device 101 can be connected to the device 102, the device 103, etc. for communication, wherein the device 102 and the device 103 are auxiliary devices of the wireless device, and can specifically be any type of device, such as a monitoring device, etc.

[0023] In the embodiment of the present disclosure, the second central processor in the wireless device detects whether it has completed startup. If the startup is completed, the second central processor is converted into a mobile storage device to send the first main program of the first central processor to the third memory of the first central processor, so that the first central processor continues to start according to the first main program. After the first central processor completes startup, its startup success information is sent to the second central processor, so that the dual CPUs can operate normally.

[0024] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0025] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, and the units described may also be arranged in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.

[0026] Figure 2 The flowchart of the control method of the wireless device according to the exemplary embodiment of the present disclosure is schematically shown. The control method of the wireless device can be applied to the process of controlling the wireless device through multiple central processors in the wireless device. Figure 2 As shown, the control method of the wireless device may include steps S210 to S230, which are described in detail as follows:

[0027] In step S210, when starting the second central processor in the wireless device, a startup program of the first central processor stored in a first memory is run; the first memory is connected to the first central processor.

[0028] In the embodiments of the present disclosure, the wireless device may be any device used for wireless network access. Here, the customer premise device is used as an example for explanation. The customer premise device is a mobile signal access device that receives mobile signals and forwards them as wireless WiFi signals. It is also a device that converts high-speed 4G signals or 5G signals into WiFi signals, and can support a large number of mobile terminals accessing the Internet at the same time. The customer premise device can be applied to wireless network access in any scenario.

[0029] In the disclosed embodiment, the wireless device mainly includes the following module units: a processor unit, an AP chip and a WiFi communication unit, a wireless WAN communication unit, a power supply unit, an interface unit and other inherent units, which are used to connect the forwarded mobile signal to the device, thereby realizing interactive control or human-computer interaction. The wireless WAN communication unit can be a radio frequency integrated circuit RFIC module, and the wireless WAN communication unit is connected to the processor to transmit the FFE to the processor unit. The power supply unit is connected to the processor unit for power supply.

[0030] In addition, the wireless device may include multiple CPUs (central processing units), specifically two CPUs, to achieve the effect of dual CPU operation. Multiple CPUs may include, for example, CPU1 and CPU2. Among them, CPU1 can be used to receive cellular data sent by CPU2, and provide data streams to external devices through interfaces such as WiFi and network ports, that is, it is mainly used to process WiFi and network ports, etc. CPU2 mainly processes cellular data, that is, it is used to process 4G / 5G and other signals used by smart terminals to access the Internet.

[0031] The first central processor may be any one of a plurality of central processors, for example, it may be CPU1 or CPU2, which is not limited here. The second central processor is different from the first central processor, and the second central processor refers to the remaining central processors except the first central processor. Take the example of two central processors included in the wireless device for illustration. For example, when the first central processor is CPU1, the second central processor is CPU2; when the first central processor is CPU2, the second central processor is CPU1.

[0032] Each central processing unit can be connected to a corresponding memory. In the embodiment of the present disclosure, a first central processing unit among multiple central processing units can be connected to a first memory, and a second central processing unit among multiple central processing units can be connected to a second memory. The first memory and the second memory are of the same type, but the capacity of the first memory and the capacity of the second memory are different. Specifically, both the first memory and the second memory can be FLASH, and the capacity of the first memory is smaller than the capacity of the second memory, that is, the first memory can be a small-capacity memory, and the second memory can be a large-capacity memory. The capacity of the first memory can be determined according to the size of the startup program of the first central processing unit, as long as it can store the startup program of the first central processing unit. The startup program of the first central processing unit can be, for example, a UBOOT program.

[0033] The specific structures of the first central processing unit and the second central processing unit can be as follows: Figure 4 and Figure 5 As shown in . Figure 4 As shown in , the first central processor is CPU1, the second central processor is CPU2, FLASH1 is the first memory, i.e., a small-capacity memory, and FLASH2 is the second memory, i.e., a large-capacity memory. Figure 5 As shown in , the first central processing unit is CPU2, the second central processing unit is CPU1, FLASH2 is the first memory, that is, a small-capacity memory, and FLASH1 is the second memory, that is, a large-capacity memory.

[0034] In addition, CPU1 is also connected to the third memory DDR1, and CPU2 is connected to the fourth memory DDR2. CPU1 and CPU2 are connected via a PCIE interface and a USB interface. Figure 3 The memory method in the related art shown in the figure reduces the occupied area of ​​the memory and reduces the cost by setting a large-capacity memory and a small-capacity memory.

[0035] After configuring the memory for the first central processing unit and the second central processing unit, the startup program of the first central processing unit can be stored in the first memory, and the first main program of the first central processing unit, the second main program of the second central processing unit and the startup program of the second central processing unit can be stored in the second memory. The startup programs of the first central processing unit and the second central processing unit can be UBOOT programs. The UBOOT program is responsible for guiding the kernel to load into the memory to start or to start the recovery mode. During the system startup process, the first thing to start is the UBOOT program to partially start the associated central processing unit. During the startup process of the UBOOT program, if the kernel image is flashed into a third party's related image that has not been signed and authenticated, the system cannot start to ensure the security of the system. The first main program can be the main program of the first central processing unit, and the second main program can be the main program of the second central processing unit. The types of the first main program and the second main program can be the same or different. The sizes of the first main program and the second main program can also be the same or different, which is not limited here. The first main program and the second main program can be merged, and the merged first main program and the second main program can be stored in the second memory. Specifically, the first main program and the second main program can be compressed separately, and the compressed first main program and the compressed second main program can be combined and stored in a large-capacity memory to save the storage space of the memory. In this way, for the first central processing unit, its startup program is stored in the first memory, and the first main program is stored in the second memory. It should be noted that the first main program and the second main program are linked because they are stored in the same large-capacity memory, but the first main program and the second main program that share the same large-capacity memory are independent of each other, that is, there is a distinction. When the first central processing unit is started, only the first main program corresponding to the first central processing unit is run, and the second main program of the second central processing unit will not be run.

[0036] On this basis, if it is detected that the system is powered on, the first central processor and the second central processor can be started at the same time. For the second central processor, since its corresponding startup program and second main program are stored in its corresponding second memory, the second central processor can independently complete the startup by running the startup program and second main program of the second central processor in sequence. Since only the startup program of the first central processor is stored in the first memory of the first central processor, and its corresponding first main program is stored in the second memory, the first central processor cannot complete the startup independently, but needs to be completed with the assistance of the second central processor. Since each central processor is started through two steps, the startup level and the main program. Based on this, when the system is detected to be powered on and the second central processor in the wireless device is started, the startup program of the first central processor stored in the first memory can be run first to achieve partial startup of the first central processor.

[0037] refer to Figure 4 and Figure 5 As shown, when power-on is detected, the first central processing unit and the second central processing unit can be started at the same time. The specific method includes: the first central processing unit CPU1 or CPU2 uses the UBOOT program in the small-capacity memory to partially start, and after the UBOOT program is completed, the first central processing unit CPU1 or CPU2 waits for the second central processing unit CPU2 or CPU1 to start, so as to continue to start according to the first main program stored in the second memory after the second central processing unit CPU2 or CPU1 is started. The second central processing unit CPU2 or CPU1 can run its own corresponding startup program stored in the second memory and the second main program for complete startup.

[0038] In step S220, if the second central processor in the wireless device is started, the first main program of the first central processor stored in the second memory is sent to the third memory; the second memory is connected to the second central processor, and the capacity of the first memory is smaller than the capacity of the second memory; the third memory is connected to the first central processor.

[0039] In the embodiment of the present disclosure, if the second central processor is started up, the first main program of the first central processor stored in the second memory can be sent to the third memory connected to the first central processor to continue starting the first central processor according to the startup status of the second central processor.

[0040] Since the first central processing unit needs to run its corresponding first main program to start, and the first main program is stored in the second memory of the second central processing unit, it is necessary to transfer the first main program to the third memory connected to the first central processing unit. Based on this, since the first main program is stored in the second memory, the first main program can be transferred through the second central processing unit. Specifically, the second central processing unit can be converted into a mobile storage device, and the first main program stored in the second memory can be sent to the third memory connected to the first central processing unit through the mobile storage device.

[0041] Figure 6 The schematic diagram of the process of transmitting the first main program is shown schematically in Figure 6 As shown in , it mainly includes the following steps:

[0042] In step S610, the second central processor is converted into a mobile storage device to provide a virtual interface;

[0043] In step S620, the first main program in the second memory is sent to the third memory of the first central processing unit through the virtual interface.

[0044] In the embodiment of the present disclosure, after determining that the second central processor has completed startup, the second central processor can virtualize itself into a mobile storage device, which can be, for example, a USB flash drive or other types of devices. The mobile storage device can provide a virtual interface, which is a USB interface or a PCIE channel. Further, the first main program of the first central processor can be downloaded to the third memory corresponding to the first central processor for storage through the USB interface or the PCIE channel, and the first main program can be run in the third memory, so that the first central processor continues to start based on the first main program, thereby achieving the effect of normal operation of the dual CPU. Among them, the number of PCIE channels is determined by the motherboard and the CPU, and the PCIE channel of the CPU is directly connected to the CPU. That is, after the second central processor is started, it converts itself into a mobile storage device such as a USB flash drive, and transmits the first main program to the third memory of the first central processor through the mobile storage device, so as to send the first main program from the second central processor to the first central processor. The third memory can be DDR (Double Data Rate Synchronous Dynamic Random Access Memory, double data rate synchronous dynamic random access memory).

[0045] It should be added that before sending the first main program, it is first possible to determine whether the second central processing unit has been started. Specifically, it is possible to determine whether the second central processing unit has been started based on feedback information. The feedback information can be in the form of a signal light prompt or an audio prompt. If the second central processing unit has not been started, no feedback information will be sent to the first central processing unit or other alarm information will be sent to the first central processing unit. That is, if the first central processing unit receives feedback information, it can be considered that the second central processing unit has been started.

[0046] In step S230, the first central processing unit completes startup based on the first main program.

[0047] In the embodiment of the present disclosure, after the second central processor is started, the second central processor can send the first main program corresponding to the first central processor to the third memory connected to the first central processor. Specifically, the second central processor can actively send the first main program to the third memory connected to the first central processor, or the first central processor can download the first main program from the second memory to the third memory, as long as the first main program can be sent to the third memory connected to the first central processor.

[0048] After the third memory receives the first main program sent by the second central processor, the first central processor can run the first main program stored in the third memory to control the first central processor to continue to start, thereby completing the dual CPU startup process of the first central processor and the second central processor. Based on this, the startup process of the first central processor includes: 1. Start through the startup program part stored in the first memory; 2. After the second central processor is started, continue to start according to the first main program in the third memory.

[0049] It should be added that, in the process of starting up multiple CPUs, in order to accurately determine the startup status of each CPU in the wireless device, the startup status of the second CPU and the first CPU can be prompted. Figure 7 The flowchart for determining the startup state shown in FIG. 1 mainly includes the following steps:

[0050] In step S710, it is determined whether the first CPU receives feedback information from the second CPU. If yes, the process goes to step S720. If no, the process goes to step S740.

[0051] The feedback information is used to indicate that the second central processing unit has completed startup. The feedback information can be in the form of a signal light prompt or an audio prompt. If the second central processing unit has not completed startup, no feedback information will be sent to the first central processing unit.

[0052] In step S720, if yes, it is determined whether the second CPU receives the prompt information sent by the first CPU. If yes, it goes to step S730. If no, it goes to step S750.

[0053] In this step, the prompt information is used to indicate that the first central processing unit has completed startup. The prompt information can also be a signal light prompt or an audio prompt. If the first central processing unit has not completed startup, the prompt information will not be sent to the second central processing unit.

[0054] In step S730, if yes, it is determined that the first central processing unit and the second central processing unit are started up.

[0055] In this step, if the first central processor receives feedback information sent by the second central processor, and the second central processor receives prompt information sent by the first central processor, it is determined that the startup of the first central processor and the second central processor is complete.

[0056] In step S740, if no feedback information is received within the first duration, the second central processor is restarted. The first duration may be, for example, 10 seconds, etc., which is not limited here. That is, if no feedback information sent by the second central processor is received, it is considered that the second central processor has not been started. In order to improve accuracy, the second central processor may be restarted according to the startup program of the second central processor and the second main program.

[0057] In step S750, if the prompt message is not received within the second duration, the first central processing unit is restarted. The second duration may be the same as the first duration, or may be different, and is not specifically limited here. If the prompt message sent by the first central processing unit is not received, it is considered that the first central processing unit has not been started. In order to improve accuracy, the first central processing unit may be restarted according to the startup program of the first central processing unit and the first main program.

[0058] In the disclosed embodiment, after the dual system startup is completed, the two CPUs will confirm whether the other party has completed startup through GPIO (General-purpose input / output) or other signals, so as to accurately determine the startup status of the first central processing unit and the second central processing unit. If both the first central processing unit and the second central processing unit have completed startup, the normal operation of the dual CPUs is achieved. If one of the first central processing unit and the second central processing unit has not completed startup, it is necessary to restart it. After accurately determining the startup status of the first central processing unit and the second central processing unit, the device can be restarted in time, so that the central processing unit can obtain relevant information in time, so as to make relevant post-processing, thereby reducing the impact caused by device abnormalities, improving the timeliness and reliability of the control of the wireless device, avoiding abnormal situations, and facilitating the operation of the wireless device.

[0059] The technical solution in the disclosed embodiment uses a small-capacity first memory and a large-capacity second memory to jointly start the first central processor and the second central processor, and can start the first central processor under the restriction of the second central processor, so as to achieve the effect of normal operation of multiple central processors. Compared with the large-capacity memory method in the related art, it reduces the material cost of the memory, reduces the layout area of ​​the PCB (Printed Circuit Board), reduces the pressure of PCB layout, facilitates product miniaturization, reduces material costs, and increases reliability and timeliness, which can increase the application scope of the product and improve feasibility.

[0060] It should be noted that although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.

[0061] Figure 8 A block diagram of a wireless device according to an exemplary embodiment of the present disclosure is schematically shown.

[0062] refer to Figure 8 As shown, the wireless device 800 may include the following modules:

[0063] A first central processing unit 801 and a second central processing unit 802;

[0064] A first memory 803, connected to the first central processing unit, and used to store a startup program of the first central processing unit, so that the first central processing unit is partially started by running the startup program;

[0065] A second memory 804, connected to the second central processor, and used to store a first main program of the first central processor, a second main program of the second central processor, and a startup program of the second central processor; the capacity of the first memory is smaller than that of the second memory;

[0066] The third memory 805 is connected to the first central processing unit, and is used to store the first main program of the first central processing unit sent by the second central processing unit after the second central processing unit is started.

[0067] In the disclosed embodiment, the first central processing unit is connected to the second central processing unit via a PCIE channel or a USB interface. The first central processing unit can be connected to the first memory, and the second central processing unit can be connected to the second memory, that is, the small-capacity first memory FLASH1 is connected to the first central processing unit, and the large-capacity second memory FLASH2 is connected to the second central processing unit. The startup program of the first central processing unit, such as the UBOOT program, can be stored in the small-capacity memory. And the first main program of the first central processing unit and the second main program of the second central processing unit can be compressed respectively, and then merged, and the merged first main program and second main program are stored in the large-capacity memory. The first central processing unit is also connected to the third memory for interaction. The second central processing unit is connected to the fourth memory DDR2 for interaction.

[0068] Based on this, since the first central processor's small-capacity first memory only stores the first central processor's startup program, and its corresponding first main program is stored in the large-capacity second memory, the first central processor cannot complete the startup independently, but needs to be completed with the assistance of the second central processor. The second main program and all programs of the second central processor are stored in its corresponding large-capacity memory, so the second central processor can run the second main program to independently complete the startup.

[0069] In the disclosed embodiment, by providing a small-capacity memory and a large-capacity memory, two central processors share a large-capacity memory for startup. The storage space can be reasonably utilized to reduce material costs. The PCB layout area is reduced, the PCB cost is reduced, and the pressure of PCB layout is relieved, which facilitates product miniaturization, increases the scope of application, improves feasibility, and also improves the stability and reliability of equipment operation.

[0070] In an exemplary embodiment of the present disclosure, the first central processing unit is started according to a startup program of the first central processing unit in the first memory and a first main program stored in the second memory.

[0071] In an exemplary embodiment of the present disclosure, the second central processing unit is started by a startup program of the second central processing unit and a second main program in the second memory.

[0072] In an exemplary embodiment of the present disclosure, the first main program stored in the second memory is sent to a third memory connected to the first central processing unit via a mobile storage device, and the mobile storage device is converted by the second central processing unit.

[0073] In an exemplary embodiment of the present disclosure, the first main program is sent to a third memory connected to the first central processor through a virtual interface provided by a mobile storage device.

[0074] In an exemplary embodiment of the present disclosure, the second memory includes a first main program of the first central processing unit, a second main program of the second central processing unit, and a startup program of the second central processing unit.

[0075] In an exemplary embodiment of the present disclosure, the first main program and the second main program in the second memory are compressed to obtain a compressed first main program and a compressed second main program respectively, and the compressed first main program and the compressed second main program are merged.

[0076] In an exemplary embodiment of the present disclosure, the first main program and the second main program are independent of each other.

[0077] In an exemplary embodiment of the present disclosure, the wireless device also includes: the first central processor and the second central processor are started up and completed by the first central processor receiving feedback information sent by the second central processor, and the second central processor receiving prompt information sent by the first central processor; the first central processor or the second central processor is restarted and controlled by the second central processor not receiving prompt information sent by the first central processor, or the first central processor not receiving feedback information sent by the second central processor.

[0078] Since the modules of the wireless device in the embodiment of the present disclosure are the same as those in the embodiment of the control method of the wireless device described above, they will not be described in detail here.

[0079] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present disclosure.

[0080] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to the exemplary embodiments of the present disclosure, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.

[0081] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.

[0082] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing what is disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and embodiments are to be considered merely as exemplary, and the true scope and spirit of the present disclosure are indicated by the claims.

[0083] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A method for controlling a wireless device, It is characterized in that include: When starting the second central processor in the wireless device, running the startup program of the first central processor stored in the first memory; the first memory is connected to the first central processor; If the second central processor in the wireless device is started up, converting the second central processor into a mobile storage device to provide a virtual interface; The first main program of the first central processor stored in the second memory is sent to the third memory through the virtual interface; the second memory is connected to the second central processor, and the capacity of the first memory is smaller than that of the second memory; the third memory is connected to the first central processor; The first central processing unit completes startup based on the first main program.

2. The method for controlling a wireless device according to claim 1, It is characterized in that The method further comprises: The first main program of the first central processing unit and the second main program of the second central processing unit are stored in the second memory, and the startup program of the second central processing unit is stored in the second memory.

3. The method for controlling a wireless device according to claim 2, It is characterized in that The step of storing the first main program of the first central processing unit and the second main program of the second central processing unit in the second memory includes: The first main program and the second main program are compressed respectively, the compressed first main program and the compressed second main program are merged and stored in the second memory.

4. The control method of a wireless device according to claim 2 or 3, It is characterized in that The first main program and the second main program are independent of each other.

5. The method for controlling a wireless device according to claim 1, It is characterized in that The method further comprises: If the first central processor receives feedback information sent by the second central processor, and the second central processor receives prompt information sent by the first central processor, it is determined that the first central processor and the second central processor are started up completely; If the second central processor does not receive the prompt information sent by the first central processor, or the first central processor does not receive the feedback information sent by the second central processor, the first central processor or the second central processor is restarted.

6. A wireless device, It is characterized in that include: a first central processing unit and a second central processing unit; A first memory, connected to the first central processor, for storing a startup program of the first central processor, so that the first central processor is partially started by running the startup program; A second memory, connected to the second central processing unit, for storing a first main program of the first central processing unit, a second main program of the second central processing unit, and a startup program of the second central processing unit; The capacity of the first memory is smaller than that of the second memory; the first main program in the second memory is stored in the third memory via a virtual interface provided by a mobile storage device, and the mobile storage device is converted by the second central processing unit; The third memory is connected to the first central processing unit, and is used for storing the first main program of the first central processing unit sent by the second central processing unit after the second central processing unit is started.

7. The wireless device according to claim 6, It is characterized in that The first central processing unit is started according to a startup program of the first central processing unit in the first memory and a first main program stored in the second memory.

8. The wireless device according to claim 6, It is characterized in that The second central processing unit is started by a startup program of the second central processing unit and a second main program in the second memory.