CN113535243A - Terminal starting method and device, terminal and storage medium - Google Patents

Terminal starting method and device, terminal and storage medium Download PDF

Info

Publication number
CN113535243A
CN113535243A CN202010323005.3A CN202010323005A CN113535243A CN 113535243 A CN113535243 A CN 113535243A CN 202010323005 A CN202010323005 A CN 202010323005A CN 113535243 A CN113535243 A CN 113535243A
Authority
CN
China
Prior art keywords
memory
terminal
processor
operating system
data
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.)
Pending
Application number
CN202010323005.3A
Other languages
Chinese (zh)
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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN202010323005.3A priority Critical patent/CN113535243A/en
Publication of CN113535243A publication Critical patent/CN113535243A/en
Pending legal-status Critical Current

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

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 application belongs to the technical field of terminals, and particularly relates to a terminal starting method, a terminal starting device, a terminal and a storage medium. The starting method of the terminal comprises the following steps: when the terminal is powered on, acquiring the ID of the processor and the ID of the first memory; wherein the first memory is used for storing operating system data; when the ID of the processor is matched with the ID of the first memory, judging whether the processor and the second memory are bound; wherein the second memory is used for storing user data; if not, reading the operating system data in the first memory and reading the user data in the second memory; an operating system is launched based on the operating system data and the user data. Therefore, under the condition that the second memory of the terminal and the processor are not bound, when the terminal is powered on, the terminal can directly acquire the stored user data, the starting operation of the terminal is reduced, and the using effect of a user can be improved.

Description

Terminal starting method and device, terminal and storage medium
Technical Field
The application belongs to the technical field of terminals, and particularly relates to a terminal starting method, a terminal starting device, a terminal and a storage medium.
Background
With the continuous development of the information society, the appearance of the terminal greatly facilitates the production and the life of users. The user can use the terminal to watch television or use the terminal to conduct video calls with other users.
Currently, when a user uses a terminal, a large amount of user data is generated. The terminal may retrieve the user data and store the user data in a storage device of the terminal. The memory device of the terminal stores operating system data and user data of the terminal. In order to increase the security of the terminal, the storage device of the terminal and the processor of the terminal can be bound together, so that when one of the storage device of the terminal or the processor of the terminal breaks down and needs to be replaced, a user needs to replace the storage device and the processor at the same time, operating system data and user data stored in the terminal are lost, and the problems of complex terminal starting and inconvenient user use occur.
The statements in this application as to the background of the invention, as they pertain to the present application, are merely provided to illustrate and facilitate an understanding of the present disclosure and are not to be construed as an admission that the applicant expressly believes or infers that the applicant is admitted as prior art to the date of filing of the present application for the first time.
Disclosure of Invention
The embodiment of the application provides a terminal starting method and device, a terminal and a storage medium, and under the condition that a second memory of the terminal is not bound with a processor, user data stored in the memory can be acquired, starting operation of the terminal is reduced, and then the using effect of a user can be improved.
In a first aspect, an embodiment of the present application provides a method for starting a terminal, including:
when the terminal is powered on, acquiring the ID of the processor and the ID of the first memory; wherein the first memory is used for storing operating system data;
when the ID of the processor is matched with the ID of the first memory, judging whether the processor and the second memory are bound; wherein the second memory is used for storing user data;
if not, reading the operating system data in the first memory and reading the user data in the second memory;
an operating system is launched based on the operating system data and the user data.
According to some embodiments, before the obtaining the ID of the processor and the ID of the first memory when the terminal is powered on, the method further includes:
when the terminal is powered on for the first time after leaving the factory, a binding setting interface is displayed through a display unit; the binding setting interface is used for prompting a user whether to bind the processor and the second memory;
and when detecting an unbound instruction sent by the user, displaying an unbound prompt message on the bound setting interface.
According to some embodiments, when the terminal is powered on for the first time after leaving the factory, after the binding setting interface is displayed by the display unit, the method further includes:
when a binding instruction sent by the user is detected, displaying a binding prompt message on the binding setting interface, wherein the binding prompt message is used for prompting that the binding process is an un-unbinding process;
and when receiving the confirmation information aiming at the binding prompt message, binding the processor and the second memory.
According to some embodiments, the method further comprises:
and when the operating system is not started within the preset time, the ID of the processor and the ID of the first memory are obtained again.
According to some embodiments, after determining whether the processor and the second memory are bound when the ID of the processor and the ID of the first memory match, the method further comprises:
if not, acquiring initial user data when the user data is not acquired;
starting the operating system based on the operating system data and initial user data.
According to some embodiments, after the booting the operating system based on the operating system data and initial user data, further comprising:
and sending prompt information, wherein the prompt information comprises information for starting the operating system based on the operating system data and the initial user data.
According to some embodiments, after determining whether the processor and the second memory are bound when the ID of the processor and the ID of the first memory match, the method further comprises:
if so, starting the operating system based on the operating system data and the initial user data.
In a second aspect, an embodiment of the present application provides an apparatus for starting a terminal, including:
the terminal power-on unit is used for acquiring the ID of the processor and the ID of the first memory when the terminal is powered on; wherein the first memory is used for storing operating system data;
a binding judgment unit for judging whether the processor and the second memory are bound when the ID of the processor and the ID of the first memory match; wherein the second memory is used for storing user data;
the data reading unit is used for reading the operating system data in the first memory and the user data in the second memory if the first memory is not the second memory;
and the system starting unit is used for starting the operating system based on the operating system data and the user data.
In a third aspect, an embodiment of the present application provides a terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the method of any one of the above first aspects when executing the computer program.
In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, and the computer program is used for implementing any one of the methods described above when executed by a processor.
In a fifth aspect, embodiments of the present application provide a computer program product, where the computer program product includes a non-transitory computer-readable storage medium storing a computer program, where the computer program is operable to cause a computer to perform some or all of the steps as described in the first aspect of embodiments of the present application. The computer program product may be a software installation package.
The embodiment of the application provides a starting method of a terminal, which can acquire an ID of a processor and an ID of a first memory when the terminal is powered on, judge whether the processor and a second memory are bound when the ID of the processor is matched with the ID of the first memory, if not, the terminal can read operating system data in the first memory and user data in the second memory, and start an operating system based on the operating system data and the user data. Therefore, under the condition that the second memory of the terminal and the processor are not bound, when the terminal is powered on, the terminal can directly acquire the stored user data without acquiring the user data through an external device or a server, the starting operation of the terminal is reduced, and the using effect of a user can be improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 illustrates a block diagram of a terminal applied to an exemplary embodiment of the present application;
fig. 2 is a flowchart illustrating a method for starting a terminal according to an embodiment of the present application;
fig. 3 is a block diagram illustrating a structure of a terminal applied to an exemplary embodiment of the present application;
fig. 4 is a flowchart illustrating a method for starting a terminal according to an embodiment of the present application;
FIG. 5 is a schematic diagram illustrating an example of a terminal interface according to an embodiment of the present application;
fig. 6 is a flowchart illustrating a method for starting a terminal according to an embodiment of the present application;
FIG. 7 is a schematic diagram illustrating an example of a terminal interface according to an embodiment of the present application;
fig. 8 is a flowchart illustrating a method for starting a terminal according to an embodiment of the present application;
fig. 8 is a flowchart illustrating a method for starting a terminal according to an embodiment of the present application;
fig. 9 is a schematic structural diagram illustrating an activating apparatus of a terminal according to an embodiment of the present application;
fig. 10 shows a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, 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 embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terminal greatly facilitates the life of the user, so that the life of the user becomes more colorful. When a user uses a terminal, a large amount of user data is generated. The terminal may retrieve the user data and store the user data in a storage device of the terminal. The memory device of the terminal stores operating system data and user data of the terminal. In order to increase the security of the terminal, the memory device of the terminal and the processor of the terminal are bound together. When the storage device of the terminal fails, both the storage device of the terminal and the processor of the terminal need to be replaced. When the terminal is restarted, user data of the terminal may be lost. For example, the terminal may store a user's watching video recording in a storage device. When the terminal storage device and the processor of the terminal are not replaced and the user opens the video application program of the terminal, the terminal can display the last watching record of the user, and the user can conveniently continue to watch the video. However, when the storage device of the terminal and the processor of the terminal are both replaced and the terminal is restarted, the video record stored in the terminal is lost, and the user needs to resend the downloading instruction of the video application program to the terminal. Therefore, when the terminal storage device and the processor of the terminal are replaced simultaneously, the system data and the user data stored in the terminal are lost, and the problems of complicated terminal starting and inconvenient user use occur.
Referring to fig. 1, a block diagram of a terminal according to an exemplary embodiment of the present application is shown. A terminal in the present application may include one or more of the following components: a processor 110, a memory 120, an input device 130, an output device 140, and a bus 150. The processor 110, memory 120, input device 130, and output device 140 may be connected by a bus 150.
Processor 110 may include one or more processing cores. The processor 110 connects various parts within the entire terminal using various interfaces and lines, and performs various functions of the terminal 100 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 120 and calling data stored in the memory 120. Alternatively, the processor 110 may be implemented in hardware using at least one of Digital Signal Processing (DSP), field-programmable gate Array (FPGA), and Programmable Logic Array (PLA). The processor 110 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 110, but may be implemented by a communication chip.
The memory 120 may be divided into an operating system space, where an operating system runs, and a user space, where native and third-party applications run. In order to ensure that different third-party application programs can achieve a better operation effect, the operating system allocates corresponding system resources for the different third-party application programs. However, the requirements of different application scenarios in the same third-party application program on system resources are different, for example, in a local resource loading scenario, the third-party application program has a higher requirement on the disk reading speed; in the animation rendering scene, the third-party application program has a high requirement on the performance of the GPU. The operating system and the third-party application program are independent from each other, and the operating system cannot sense the current application scene of the third-party application program in time, so that the operating system cannot perform targeted system resource adaptation according to the specific application scene of the third-party application program.
The input device 130 is used for receiving input instructions or data, and the input device 130 includes, but is not limited to, a keyboard, a mouse, a camera, a microphone, or a touch device. The output device 140 is used for outputting instructions or data, and the output device 140 includes, but is not limited to, a display device, a speaker, and the like. In one example, the input device 130 and the output device 140 may be combined, and the input device 130 and the output device 140 are touch display screens for receiving touch operations of a user on or near the touch display screens by using any suitable object such as a finger, a touch pen, and the like, and displaying user interfaces of various applications. The touch display screen is generally provided at a front panel of the terminal. The touch display screen may be designed as a full-face screen, a curved screen, or a profiled screen. The touch display screen can also be designed to be a combination of a full-face screen and a curved-face screen, and a combination of a special-shaped screen and a curved-face screen, which is not limited in the embodiment of the present application.
In addition, those skilled in the art will appreciate that the configurations of the terminals illustrated in the above-described figures do not constitute limitations on the terminals, as the terminals may include more or less components than those illustrated, or some components may be combined, or a different arrangement of components may be used. For example, the terminal further includes a radio frequency circuit, an input unit, a sensor, an audio circuit, a wireless fidelity (WiFi) module, a power supply, a bluetooth module, and other components, which are not described herein again.
In the embodiment of the present application, the main body of execution of each step may be the terminal described above. Optionally, the execution subject of each step is an operating system of the terminal. The operating system may be an android system, an IOS system, or another operating system, which is not limited in this embodiment of the present application.
The terminal of the embodiment of the application can also be provided with a display device, and the display device can be various devices capable of realizing a display function, for example: a cathode ray tube display (CR), a light-emitting diode display (LED), an electronic ink panel, a Liquid Crystal Display (LCD), a Plasma Display Panel (PDP), and the like. The user can view information such as displayed text, images, video, etc. using the display device on the terminal 101. The terminal may be a smart phone, a tablet computer, a gaming device, an AR (Augmented Reality) device, an automobile, a data storage device, an audio playing device, a video playing device, a notebook, a desktop computing device, a wearable device such as an electronic watch, an electronic glasses, an electronic helmet, an electronic bracelet, an electronic necklace, an electronic garment, or the like.
In the terminal shown in fig. 1, the processor 110 may be configured to call an application program stored in the memory 120 and specifically execute the starting method of the terminal according to the embodiment of the present application.
When the terminal is powered on, the terminal can acquire the ID of the processor and the ID of the first memory; the first memory is used for storing operating system data. When the terminal determines that the ID of the processor and the ID of the first memory match, the terminal may determine whether the processor and the second memory are bound; wherein the second memory is for storing user data. When the terminal determines that the processor and the second memory are not bound, the terminal may read the operating system data in the first memory and read the user data in the second memory. The terminal may start the operating system based on the operating system data and the user data.
In the following method embodiments, for convenience of description, only the main execution body of each step is described as a terminal.
The method for starting the terminal according to the embodiment of the present application will be described in detail below with reference to fig. 2 to 8. The execution body of the embodiment shown in fig. 2-8 may be, for example, a terminal.
Referring to fig. 2, a flowchart of a method for starting a terminal is provided in an embodiment of the present application. As shown in fig. 2, the method of the embodiment of the present application may include the following steps S101 to S104.
S101, when the terminal is powered on, the ID of the processor and the ID of the first memory are obtained.
According to some embodiments, a terminal executing a subject according to embodiments of the present application may, for example, launch a terminal of an operating system, the terminal including, but not limited to, a smartphone, a tablet, an automobile, an audio playback device, a video playback device, a notebook, a desktop computing device, a wearable device such as an electronic watch, an electronic glasses, an electronic helmet, an electronic bracelet, an electronic necklace, an electronic article of clothing, and the like. The operating system of the terminal includes, but is not limited to, a system based on Android system deep development, an IOS system developed by apple inc, a system based on IOS system deep development, or other systems.
It will be readily understood that a processor refers to a device that the terminal can perform to parse instructions received by the terminal and to process data in the terminal. The Processor includes, but is not limited to, a smartphone Processor, a Central Processing Unit (CPU), and the like.
Alternatively, the first memory may refer only to a memory in the terminal for storing operating system data. The first is only memory for storing operating system data, and does not refer to a fixed memory.
According to some embodiments, powering up the terminal may refer to the terminal receiving power, which may be provided, for example, by a power supply system connected to the terminal, or by a battery of the terminal. The battery of the terminal includes, but is not limited to, a lithium ion battery. When the user needs to open the terminal, the user can press the opening control of the terminal. When a user presses the opening control, the power-on system of the terminal can be triggered, so that the terminal can start system operation. When the terminal is powered on, the terminal may acquire the ID of the processor and the ID of the first memory.
S102, when the ID of the processor is matched with the ID of the first memory, whether the processor and the second memory are bound or not is judged.
According to some embodiments, in order to improve the security of the terminal, the processor and the first memory may be bound when the terminal leaves the factory, or the processor and the first memory may be bound after the processor and the first memory are replaced.
It is easy to understand that the second memory refers to a memory in the terminal for storing user data. The second is only the memory in the terminal storing the user data, and does not refer to a fixed memory.
Optionally, when the terminal acquires the ID of the processor and the ID of the first memory, the terminal may determine whether the ID of the processor and the ID of the first memory match. When the terminal determines that the ID of the processor and the ID of the first memory match, the terminal may determine whether the processor and the second memory are bound. For example, the terminal may obtain a binding record of the processor and the second memory. The terminal may determine whether the processor and the second storage are bound based on the acquired binding record.
S103, if not, reading the operating system data in the first memory, and reading the user data in the second memory.
Fig. 3 illustrates a block diagram of a terminal according to some embodiments, according to an exemplary embodiment of the present application. The number of processors of the embodiments of the present application may be at least one. As shown in fig. 3, the processors may include, for example, a first processor and a second processor. When the terminal determines that the ID of the processor and the ID of the first memory match, i.e., the first processor and the first memory are bound, the terminal may determine whether the processor and the second memory are bound. When the terminal determines that the second processor and the second memory are not bound, the terminal may read the operating system data in the first memory and read the user data in the second memory.
It is easy to understand that, when the number of processors is one, the terminal may determine whether the processor and the second storage are bound by determining whether the binding record of the processor and the second storage is acquired. When the terminal does not acquire the binding record of the processor and the second memory, the terminal can judge that the processor and the second memory are not bound, and the terminal can read the operating system data of the first memory and read the user data of the second memory.
Optionally, the terminal may further determine whether the processor and the second memory are bound by determining whether the ID of the processor and the ID of the second memory match. When the terminal determines that the ID of the processor and the ID of the second memory do not match, the terminal may determine that the processor and the second memory are not bound, and the terminal may read the operating system data of the first memory and read the user data of the second memory.
S104, starting the operating system based on the operating system data and the user data.
According to some embodiments, when the terminal determines that the memory and the second memory are not bound and reads the operating system data of the first memory and the user data of the second memory, the terminal may start the operating system based on the operating system data and the user data. At this time, for example, when the user clicks an icon of the video application, the terminal may receive an open instruction for the video application. At this time, the terminal may display the user-viewed video recording on a display screen of the terminal, for example.
The embodiment of the application provides a starting method of a terminal, which can acquire an ID of a processor and an ID of a first memory when the terminal is powered on, judge whether the processor and a second memory are bound when the ID of the processor is matched with the ID of the first memory, if not, the terminal can read operating system data in the first memory and user data in the second memory, and start an operating system based on the operating system data and the user data. Therefore, under the condition that the second memory of the terminal and the processor are not bound, when the terminal is powered on, the terminal can directly acquire the stored user data without acquiring the user data through an external device or a server, the starting operation of the terminal is reduced, and the using effect of a user can be improved.
Please refer to fig. 4, which is a flowchart illustrating a terminal booting method according to an embodiment of the present disclosure. As shown in fig. 4, the method of the embodiment of the present application may include the following steps S201 to S207.
And S201, when the terminal is powered on for the first time after leaving the factory, displaying a binding setting interface through a display unit.
According to some embodiments, the display unit may be, for example, a display screen of the terminal. The display screen includes, but is not limited to, a cathode ray tube display screen (CRT), a plasma display screen PDP, a liquid crystal display screen LCD, etc., depending on the material of manufacture. The display unit of the embodiment of the application can be introduced by taking a liquid crystal display as an example.
It is easily understood that the binding setting interface of the embodiment of the present application is used to prompt the user whether to bind the processor and the second memory. When the terminal is powered on for the first time after leaving the factory, the terminal may display a binding setting interface through the liquid crystal display, and an exemplary schematic diagram of the binding setting interface of the terminal may be as shown in fig. 5. The binding setup interface may also include, for example, a plurality of controls including, but not limited to, a voice input control, a bound control, and an unbound control, among others.
S202, when detecting an unbound instruction sent by a user, displaying an unbound prompt message on a bound setting interface.
According to some embodiments, when the terminal is powered on for the first time after the terminal leaves a factory, the terminal may display the binding setting interface through the display unit. When the terminal displays the binding setting interface, the user can input an unbounding instruction on the binding setting interface when the user does not need to bind the processor and the second memory. The unbound instruction includes, but is not limited to, a text unbound instruction, a voice unbound instruction, or a one-click unbound instruction, etc. When the terminal receives an unbound instruction input by a user on the binding setting interface, the terminal can display an unbound prompt message on the binding setting interface. When the terminal receives the confirmation information aiming at the unbound prompting message, the terminal does not bind the processor and the second memory.
It is readily understood that the unbinding instruction entered by the user on the binding setting interface may be, for example, a click unbinding instruction. When the terminal detects that the user clicks the unbound control, the terminal can acquire a click unbound instruction input by the user, and the terminal can display an unbound prompt message on a binding setting interface.
According to some embodiments, please refer to fig. 6, which is a flowchart illustrating a method for starting a terminal according to an embodiment of the present application. As shown in fig. 6, the method of the embodiment of the present application may include the following steps S301 to S303. S301, when the terminal is powered on for the first time after leaving a factory, a binding setting interface is displayed through a display unit; s302, when a binding instruction sent by a user is detected, displaying a binding prompt message on a binding setting interface, wherein the binding prompt message is used for prompting that the binding process is an un-unbinding process; and S303, binding the processor and the second memory when receiving the confirmation information aiming at the binding prompt message.
According to some embodiments, when the terminal is powered on for the first time after leaving the factory, the terminal may display the binding setting interface through the display unit. When the terminal displays the binding setting interface, and the user needs to bind the processor and the second memory, the user can input a binding instruction on the binding setting interface of the terminal. When the terminal detects a binding instruction sent by a user, the terminal displays a binding prompt message on a binding setting interface, where the binding prompt message is used to prompt that the binding process is an un-unbinding process, and an example schematic diagram of the binding setting interface of the terminal at this time may be as shown in fig. 7. After the processor of the terminal is bound with the second memory, if the processor or the second memory fails and needs to be replaced, the user needs to replace the processor and the second memory at the same time. When the terminal receives the acknowledgement information for the binding hint message, the terminal may bind the processor and the second memory.
S203, when the terminal is powered on, the ID of the processor and the ID of the first memory are obtained.
The specific process is as described above, and is not described herein again.
S204, when the ID of the processor is matched with the ID of the first memory, whether the processor and the second memory are bound or not is judged.
The specific process is as described above, and is not described herein again.
And S205, if not, acquiring initial user data when the user data is not acquired.
According to some embodiments, when the terminal determines that the ID of the processor and the ID of the first memory match, the terminal may determine whether the processor and the second memory are bound. When the terminal determines that the processor and the second memory are not bound, the terminal may read the operating system data in the first memory and read the user data in the second memory. When the terminal reads the operating system data in the first memory and does not acquire the user data in the second memory, the terminal may acquire the initial user data.
It is easy to understand that when a problem occurs in the transmission line of the second memory in the terminal, the terminal may read the operating system data in the first memory, and may obtain the initial user data without obtaining the user data in the second memory.
S206, starting the operating system based on the operating system data and the initial user data.
According to some embodiments, when the terminal determines that the processor and the second memory are not bound and reads the operating system data and the initial user data of the first memory, the terminal may start the operating system based on the operating system data and the initial user data. At this time, for example, when the user clicks an icon of the video application, the terminal may receive an open instruction for the video application. At this time, the terminal may display a default display interface of the video application on a display unit of the terminal, for example.
It is easily understood that the terminal may retrieve the ID of the processor and the ID of the first memory when the terminal detects that the operating system is not started within a preset time. When the operating system data of the first storage and the user data of the second storage are acquired, the terminal can restart the operating system based on the operating system data and the initial user data, and the starting time of the terminal can be reduced.
According to some embodiments, please refer to fig. 8, which provides a method for starting a terminal according to an embodiment of the present application. As shown in fig. 8, the method of the embodiment of the present application may include the following steps S401 to S402. S401, when the ID of the processor is matched with the ID of the first memory, whether the processor is bound with the second memory is judged; s402, if yes, starting the operating system based on the operating system data and the initial user data.
According to some embodiments, the terminal may determine whether the processor and the second memory are bound when detecting that the ID of the processor and the ID of the first memory match. For example, the terminal determines a binding to the processor and the second memory. When one of the processor, the first memory and the second memory is failed and needs to be replaced, the user needs to replace the processor, the first memory and the second memory. Therefore, when the terminal acquires the replacement information of the processor, the first memory and the second memory after judging that the processor and the second memory are bound, the terminal can acquire the operating system data and the initial user data of the first memory. The terminal starts the operating system based on the operating system data and the initial user data.
S207, sending out prompt information, wherein the prompt information comprises information for starting the operating system based on the operating system data and the initial user data.
According to some embodiments, when the terminal starts the operating system based on the operating system data and the initial user data, the terminal may issue a prompt message so that the user may explicitly know the starting mode in which the terminal starts the operating system. The hint information includes information to launch the operating system based on the operating system data and the initial user data. The prompt message includes but is not limited to a text prompt message, a voice prompt message, a picture prompt message, a vibration prompt message, and the like.
It is easy to understand that when the terminal starts the operating system based on the operating system data and the user data of the second memory, the terminal may also send a prompt message so that the user can clearly know the starting mode of the terminal to start the operating system. The hint information includes information to launch the operating system based on the operating system data and user data of the second memory.
The embodiment of the application provides a method for starting a terminal, which includes the steps that when the terminal is powered on for the first time after leaving a factory, a binding setting interface is displayed through a display unit, when an unbound instruction sent by a user is detected, an unbound prompt message is displayed on the binding setting interface, when the terminal is powered on, an ID of a processor and an ID of a first memory can be obtained, when the ID of the processor is matched with the ID of the first memory, whether the processor is bound with a second memory is judged, if not, the terminal can read operating system data in the first memory, read user data in the second memory, and start an operating system based on the operating system data and the user data. Therefore, under the condition that the second memory of the terminal and the processor are not bound, when the terminal is powered on, the terminal can directly acquire the stored user data without acquiring the user data through an external device or a server, the starting operation of the terminal is reduced, and the using effect of a user can be improved.
The starting device of the terminal provided by the embodiment of the present application will be described in detail with reference to fig. 9. It should be noted that, the starting apparatus of the terminal shown in fig. 9 is used for executing the method of the embodiment shown in fig. 2 to 8 of the present application, and for convenience of description, only the portion related to the embodiment of the present application is shown, and details of the specific technology are not disclosed, please refer to the embodiment shown in fig. 2 to 8 of the present application.
Please refer to fig. 9, which illustrates a schematic structural diagram of a starting apparatus of a terminal according to an embodiment of the present application. The enabling means 900 of the terminal may be implemented as all or part of the user terminal by software, hardware or a combination of both. According to some embodiments, the starting apparatus 900 of the terminal includes a terminal powering-on unit 901, a binding determination unit 902, a data reading unit 903, and a system starting unit 904, and is specifically configured to:
a terminal power-on unit 901, configured to obtain an ID of the processor and an ID of the first memory when the terminal is powered on; the first memory is used for storing operating system data;
a binding determination unit 902, configured to determine whether the processor and the second memory are bound when the ID of the processor and the ID of the first memory match; wherein the second memory is used for storing user data;
a data reading unit 903, configured to read operating system data in the first memory and read user data in the second memory if the first memory is not the second memory;
a system start unit 904 for starting the operating system based on the operating system data and the user data.
According to some embodiments, the starting apparatus 900 of the terminal further includes a message display unit 905, configured to display a binding setting interface through the display unit when the terminal is powered on, before the ID of the processor and the ID of the first memory are acquired, and the terminal is powered on for the first time after leaving a factory; the binding setting interface is used for prompting a user whether to bind the processor and the second memory;
and when detecting an unbound instruction sent by the user, displaying an unbound prompt message on the bound setting interface.
According to some embodiments, the message display unit 905 is further configured to, when the terminal is powered on for the first time after leaving a factory, display a binding setting interface through the display unit, and further includes:
when a binding instruction sent by a user is detected, displaying a binding prompt message on a binding setting interface, wherein the binding prompt message is used for prompting that the binding process is an un-unbinding process;
and when the confirmation information aiming at the binding prompt message is received, the processor and the second memory are bound.
According to some embodiments, the terminal power-on unit 901 is further configured to retrieve the ID of the processor and the ID of the first memory when the operating system is not started within a preset time.
According to some embodiments, the data reading unit 903 is further configured to, when the ID of the processor matches the ID of the first memory, determine whether the processor and the second memory are bound, and if not, obtain initial user data when the user data is not obtained;
the operating system is started based on the operating system data and the initial user data.
According to some embodiments, the booting apparatus 900 of the terminal further includes an information prompting unit 906, configured to issue a prompting message after booting the operating system based on the operating system data and the initial user data, where the prompting message includes information for booting the operating system based on the operating system data and the initial user data.
According to some embodiments, the system booting unit 904 is further configured to boot the operating system based on the operating system data and the initial user data after determining whether the processor and the second memory are bound when the ID of the processor and the ID of the first memory match.
The embodiment of the application provides a starting device of a terminal, which comprises a terminal electrifying unit, wherein when the terminal is electrified, the terminal electrifying unit acquires an ID of a processor and an ID of a first memory, a binding judging unit can judge whether the processor is bound with a second memory when the ID of the processor is matched with the ID of the first memory, a data reading unit can read operating system data in the first memory and user data in the second memory when the processor is not bound with the second memory, and a system starting unit can start an operating system based on the operating system data and the user data. Therefore, under the condition that the second memory of the starting device of the terminal is not bound with the processor, when the terminal is powered on, the starting device of the terminal can directly acquire the stored user data without acquiring the user data through an external device or a server, so that the starting operation of the starting device of the terminal is reduced, and the use effect of a user can be improved.
Please refer to fig. 10, which is a schematic structural diagram of a terminal according to an embodiment of the present application. As shown in fig. 10, the terminal 1000 can include: at least one processor 1001, at least one network interface 1004, a user interface 1003, memory 1005, at least one communication bus 1002.
Wherein a communication bus 1002 is used to enable connective communication between these components.
The user interface 1003 may include a Display screen (Display) and a GPS, and the optional user interface may also include a standard wired interface and a wireless interface.
The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), among others.
Processor 1001 may include one or more processing cores, among other things. Processor 1001 interfaces various components throughout terminal 1000 using various interfaces and lines to perform various functions and process data of terminal 1000 by executing or executing instructions, programs, code sets, or instruction sets stored in memory 1005 and invoking data stored in memory 1005. Alternatively, the processor 1001 may be implemented in at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 1001 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the display screen; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 1001, but may be implemented by a single chip.
The Memory 1005 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 1005 includes a non-transitory computer-readable medium. The memory 1005 may be used to store an instruction, a program, code, a set of codes, or a set of instructions. The memory 1005 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described above, and the like; the storage data area may store data and the like referred to in the above respective method embodiments. The memory 1005 may optionally be at least one memory device located remotely from the processor 1001. As shown in fig. 10, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and an application program for the start-up of the terminal.
In the terminal 1000 shown in fig. 10, the user interface 1003 is mainly used as an interface for providing input for a user, and acquiring data input by the user; and the processor 1001 may be configured to call an application program of the start-up method of the terminal stored in the memory 1005, and specifically perform the following operations:
when the terminal is powered on, acquiring the ID of the processor and the ID of the first memory; the first memory is used for storing operating system data;
when the ID of the processor is matched with the ID of the first memory, judging whether the processor and the second memory are bound; wherein the second memory is used for storing user data;
if not, reading the operating system data in the first memory and reading the user data in the second memory;
the operating system is started based on the operating system data and the user data.
According to some embodiments, before the processor 1001 is configured to obtain the ID of the processor and the ID of the first memory when the terminal is powered on, the following steps are further specifically performed:
when the terminal is powered on for the first time after leaving the factory, a binding setting interface is displayed through a display unit; the binding setting interface is used for prompting a user whether to bind the processor and the second memory;
and when detecting an unbound instruction sent by the user, displaying an unbound prompt message on the bound setting interface.
According to some embodiments, the processor 1001 is configured to, when the terminal is powered on for the first time after leaving a factory, display a binding setting interface through the display unit, and specifically configured to perform the following steps:
when a binding instruction sent by a user is detected, displaying a binding prompt message on a binding setting interface, wherein the binding prompt message is used for prompting that the binding process is an un-unbinding process;
and when the confirmation information aiming at the binding prompt message is received, the processor and the second memory are bound.
According to some embodiments, the processor 1001 is further specifically configured to perform the following steps:
and when the operating system is not started within the preset time, the ID of the processor and the ID of the first memory are acquired again.
According to some embodiments, the processor 1001 is configured to determine whether the processor and the second memory are bound when the ID of the processor matches the ID of the first memory, and is further specifically configured to perform the following steps:
if not, acquiring initial user data when the user data is not acquired;
the operating system is started based on the operating system data and the initial user data.
According to some embodiments, after the processor 1001 is configured to execute booting the operating system based on the operating system data and the initial user data, it is further specifically configured to execute the following steps:
and sending prompt information, wherein the prompt information comprises information for starting the operating system based on the operating system data and the initial user data.
According to some embodiments, the processor 1001 is configured to determine whether the processor and the second memory are bound when the ID of the processor matches the ID of the first memory, and is further specifically configured to perform the following steps:
if so, the operating system is started based on the operating system data and the initial user data.
The embodiment of the application provides a terminal, and when the terminal is powered on, the terminal can acquire an ID of a processor and an ID of a first memory, and when the ID of the processor is matched with the ID of the first memory, whether the processor is bound with a second memory is judged, and if not, the terminal can read operating system data in the first memory and user data in the second memory, and start an operating system based on the operating system data and the user data. Therefore, under the condition that the second memory of the terminal and the processor are not bound, when the terminal is powered on, the terminal can directly acquire the stored user data without acquiring the user data through an external device or a server, the starting operation of the terminal is reduced, and the using effect of a user can be improved.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the above-described method. The computer-readable storage medium may include, but is not limited to, any type of disk including floppy disks, optical disks, DVD, CD-ROMs, microdrive, and magneto-optical disks, ROMs, RAMs, EPROMs, EEPROMs, DRAMs, VRAMs, flash memory devices, magnetic or optical cards, nanosystems (including molecular memory ICs), or any type of media or device suitable for storing instructions and/or data.
Embodiments of the present application also provide a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform part or all of the steps of the method for starting up a terminal as described in any of the above method embodiments.
It is clear to a person skilled in the art that the solution of the present application can be implemented by means of software and/or hardware. The "unit" and "module" in this specification refer to software and/or hardware that can perform a specific function independently or in cooperation with other components, where the hardware may be, for example, a Field-ProgrammaBLE Gate Array (FPGA), an Integrated Circuit (IC), or the like.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some service interfaces, devices or units, and may be an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented as a software functional unit and sold or used as a stand-alone product, may be stored in a computer accessible memory. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned memory comprises: various media capable of storing program codes, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by a program, which is stored in a computer-readable memory, and the memory may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The above description is only an exemplary embodiment of the present disclosure, and the scope of the present disclosure should not be limited thereby. That is, all equivalent changes and modifications made in accordance with the teachings of the present disclosure are intended to be included within the scope of the present disclosure. Embodiments of the present disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the disclosure herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (10)

1. A method for starting a terminal, comprising:
when the terminal is powered on, acquiring the ID of the processor and the ID of the first memory; wherein the first memory is used for storing operating system data;
when the ID of the processor is matched with the ID of the first memory, judging whether the processor and the second memory are bound; wherein the second memory is used for storing user data;
if not, reading the operating system data in the first memory and reading the user data in the second memory;
an operating system is launched based on the operating system data and the user data.
2. A method for starting a terminal according to claim 1, wherein said obtaining the ID of the processor and the ID of the first memory before the terminal is powered on further comprises:
when the terminal is powered on for the first time after leaving the factory, a binding setting interface is displayed through a display unit; the binding setting interface is used for prompting a user whether to bind the processor and the second memory;
and when detecting an unbound instruction sent by the user, displaying an unbound prompt message on the bound setting interface.
3. The method for starting the terminal according to claim 2, wherein when the terminal is powered on for the first time after leaving a factory, after the binding setting interface is displayed by the display unit, the method further comprises:
when a binding instruction sent by the user is detected, displaying a binding prompt message on the binding setting interface, wherein the binding prompt message is used for prompting that the binding process is an un-unbinding process;
and when receiving the confirmation information aiming at the binding prompt message, binding the processor and the second memory.
4. A method for starting a terminal according to claim 1, characterized in that the method further comprises:
and when the operating system is not started within the preset time, the ID of the processor and the ID of the first memory are obtained again.
5. The method for starting a terminal according to claim 1, wherein after determining whether the processor and the second memory are bound when the ID of the processor and the ID of the first memory match, further comprising:
if not, acquiring initial user data when the user data is not acquired;
starting the operating system based on the operating system data and initial user data.
6. A method for booting a terminal as claimed in claim 5, characterized in that after booting the operating system based on the operating system data and initial user data, it further comprises:
and sending prompt information, wherein the prompt information comprises information for starting the operating system based on the operating system data and the initial user data.
7. The method for starting a terminal according to claim 1, wherein after determining whether the processor and the second memory are bound when the ID of the processor and the ID of the first memory match, further comprising:
if so, starting the operating system based on the operating system data and the initial user data.
8. An apparatus for activating a terminal, comprising:
the terminal power-on unit is used for acquiring the ID of the processor and the ID of the first memory when the terminal is powered on; wherein the first memory is used for storing operating system data;
a binding judgment unit for judging whether the processor and the second memory are bound when the ID of the processor and the ID of the first memory match; wherein the second memory is used for storing user data;
the data reading unit is used for reading the operating system data in the first memory and the user data in the second memory if the first memory is not the second memory;
and the system starting unit is used for starting the operating system based on the operating system data and the user data.
9. A terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the method of starting a terminal according to any of the preceding claims 1-7 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, is adapted to carry out the method of activating a terminal according to any one of claims 1 to 7.
CN202010323005.3A 2020-04-22 2020-04-22 Terminal starting method and device, terminal and storage medium Pending CN113535243A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010323005.3A CN113535243A (en) 2020-04-22 2020-04-22 Terminal starting method and device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010323005.3A CN113535243A (en) 2020-04-22 2020-04-22 Terminal starting method and device, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN113535243A true CN113535243A (en) 2021-10-22

Family

ID=78124098

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010323005.3A Pending CN113535243A (en) 2020-04-22 2020-04-22 Terminal starting method and device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN113535243A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120185685A1 (en) * 2011-01-17 2012-07-19 Alain Volmat Data processing apparatus and computer-readable recording medium
CN103092674A (en) * 2012-12-14 2013-05-08 北京伸得纬科技有限公司 Virtual machine system
CN106951771A (en) * 2017-03-17 2017-07-14 上海与德科技有限公司 A kind of mobile terminal application method of Android operation system
CN110780930A (en) * 2019-09-23 2020-02-11 广州视源电子科技股份有限公司 Method and device for starting Android system, electronic equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120185685A1 (en) * 2011-01-17 2012-07-19 Alain Volmat Data processing apparatus and computer-readable recording medium
CN103092674A (en) * 2012-12-14 2013-05-08 北京伸得纬科技有限公司 Virtual machine system
CN106951771A (en) * 2017-03-17 2017-07-14 上海与德科技有限公司 A kind of mobile terminal application method of Android operation system
CN110780930A (en) * 2019-09-23 2020-02-11 广州视源电子科技股份有限公司 Method and device for starting Android system, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US11985374B2 (en) Method of controlling the sharing of videos and electronic device adapted thereto
US10257416B2 (en) Apparatus and method for setting camera
US20170235435A1 (en) Electronic device and method of application data display therefor
EP3447632B1 (en) Electronic device for displaying application and operating method thereof
US20210357105A1 (en) Method and apparatus for operating functions of electronic device having flexible display
US10200528B2 (en) Method for performing function and electronic device supporting the same
US10732793B2 (en) Apparatus and method for providing information via portion of display
KR102277460B1 (en) Method for sharing a display and electronic device thereof
KR20150054413A (en) Apparatas and method for determining a location of content according to user's eyes data in an electronic device
CN112955856A (en) Electronic device displaying a list of executable applications on a split screen and method of operating the same
US10235945B2 (en) Apparatus and method for controlling display in electronic device having processors
CN107800865B (en) Electronic device and method for displaying time information in low power state
US11144190B2 (en) Electronic device and method for sharing data thereof
US20200201518A1 (en) Method for starting application and electronic device for implementing same
US9757651B2 (en) Electronic device and method of processing user input by electronic device
WO2022161024A1 (en) Upgrade prompt method, terminal device, and computer readable storage medium
CN112114965A (en) Application program running method and device, terminal and storage medium
KR102140294B1 (en) Advertising method of electronic apparatus and electronic apparatus thereof
CN113286349B (en) Personal hot spot connection method, device, terminal and storage medium
CN113535243A (en) Terminal starting method and device, terminal and storage medium
CN115145660A (en) Multimedia playing method, device, storage medium and terminal equipment
CN112291602A (en) Video playing method, electronic equipment and storage medium
CN113950043A (en) Communication method, communication apparatus, storage medium, and terminal
CN112672337B (en) Communication service starting method, device, terminal and storage medium
KR102115263B1 (en) Electronic Device And Method For Processing User Input Of The Same

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20211022

RJ01 Rejection of invention patent application after publication