CN118057312A - Starting method and device and electronic equipment - Google Patents

Starting method and device and electronic equipment Download PDF

Info

Publication number
CN118057312A
CN118057312A CN202211457289.0A CN202211457289A CN118057312A CN 118057312 A CN118057312 A CN 118057312A CN 202211457289 A CN202211457289 A CN 202211457289A CN 118057312 A CN118057312 A CN 118057312A
Authority
CN
China
Prior art keywords
task
target
time stamp
task list
timestamp
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
CN202211457289.0A
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.)
Beijing Zitiao Network Technology Co Ltd
Original Assignee
Beijing Zitiao Network Technology 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 Beijing Zitiao Network Technology Co Ltd filed Critical Beijing Zitiao Network Technology Co Ltd
Priority to CN202211457289.0A priority Critical patent/CN118057312A/en
Publication of CN118057312A publication Critical patent/CN118057312A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The embodiment of the application discloses a starting method, a starting device and electronic equipment. One embodiment of the method comprises the following steps: in response to detecting the boot operation, acquiring a task list, wherein tasks in the task list are ordered based on the time stamp; modifying the time stamp of each task in the task list into a preset time stamp, wherein the preset time stamp is smaller than the target time stamp; starting a target task, and adding the target task into a task list based on a time stamp corresponding to the target task, wherein the time stamp corresponding to the target task is the target time stamp; presenting the updated task list. The implementation can ensure that the task ordering in the task list is accurate.

Description

Starting method and device and electronic equipment
Technical Field
The embodiment of the disclosure relates to the technical field of computers, in particular to a startup method, a startup device and electronic equipment.
Background
Some current electronic devices (e.g., televisions) tend to castrate RTC (Real Time Clock) modules due to cost issues, which can lead to inaccurate Time stamping after power-on. The ordering of the history open task list after starting is ordered according to the time stamp, and the inaccurate time stamp can cause the inaccurate ordering of the history task list.
Disclosure of Invention
This disclosure is provided in part to introduce concepts in a simplified form that are further described below in the detailed description. This disclosure is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
In a first aspect, an embodiment of the present disclosure provides a startup method, including: in response to detecting the boot operation, acquiring a task list, wherein tasks in the task list are ordered based on the time stamp; modifying the time stamp of each task in the task list into a preset time stamp, wherein the preset time stamp is smaller than the target time stamp; starting a target task, and adding the target task into a task list based on a time stamp corresponding to the target task, wherein the time stamp corresponding to the target task is the target time stamp; presenting the updated task list.
In a second aspect, an embodiment of the present disclosure provides a power-on device, including: the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for responding to the detection of the starting operation and acquiring a task list, wherein the tasks in the task list are ordered based on time stamps; the modifying unit is used for modifying the time stamp of each task in the task list into a preset time stamp, wherein the preset time stamp is smaller than the target time stamp; the adding unit is used for starting the target task and adding the target task into the task list based on the timestamp corresponding to the target task, wherein the timestamp corresponding to the target task is the target timestamp; and the presenting unit is used for presenting the updated task list.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including: one or more processors; and a storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the power-on method as in the first aspect.
In a fourth aspect, embodiments of the present disclosure provide a computer readable medium having stored thereon a computer program which, when executed by a processor, implements the steps of the power-on method according to the first aspect.
The method, the device and the electronic equipment for starting up provided by the embodiment of the disclosure acquire a task list by responding to the detection of starting up operation; then, the time stamp of each task in the task list is modified to be smaller than the preset time stamp of the target time stamp; then, starting a target task, and adding the target task into the task list based on a timestamp corresponding to the target task; finally, the updated task list is presented. The method comprises the steps of modifying the time stamp corresponding to the task in the task list to be smaller than the target time stamp, starting the target task, and adding the target task to the task list, wherein the time stamp corresponding to the target task when the task is not connected is the target time stamp, and the time stamp corresponding to the task in the task list is smaller than the time stamp corresponding to the target task after modification, so that the task ordering in the task list can be ensured to be accurate.
Drawings
The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. The same or similar reference numbers will be used throughout the drawings to refer to the same or like elements. It should be understood that the figures are schematic and that elements and components are not necessarily drawn to scale.
FIG. 1 is a flow chart of one embodiment of a power-on method according to the present disclosure;
FIG. 2 is a flow chart of yet another embodiment of a power-on method according to the present disclosure;
FIG. 3 is a schematic structural view of one embodiment of a power-on device according to the present disclosure;
FIG. 4 is an exemplary system architecture diagram in which various embodiments of the present disclosure may be applied;
Fig. 5 is a schematic diagram of a computer system suitable for use in implementing embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure have been shown in the accompanying drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustration purposes only and are not intended to limit the scope of the present disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order and/or performed in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "including" and variations thereof as used herein are intended to be open-ended, i.e., including, but not limited to. The term "based on" is based at least in part on. The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments. Related definitions of other terms will be given in the description below.
It should be noted that the terms "first," "second," and the like in this disclosure are merely used to distinguish between different devices, modules, or units and are not used to define an order or interdependence of functions performed by the devices, modules, or units.
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be understood as "one or more" unless the context clearly indicates otherwise.
The names of messages or information interacted between the various devices in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
Referring to fig. 1, fig. 1 illustrates a flow 100 of one embodiment of a power-on method according to the present disclosure. The starting-up method comprises the following steps:
Step 101, in response to detecting the power-on operation, a task list is acquired.
In this embodiment, the execution body of the boot method may determine whether a boot operation is detected. If the starting operation is detected, the execution body can acquire a task list. The task list is typically a history task list, i.e., a task list stored by the execution body before the last shutdown.
Here, the task in the task list may be an application program. The tasks in the task list described above are typically ordered based on time stamps. The time stamp here is typically the time stamp at the time of task execution. The time stamp is typically a sequence of characters that uniquely identifies a time of a moment, which may be 20221016153030, for example, representing 2022, 10, 16, 15 minutes, 30 seconds.
As an example, the tasks in the task list may be ordered in the order of time stamps from back to front (from big to small), for example, if the time stamp corresponding to the a application is 20221017000000, the time stamp corresponding to the b application is 20221013000000, and the time stamp corresponding to the c application is 20221011000000, the tasks in the task list are: A-B-C.
As another example, the tasks in the task list may be ordered in the order of time stamps from front to back (from small to large), for example, if the time stamp corresponding to the application a is 20221017000000, the time stamp corresponding to the application b is 20221013000000, and the time stamp corresponding to the application c is 20221011000000, the tasks in the task list are: C-B-A.
Step 102, modifying the time stamp of each task in the task list to be a preset time stamp.
In this embodiment, the execution body may modify the time stamp of each task in the task list to a preset time stamp. Here, the preset TIME stamp is generally smaller than the target TIME stamp, and the target TIME stamp generally indicates the epoch TIME (start TIME) of 1970, 01, 00 minutes, 00 seconds, i.e., UNIX TIME.
Here, if the tasks in the task list are ordered in the order of the time stamps from the big to the small, the modified preset time stamps corresponding to the respective tasks are also generally set in the order of the big to the small. For example, if the tasks in the task list are ordered in the order of the time stamps from big to small: a-B-C, the execution body may set preset time stamps of A, B, C to: 3. 2, 1.
If the tasks in the task list are ordered according to the order of the time stamps from small to large, the modified preset time stamps corresponding to the tasks are also generally set according to the order of the time stamps from small to large. For example, if the tasks in the task list are ordered from small to large in the order of the time stamps: C-B-ase:Sub>A, the execution body may set preset time stamps of C, B, A to: 1.2, 3.
Step 103, starting the target task, and adding the target task into the task list based on the timestamp corresponding to the target task.
In this embodiment, the execution body may start the target task. The target task may be a direct-to-boot application, that is, an application that directly enters after booting, for example, if the user sets the "XX video" application as a direct-to-boot application, the executing body may directly enter the "XX video" application after booting.
Then, the execution body may add the target task to the task list based on a timestamp corresponding to the target task. Here, the executing entity usually detects whether the current network is connected, and if the current network is not connected, the executing entity usually defaults the current TIME to 1970, 01, 00 minutes, 00 seconds (i.e., the epoch TIME of UNIX TIME), that is, sets the timestamp corresponding to the target task as the target timestamp.
Here, since in step 102, the execution body modifies the time stamp of each task in the task list to a preset time stamp, and the preset time stamp corresponding to each task is smaller than the target time stamp. That is, if the tasks in the task list are ordered in the order of the time stamps from big to small: a-B-C, adding the target task to the task list, and updating the task list to be: target application-A-B-C. If the tasks in the task list are ordered according to the sequence from the small to the large of the time stamps, the tasks are as follows: C-B-A, adding the target task to the task list, and updating the task list to be: C-B-A-target application.
Step 104, presenting the updated task list.
In this embodiment, the execution body may present the task list updated in step 103. As an example, the executing body may pop up a page presenting an updated task list for the user to select a historically viewed video or a used application.
In the original task list sequential updating flow, if the tasks in the task list are ordered according to the sequence from big to small according to the time stamp: a-B-C, wherein the timestamp of a is: 20221004000000, timestamp of b is: 20221003000000, timestamp of c is: 20221002000000. after the target application is started, it is usually in an unconnected state, and the current timestamp is set to 19700101000000, that is, the starting time of the target application is set to 19700101000000. At this time, after adding the target application to the task list, the updated task list is: A-B-C-target application, while in practice, the proper ordering of the task list should be: target application-A-B-C. Therefore, when the RTC module is not available, the ordering function of the task list is abnormal in the period of just starting up and not networking, so that the task sequence of the task list is wrong.
The method provided by the embodiment of the present disclosure obtains a task list by responding to the detection of the startup operation; then, the time stamp of each task in the task list is modified to be smaller than the preset time stamp of the target time stamp; then, starting a target task, and adding the target task into the task list based on a timestamp corresponding to the target task; finally, the updated task list is presented. The method comprises the steps of modifying the time stamp corresponding to the task in the task list to be smaller than the target time stamp, starting the target task, and adding the target task to the task list, wherein the time stamp corresponding to the target task when the task is not connected is the target time stamp, and the time stamp corresponding to the task in the task list is smaller than the time stamp corresponding to the target task after modification, so that the task ordering in the task list can be ensured to be accurate.
In some alternative implementations, the execution body may present the updated task list as follows: the execution body may determine whether a task list view operation is detected. As an example, the task list view operation may include, but is not limited to: performing a preset gesture control command (e.g., lifting the left hand), a click operation on an icon for viewing the task list. If a task list viewing operation is detected, the execution body may present the updated task list.
In some alternative implementations, the target task may be a desktop application. Desktop applications may also be referred to as GUI (GRAPHICAL USER INTERFACE ) programs, but differ somewhat from GUI programs. Desktop applications embody GUI programs from GUIs to "desktops", and users simply open the program's interface to allow users to find their desired function in the shortest amount of time while actively bringing users to their work and get the best experience.
With continued reference to FIG. 2, a flow 200 of yet another embodiment of a power-on method is shown. The process 200 of the startup method includes the following steps:
In step 201, in response to detecting the power-on operation, a task list is acquired.
Step 202, modifying the time stamp of each task in the task list to a preset time stamp.
Step 203, starting the target task, and adding the target task into the task list based on the timestamp corresponding to the target task.
In this embodiment, steps 201-203 may be performed in a similar manner to steps 101-103, and will not be described again.
Step 204, it is detected whether networking is currently done.
In this embodiment, the execution subject of the boot method may detect whether networking is currently performed.
If it is detected that networking is currently performed, the executing body may execute step 205.
In step 205, if it is detected that networking is currently performed, the timestamp corresponding to each task in the updated task list is updated to the timestamp before modification.
In this embodiment, if it is detected in step 204 that networking is currently performed, the executing body may update the time stamp corresponding to each task in the updated task list to the time stamp before modification.
As an example, if the task list is: C-B-A, the execution body can modify the timestamp corresponding to C from 1 to 20221011000000, modify the timestamp corresponding to B from 2 to 20221013000000 and modify the timestamp corresponding to A from 3 to 20221017000000.
And step 206, updating the timestamp corresponding to the target task from the target timestamp to the timestamp when the target task is started.
In this embodiment, the execution body may update the timestamp corresponding to the target task from the target timestamp to the timestamp when the target task is started. If the time stamp of the target task is 20221017103000 at the time of starting, the execution body may update the time stamp corresponding to the target task from 19700101000000 to 20221017103000.
Step 207, presenting the updated task list.
In this embodiment, step 207 may be performed in a similar manner to step 104, and will not be described here.
As can be seen from fig. 2, compared with the embodiment corresponding to fig. 1, the process 200 of the startup method in this embodiment represents the steps of, in the case of being currently networked, repairing the time stamp of each task in the task list to the time stamp before modification, and updating the time stamp corresponding to the target task to the time stamp at startup. Therefore, the scheme described in the embodiment can update the time stamps corresponding to all the tasks in the task list to the correct time stamp after networking, so that the accuracy of the time stamp is ensured.
With further reference to fig. 3, as an implementation of the method shown in the foregoing drawings, the present application provides an embodiment of a power-on device, where the embodiment of the device corresponds to the embodiment of the method shown in fig. 1, and the device may be specifically applied to various electronic devices.
As shown in fig. 3, the power-on device 300 of the present embodiment includes: an acquisition unit 301, a modification unit 302, an addition unit 303, and a presentation unit 304. The acquiring unit 301 is configured to acquire a task list in response to detecting a startup operation, where tasks in the task list are ordered based on time stamps; the modifying unit 302 is configured to modify the time stamp of each task in the task list to a preset time stamp, where the preset time stamp is smaller than the target time stamp; the adding unit 303 is configured to start a target task, and add the target task to the task list based on a timestamp corresponding to the target task, where the timestamp corresponding to the target task is the target timestamp; the presenting unit 304 is configured to present the updated task list.
In this embodiment, specific processes of the obtaining unit 301, the modifying unit 302, the adding unit 303, and the presenting unit 304 of the boot device 300 may refer to steps 101, 102, 103, and 104 in the corresponding embodiment of fig. 1.
In some alternative implementations, the power-on device 300 may include: a first updating unit (not shown in the figure). The first updating unit may be configured to update, in response to detecting that networking is currently performed, a timestamp corresponding to each task in the updated task list to a timestamp before modification.
In some alternative implementations, the power-on device 300 may include: a second updating unit (not shown in the figure). The second updating unit may be configured to update, in response to detecting that networking is currently performed, a timestamp corresponding to the target task from the target timestamp to a timestamp when the target task is started.
In some alternative implementations, the presenting unit 304 is further configured to present the updated task list by: in response to detecting the task list viewing operation, an updated task list is presented.
In some alternative implementations, the target task is a desktop application.
With further reference to fig. 4, fig. 4 illustrates an exemplary system architecture 400 to which embodiments of the power-on method of the present disclosure may be applied.
As shown in fig. 4, the system architecture 400 may include terminal devices 4011, 4012, 4013, a network 402, and a server 403. The network 402 serves as a medium for providing communication links between the terminal devices 4011, 4012, 4013 and the server 403. The network 402 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
A user can interact with the server 403 through the network 402 using the terminal devices 4011, 4012, 4013 to send or receive messages or the like, for example, the server 403 can send video information to the terminal devices 4011, 4012, 4013. The terminal devices 1011, 1012, 1013 may have various communication client applications installed thereon, such as a video playback type application, instant messaging software, and the like.
The terminal devices 4011, 4012, 4013 acquire a task list in response to detecting a startup operation; later, the time stamp of each task in the task list can be modified to be smaller than the preset time stamp of the target time stamp; then, a target task can be started, and the target task is added into the task list based on a timestamp corresponding to the target task; finally, the updated task list may be presented.
The terminal devices 4011, 4012, 4013 may be hardware or software. When the terminal devices 4011, 4012, 4013 are hardware, they can be various electronic devices having a display screen and supporting information interaction, including but not limited to televisions, tablet computers, laptop portable computers, etc. When the terminal devices 4011, 4012, 4013 are software, they can be installed in the electronic devices listed above. Which may be implemented as multiple software or software modules (e.g., multiple software or software modules for providing distributed services) or as a single software or software module. The present invention is not particularly limited herein.
The server 403 may be a server providing various services. For example, a background server providing video information to the terminal devices 4011, 4012, 4013 may be used.
The server 403 may be hardware or software. When the server 403 is hardware, it may be implemented as a distributed server cluster formed by a plurality of servers, or may be implemented as a single server. When server 403 is software, it may be implemented as a plurality of software or software modules (e.g., to provide distributed services), or as a single software or software module. The present invention is not particularly limited herein.
It should be further noted that, in the power-on method provided in the embodiment of the disclosure, the power-on device is generally disposed in the server 403.
It should be understood that the number of terminal devices, networks and servers in fig. 4 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to fig. 5, a schematic diagram of a configuration of an electronic device (e.g., the terminal device of fig. 4) 500 suitable for use in implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), an in-vehicle terminal (e.g., an in-vehicle navigation terminal), and the like, and a fixed terminal such as a digital TV, and the like. The electronic device shown in fig. 5 is merely an example and should not impose any limitations on the functionality and scope of use of embodiments of the present disclosure.
As shown in fig. 5, the electronic device 500 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 501, which may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 502 or a program loaded from a storage means 508 into a Random Access Memory (RAM) 503. In the RAM503, various programs and data required for the operation of the electronic apparatus 500 are also stored. The processing device 501, the ROM 502, and the RAM503 are connected to each other via a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
In general, the following devices may be connected to the I/O interface 505: input devices 506 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 507 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; and communication means 509. The communication means 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. While fig. 5 shows an electronic device 500 having various means, it is to be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead. Each block shown in fig. 5 may represent one device or a plurality of devices as needed.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 509, or from the storage means 508, or from the ROM 502. The above-described functions defined in the methods of the embodiments of the present disclosure are performed when the computer program is executed by the processing device 501. It should be noted that, the computer readable medium according to the embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In an embodiment of the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. Whereas in embodiments of the present disclosure, the computer-readable signal medium may comprise a data signal propagated in baseband or as part of a carrier wave, with computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: in response to detecting the boot operation, acquiring a task list, wherein tasks in the task list are ordered based on the time stamp; modifying the time stamp of each task in the task list into a preset time stamp, wherein the preset time stamp is smaller than the target time stamp; starting a target task, and adding the target task into a task list based on a time stamp corresponding to the target task, wherein the time stamp corresponding to the target task is the target time stamp; presenting the updated task list.
Computer program code for carrying out operations of embodiments of the present disclosure may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
According to one or more embodiments of the present disclosure, there is provided a power-on method including: in response to detecting the boot operation, acquiring a task list, wherein tasks in the task list are ordered based on the time stamp; modifying the time stamp of each task in the task list into a preset time stamp, wherein the preset time stamp is smaller than the target time stamp; starting a target task, and adding the target task into a task list based on a time stamp corresponding to the target task, wherein the time stamp corresponding to the target task is the target time stamp; presenting the updated task list.
According to one or more embodiments of the present disclosure, after adding the target task to the task list based on the timestamp corresponding to the target task, the method further comprises: in response to detecting that networking is currently performed, the timestamps corresponding to the tasks in the updated task list are updated to the timestamps before modification.
According to one or more embodiments of the present disclosure, after adding the target task to the task list based on the timestamp corresponding to the target task, the method further comprises: and in response to detecting that the network is currently connected, updating the timestamp corresponding to the target task from the target timestamp to the timestamp when the target task is started.
In accordance with one or more embodiments of the present disclosure, presenting an updated task list includes: in response to detecting the task list viewing operation, an updated task list is presented.
According to one or more embodiments of the present disclosure, the target task is a desktop application.
According to one or more embodiments of the present disclosure, there is provided a power-on apparatus, including: the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for responding to the detection of the starting operation and acquiring a task list, wherein the tasks in the task list are ordered based on time stamps; the modifying unit is used for modifying the time stamp of each task in the task list into a preset time stamp, wherein the preset time stamp is smaller than the target time stamp; the adding unit is used for starting the target task and adding the target task into the task list based on the timestamp corresponding to the target task, wherein the timestamp corresponding to the target task is the target timestamp; and the presenting unit is used for presenting the updated task list.
According to one or more embodiments of the present disclosure, the apparatus further comprises: and the first updating unit is used for updating the time stamp corresponding to each task in the updated task list to the time stamp before modification in response to detecting that the network is currently connected.
According to one or more embodiments of the present disclosure, the apparatus further comprises: and the second updating unit is used for updating the timestamp corresponding to the target task from the target timestamp to the timestamp when the target task is started in response to detecting that the current network is connected.
According to one or more embodiments of the present disclosure, the presenting unit is further configured to present the updated task list by: in response to detecting the task list viewing operation, an updated task list is presented.
According to one or more embodiments of the present disclosure, the target task is a desktop application.
The units involved in the embodiments described in the present disclosure may be implemented by means of software, or may be implemented by means of hardware. The described units may also be provided in a processor, for example, described as: a processor includes an acquisition unit, a modification unit, an addition unit, and a presentation unit. Wherein the names of the units do not constitute a limitation of the unit itself in some cases, e.g. the presentation unit may also be described as "unit presenting an updated task list".
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by those skilled in the art that the scope of the invention in the embodiments of the present disclosure is not limited to the specific combination of the above technical features, but encompasses other technical features formed by any combination of the above technical features or their equivalents without departing from the spirit of the invention. Such as the above-described features, are mutually substituted with (but not limited to) the features having similar functions disclosed in the embodiments of the present disclosure.

Claims (10)

1. A method of powering on, comprising:
responsive to detecting a power-on operation, obtaining a task list, wherein tasks in the task list are ordered based on time stamps;
Modifying the time stamp of each task in the task list to be a preset time stamp, wherein the preset time stamp is smaller than a target time stamp;
starting a target task, and adding the target task into the task list based on a timestamp corresponding to the target task, wherein the timestamp corresponding to the target task is the target timestamp;
Presenting the updated task list.
2. The method of claim 1, wherein after adding the target task to the task list based on the timestamp corresponding to the target task, the method further comprises:
And in response to detecting that networking is currently performed, updating the time stamp corresponding to each task in the updated task list to be the time stamp before modification.
3. The method of claim 1, wherein after adding the target task to the task list based on the timestamp corresponding to the target task, the method further comprises:
and in response to detecting that the network is currently connected, updating the timestamp corresponding to the target task from the target timestamp to the timestamp when the target task is started.
4. A method according to one of claims 1-3, wherein said presenting an updated task list comprises:
In response to detecting the task list viewing operation, an updated task list is presented.
5. A method according to any of claims 1-3, wherein the target task is a desktop application.
6. A power-on device, comprising:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for responding to the detection of the starting operation and acquiring a task list, wherein the tasks in the task list are ordered based on time stamps;
The modifying unit is used for modifying the time stamp of each task in the task list into a preset time stamp, wherein the preset time stamp is smaller than the target time stamp;
The adding unit is used for starting a target task and adding the target task into the task list based on a timestamp corresponding to the target task, wherein the timestamp corresponding to the target task is the target timestamp;
And the presenting unit is used for presenting the updated task list.
7. The apparatus of claim 6, wherein the apparatus further comprises:
And the first updating unit is used for updating the time stamp corresponding to each task in the updated task list to the time stamp before modification in response to detecting that the network is currently connected.
8. The apparatus of claim 6, wherein the apparatus further comprises:
And the second updating unit is used for updating the timestamp corresponding to the target task from the target timestamp to the timestamp when the target task is started in response to detecting that the current network is connected.
9. An electronic device, comprising:
one or more processors;
A storage device having one or more programs stored thereon,
When executed by the one or more processors, causes the one or more processors to implement the method of any of claims 1-5.
10. A computer readable medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to any of claims 1-5.
CN202211457289.0A 2022-11-21 2022-11-21 Starting method and device and electronic equipment Pending CN118057312A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211457289.0A CN118057312A (en) 2022-11-21 2022-11-21 Starting method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211457289.0A CN118057312A (en) 2022-11-21 2022-11-21 Starting method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN118057312A true CN118057312A (en) 2024-05-21

Family

ID=91069342

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211457289.0A Pending CN118057312A (en) 2022-11-21 2022-11-21 Starting method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN118057312A (en)

Similar Documents

Publication Publication Date Title
CN110619100B (en) Method and apparatus for acquiring data
US20220043898A1 (en) Methods and apparatuses for acquiring information
CN111459364B (en) Icon updating method and device and electronic equipment
CN110781432A (en) Page jump method and device, electronic equipment and computer readable storage medium
CN110619096B (en) Method and apparatus for synchronizing data
CN110865846B (en) Application management method, device, terminal, system and storage medium
CN111309416B (en) Information display method, device and equipment of application interface and readable medium
CN111273830A (en) Data display method and device, electronic equipment and computer readable medium
CN109634702B (en) Information prompting method and device, electronic equipment and readable medium
CN111596992B (en) Navigation bar display method and device and electronic equipment
CN112905281A (en) View display method and device, electronic equipment and storage medium
CN110069185B (en) Method and apparatus for co-running hosted applications
CN110619101B (en) Method and apparatus for processing information
CN112422648B (en) Data synchronization method and system
CN111198853A (en) Data processing method and device, electronic equipment and computer readable storage medium
CN118057312A (en) Starting method and device and electronic equipment
CN113407229B (en) Method and device for generating offline scripts
CN111290812B (en) Display method, device, terminal and storage medium of application control
CN113568695A (en) Corner mark processing method and device for boarder application
CN114816609B (en) Method and device for displaying window, electronic equipment and computer readable storage medium
CN114385096B (en) Display control method, device, terminal and storage medium
CN112905167B (en) Application operation method and device and electronic equipment
CN110099122B (en) Method and apparatus for sending network request
CN112468849B (en) Method, apparatus, electronic device and medium for video information transmission
CN109766246B (en) Method and apparatus for monitoring applications

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination