CN111381892B - Data processing method, device, equipment and machine-readable medium - Google Patents

Data processing method, device, equipment and machine-readable medium Download PDF

Info

Publication number
CN111381892B
CN111381892B CN201811642787.6A CN201811642787A CN111381892B CN 111381892 B CN111381892 B CN 111381892B CN 201811642787 A CN201811642787 A CN 201811642787A CN 111381892 B CN111381892 B CN 111381892B
Authority
CN
China
Prior art keywords
equipment
memory
mode
starting
hardware
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811642787.6A
Other languages
Chinese (zh)
Other versions
CN111381892A (en
Inventor
汪燮彬
赵奇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Banma Zhixing Network Hongkong Co Ltd
Original Assignee
Banma Zhixing Network Hongkong Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Banma Zhixing Network Hongkong Co Ltd filed Critical Banma Zhixing Network Hongkong Co Ltd
Priority to CN201811642787.6A priority Critical patent/CN111381892B/en
Publication of CN111381892A publication Critical patent/CN111381892A/en
Application granted granted Critical
Publication of CN111381892B publication Critical patent/CN111381892B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4406Loading of operating system
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the application provides a data processing method, a device, equipment and a machine-readable medium, wherein the equipment applied by the method comprises the following steps: a storage medium and a clock, the storage medium comprising: a memory; the method comprises the following steps: initializing first hardware corresponding to the equipment after the equipment is powered on; the first hardware includes: a clock and a memory; and under the condition that the starting mode parameters of the equipment meet the starting conditions, loading the kernel of the operating system into the initialized memory, and loading the running data corresponding to the kernel into the initialized memory. The embodiment of the invention can improve the starting speed of the operating system.

Description

Data processing method, device, equipment and machine-readable medium
Technical Field
The present application relates to the field of computer technology, and in particular, to a data processing method, a data processing apparatus, a device, and a machine readable medium.
Background
In embedded systems, boot Loader (Boot Loader) is typically run before the operating system is run. The functions of the Boot Loader may include: and (3) finishing hardware initialization, establishing a memory space mapping diagram, bringing the software and hardware environment of the operating system to a proper state, and finally realizing the starting of the boot operating system.
The current Boot Loader specifically comprises: a primary boot program and a secondary boot program; the primary boot program is used for realizing functions such as initialization of a CPU and a DDR (double rate synchronous dynamic random access memory, double Data Rate Synchronous Dynamic Random Access Memory), and the primary boot program is used for directly loading the secondary boot program to the DDR with enough storage space because the primary boot program has completed the initialization of the DDR, and then the secondary boot program is operated in the DDR so as to realize functions such as hardware initialization, memory allocation, kernel loading and the like necessary for starting an operating system through the secondary boot program.
The operation time of the primary Boot program and the secondary Boot program is longer, so that the current Boot Loader has the problem of longer Boot time.
Disclosure of Invention
The technical problem to be solved by the embodiments of the present application is to provide a data processing method, which can improve the starting speed of an operating system.
Correspondingly, the embodiment of the application also provides a data processing device, equipment and machine-readable medium, which are used for guaranteeing the implementation and application of the method.
In order to solve the above problems, an embodiment of the present application discloses a data processing method, where an apparatus applied by the method includes: a storage medium and a clock, the storage medium comprising: a memory; the method comprises the following steps:
Initializing first hardware corresponding to the equipment after the equipment is powered on; the first hardware includes: a clock and a memory;
and under the condition that the starting mode parameters of the equipment meet the starting conditions, loading the kernel of the operating system into the initialized memory, and loading the running data corresponding to the kernel into the initialized memory.
On the other hand, the embodiment of the application also discloses a data processing device, and the device applied by the device comprises: a storage medium and a clock, the storage medium comprising: a memory; the device comprises:
the first initialization module is used for initializing first hardware corresponding to the equipment after the equipment is powered on; the first hardware includes: a clock and a memory; and
the first loading module is used for loading the kernel of the operating system into the initialized memory and loading the operation data corresponding to the kernel into the initialized memory under the condition that the starting mode parameter of the equipment meets the starting condition.
In yet another aspect, an embodiment of the present application further discloses an apparatus, including:
one or more processors; and
one or more machine-readable media having instructions stored thereon, which when executed by the one or more processors, cause the apparatus to perform one or more of the methods described previously.
In yet another aspect, embodiments of the present application disclose one or more machine-readable media having instructions stored thereon that, when executed by one or more processors, cause an apparatus to perform one or more of the methods described previously.
In yet another aspect, an embodiment of the present application further discloses a data processing method, including:
after the equipment is powered on, initializing part of hardware corresponding to the equipment; the part of hardware at least comprises: a memory;
and under the condition that the equipment meets the starting condition, loading the kernel of the operating system into the initialized memory, and loading the running data corresponding to the kernel into the initialized memory.
Compared with the prior art, the embodiment of the application has the following advantages:
after the device is powered on, the first hardware corresponding to the device can be initialized first, and then, under the condition that the starting mode parameter of the device meets the starting condition, the kernel of the operating system is loaded into the initialized memory, and the running data corresponding to the kernel is loaded into the initialized memory. Compared with the prior art that after the primary bootstrap program finishes initializing the DDR, the secondary bootstrap program is loaded to the DDR, and the secondary bootstrap program is operated in the DDR, so that the functions of hardware initialization, memory allocation, kernel loading and the like are realized through the secondary bootstrap program.
Drawings
FIG. 1 is a flowchart illustrating steps of a first embodiment of a data processing method according to the present application;
FIG. 2 is a flowchart illustrating steps of a second embodiment of a data processing method according to the present application;
FIG. 3 is a flow chart of steps of a third embodiment of a data processing method of the present application;
FIG. 4 is a flowchart illustrating steps of a fourth embodiment of a data processing method according to the present application;
FIG. 5 is a flowchart illustrating steps of a fifth embodiment of a data processing method according to the present application;
FIG. 6 is a block diagram of an embodiment of a data processing apparatus of the present application; and
fig. 7 is a schematic structural diagram of an apparatus according to an embodiment of the present application.
Detailed Description
In order that the above-recited objects, features and advantages of the present application will become more readily apparent, a more particular description of the invention briefly described above will be rendered by reference to specific embodiments that are illustrated in the appended drawings.
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application are within the scope of the protection of the present application.
The concepts of the present application are susceptible to various modifications and alternative forms, specific embodiments thereof have been shown by way of example in the drawings and will herein be described in detail. It should be understood, however, that the description herein of specific embodiments is not intended to limit the concepts of the present application to the particular forms disclosed, but on the contrary, the intention is to cover all modifications, equivalents, and alternatives falling within the scope of the present application.
Reference in the specification to "one embodiment," "an embodiment," "one particular embodiment," etc., means that a particular feature, structure, or characteristic may be included in the described embodiments, but every embodiment may or may not necessarily include the particular feature, structure, or characteristic. Moreover, such phrases are not necessarily referring to the same embodiment. Further, where a particular feature, structure, or characteristic is described in connection with an embodiment, it is submitted that it is within the purview of one skilled in the art to effect such feature, structure, or characteristic in connection with other ones of the embodiments whether or not explicitly described. In addition, it should be understood that the items in the list included in this form of "at least one of A, B and C" may include the following possible items: (A); (B); (C); (A and B); (A and C); (B and C); or (A, B and C). Likewise, an item listed in this form of "at least one of A, B or C" may mean (A); (B); (C); (A and B); (A and C); (B and C); or (A, B and C).
In some cases, the disclosed embodiments may be implemented as hardware, firmware, software, or any combination thereof. The disclosed embodiments may also be implemented as instructions carried on or stored on one or more transitory or non-transitory machine-readable (e.g., computer-readable) storage media, which may be executed by one or more processors. A machine-readable storage medium may be implemented as a storage device, mechanism, or other physical structure (e.g., volatile or non-volatile memory, a media disc, or other media other physical structure device) for storing or transmitting information in a form readable by a machine.
In the drawings, some structural or methodological features may be shown in a particular arrangement and/or ordering. Preferably, however, such specific arrangement and/or ordering is not necessary. Rather, in some embodiments, such features may be arranged in a different manner and/or order than as shown in the drawings. Furthermore, inclusion of a feature in a particular figure that is not necessarily meant to imply that such feature is required in all embodiments and that, in some embodiments, may not be included or may be combined with other features.
The embodiment of the application provides a data processing scheme, and equipment applied to the scheme can comprise: a storage medium and a clock. The storage medium may refer to a carrier storing data. The storage medium may include: and (3) a memory. The memory has high speed and small capacity, and can be used for temporarily storing programs, data and intermediate results. It is understood that the storage medium of the embodiments of the present application may further include: and (5) external storage. The external memory has large capacity and slow speed, and can be used for long-term program and data storage. The clock may be used to provide an operating clock for other hardware of the device.
The scheme specifically can include: initializing first hardware corresponding to the equipment after the equipment is powered on; the first hardware may include: a clock and a memory; and under the condition that the starting mode parameters of the equipment meet the starting conditions, loading the kernel of the operating system into the initialized memory, and loading the running data corresponding to the kernel into the initialized memory.
After the device is powered on, the first hardware corresponding to the device can be initialized first, and then, under the condition that the starting mode parameter of the device meets the starting condition, the kernel of the operating system is loaded into the initialized memory, and the running data corresponding to the kernel is loaded into the initialized memory. Compared with the prior art that after the primary bootstrap program finishes initializing the DDR, the secondary bootstrap program is loaded to the DDR, and the secondary bootstrap program is operated in the DDR, so that the functions of hardware initialization, memory allocation, kernel loading and the like are realized through the secondary bootstrap program.
The method and the device can be applied to a starting scene of an operating system. The operating system is the system software in the computer system responsible for supporting the application running environment and the user operating environment, and is also the core and the base stone of the computer system. The operating system is a program set for controlling and managing the software and hardware resources of the computer, reasonably organizing the working flow of the computer and facilitating the operation of a user. Responsibilities of an operating system typically include: direct supervision of hardware, management of various computing resources (e.g., memory, processor time, etc.), providing application-oriented services such as job management, and the like.
The kernel is a basic module of an operating system for managing system resources. The management system resource may include: providing abstractions to the software layer (e.g., operational and rights control for objects such as processes, file systems, synchronization, memory, network protocols, etc.), abstractions to hardware access (e.g., disk, display, network card), etc.
Embodiments of the present application may be applicable to any operating system, for example, the operations described above may include, but are not limited to: linux, windows, android, aliOS, yunOS, etc. One object of an embodiment of the present application is to: the starting of the operating system is quickly guided, so that the starting time of the operating system is shortened, and the user experience can be improved. It will be appreciated that embodiments of the present application are not limited to a particular operating system.
The device in the embodiment of the present application may refer to any device capable of carrying an operating system. Such devices may include, but are not limited to: smart phones, tablet computers, electronic book readers, MP3 (moving picture experts compression standard audio layer 3,Moving Picture Experts Group Audio Layer III) players, MP4 (moving picture experts compression standard audio layer 4,Moving Picture Experts Group Audio Layer IV) players, laptop portable computers, car-mounted devices, PCs (personal computers), set top boxes, smart televisions, wearable devices, control devices for large screens for controlling the display of large screens, and the like. It will be appreciated that embodiments of the present application are not limited to a particular device.
Examples of the in-vehicle apparatus may include: HUD (Head Up Display) and the like, wherein the HUD is usually installed in front of a driver, and can provide necessary driving information for the driver in the driving process, such as vehicle speed, oil consumption, navigation, even mobile phone incoming call, message reminding and the like; in other words, the HUD can integrate multiple functions, and is convenient for drivers to pay attention to driving road conditions.
Method embodiment one
Referring to fig. 1, a flowchart illustrating steps of a first embodiment of a data processing method of the present application, a device to which the method is applied may specifically include: a storage medium and a clock, the storage medium may specifically include: a memory; the method specifically comprises the following steps:
step 101, initializing first hardware corresponding to equipment after the equipment is powered on; the first hardware may include: a clock and a memory;
step 102, loading a kernel of an operating system into the initialized memory and loading operation data corresponding to the kernel into the initialized memory when the starting mode parameter of the device meets the starting condition.
Alternatively, at least one step included in the method shown in fig. 1 may be performed by running a first code in a memory. The first code may correspond to a first program, such as a SPL (second stage program loader, secondary Program Loader) program. The second stage corresponding to SPL is relative to the BROM (a piece of boot program already cured inside the Chip) in the SOC (System on Chip), which starts the boot program that was first cured in the BROM and then the SPL program.
The traditional SPL program is used for finishing the initialization of the DDR, loading the secondary bootstrap program to the initialized DDR, and then running the secondary bootstrap program in the initialized DDR so as to realize the functions of hardware initialization, memory allocation, kernel loading and the like necessary for starting the operating system through the secondary bootstrap program.
The embodiment of the application can improve the SPL program, and the functions of the improved SPL program can comprise: after the equipment is powered on, initializing first hardware corresponding to the equipment; and loading the kernel of the operating system into the initialized memory and loading the operation data corresponding to the kernel into the initialized memory under the condition that the starting mode parameter of the equipment meets the starting condition.
In practical applications, the first program may be stored in a Memory external to the device, such as an external ROM (Read-Only Memory). In practical applications, the BROM may load the first program from the external memory to the internal memory, so as to trigger the operation of the first code corresponding to the first program.
The memory of the embodiment of the application may include: RAM (random access memory ).
According to one embodiment, the first code may be loaded in an SRAM (Static Random-Access Memory). The SRAM can store the data stored in the SRAM without a refresh circuit, so that the SRAM has the advantage of high speed, and the starting speed of an operating system can be improved.
According to another embodiment, the first code may be loaded at a DDR (double Rate synchronous dynamic random Access memory, double Data Rate Synchronous Dynamic Random Access Memory). The DDR is refreshed and charged once at intervals, otherwise, the internal data disappear, so the DDR has higher performance and is suitable for being used as a main memory of equipment. But DDR is slower than SRAM.
The device may include: powering up may refer to powering up circuitry in a device. Wherein the hardware in the device may each have corresponding circuitry. Alternatively, the circuitry in the device may be powered by a battery to enable powering up of the device. Alternatively, it may be appreciated that embodiments of the present application do not impose limitations on the power-up process of the device.
In step 101, the initializing the first hardware may include: clock and memory. Wherein the clock may provide an operating clock for other hardware of the device. Memory may be used for temporary storage of programs, data, and intermediate results.
In an optional embodiment of the present application, step 101 may specifically include: initializing DDR corresponding to the equipment. Of course, the embodiments of the present application are directed to
The specific memory initialized in step 101 is not limited.
In step 102, a start-up mode parameter may be used to characterize a start-up mode of a device. In general, different start-up mode parameters may correspond to different start-up modes.
The start-up mode parameters may include: and the normal starting mode parameter corresponds to the normal starting mode. The normal start-up mode may allow a user to use the device normally, for example, to use functions provided by applications in the device, which may include: office functions, audio-visual functions, instant messaging functions, online shopping functions, web browsing functions, and the like.
The start-up mode parameters may include: the card swiping mode parameter corresponds to the card swiping mode. Alternatively, the start-up mode parameters may include: and the wire brush mode parameter corresponds to the wire brush mode.
Both the card swiping mode and the line swiping mode can be used for information replacement of devices such as mobile phones.
The distinction between card swiping mode and line swiping mode may include:
the process of the card swiping mode may include: file replacement process. The card swiping mode may not re-flush the entire partition, but replace only a portion of the file. The content in the whole card swiping package is actually files and directories, the original files are replaced by the content in the original equipment, and if the content is not, the content is added, so the card swiping package is characterized in that a compressed package with the extension of zip is usually placed on an external memory card, and the files can be replaced by a bootstrap program such as RECOVERY.
And the line brush mode may replace the entire contents of the partition. The files inside the line brush package are therefore typically img files (partition image files) one by one.
The card swiping mode and the line swiping mode have respective characteristics and application scenes. If part of the files need to be updated, the card swiping mode is naturally the fastest, because the card swiping mode only needs to carry the replacement files and the increment files, and the files which can be used by the operating system originally are not carried; card swiping is often used in updates or upgrades so that the amount of information that needs to be downloaded is minimal. Under the abnormal condition of the system, a line brush mode can be adopted, and the whole partition can be replaced by the line brush mode, so that the problem of inconsistency can be avoided.
In practical applications, the frequency of use of the different start modes by the user may be different. Specifically, the user uses the normal start mode most frequently, and uses the card swipe mode or the line swipe mode less frequently. The more cases are the normal start-up mode, while the less cases are the card swipe mode in case of upgrades being needed, and the less cases are the line swipe mode in case of operating system problems.
The normal start mode, the card swipe mode and the line swipe mode, while different start modes of the three start modes can utilize data of the operating system, the data of the operating system utilized by the three start modes can be different, for example, interface data provided to a user after entering the different start modes can also be different.
Therefore, the embodiments of the present application creatively propose that, in the case that the startup mode parameter of the device meets the startup condition, the secondary boot program is skipped, and the device directly enters the environment of the operating system, specifically, the kernel of the operating system may be loaded into the initialized memory, and the operation data corresponding to the kernel may be loaded into the initialized memory. Because the time spent by the first-level bootstrap program for loading the second-level bootstrap program and the second-level bootstrap program for carrying out hardware initialization, memory allocation and other operations can be saved, the running time of the bootstrap program can be saved, and the starting speed of an operating system can be further improved.
The boot conditions may be used to constrain the boot mode parameters that require the operating system, or that have a high correlation with the operating system. Alternatively, the startup condition may refer to a condition suitable for starting up the operating system. For example, the start-up conditions may include: the start-up mode parameter corresponds to a normal start-up mode.
In the embodiment of the present application, the startup mode of the device may include, but is not limited to: normal Boot mode, card swipe mode, or line swipe mode, etc.
In this embodiment of the present application, when the startup mode parameter corresponds to the normal startup mode, the secondary boot program may be skipped, and the device may be caused to enter the normal startup mode by directly entering the environment of the operating system.
In an embodiment of the present application, the start mode parameter may specifically include: a start-up mode parameter stored before the last power-off of the device. For example, the user-triggered instruction is a shutdown instruction, or a restart instruction, before the device was last powered down, and the startup mode parameter may be a normal startup parameter. For another example, before the device is powered off last time, the instruction triggered by the user is a factory setting restoration instruction, or an instruction of the first shortcut key, and the start mode parameter may be a card swipe mode parameter. For another example, before the device is powered off last time, the instruction triggered by the user is an instruction of the second shortcut key, and the start mode parameter may be a line brush mode parameter.
In another embodiment of the present application, the start mode parameter may specifically include: a start-up mode parameter received from the peripheral after the device is powered up.
After the device is powered on, the user may enter the start-up mode parameters through the peripheral. The peripheral is an abbreviation of external equipment, and refers to hardware equipment connected outside the computer host. Depending on the function, the peripheral may generally comprise: five general classes are input devices, display devices, printing devices, external memory, and network devices. In one example, a peripheral may include: mouse, keyboard, earphone, display, printer, serial port, network card, etc. For example, the user may enter the start-up mode parameters via a keyboard and/or mouse.
In an alternative embodiment of the present application, step 102 loads the kernel of the operating system into the memory, which may specifically include: and loading the kernel mirror image of the operating system into the initialized memory.
In practical applications, the kernel image may be in the form of an image compressed file. The format of the mirrored compressed file may include: zImage format, or uiimage format.
Where zImage is an Image compressed file of the kernel, image is about 4M, and zImage is less than 2M.
The uImage is processed from zImage, and one tool is available in uboot, so that zImage can be processed to generate uImage. The kernel may generate zImage, and the mkimage tool in uboot may process zImage to generate uImage to launch uboot. The processing process can be as follows: the zImage is preceded by header information of 64 bytes of uImage.
It is understood that zImage format, or uiimage format is merely an example of a format of a kernel image, and it is understood that embodiments of the present application do not limit a specific format of the kernel image.
The operating data may refer to data required for the start-up of the operating system. The operation data may specifically include: file system, atags, or dtb.
The data are used for transmitting information such as command lines, and specifically, the data package parameters into an ATAG_TAG mark to transmit the information; dtb is used to communicate hardware information.
In an alternative embodiment of the present application, step 102 may determine a boot address of the kernel image, and transfer the kernel image and the running data to the boot address, so as to implement booting of the operating system.
In an alternative embodiment of the present application, the method may further include: transmitting prestored environment variable parameters to a kernel of the operating system; the pre-stored environment variable parameters can be the environment variable parameters stored before the last power-off of the equipment.
Environmental variable parameters can be used to characterize frequently used parameter variables. The environment variable parameters may provide a degree of configurability to the user, such as baud rate, start-up parameters, etc. The configurability means that the environment variable parameter can be added, deleted and modified, that is, the content of the environment variable parameter may change frequently, and in order to prevent the code and data of the bootstrap program from being damaged by such a change, a block specially used for storing the environment variable parameter may be optionally reserved in the memory.
In practical applications, the environment variable parameters may be saved by a memory. The memory corresponding to the environment variable parameter may include: the memory or the external memory, or the storage corresponding to the environment variable parameter may include: static memory or dynamic memory. Alternatively, the environment variable parameter may be solidified in a nonvolatile storage medium.
In an application example of the present application, the environment variable parameters may specifically include:
bootdelay, wait seconds to perform auto-start
baudwrate, baud rate of serial console
netmask, mask for Ethernet interface
Network card physical address of ethane, ethernet card
bootfile, default download file
bootleg, boot parameters passed to kernel
bootcmd, command executed at auto-start
server ip (protocol for interconnection between networks, internet Protocol) address of server side
Ipaddr, local ip address
stdin standard input device
stdout, standard output device
stderr, standard error device
In an alternative embodiment of the present application, the method may further include: and after the operating system is started and before power failure, the environment variable parameters of the equipment are stored. In this way, the environmental variable parameters before the last power outage can be saved.
For example, after the operating system is normally started, the user triggers a command to enter the card swiping mode before power is off, and then the command to enter the card swiping mode can be updated by updating the environment variable parameters.
In summary, in the data processing method of the embodiment of the present application, after the device is powered on, first hardware corresponding to the device may be initialized, and then, if a starting mode parameter of the device meets a starting condition, a kernel of an operating system is loaded into an initialized memory, and running data corresponding to the kernel is loaded into the initialized memory. Compared with the prior art that after the primary bootstrap program finishes initializing the DDR, the secondary bootstrap program is loaded to the DDR, and the secondary bootstrap program is operated in the DDR, so that the functions of hardware initialization, memory allocation, kernel loading and the like are realized through the secondary bootstrap program.
Method embodiment II
Referring to fig. 2, a flowchart illustrating steps of a second embodiment of a data processing method of the present application, a device to which the method is applied may specifically include: a storage medium and a clock, the storage medium may specifically include: memory and peripherals; the method specifically comprises the following steps:
step 201, initializing first hardware corresponding to equipment after the equipment is powered on; the first hardware may include: a clock and a memory;
step 202, initializing a second hardware corresponding to the device when the starting mode parameter of the device does not meet the starting condition; the second hardware may include: clock, memory and peripherals;
step 203, after the initialization of the second hardware is completed, determining the latest environment variable parameters;
step 204, after determining the latest environment variable parameter, determining and entering a target starting mode of the device according to the starting mode parameter of the device.
Under the condition that the starting mode parameters of the equipment do not meet the starting conditions, the starting mode parameters are not suitable for starting the operating system, or the user does not need to use the operating system currently; in this case, the second hardware may be initialized, the most current environment variable parameters determined, and the target start-up mode of the device entered.
The initialization of the second hardware can realize self-checking of the second hardware and setting of working parameters of the second hardware, so that the hardware can normally operate.
The second hardware includes, in addition to: in addition to the clock and the memory, the method can further comprise: and (5) peripheral equipment. The initializing of the peripheral may include: serial port, or initialization of a network port, etc.
After the initialization of the second hardware is completed, the latest environment variable parameter may also be determined. Currently, the environmental variable parameters may be saved prior to the last power down of the device. After the initialization of the second hardware is completed, the environment variable parameter can be repositioned to determine the latest environment variable parameter.
After determining the latest environment variable parameters, the method enters a target starting mode of the equipment according to the starting mode parameters of the equipment.
According to one embodiment, the start mode parameter may be a card swipe mode parameter, and the target start mode may be a card swipe mode. Entering card swiping mode can execute the upgrade of the system. Such as OTA (space download Technology), over-the-Air Technology. OTA upgrade is a standard software upgrade mode provided by the android system. The system has powerful functions and can upgrade the system without loss, mainly automatically downloads the OTA upgrade package and upgrades the OTA upgrade package through a network [ such as WIFI and 3G ], but also supports the upgrade by downloading the OTA upgrade package to the SD card. The upgrade package of the OTA is small, typically several M to tens of M, so the upgrade speed is fast, and most importantly, the OTA upgrade may not backup data.
According to another embodiment, the start mode parameter may be a line brush mode parameter, and the target start mode may be a line brush mode. Entering the line brush mode can execute the burning of the system. The line brush mode is generally an upgrade mode adopted by authorities and is mainly used for brushing firmware, if equipment fails to start up and the like, the line brush mode can be considered, and the card brush mode is generally used for upgrade.
In an optional embodiment of the present application, the target start mode may be a card swipe mode, and the entering the target start mode of the device according to a start mode parameter of the device may specifically include: loading the kernel of the operating system into a memory, loading the running data corresponding to the kernel into the memory, and transmitting the latest environment variable parameters to the kernel of the operating system so as to enable the operating system to be started according to the latest environment variable parameters.
In an alternative embodiment of the present application, the method may further include: after the target starting mode of the equipment is determined, the starting mode parameters are updated to the starting mode parameters corresponding to the starting conditions, so that after the equipment is powered on next time, the starting mode parameters are enabled to meet the starting conditions, and further the next starting speed of the operating system can be improved. For example, when the current startup is card swiping mode startup or line swiping mode startup, the startup mode parameter may be updated to a normal startup parameter, so that the device performs normal startup of the operating system after the next power-on.
In summary, in the data processing method of the embodiment of the present application, when the starting mode parameter of the device does not meet the starting condition, it is indicated that the device is not suitable for starting the operating system, or the user does not need to use the operating system currently; in this case, the second hardware may be initialized, the latest environment variable parameters determined, the target start-up mode of the device entered, etc.
Method example III
Referring to fig. 3, a flowchart illustrating steps of a third embodiment of a data processing method of the present application, a device to which the method is applied may specifically include: a storage medium and a clock, the storage medium may specifically include: memory and peripherals; the method specifically comprises the following steps:
step 301, initializing first hardware corresponding to equipment after the equipment is powered on; the first hardware may include: a clock and a memory;
step 302, loading a second code into a memory when the starting mode parameter of the device does not meet the starting condition;
executing by running the second code:
step 303, initializing a second hardware corresponding to the device; the second hardware may include: clock, memory and peripherals;
Step 304, after the initialization of the second hardware is completed, determining the latest environment variable parameters;
step 305, after determining the latest environment variable parameter, entering a target start mode of the device according to the start mode parameter of the device.
In this embodiment, step 301 and step 302 may be performed by a first code, and step 303 to step 305 may be performed by a second code, where the second code and the second code may be different codes; the first code and the second code are loaded in a grading manner, so that reasonable utilization of the memory can be realized.
Alternatively, the first code may be located in the SRAM, which may increase the execution speed of the first code. The second code may be located in the DDR, and since the DDR has a large capacity, the execution performance of the second code may be improved.
In summary, in the data processing method of the embodiment of the present application, the first code corresponding to step 301 and step 302 is different from the second code corresponding to step 303 to step 305, so that reasonable utilization of the memory can be achieved.
Method example IV
Referring to fig. 4, a flowchart illustrating steps of a fourth embodiment of a data processing method of the present application, a device to which the method is applied may specifically include: a storage medium and a clock, the storage medium may specifically include: memory and peripherals; the method specifically comprises the following steps:
Step 401, initializing first hardware corresponding to equipment after the equipment is powered on; the first hardware may include: a clock and a memory;
step 402, judging whether the starting mode parameter of the device meets the starting condition, if yes, executing step 403, otherwise executing step 404;
step 403, loading a kernel of an operating system into the initialized memory, and loading operation data corresponding to the kernel into the initialized memory;
step 404, initializing a second hardware corresponding to the device; the second hardware may include: clock, memory and peripherals;
step 405, after the initialization of the second hardware is completed, determining the latest environment variable parameters;
step 406, determining a target starting mode of the device according to the starting mode parameter of the device, and executing step 407 or step 408;
step 407, entering a line brush mode;
step 408, if the target starting mode is the card swiping mode, loading the kernel of the operating system into the memory, loading the running data corresponding to the kernel into the memory, and transmitting the latest environment variable parameter to the kernel of the operating system, so that the operating system is started according to the latest environment variable parameter.
In summary, in the data processing method of the embodiment of the present application, compared with the method in the related art that after the primary boot program completes initialization of the DDR, loads the secondary boot program to the DDR, and runs the secondary boot program in the DDR, so as to implement functions such as hardware initialization, memory allocation, and kernel loading through the secondary boot program, after the initialization after powering up is completed, the method in the embodiment of the present application can directly load the kernel, and because the time spent by the primary boot program to load the secondary boot program and the secondary boot program to perform operations such as hardware initialization and memory allocation can be saved, the running time of the boot program can be saved, and the starting speed of the operating system can be further improved. In one example, a run time of around 1 second may be saved.
In addition, the embodiment of the application can judge through the starting mode parameters, and can realize the function of the secondary bootstrap program under the condition that the starting mode parameters of the equipment do not accord with the starting conditions.
In addition, the embodiment of the application can improve the primary bootstrap program so that the primary bootstrap program can directly load the kernel image.
Method embodiment five
Referring to fig. 5, a flowchart of steps of a fifth embodiment of a data processing method of the present application is shown, where the method specifically may include the following steps:
Step 501, initializing a part of hardware corresponding to equipment after the equipment is powered on; the part of hardware may include at least: a memory;
step 502, loading a kernel of an operating system into an initialized memory and loading operation data corresponding to the kernel into the initialized memory under the condition that the device meets a starting condition.
In summary, in the data processing method of the embodiment of the present application, after the device is powered on, a part of hardware corresponding to the device may be initialized first, and then, under a condition that the device meets a starting condition, a kernel of an operating system is loaded into an initialized memory, and operation data corresponding to the kernel is loaded into the initialized memory. Compared with the prior art that after the primary bootstrap program finishes initializing the DDR, the secondary bootstrap program is loaded to the DDR, and the secondary bootstrap program is operated in the DDR, so that the functions of hardware initialization, memory allocation, kernel loading and the like are realized through the secondary bootstrap program.
It should be noted that, for simplicity of description, the method embodiments are shown as a series of acts, but it should be understood by those skilled in the art that the embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently in accordance with the embodiments. Further, those skilled in the art will appreciate that the embodiments described in the specification are all preferred embodiments and that the acts referred to are not necessarily required by the embodiments of the present application.
The embodiment of the application also provides a data processing device.
With reference to FIG. 6, there is shown a block diagram of an embodiment of a data processing apparatus of the present application, the apparatus for application comprising: a storage medium and a clock, the storage medium may include: a memory; the device specifically comprises the following modules:
a first initialization module 601, configured to initialize first hardware corresponding to the device after the device is powered on; the first hardware may specifically include: a clock and a memory; and
the first loading module 602 is configured to load a kernel of an operating system into the initialized memory and load operation data corresponding to the kernel into the initialized memory when the startup mode parameter of the device meets a startup condition.
Alternatively, the starting condition may include:
the start-up mode parameter corresponds to a normal start-up mode.
Optionally, the starting mode parameter may specifically include:
a stored start-up mode parameter before the last power-off of the device; and/or
A start-up mode parameter received from a peripheral after the device is powered up.
Optionally, the first loading module 602 may specifically include:
the kernel mirror image loading module is used for loading the kernel mirror image of the operating system into the initialized memory.
Optionally, the apparatus may further include:
the transmission module is used for transmitting prestored environment variable parameters to the kernel of the operating system; the pre-stored environment variable parameters are stored environment variable parameters before the equipment is powered off last time.
Optionally, the apparatus may further include:
and the storage module is used for storing the environment variable parameters of the equipment after the operating system is started and before the power failure.
Optionally, the apparatus may further include:
the second initialization module is used for initializing second hardware corresponding to the equipment under the condition that the starting mode parameters of the equipment do not accord with the starting conditions; the second hardware may include: clock, memory and peripherals;
The parameter determining module is used for determining the latest environment variable parameter after the initialization of the second hardware is completed;
and the target starting mode processing module is used for determining and entering a target starting mode of the equipment according to the starting mode parameters of the equipment after determining the latest environment variable parameters.
Optionally, the apparatus may further include:
the second loading module is used for loading a second code into the memory under the condition that the starting mode parameter of the equipment does not accord with the starting condition; to execute, by running the second code: initializing second hardware corresponding to the equipment; the second hardware includes: clock, memory and peripherals; after the initialization of the second hardware is completed, determining the latest environment variable parameters; after the latest environment variable parameters are determined, determining and entering a target starting mode of the equipment according to the starting mode parameters of the equipment.
Optionally, the starting mode parameter may be a card swiping mode parameter, and the target starting mode may be a card swiping mode; or alternatively
The start mode parameter may be a line brush mode parameter and the target start mode may be a line brush mode.
Optionally, the apparatus may further include:
and the updating module is used for updating the starting mode parameters into the starting mode parameters corresponding to the starting conditions after the target starting mode of the equipment is determined.
For the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments for relevant points.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described by differences from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
Embodiments of the present application may be implemented as a system or device configured as desired using any suitable hardware and/or software. Fig. 7 schematically illustrates an exemplary device 1300 that may be used to implement various embodiments described herein.
For one embodiment, fig. 7 illustrates an exemplary device 1300, the device 1300 may include: one or more processors 1302, a system control module (chipset) 1304 coupled to at least one of the processors 1302, a system memory 1306 coupled to the system control module 1304, a non-volatile memory (NVM)/storage 1308 coupled to the system control module 1304, one or more input/output devices 1310 coupled to the system control module 1304, and a network interface 1312 coupled to the system control module 1306. The system memory 1306 may include: instructions 1362, the instructions 1362 being executable by the one or more processors 1302.
The processor 1302 may include one or more single-core or multi-core processors, and the processor 1302 may include any combination of general-purpose or special-purpose processors (e.g., graphics processors, application processors, baseband processors, etc.). In some embodiments, the device 1300 can act as a server, target device, wireless device, etc. as described in embodiments of the present application.
In some embodiments, the apparatus 1300 may include one or more machine-readable media (e.g., system memory 1306 or NVM/storage 1308) having instructions and one or more processors 1302, in combination with the one or more machine-readable media, configured to execute the instructions to implement the modules included in the foregoing apparatus to perform the actions described in the embodiments of the present application.
The system control module 1304 of an embodiment may include any suitable interface controller for providing any suitable interface to at least one of the processors 1302 and/or any suitable device or component in communication with the system control module 1304.
The system control module 1304 of an embodiment may include one or more memory controllers to provide an interface to the system memory 1306. The memory controller may be a hardware module, a software module, and/or a firmware module.
The system memory 1306 of one embodiment may be used to load and store data and/or instructions 1362. For one embodiment, the system memory 1306 may include any suitable volatile memory, such as suitable DRAM (dynamic random Access memory). In some embodiments, the system memory 1306 may include: double data rate type four synchronous dynamic random access memory (DDR 4 SDRAM).
The system control module 1304 of an embodiment may include one or more input/output controllers to provide interfaces to the NVM/storage 1308 and the input/output device(s) 1310.
NVM/storage 1308 for one embodiment may be used to store data and/or instructions 1382. NVM/storage 1308 may include any suitable nonvolatile memory (e.g., flash memory, etc.) and/or may include any suitable nonvolatile storage device(s), such as, for example, one or more Hard Disk Drives (HDDs), one or more Compact Disc (CD) drives, and/or one or more Digital Versatile Disc (DVD) drives, etc.
NVM/storage 1308 may include storage resources that are physically part of the device on which apparatus 1300 is installed, or which may be accessed by the device without being part of the device. For example, NVM/storage 1308 may be accessed over a network via network interface 1312 and/or through input/output devices 1310.
Input/output device(s) 1310 for one embodiment may provide an interface for device 1300 to communicate with any other suitable device, input/output device 1310 may include a communication component, an audio component, a sensor component, and the like.
The network interface 1312 for one embodiment may provide an interface for the apparatus 1300 to communicate over one or more networks and/or with any other suitable device, and the apparatus 1300 may communicate wirelessly with one or more components of a wireless network according to any of one or more wireless network standards and/or protocols, such as accessing a wireless network based on a communication standard, such as WiFi,2G, or 3G, or a combination thereof.
For one embodiment, at least one of the processors 1302 may be packaged together with logic of one or more controllers (e.g., memory controllers) of the system control module 1304. For one embodiment, at least one of the processors 1302 may be packaged together with logic of one or more controllers of the system control module 1304 to form a System In Package (SiP). For one embodiment, at least one of the processors 1302 may be integrated on the same new product as the logic of one or more controllers of the system control module 1304. For one embodiment, at least one of the processors 1302 may be integrated on the same chip with logic of one or more controllers of the system control module 1304 to form a system on chip (SoC).
In various embodiments, device 1300 may include, but is not limited to: a desktop computing device or a mobile computing device (e.g., a laptop computing device, a handheld computing device, a tablet, a netbook, etc.), among others. In various embodiments, device 1300 may have more or fewer components and/or different architectures. For example, in some embodiments, device 1300 may include one or more cameras, keyboards, liquid Crystal Display (LCD) screens (including touch screen displays), non-volatile memory ports, multiple antennas, graphics chips, application Specific Integrated Circuits (ASICs), and speakers.
Wherein if the display comprises a touch panel, the display screen may be implemented as a touch screen display to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation.
The embodiment of the application also provides a non-volatile readable storage medium, where one or more modules (programs) are stored, where the one or more modules are applied to an apparatus, and the apparatus may be caused to execute instructions (instructions) of each method in the embodiment of the application.
In one example, an apparatus is provided, comprising: one or more processors; and instructions in one or more machine-readable media stored thereon, which when executed by the one or more processors, cause the apparatus to perform a method as in an embodiment of the present application, the method may comprise: the method shown in fig. 1 or fig. 2 or fig. 3 or fig. 4 or fig. 5.
One or more machine-readable media are also provided in one example, having instructions stored thereon that, when executed by one or more processors, cause an apparatus to perform a method as in an embodiment of the present application, the method may comprise: the method shown in fig. 1 or fig. 2 or fig. 3 or fig. 4 or fig. 5.
The specific manner in which the operations of the respective modules are performed in the apparatus of the above embodiments has been described in detail in the embodiments related to the method, and will not be described in detail herein, but only with reference to the portions of the description related to the embodiments of the method.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described by differences from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present embodiments have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the present application.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing has outlined a data processing method, a data processing apparatus, a device, and a machine readable medium in which the principles and embodiments of the present application have been described in detail, and the detailed description of the embodiments is provided herein only to facilitate the understanding of the method and core idea of the present application; meanwhile, as those skilled in the art will have modifications in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.

Claims (12)

1. A data processing method, characterized in that the device to which the method is applied comprises: a storage medium and a clock, the storage medium comprising: a memory; the method comprises the following steps:
initializing first hardware corresponding to the equipment after the equipment is powered on; the first hardware includes: a clock and a memory;
under the condition that the starting mode parameters of the equipment meet the starting conditions, loading the kernel of an operating system into the initialized memory, and loading the running data corresponding to the kernel into the initialized memory; the start-up mode parameters include: a stored start-up mode parameter before the device was last powered off and/or a start-up mode parameter received from a peripheral device after the device was powered on;
Initializing a second hardware corresponding to the equipment under the condition that the starting mode parameter of the equipment does not accord with the starting condition; the second hardware includes: clock, memory and peripherals;
after the initialization of the second hardware is completed, determining the latest environment variable parameters;
after the latest environment variable parameters are determined, determining and entering a target starting mode of the equipment according to the starting mode parameters of the equipment.
2. The method of claim 1, wherein loading the kernel of the operating system into the memory comprises:
and loading the kernel mirror image of the operating system into the initialized memory.
3. The method according to claim 1, wherein the method further comprises:
transmitting prestored environment variable parameters to a kernel of the operating system; the pre-stored environment variable parameters are stored environment variable parameters before the equipment is powered off last time.
4. The method according to claim 1, wherein the method further comprises:
and after the operating system is started and before power failure, the environment variable parameters of the equipment are stored.
5. The method according to any of claims 1 to 4, characterized in that at least one step comprised by the method is performed by running a first code in a memory.
6. The method of claim 1, wherein the start-up condition comprises:
the start-up mode parameter corresponds to a normal start-up mode.
7. The method according to claim 1, wherein the method further comprises:
under the condition that the starting mode parameters of the equipment do not accord with the starting conditions, loading a second code into a memory;
executing by running the second code:
initializing second hardware corresponding to the equipment; the second hardware includes: clock, memory and peripherals;
after the initialization of the second hardware is completed, determining the latest environment variable parameters;
after the latest environment variable parameters are determined, determining and entering a target starting mode of the equipment according to the starting mode parameters of the equipment.
8. The method according to claim 1 or 7, wherein the start mode parameter is a card swipe mode parameter and the target start mode is a card swipe mode; or alternatively
The starting mode parameter is a line brush mode parameter, and the target starting mode is a line brush mode.
9. The method according to claim 1 or 7, characterized in that the method further comprises:
And after determining the target starting mode of the equipment, updating the starting mode parameters into starting mode parameters corresponding to starting conditions.
10. A data processing apparatus, characterized in that the device for application of the apparatus comprises: a storage medium and a clock, the storage medium comprising: a memory; the device comprises:
the first initialization module is used for initializing first hardware corresponding to the equipment after the equipment is powered on; the first hardware includes: a clock and a memory; and
the first loading module is used for loading the kernel of the operating system into the initialized memory and loading the operation data corresponding to the kernel into the initialized memory under the condition that the starting mode parameter of the equipment meets the starting condition; the start-up mode parameters include: a stored start-up mode parameter before the device was last powered off and/or a start-up mode parameter received from a peripheral device after the device was powered on;
the second initialization module is used for initializing second hardware corresponding to the equipment under the condition that the starting mode parameters of the equipment do not accord with the starting conditions; the second hardware may include: clock, memory and peripherals;
The parameter determining module is used for determining the latest environment variable parameter after the initialization of the second hardware is completed;
and the target starting mode processing module is used for determining and entering a target starting mode of the equipment according to the starting mode parameters of the equipment after determining the latest environment variable parameters.
11. A data processing apparatus, comprising:
one or more processors; and
one or more machine-readable media having instructions stored thereon, which when executed by the one or more processors, cause the apparatus to perform the method of one or more of claims 1-9.
12. One or more machine readable media having instructions stored thereon that, when executed by one or more processors, cause an apparatus to perform the method of one or more of claims 1-9.
CN201811642787.6A 2018-12-29 2018-12-29 Data processing method, device, equipment and machine-readable medium Active CN111381892B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811642787.6A CN111381892B (en) 2018-12-29 2018-12-29 Data processing method, device, equipment and machine-readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811642787.6A CN111381892B (en) 2018-12-29 2018-12-29 Data processing method, device, equipment and machine-readable medium

Publications (2)

Publication Number Publication Date
CN111381892A CN111381892A (en) 2020-07-07
CN111381892B true CN111381892B (en) 2023-04-28

Family

ID=71219090

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811642787.6A Active CN111381892B (en) 2018-12-29 2018-12-29 Data processing method, device, equipment and machine-readable medium

Country Status (1)

Country Link
CN (1) CN111381892B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112988248B (en) * 2021-03-09 2023-03-31 南昌黑鲨科技有限公司 Computer readable storage medium and method for starting intelligent terminal operating system from multiple storage media
CN114470753A (en) * 2021-12-27 2022-05-13 北京像素软件科技股份有限公司 Particle data loading method and device, electronic equipment and readable storage medium
CN118409807A (en) * 2024-07-02 2024-07-30 沐曦集成电路(上海)有限公司 Method and device for accelerating starting speed of GPU kernel

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6973517B1 (en) * 2000-08-31 2005-12-06 Hewlett-Packard Development Company, L.P. Partition formation using microprocessors in a multiprocessor computer system
CN104503922A (en) * 2015-01-19 2015-04-08 中国地质大学(武汉) Method for loading Windows CE system based on uboot guidance
CN104572164A (en) * 2014-03-21 2015-04-29 中电科技(北京)有限公司 UEFI (Unified Extensible Firmware Interface) firmware implementation method based on Feiteng portable computer
CN104572162A (en) * 2014-03-21 2015-04-29 中电科技(北京)有限公司 UEFI (Unified Extensible Firmware Interface) firmware implementation method based on Loongson handheld computer
CN104765697A (en) * 2015-03-10 2015-07-08 安科智慧城市技术(中国)有限公司 Embedded device interaction method and system
WO2016074127A1 (en) * 2014-11-10 2016-05-19 华为技术有限公司 Computer device and memory starting method for computer device
CN106598593A (en) * 2016-12-13 2017-04-26 济南浪潮高新科技投资发展有限公司 Method for starting WinCE by utilizing U disk of Uboot
CN106909345A (en) * 2015-12-22 2017-06-30 中电科技(北京)有限公司 A kind of UEFI firmware implementation methods based on desktop computer
CN106951257A (en) * 2017-03-24 2017-07-14 济南浪潮高新科技投资发展有限公司 A kind of implementation method for starting WinCE with Uboot_CDROM
CN107145343A (en) * 2017-04-05 2017-09-08 烽火通信科技股份有限公司 A kind of system and method for dynamic adaptation ancillary equipment
CN108279935A (en) * 2016-12-30 2018-07-13 北京中科晶上科技股份有限公司 A kind of os starting bootstrap technique for system on chip

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6973517B1 (en) * 2000-08-31 2005-12-06 Hewlett-Packard Development Company, L.P. Partition formation using microprocessors in a multiprocessor computer system
CN104572164A (en) * 2014-03-21 2015-04-29 中电科技(北京)有限公司 UEFI (Unified Extensible Firmware Interface) firmware implementation method based on Feiteng portable computer
CN104572162A (en) * 2014-03-21 2015-04-29 中电科技(北京)有限公司 UEFI (Unified Extensible Firmware Interface) firmware implementation method based on Loongson handheld computer
WO2016074127A1 (en) * 2014-11-10 2016-05-19 华为技术有限公司 Computer device and memory starting method for computer device
CN104503922A (en) * 2015-01-19 2015-04-08 中国地质大学(武汉) Method for loading Windows CE system based on uboot guidance
CN104765697A (en) * 2015-03-10 2015-07-08 安科智慧城市技术(中国)有限公司 Embedded device interaction method and system
CN106909345A (en) * 2015-12-22 2017-06-30 中电科技(北京)有限公司 A kind of UEFI firmware implementation methods based on desktop computer
CN106598593A (en) * 2016-12-13 2017-04-26 济南浪潮高新科技投资发展有限公司 Method for starting WinCE by utilizing U disk of Uboot
CN108279935A (en) * 2016-12-30 2018-07-13 北京中科晶上科技股份有限公司 A kind of os starting bootstrap technique for system on chip
CN106951257A (en) * 2017-03-24 2017-07-14 济南浪潮高新科技投资发展有限公司 A kind of implementation method for starting WinCE with Uboot_CDROM
CN107145343A (en) * 2017-04-05 2017-09-08 烽火通信科技股份有限公司 A kind of system and method for dynamic adaptation ancillary equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
吴川 ; 王斌 ; .基于ADSP-BF533的Boot Loader的移植分析.测控技术.2008,第27卷(第07期),全文. *
周宇 ; 文建国 ; .基于MPC860启动引导程序研究与设计.计算机测量与控制.2007,第15卷(第02期),全文. *

Also Published As

Publication number Publication date
CN111381892A (en) 2020-07-07

Similar Documents

Publication Publication Date Title
CN105745617B (en) Selective power management for pre-boot firmware updates
EP3109762B1 (en) Electronic device having external memory and method for operating the same
US12061892B2 (en) Firmware updating method, and electronic apparatus and storage media for same
CN111381892B (en) Data processing method, device, equipment and machine-readable medium
EP3399408B1 (en) Information processing apparatus and computer readable storage medium
KR101673299B1 (en) Operating system recovery method and apparatus, and terminal device
TW201415365A (en) Method for updating operating system and handheld electronic apparatus
CN102135893A (en) Method for integrating operating system on BIOS (Basic Input Output System) chip and starting operating system on server
CN109964227A (en) Update the method and terminal of SELinux security strategy
CN105335178B (en) Starting control method and device
CN104750492B (en) The start-up control method and device of mobile device based on embedded OS
CN103365644A (en) Method and device for expanding software functions
EP3063621A1 (en) Flexible bootstrap code architecture
KR102631745B1 (en) Method for controlling the execution of different operating systems, electronic device and storage medium therefor
TWI511047B (en) Operating system switching method and dual operating system electronic device using the same
CN107911816B (en) Starting method for multi-mode IoT device, multi-mode IoT device and storage medium
EP2835737A1 (en) Data terminal running mode switching method, device, and data terminal
CN102214105A (en) Parallel speedy starting method and electronic device having multiple processing units
US20210303132A1 (en) Electronic device and method for controlling the electronic device
US20220164193A1 (en) Electronic device for executing heterogeneous operating systems and method therefor
US20140068155A1 (en) Information processing apparatus, information processing method, and program
WO2024119895A1 (en) Operating system upgrade method, device, and storage medium
US11068276B2 (en) Controlled customization of silicon initialization
CN102681860A (en) Method for customizing basic input and output system, and related computer system
CN116737213A (en) Hot patch upgrade method, multi-core processor, related equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20201217

Address after: Room 603, 6 / F, Roche Plaza, 788 Cheung Sha Wan Road, Kowloon, China

Applicant after: Zebra smart travel network (Hong Kong) Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant