[go: up one dir, main page]

CN111381892A - 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
CN111381892A
CN111381892A CN201811642787.6A CN201811642787A CN111381892A CN 111381892 A CN111381892 A CN 111381892A CN 201811642787 A CN201811642787 A CN 201811642787A CN 111381892 A CN111381892 A CN 111381892A
Authority
CN
China
Prior art keywords
equipment
memory
mode
kernel
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.)
Granted
Application number
CN201811642787.6A
Other languages
Chinese (zh)
Other versions
CN111381892B (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
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding 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 loading a kernel of an operating system into the initialized memory and loading running data corresponding to the kernel into the initialized memory under the condition that the starting mode parameters of the equipment meet the starting conditions. 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 technologies, 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 BootLoader functions may include: and finishing hardware initialization, establishing a memory space mapping chart, 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 includes: a primary bootstrap program and a secondary bootstrap program; the primary bootstrap program is used for realizing the functions of initialization of a CPU and a DDR (Double Data Rate synchronous dynamic Random Access Memory), and because the primary bootstrap program finishes the initialization of the DDR, the secondary bootstrap program is directly loaded to the DDR with enough storage space, and then the secondary bootstrap program is operated in the DDR, so that the functions of hardware initialization, Memory allocation, kernel loading and the like necessary for starting an operating system are realized through the secondary bootstrap program.
The running time of the first-level bootstrap program and the second-level bootstrap program is longer, so that the problem that the Boot Loader at present has longer booting time exists.
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 a machine readable medium, which are used for ensuring the realization and the application of the method.
In order to solve the above problem, 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 loading a kernel of an operating system into the initialized memory and loading running data corresponding to the kernel into the initialized memory under the condition that the starting mode parameters of the equipment meet the starting conditions.
On the other hand, the embodiment of the present application further discloses a data processing apparatus, where the device applied includes: 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 configured to load a kernel of an operating system into the initialized memory and load running data corresponding to the kernel into the initialized memory when the start mode parameter of the device meets a start condition.
In 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 that, when executed by the one or more processors, cause the apparatus to perform one or more of the methods described above.
In yet another aspect, embodiments of the present application disclose one or more machine-readable media having instructions stored thereon, which when executed by one or more processors, cause an apparatus to perform one or more of the methods described above.
In another aspect, an embodiment of the present application further discloses a data processing method, including:
after equipment is powered on, initializing partial hardware corresponding to the equipment; the part of hardware includes at least: a memory;
and loading a kernel of an operating system into the initialized memory and loading running data corresponding to the kernel into the initialized memory under the condition that the equipment meets the starting condition.
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 may be initialized, and then 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 under the condition that the startup mode parameter of the device meets the startup condition. Compared with the prior art that the primary bootstrap program completes initialization of the DDR, loads the secondary bootstrap program to the DDR, and runs the secondary bootstrap program in the DDR, so that functions of hardware initialization, memory allocation, kernel loading and the like are realized through the secondary bootstrap program, the loading of the kernel can be directly performed after the initialization after the power-on is completed in the embodiment of the application, and the time spent by the loading of the secondary bootstrap program by the primary bootstrap program and the hardware initialization, the memory allocation and the like performed by the secondary bootstrap program can be saved, so that the running time of the bootstrap program can be saved, and the starting speed of an operating system can be further improved.
Drawings
FIG. 1 is a flow chart of steps of a first embodiment of a data processing method of 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 flowchart illustrating the steps of a third embodiment of a data processing method according to the present application;
FIG. 4 is a flowchart illustrating the fourth step of an embodiment of a data processing method according to the present application;
FIG. 5 is a flow chart of steps of an embodiment of a data processing method of 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 provided in an embodiment of the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments that can be derived from the embodiments given herein by a person of ordinary skill in the art are intended to be within the scope of the present disclosure.
While 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 above is not intended to limit the application to the particular forms disclosed, but on the contrary, the intention is to cover all modifications, equivalents, and alternatives falling within the spirit and scope of the application.
Reference in the specification to "one embodiment," "an embodiment," "a particular embodiment," or the like, means that the embodiment described may include a particular feature, structure, or characteristic, 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 knowledge of one skilled in the art to affect such feature, structure, or characteristic in connection with other embodiments whether or not explicitly described. In addition, it should be understood that items in the list included in the form "at least one of a, B, and C" may include the following possible items: (A) (ii) a (B) (ii) a (C) (ii) a (A and B); (A and C); (B and C); or (A, B and C). Likewise, a listing of items in the form of "at least one of a, B, or C" may mean (a); (B) (ii) a (C) (ii) a (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 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., a volatile or non-volatile memory, a media disk, 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 methodical 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 different ways and/or orders than as shown in the figures. Moreover, the inclusion of structural or methodical features in particular figures is not meant to imply that such features are required in all embodiments and that, in some embodiments, such features may not be included or may be combined with other features.
An embodiment of the present application provides a data processing scheme, where an apparatus applied in the scheme may include: a storage medium and a clock. The storage medium may refer to a carrier for storing data. The storage medium may include: and (7) storing the data. 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 embodiment of the present application may further include: and (7) externally storing. The capacity of the external memory is large, the speed is slow, and the external memory can be used for storing programs and data for a long time. The clock may be used to provide an operating clock for other hardware of the device.
The scheme specifically comprises the following steps: initializing first hardware corresponding to the equipment after the equipment is powered on; the first hardware may include: a clock and a memory; and loading the kernel of the operating system into the initialized memory and loading the running data corresponding to the kernel into the initialized memory under the condition that the starting mode parameters of the equipment meet the starting conditions.
After the device is powered on, the first hardware corresponding to the device may be initialized, and then 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 under the condition that the startup mode parameter of the device meets the startup condition. Compared with the prior art that the primary bootstrap program completes initialization of the DDR, loads the secondary bootstrap program to the DDR, and runs the secondary bootstrap program in the DDR, so that functions of hardware initialization, memory allocation, kernel loading and the like are realized through the secondary bootstrap program, the loading of the kernel can be directly performed after the initialization after the power-on is completed in the embodiment of the application, and the time spent by the loading of the secondary bootstrap program by the primary bootstrap program and the hardware initialization, the memory allocation and the like performed by the secondary bootstrap program can be saved, so that the running time of the bootstrap program can be saved, and the starting speed of an operating system can be further improved.
The embodiment of the application can be applied to the starting scene of the operating system. The operating system is the system software in the computer system responsible for supporting the application program running environment and the user operating environment, and is also the core and the foundation of the computer system. The operating system is a program set which controls and manages computer software and hardware resources, reasonably organizes computer working processes and facilitates user operation. Responsibilities of the operating system typically include: direct administration of hardware, management of various computing resources (e.g., memory, processor time, etc.), and providing application-oriented services such as job management, among others.
The kernel is a basic module of the operating system and is used for managing system resources. The management system resource may include: providing abstraction at the software level (e.g., operations and rights control for objects such as processes, file systems, synchronization, memory, network protocols, etc.), abstraction of access to hardware (e.g., disks, displays, network cards), etc.
The embodiments of the present application may be applied to any operating system, for example, the operations may include but are not limited to: linux, Windows, android, AliOS, YunOS, etc. An object of an embodiment of the present application is to: the starting of the operating system is quickly guided so as to shorten the starting time of the operating system and further improve the user experience. It is to be understood that the embodiments of the present application are not limited to a particular operating system.
The device of the embodiment of the present application may refer to any device capable of carrying an operating system. The above devices may specifically include but are not limited to: smart phones, tablet computers, electronic book readers, MP3 (Moving Picture Experts Group Audio Layer III) players, MP4 (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, and the like. It is to be understood that the embodiments of the present application are not limited to the specific devices.
Examples of the in-vehicle device may include: HUDs (Head-Up displays) and the like, which are generally installed in front of a driver and can provide necessary driving information for the driver during driving, such as vehicle speed, fuel consumption, navigation, even mobile phone call, message reminding and the like; in other words, HUD can collect multiple functions in an organic whole, makes things convenient for the driver to pay close attention to driving road conditions.
Method embodiment one
Referring to fig. 1, a flowchart illustrating a first step of a data processing method according to a first embodiment of the present application is shown, where an apparatus applied by the method may specifically include: the storage medium and the clock may specifically include: a memory; the method may specifically comprise the steps of:
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 running data corresponding to the kernel into the initialized memory under the condition that the starting mode parameter of the device meets the starting condition.
Optionally, at least one step included in the method shown in fig. 1 may be executed by executing the first code in the memory. The first code may correspond to a first program, such as an SPL (second phase program loader) program. The second phase of SPL corresponds to the execution of a solidified boot program in the bloom (System on Chip) and then the SPL program, relative to the execution of the bloom (System on Chip).
The traditional SPL program is used for initializing the DDR, loading a secondary boot program to the initialized DDR, and then running the secondary boot program in the initialized DDR, so as to implement functions of hardware initialization, memory allocation, kernel loading and the like necessary for starting the operating system through the secondary boot program.
The embodiment of the application can improve the SPL program, and the functions of the improved SPL program can include: initializing first hardware corresponding to equipment after the equipment is powered on; and loading a kernel of the operating system into the initialized memory and loading running data corresponding to the kernel into the initialized memory under the condition that the starting mode parameters of the equipment meet the starting conditions.
In practical applications, the first program may be stored in an external Memory of the device, such as an external ROM (Read-Only Memory). In practical application, the BROM may load the first program from an external memory to an internal memory to trigger the running of the first code corresponding to the first program.
The memory of the embodiment of the application may include: a 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 refreshing circuit, so that the SRAM has the advantage of high speed, and the starting speed of an operating system can be increased.
According to another embodiment, the first code may be loaded in a DDR (Double Data Rate Synchronous Dynamic Random Access Memory). DDR needs to be refreshed and charged once every a period of time, otherwise, internal data disappear, and therefore DDR has high performance and is suitable for being used as a main memory of equipment. But DDR rates are lower than SRAM.
The above apparatus may include: circuitry, power up may refer to powering circuitry in the device. Wherein, the hardware in the device can have corresponding circuits. Optionally, circuitry in the device may be powered by a battery to enable powering up of the device. Optionally, it can be understood that, in the embodiment of the present application, a power-on process of a device is not limited.
In step 101, initializing the first hardware may include: a clock and a 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, the initializing, in step 101, a memory corresponding to the device may specifically include: and initializing the 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, the startup mode parameters may be used to characterize the startup mode of the device. In general, different startup mode parameters may correspond to different startup modes.
The start mode parameters may include: and normal starting mode parameters, wherein the normal starting mode parameters correspond to a normal starting mode. The normal start mode may be for normal use of the device by the user, for example, enabling the user to use functions provided by an application program in the device, and the functions may include: office function, audio-visual function, instant messaging function, online shopping function, web browsing function, etc.
The start mode parameters may include: and the card swiping mode parameter corresponds to a card swiping mode. Alternatively, the start mode parameters may include: the line brush mode parameters correspond to the line brush mode.
The card swiping mode and the line swiping mode can be used for information replacement of equipment such as a mobile phone.
The differences between the card-swipe mode and the line-swipe mode may include:
the process of the card swipe mode may include: and (5) a file replacement process. The card-swipe mode may not refresh the entire partition, but replace only a portion of the file. Therefore, the content in the whole card swiping package is actually a plurality of files and directories, the content in the files and the directories is the original files which are replaced when the content is existed on the original equipment, and if the content is not existed, the content is added, so that the card swiping package is characterized in that a compressed package with the extension name of zip is usually placed on an external storage card, and the files can be replaced through a bootstrap program such as RECOVERY.
While the brush mode may replace the entire contents of the partition. Therefore, the files in the line brush package are usually one img file (partition image file).
The card swiping mode and the line swiping mode have respective characteristics and application scenes. If partial files need to be updated, the card swiping mode is the quickest naturally, because the files only need to be replaced and incremental files need to be taken, and the files which can be used by the operating system originally do not need to be taken; the card swipe approach is typically used in updates or upgrades, so that the amount of information that needs to be downloaded is minimal. In case of abnormal system, the line brush mode may be adopted, and this can replace the whole partition and avoid inconsistency.
In practical applications, the frequency of use by the user for different start-up modes may be different. Specifically, the user has the highest frequency of use for the normal start mode and has a lower frequency of use for the card-swipe mode or the line-swipe mode. More often the normal boot mode is used, less often the card swipe mode is used in case of an upgrade required, and less often the line swipe mode is used in case of operating system problems.
The data of the operating system can be utilized by different starting modes, for example, after entering the different starting modes, the interface data provided for the user can also be different.
Therefore, the embodiment of the present application creatively provides that, when the boot mode parameter of the device meets the boot condition, the second-level boot program is skipped, and the device directly enters the environment of the operating system, and specifically, the kernel of the operating system may be loaded into the initialized memory, and the running data corresponding to the kernel may be loaded into the initialized memory. The time spent by the first-level bootstrap program for loading the second-level bootstrap program and the second-level bootstrap program for hardware initialization, memory allocation and other operations can be saved, so the running time of the bootstrap program can be saved, and the starting speed of the operating system can be further improved.
The boot conditions may be used to constrain boot mode parameters that require, or are highly correlated with, the operating system. Alternatively, the boot condition may refer to a condition suitable for booting the operating system. For example, the start-up conditions may include: the startup mode parameter corresponds to a normal startup mode.
In the embodiment of the present application, the start mode of the device may include, but is not limited to: a Normal Boot (Normal Boot) mode, a card swipe (recovery) mode, or a line swipe (Fast Boot) mode, etc.
In the embodiment of the application, under the condition that the starting mode parameters correspond to the normal starting mode, the secondary boot program can be skipped, the environment of the operating system can be directly entered, and the equipment can enter the normal starting mode.
In an embodiment of the present application, the start mode parameter may specifically include: the stored startup mode parameters prior to the last power down of the device. For example, if the user-triggered command is a shutdown command or a restart command before the device was last powered off, 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 an instruction for restoring factory settings or an instruction of the first shortcut key, and the start mode parameter may be a card swiping 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 parameters may specifically include: a start-up mode parameter received from the peripheral device after the device is powered on.
After the device is powered on, the user may input the startup mode parameters through the peripheral. The peripheral device, which is an external device for short, refers to a hardware device connected to a computer host. Depending on the function, the peripheral device may generally comprise: input devices, display devices, printing devices, external memories, and network devices. In one example, the peripheral device may include: mouse, keyboard, earphone, display, printer, serial port, network card, etc. For example, a user may enter startup mode parameters via a keyboard and/or mouse.
In an optional embodiment of the present application, the step 102 of loading the kernel of the operating system into the memory may specifically include: and loading the kernel image of the operating system into the initialized memory.
In practical applications, the format of the kernel image may be an image compressed file. The format of the image compression file may include: the zmmage format, or the uImage format.
zImage is an Image compression file of the kernel, and is about 4M, but is less than 2M.
uinmage is processed from zmage, and uboot has a tool that can process zmage to generate uinmage. The kernel may generate zmmage and the mkimage tool in uboot may process zmmage to generate uinmage to launch uboot. This process may be: the header information of the uinimage of 64 bytes is added to the front of the zmmage.
It is understood that the format of zmmage or the format of umimage is only an example of the format of the kernel image, and it is understood that the specific format of the kernel image is not limited in the embodiments of the present application.
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.
Wherein, the ATAGs is used for transmitting information such as command lines, and specifically, the ATAGs packs parameters into an ATAG _ TAG mark to transmit information; dtb is used to convey hardware information.
In an optional embodiment of the present application, step 102 may determine a boot address of the kernel image, and transmit the kernel image and the running data to the boot address, thereby implementing booting of the operating system.
In an optional embodiment of the present application, the method may further include: transmitting pre-stored environment variable parameters to a kernel of the operating system; the pre-stored environment variable parameter may be an environment variable parameter stored before the device is powered off last time.
The environment variable parameters may be used to characterize the parameter variables that are often used. The environment variable parameters may provide a degree of configurability to the user, such as baud rate, startup parameters, and the like. 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 not to cause damage to the code and data of the boot program due to such a change, a block dedicated to storing the environment variable parameter may be optionally reserved in the memory.
In practical applications, the environment variable parameters may be saved via a memory. The memory corresponding to the environment variable parameter may include: the memory or the external memory, or the memory corresponding to the environment variable parameter may include: static memory or dynamic memory. Alternatively, the environment variable parameters may be solidified in a non-volatile storage medium.
In an application example of the present application, the environment variable parameter may specifically include:
bootdelay, seconds waiting to perform an auto start
baudrate, baudrate of serial console
netmask, mask for Ethernet interface
ethaddr, network card physical address of ethernet card
bootfile, default download file
bootargs, boot parameters passed to kernel
bootcmd, a command executed on automatic start-up
server ip, ip (Internet Protocol) address of server end
Ipadr, local ip address
stdin, standard input device
stdout, standard output equipment
stderr, standard error equipment
In an optional embodiment of the present application, the method may further include: and after the operating system is started and before the operating system is powered off, saving the environment variable parameters of the equipment. In this way, the environment variable parameters before the last power outage can be saved.
For example, after the operating system is normally started, if the user triggers an instruction to enter the card swiping mode before the power is off, the instruction to enter the card swiping mode can be entered by updating the environment variable parameters.
To sum up, in the data processing method according to the embodiment of the present application, after the device is powered on, the first hardware corresponding to the device may be initialized, and then 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 when the start mode parameter of the device meets the start condition. Compared with the prior art that the primary bootstrap program completes initialization of the DDR, loads the secondary bootstrap program to the DDR, and runs the secondary bootstrap program in the DDR, so that functions of hardware initialization, memory allocation, kernel loading and the like are realized through the secondary bootstrap program, the loading of the kernel can be directly performed after the initialization after the power-on is completed in the embodiment of the application, and the time spent by the loading of the secondary bootstrap program by the primary bootstrap program and the hardware initialization, the memory allocation and the like performed by the secondary bootstrap program can be saved, so that the running time of the bootstrap program can be saved, and the starting speed of an operating system can be further improved.
Method embodiment two
Referring to fig. 2, a flowchart illustrating steps of a second embodiment of a data processing method according to the present application is shown, where an apparatus applied by the method may specifically include: the storage medium and the clock may specifically include: a memory and a peripheral; the method may specifically comprise the steps of:
step 201, after a device is powered on, initializing a first hardware corresponding to the device; the first hardware may include: a clock and a memory;
202, initializing second hardware corresponding to the equipment under the condition that the starting mode parameters of the equipment do not accord with starting conditions; the second hardware may include: a clock, a memory and a peripheral;
step 203, after the initialization of the second hardware is completed, determining the latest environment variable parameters;
and step 204, after the latest environment variable parameter is determined, determining and entering a target starting mode of the equipment according to the starting mode parameter of the equipment.
Under the condition that the starting mode parameters of the equipment do not accord with the starting conditions, the starting mode parameters are not suitable for starting an 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, and the target boot mode of the device entered.
The initialization of the second hardware can realize the self-test of the second hardware and the setting of the working parameters of the second hardware, so that the hardware can run normally.
The second hardware includes in addition: besides the clock and the memory, the method also comprises the following steps: and (4) peripheral equipment. The initialization of the peripheral may include: initialization of serial ports or network ports and the like.
After initialization of the second hardware is completed, the latest environment variable parameters may also be determined. Currently, the environment variable parameters may be saved prior to the last power down of the device. And after the initialization of the second hardware is completed, the environment variable parameters can be relocated to determine the latest environment variable parameters.
After the latest environment variable parameters are determined, the target starting mode of the equipment is entered according to the starting mode parameters of the equipment.
According to an embodiment, the start mode parameter may be a card swipe mode parameter, and the target start mode may be a card swipe mode. And entering a card swiping mode, and upgrading the system. Such as OTA (Over-the-Air Technology) upgrades. OTA upgrade is a standard software upgrade mode provided by an android system. The system has powerful functions, can be upgraded without loss, mainly automatically downloads OTA upgrade packages and upgrades automatically through networks [ such as WIFI and 3G ], but also supports the upgrade from downloading the OTA upgrade packages to the SD card. The OTA upgrade package is small, typically a few M to a dozen 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 brush mode parameter, and the target start mode may be a brush mode. When the system enters the line brush mode, the system can be burned. The line-swiping mode is generally an upgrading mode adopted by an official, and is mainly used for swiping firmware, if the conditions that the machine cannot be started and the like are caused by equipment failure, the line-swiping mode can be considered, and the card-swiping mode is generally used for upgrading.
In an optional embodiment of the present application, the target start mode may be a card swiping mode, and entering the target start mode of the device according to the 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 parameter to the kernel of the operating system, so that the operating system is started according to the latest environment variable parameter.
In an optional 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 the starting mode parameters meet the starting conditions after the equipment is powered on next time, and the next starting speed of the operating system can be further improved. For example, if the current boot is a card-swipe mode boot or a line-swipe mode boot, the boot mode parameter may be updated to a normal boot parameter, so that the device is normally booted after being powered on next time.
To sum up, in the data processing method according to the embodiment of the present application, when the start mode parameter of the device does not meet the start condition, it indicates that it 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, and the target start-up mode of the device entered, etc.
Method embodiment three
Referring to fig. 3, a flowchart illustrating a third step of an embodiment of a data processing method according to the present application is shown, where an apparatus applied by the method may specifically include: the storage medium and the clock may specifically include: a memory and a peripheral; the method may specifically comprise the steps of:
step 301, after a device is powered on, initializing a first hardware corresponding to the device; the first hardware may include: a clock and a memory;
step 302, loading a second code into a memory under the condition that the starting mode parameter of the device does not meet the starting condition;
by executing the second code, performing:
step 303, initializing a second hardware corresponding to the device; the second hardware may include: a clock, a memory and a peripheral;
step 304, after the initialization of the second hardware is completed, determining the latest environment variable parameters;
and 305, after determining the latest environment variable parameters, entering a target starting mode of the equipment according to the starting mode parameters of the equipment.
In the embodiment of the present application, steps 301 and 302 may be performed by a first code, and steps 303 to 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 way, so that the reasonable utilization of the memory can be realized.
Alternatively, the first code may be located in an SRAM, which may increase the execution speed of the first code. The second code can be located in the DDR, and since the DDR has a large capacity, the execution performance of the second code can be improved.
In summary, in the data processing method according to 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 the memory can be reasonably utilized.
Method example four
Referring to fig. 4, a flowchart illustrating a fourth step of an embodiment of a data processing method according to the present application is shown, where an apparatus applied by the method may specifically include: the storage medium and the clock may specifically include: a memory and a peripheral; the method may specifically comprise the steps of:
step 401, after the device is powered on, initializing a first hardware corresponding to the device; the first hardware may include: a clock and a memory;
step 402, judging whether the starting mode parameters of the equipment meet the starting conditions, if so, executing step 403, otherwise, executing step 404;
step 403, loading a kernel of the operating system into the initialized memory, and loading running data corresponding to the kernel into the initialized memory;
step 404, initializing a second hardware corresponding to the device; the second hardware may include: a clock, a memory and a peripheral;
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 start 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, compared with the related art in which the primary boot program initializes the DDR, loads the secondary boot program to the DDR, and runs the secondary boot program in the DDR, so as to implement functions of hardware initialization, memory allocation, kernel loading, and the like through the secondary boot program, the data processing method according to the embodiment of the present application can directly load the kernel after the initialization after power up is completed, and can save time spent by the primary boot program for loading the secondary boot program and the secondary boot program for performing operations such as hardware initialization, memory allocation, and the like, so that the running time of the boot program can be saved, and further, the starting speed of the operating system can be increased. In one example, a runtime savings of around 1 second may be achieved.
In addition, the embodiment of the application can judge through the starting mode parameters, and can realize the function of a 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 mirror image.
Method example five
Referring to fig. 5, a flowchart illustrating steps of a fifth embodiment of the data processing method according to the present application is shown, where the method specifically includes the following steps:
step 501, after the equipment is powered on, initializing a part of hardware corresponding to the equipment; the portion of hardware may include at least: a memory;
step 502, loading a kernel of an operating system into the initialized memory and loading running data corresponding to the kernel into the initialized memory when the device meets the starting condition.
To sum up, in the data processing method according to the embodiment of the present application, after the device is powered on, a part of hardware corresponding to the device may be initialized, and then, when the device meets the start 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 the primary bootstrap program completes initialization of the DDR, loads the secondary bootstrap program to the DDR, and runs the secondary bootstrap program in the DDR, so that functions of hardware initialization, memory allocation, kernel loading and the like are realized through the secondary bootstrap program, the loading of the kernel can be directly performed after the initialization after the power-on is completed in the embodiment of the application, and the time spent by the loading of the secondary bootstrap program by the primary bootstrap program and the hardware initialization, the memory allocation and the like performed by the secondary bootstrap program can be saved, so that the running time of the bootstrap program can be saved, and the starting speed of an operating system can be further improved.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the embodiments. Further, those skilled in the art will also appreciate that the embodiments described in the specification are presently preferred and that no particular act is required of the embodiments of the application.
The embodiment of the application also provides a data processing device.
Referring to fig. 6, a block diagram of an embodiment of a data processing apparatus according to the present application is shown, where the apparatus includes: a storage medium and a clock, the storage medium may include: a memory; the device may specifically include 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
a first loading module 602, configured to load a kernel of an operating system into an initialized memory and load running data corresponding to the kernel into the initialized memory when a start mode parameter of the device meets a start condition.
Optionally, the start condition may include:
the start-up mode parameter corresponds to a normal start-up mode.
Optionally, the start mode parameters may specifically include:
the stored starting mode parameters are stored before the last power failure of the equipment; and/or
A start-up mode parameter received from a peripheral device after the device is powered on.
Optionally, the first loading module 602 may specifically include:
and the kernel mirror loading module is used for loading the kernel mirror of the operating system into the initialized memory.
Optionally, the apparatus may further include:
the transmission module is used for transmitting pre-stored environment variable parameters to the kernel of the operating system; the pre-stored environment variable parameters are stored environment variable parameters before the last power failure of the equipment.
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 operating system is powered off.
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: a clock, a memory and a peripheral;
the parameter determination 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 perform, by executing the second code: initializing second hardware corresponding to the equipment; the second hardware includes: a clock, a memory and a peripheral; after the initialization of the second hardware is completed, determining the latest environment variable parameters; and after the latest environment variable parameter is determined, determining and entering a target starting mode of the equipment according to the starting mode parameter of the equipment.
Optionally, the start mode parameter may be a card swiping mode parameter, and the target start mode may be a card swiping mode; or
The start mode parameter may be a brush mode parameter, and the target start mode may be a 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 embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Embodiments of the application may be implemented as a system or device using any suitable hardware and/or software for the desired configuration. Fig. 7 schematically illustrates an example device 1300 that can be used to implement various embodiments described herein.
For one embodiment, fig. 7 illustrates an exemplary apparatus 1300, which apparatus 1300 may comprise: one or more processors 1302, a system control module (chipset) 1304 coupled to at least one of the processors 1302, system memory 1306 coupled to the system control module 1304, 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: instruction 1362, the instruction 1362 executable by the one or more processors 1302.
Processor 1302 may include one or more single-core or multi-core processors, and processor 1302 may include any combination of general-purpose processors or special-purpose processors (e.g., graphics processors, application processors, baseband processors, etc.). In some embodiments, the device 1300 can function as a server, a target device, a wireless device, etc., as described in embodiments herein.
In some embodiments, device 1300 may include one or more machine-readable media (e.g., system memory 1306 or NVM/storage 1308) having instructions thereon and one or more processors 1302, which in combination with the one or more machine-readable media, are configured to execute the instructions to implement the modules included in the aforementioned means to perform the actions described in embodiments of the present application.
System control module 1304 for one embodiment may include any suitable interface controller to provide any suitable interface to at least one of processors 1302 and/or any suitable device or component in communication with system control module 1304.
System control module 1304 for one embodiment may include one or more memory controllers to provide an interface to system memory 1306. The memory controller may be a hardware module, a software module, and/or a firmware module.
System memory 1306 for one embodiment may be used to load and store data and/or instructions 1362. For one embodiment, system memory 1306 may include any suitable volatile memory, such as suitable DRAM (dynamic random access memory). In some embodiments, system memory 1306 may include: double data rate type four synchronous dynamic random access memory (DDR4 SDRAM).
System control module 1304 for one embodiment may include one or more input/output controllers to provide an interface to NVM/storage 1308 and 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 non-volatile memory (e.g., flash memory, etc.) and/or may include any suitable non-volatile storage device(s), e.g., 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.
The NVM/storage 1308 may include storage resources that are physically part of the device on which the apparatus 1300 is installed or may be accessible by the device and not necessarily part of the device. For example, the NVM/storage 1308 may be accessed over a network via the network interface 1312 and/or through the 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, and input/output devices 1310 may include communication components, audio components, sensor components, and so forth.
Network interface 1312 of one embodiment may provide an interface for device 1300 to communicate with one or more networks and/or with any other suitable apparatus, and device 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 to access a communication standard-based wireless network, 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 for 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 for 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 novelty as the logic of one or more controllers of the system control module 1304. For one embodiment, at least one of processors 1302 may be integrated on the same chip with logic for one or more controllers of system control module 1304 to form a system on a chip (SoC).
In various embodiments, apparatus 1300 may include, but is not limited to: a computing device such as a desktop computing device or a mobile computing device (e.g., a laptop computing device, a handheld computing device, a tablet, a netbook, etc.). 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, a keyboard, a Liquid Crystal Display (LCD) screen (including a touch screen display), a non-volatile memory port, multiple antennas, a graphics chip, an Application Specific Integrated Circuit (ASIC), and speakers.
Wherein, if the display includes a touch panel, the display screen may be implemented as a touch screen display to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
The present application also provides a non-transitory readable storage medium, where one or more modules (programs) are stored in the storage medium, and when the one or more modules are applied to an apparatus, the apparatus may be caused to execute instructions (instructions) of methods in the present application.
Provided in one example is an apparatus 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 embodiments of the present application, which may include: 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, which when executed by one or more processors, cause an apparatus to perform a method as in embodiments of the application, which may include: the method shown in fig. 1 or fig. 2 or fig. 3 or fig. 4 or fig. 5.
The specific manner in which each module performs operations of the apparatus in the above embodiments has been described in detail in the embodiments related to the method, and will not be described in detail here, and reference may be made to part of the description of the method embodiments for relevant points.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are 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 flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams 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 application have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the true scope of the embodiments of the application.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be 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. Also, 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 an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing detailed description has provided a data processing method, a data processing apparatus, a device, and a machine-readable medium, which are provided by the present application, and specific examples are applied herein to explain the principles and embodiments of the present application, and the descriptions of the foregoing examples are only used to help understand the method and the core ideas of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (15)

1. A data processing method is characterized in that the method applies equipment comprising: 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 loading a kernel of an operating system into the initialized memory and loading running data corresponding to the kernel into the initialized memory under the condition that the starting mode parameters of the equipment meet the starting conditions.
2. The method of claim 1, wherein the startup mode parameters comprise:
the stored starting mode parameters are stored before the last power failure of the equipment; and/or
A start-up mode parameter received from a peripheral device after the device is powered on.
3. The method of claim 1, wherein loading a kernel of an operating system into memory comprises:
and loading the kernel image of the operating system into the initialized memory.
4. The method of claim 1, further comprising:
transmitting pre-stored environment variable parameters to a kernel of the operating system; the pre-stored environment variable parameters are stored environment variable parameters before the last power failure of the equipment.
5. The method of claim 1, further comprising:
and after the operating system is started and before the operating system is powered off, saving the environment variable parameters of the equipment.
6. The method according to any of claims 1 to 5, wherein at least one of the steps comprised in the method is performed by running a first code in a memory.
7. The method of claim 1, wherein the start-up condition comprises:
the start-up mode parameter corresponds to a normal start-up mode.
8. The method of claim 1, further comprising:
initializing second hardware corresponding to the equipment under the condition that the starting mode parameters of the equipment do not accord with starting conditions; the second hardware includes: a clock, a memory and a peripheral;
after the initialization of the second hardware is completed, determining the latest environment variable parameters;
and after the latest environment variable parameter is determined, determining and entering a target starting mode of the equipment according to the starting mode parameter of the equipment.
9. The method of claim 1, further comprising:
loading a second code into a memory under the condition that the starting mode parameters of the equipment do not accord with the starting conditions;
by executing the second code, performing:
initializing second hardware corresponding to the equipment; the second hardware includes: a clock, a memory and a peripheral;
after the initialization of the second hardware is completed, determining the latest environment variable parameters;
and after the latest environment variable parameter is determined, determining and entering a target starting mode of the equipment according to the starting mode parameter of the equipment.
10. The method according to claim 8 or 9, wherein the start mode parameter is a card swipe mode parameter, and the target start mode is a card swipe mode; or
The starting mode parameter is a line brush mode parameter, and the target starting mode is a line brush mode.
11. The method according to claim 8 or 9, characterized in that the method further comprises:
and after the target starting mode of the equipment is determined, updating the starting mode parameters into the starting mode parameters corresponding to the starting conditions.
12. A data processing apparatus, characterized in that 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 configured to load a kernel of an operating system into the initialized memory and load running data corresponding to the kernel into the initialized memory when the start mode parameter of the device meets a start condition.
13. An apparatus, comprising:
one or more processors; and
one or more machine-readable media having instructions stored thereon that, when executed by the one or more processors, cause the apparatus to perform the method of one or more of claims 1-11.
14. One or more machine-readable media having instructions stored thereon, which when executed by one or more processors, cause an apparatus to perform the method recited by one or more of claims 1-11.
15. A data processing method, comprising:
after equipment is powered on, initializing partial hardware corresponding to the equipment; the part of hardware includes at least: a memory;
and loading a kernel of an operating system into the initialized memory and loading running data corresponding to the kernel into the initialized memory under the condition that the equipment meets the starting condition.
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 true CN111381892A (en) 2020-07-07
CN111381892B 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112988248A (en) * 2021-03-09 2021-06-18 南昌黑鲨科技有限公司 Computer readable storage medium and method for starting intelligent terminal operating system from multiple storage media
CN114470753A (en) * 2021-12-27 2022-05-13 北京像素软件科技股份有限公司 A particle data loading method, device, electronic device 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的移植分析" *
周宇;文建国;: "基于MPC860启动引导程序研究与设计" *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112988248A (en) * 2021-03-09 2021-06-18 南昌黑鲨科技有限公司 Computer readable storage medium and method for starting intelligent terminal operating system from multiple storage media
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 北京像素软件科技股份有限公司 A particle data loading method, device, electronic device and readable storage medium
CN118409807A (en) * 2024-07-02 2024-07-30 沐曦集成电路(上海)有限公司 Method and device for accelerating starting speed of GPU kernel

Also Published As

Publication number Publication date
CN111381892B (en) 2023-04-28

Similar Documents

Publication Publication Date Title
US12061892B2 (en) Firmware updating method, and electronic apparatus and storage media for same
EP3109762B1 (en) Electronic device having external memory and method for operating the same
US8560822B1 (en) Pre-boot operating environment
CN112771489B (en) Method for controlling execution of heterogeneous operating systems and electronic devices and storage medium thereof
CN105138382A (en) Method and terminal for upgrading Android system
CN104750492B (en) The start-up control method and device of mobile device based on embedded OS
CN105335178B (en) Starting control method and device
WO2015065323A1 (en) Flexible bootstrap code architecture
CN102238265A (en) Mobile phone and method for realizing double-system mobile phone
CN107577472B (en) Software installation method and device and computer readable storage medium
CN111381892B (en) Data processing method, device, equipment and machine-readable medium
CN111694585A (en) Method, system, terminal and storage medium for replacing system partition file
WO2023070823A1 (en) Bootloader loading method, apparatus and system, electronic device and medium
JP5895385B2 (en) Image output apparatus and program thereof
CN117707626A (en) System starting method and electronic equipment
KR102516583B1 (en) Electronic device and method for controling update thereof
CN108874459A (en) Quick start method and device based on virtualization technology
CN103019833A (en) Terminal equipment and method for enabling same to support quick switching of operating systems
CN107911816B (en) Starting method for multi-mode IoT device, multi-mode IoT device and storage medium
CN116400938A (en) Operating system upgrading method, device and storage medium
US11836503B2 (en) Electronic device for executing heterogeneous operating systems and method therefor
CN116737243A (en) Screen parameter patch upgrading method and terminal equipment
CN115951920A (en) Mobile equipment upgrading method and device, storage unit and mobile equipment
CN116668285B (en) Method, device and storage medium for configuring system
JP2014048817A (en) Information processing apparatus, information processing method and program

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
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.

GR01 Patent grant
GR01 Patent grant