CN110795285A - Backup mark display method and electronic equipment - Google Patents

Backup mark display method and electronic equipment Download PDF

Info

Publication number
CN110795285A
CN110795285A CN201911025813.5A CN201911025813A CN110795285A CN 110795285 A CN110795285 A CN 110795285A CN 201911025813 A CN201911025813 A CN 201911025813A CN 110795285 A CN110795285 A CN 110795285A
Authority
CN
China
Prior art keywords
backup
data file
target data
mark
file
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
CN201911025813.5A
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911025813.5A priority Critical patent/CN110795285A/en
Publication of CN110795285A publication Critical patent/CN110795285A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention discloses a display method of a backup mark and electronic equipment. The method comprises the following steps: when the backup operation aiming at the target data file is detected, reading the identification information of the target data file; if the identification information of the target data file is not stored in the marker file, backing up the target data file, generating a backup mark of the target data file, and writing the identification information and the backup mark of the target data file into the marker file; and displaying the backup mark of the target data file to remind a user whether the data file is backed up or not, so that the situation that the data file is backed up repeatedly or deleted by mistake is reduced.

Description

Backup mark display method and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of terminals, in particular to a display method of a backup mark and electronic equipment.
Background
A user may store a large number of data files within the electronic device including, but not limited to, picture files, video files, audio files, and the like. Because the memory of the electronic device is limited, some data files cannot be stored in the electronic device for a long time, and the data files in the electronic device are inevitably uploaded to other devices for storage or deleted over time. When a user uploads a data file and/or deletes the data file, the data file is too many, and the user is easy to forget which data files are backed up, so that the data file is easy to be backed up repeatedly or deleted by mistake.
Disclosure of Invention
The embodiment of the invention provides a display method of a backup mark and electronic equipment, and aims to solve the problem that a data file is repeatedly backed up or mistakenly deleted in the prior art.
In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, a method for displaying backup marks is provided, the method comprising:
when backup operation aiming at a target data file is detected, reading identification information of the target data file;
if the identification information of the target data file is not stored in the marker file, backing up the target data file, generating a backup mark of the target data file, and writing the identification information and the backup mark of the target data file into the marker file;
and displaying the backup mark of the target data file.
In a second aspect, an electronic device is provided, the electronic device comprising:
the reading module is used for reading the identification information of the target data file when the backup operation aiming at the target data file is detected;
the generating and writing module is used for backing up the target data file if the identification information of the target data file is not stored in the marker file, generating a backup mark of the target data file, and writing the identification information and the backup mark of the target data file into the marker file;
and the first display module is used for displaying the backup marks of the target data files.
In a third aspect, an electronic device is provided, comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the method according to the first aspect.
In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, realizes the steps of the method according to the first aspect.
In the embodiment of the invention, when the backup operation for the target data file is detected, the identification information of the target data file is read, if the identification information of the target data file is not stored in the marker file, the target data file is backed up, the backup mark of the target data file is generated, the identification information and the backup mark of the target data file are written into the marker file, and the backup mark of the target data file is displayed to remind a user whether the data file is backed up or not, so that the occurrence of repeated backup or mistaken deletion of the data file is reduced.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
fig. 1 is a flowchart illustrating a display method of a backup mark according to an embodiment of the present invention;
fig. 2 is one of schematic diagrams of a display method of a backup mark according to an embodiment of the present invention in an actual application scenario;
fig. 3 is a second schematic diagram of a display method of a backup mark according to an embodiment of the present invention in an actual application scenario;
fig. 4 is a third schematic diagram of a display method of a backup mark provided in an embodiment of the present invention in an actual application scenario;
FIG. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. 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 invention.
As shown in fig. 1, an embodiment of the present invention provides a display method of a backup mark, which may be performed by an electronic device, which may be a smartphone, a tablet computer, or the like. In other words, the method may be performed by software or hardware installed in the electronic device, the method comprising the steps of:
s101: when the backup operation aiming at the target data file is detected, the identification information of the target data file is read.
The backup operation of the data file may include: copying the data file at different positions in the electronic equipment; or, the electronic device uploads the data file to other devices (such as a server or an application program); or, the electronic device caches the data file from other devices.
Wherein the target data file has unique identification information.
S102: if the identification information of the target data file is not stored in the marker file, the target data file is backed up, a backup mark of the target data file is generated, and the identification information and the backup mark of the target data file are written into the marker file.
The backup mark can be a mark arbitrarily set according to the requirement of a user, such as an arrow, an exclamation mark and the like; the backup mark may also be a mark corresponding to the backup location, for example, if the backup is performed on the application a, the backup mark may be an application icon of the application a or a name of the application a.
The backup information of the target data file may include a backup time, a backup location, a type of the backup data file, and the like. Of course, the backup information may also include other information, and the embodiments of this specification are not particularly limited.
The markup file may be a cache file (or temporary data file) or a permanently stored file. Additionally, the markup file can be a local markup file.
It should be added that, if the markup file is a cache file, the method for displaying the backup markup provided in the embodiment of the present invention may include: and obtaining backup state information of the target data file, determining whether the target data file is successfully backed up according to the backup state information, and if so, storing the cache file into the permanent storage file.
Before executing S102, the method for displaying the backup mark provided in the embodiment of the present invention may further include: and acquiring the authority for writing the identification information and the backup marks of the data files into the mark files. Specifically, the authority to write the identification information and the backup mark of the data file into the mark file may be obtained once per S102; or, the authority to write the identification information and the backup mark of the data file into the mark file may be always obtained once, and then the authority obtaining is not needed when each writing operation is executed.
It is to be added that, before executing S102, the method for displaying the backup mark provided by the embodiment of the present invention may include determining whether the identification information of the target data file is stored in a mark file.
S103: and displaying the backup mark of the target data file.
This step may be embodied by displaying the backup mark of the target data file according to a preset display mode, wherein,
the preset display mode may include a preset display position, a preset display style, and a preset display timing. Wherein the preset display position may include one of an upper left of the screen, an upper right of the screen, a lower left of the screen, and a lower right of the screen; the preset display style can comprise an icon style, a character style and the like; the preset display opportunity may include when a second operation on the backup mark option in the backup information page is detected; alternatively, upon detecting a first operation on the target data file.
In the embodiment of the invention, when the backup operation for the target data file is detected, the identification information of the target data file is read, if the identification information of the target data file is not stored in the marker file, the target data file is backed up, the backup mark of the target data file is generated, the identification information and the backup mark of the target data file are written into the marker file, and the backup mark of the target data file is displayed to remind a user whether the data file is backed up or not, so that the occurrence of repeated backup or mistaken deletion of the data file is reduced.
As an embodiment, the method for displaying a backup mark provided in the embodiment of the present invention may further include:
and if the identification information of the target data file is stored in the marker file, displaying the prompt information that the target data file is backed up.
The prompt information can be prompt characters, prompt pictures, prompt symbols and the like; alternatively, the hint information may be a backup mark. If the identification information of the target data file is stored in the label file, the backup of the target data file is prompted by displaying prompting characters, prompting pictures or prompting symbols and the like; alternatively, the target data file is prompted to be backed up by displaying a backup mark.
In the embodiment of the invention, if the identification information of the target data file is stored in the marker file, the prompt information is displayed, so that the user is effectively reminded of which data files have been backed up, and can be reminded that the data files are backed up repeatedly when the data files are backed up repeatedly next time, thereby reducing the behavior of mistakenly deleting or repeatedly backing up the data files by the user.
As an embodiment, S103 is specifically implemented as:
receiving a first operation on the target data file, and responding to the first operation on the target data file to display a backup mark of the target data file;
or receiving a second operation on a backup mark option in a backup information page, and responding to the second operation to display the backup mark of the target data file.
The first operation may be a click operation, a press operation, or the like, and the second operation may be a click operation. Of course, the first operation and the second operation may also be other touch operations, and the embodiment of the present invention is not limited in particular.
Of course, the method for displaying the backup mark provided in the embodiment of the present invention further includes receiving other trigger operations, such as a click operation on the target data file, and the like.
The embodiment of the present invention here shows a specific implementation manner of the foregoing S103. Of course, it should be understood that S103 may also be implemented in other ways, and the embodiment of the present invention is not limited thereto.
As an embodiment, after executing S103, the method for displaying the backup mark provided in the embodiment of the present invention may further include:
receiving touch operation on a first control;
and responding to the touch operation, and switching the display triggering operation of the backup mark, wherein the display triggering operation comprises a first operation on the target data file and a second operation on a backup mark option in a backup information page.
The touch operation may include a single-click operation, a double-click operation, and the like.
Illustratively, as shown in fig. 2, the first control may be a flag-like control shown in fig. 2, and the user may click on the control, and when the user clicks on the control, the electronic device receives a click operation on the control, and in response to the click operation on the control, selects to trigger the display of the backup mark through a first operation on the target data file, or selects to trigger the display of the backup mark through a second operation on a backup mark option in the backup information page, and switches between the two display triggering operations.
In the embodiment of the invention, the display triggering operation of the backup mark is switched in response to the touch operation of the first control, the display triggering operation can be switched at will, and the flexibility is higher.
It should be added that when the user's click operation on the detailed information control (as shown in fig. 2) is detected, the backup information of the target data file is presented, and the backup information includes the backup time, the backup location, and the like.
As an embodiment, S102 may be specifically implemented as:
and generating a backup mark corresponding to the backup information of the target data file.
It should be understood that when a backup operation of a user for a target data file is detected, backup information of the target data file is acquired, and a backup mark corresponding to the backup information of the target data file is generated.
If the backup information includes the backup location, the backup mark corresponding to the backup location may be understood as the backup mark that may visually reflect the backup location. If the backup position is in the application a, the backup mark may be an icon of the application a, a name of the application a, or the like; if the backup location is in application B, the backup mark may be an icon of application B, a name of application B, or the like.
For example, assuming that the application scenario is that the target data file B is backed up in the application a, then: when a backup operation of a user in the application a for the target data file B is detected, a backup position of the target data file B (i.e., the application a) is acquired, and a generated backup mark is an icon of the application a (as shown in fig. 2).
For example, assuming that the application scenario is that the target data file B is backed up in the application a and is backed up in the application B, then: when the backup operation of the user in the application B for the target data file B is detected, the backup position of the target data file B (namely the application B) is obtained, and the generated backup mark is an icon of the application B.
The embodiment of the present invention here shows a specific implementation manner of the foregoing S102. Of course, it should be understood that S102 may also be implemented in other ways, and the embodiment of the present invention is not limited thereto.
According to the embodiment of the invention, by generating the backup marks corresponding to the backup information of the target data file, different backup marks can be generated according to different backup information, so that a user is reminded of which backup positions of the target data file have been backed up or the time at which the target data file is backed up, and therefore, the behavior that the user mistakenly deletes or repeatedly backs up the target data file is reduced.
As an embodiment, the backup information of the target data file includes a backup location, and S103 may be specifically implemented as:
acquiring a backup mark corresponding to the backup position of the target data file;
and displaying the backup marks.
Following the above example, assuming that the application scenario is that the target data file B is backed up in the application a, and is backed up in the application B, then: when detecting that a user performs a backup operation on a target data file B in an application B, acquiring a backup position of the target data file B (i.e., the application B), generating an icon of a backup mark of the application B, and displaying the backup mark corresponding to the application a and the backup mark corresponding to the application B at the same time when displaying (as shown in fig. 3).
The embodiment of the present invention here shows a specific implementation manner of the foregoing S103. Of course, it should be understood that S103 may also be implemented in other ways, and the embodiment of the present invention is not limited thereto.
According to the embodiment of the invention, the backup marks corresponding to the backup positions of the target data file are displayed, so that different backup marks generated aiming at different backup positions can be displayed, and the positions where the data file is backed up can be intuitively found.
Before writing the identification information and the backup mark of the target data file into the mark file, the method further comprises: and acquiring the authority for writing the identification information and the backup mark of the target data file into the mark file.
The method of the embodiments of the present invention will be further described with reference to specific embodiments.
Fig. 4 is a flowchart illustrating a display method of a backup mark according to an embodiment of the present invention in an actual application scenario;
specifically, as shown in fig. 4: taking the example that the electronic device uploads the target data file to the upload server:
at 400, a preset display mode is set, and the display mode may include a display style, a display position, and a display timing. The display opportunity comprises displaying when a second operation on a backup mark option in a backup information page is detected; or, displaying when a first operation on the target data file is detected.
At 401, the authority to write the identification information and the backup mark of the data file into the local mark file is obtained.
At 402, when an upload request operation for a data file is detected, identification information of a target data file is read.
At 403, it is determined whether the identification information of the target data file is stored in a local markup file. If yes, go to step 404; if not, go to step 405.
At 404, a prompt that the target data file is backed up is displayed.
At 405, a backup mark of the target data file is generated, and the identification information and the backup mark of the target data file are written into a first local mark file (i.e., a temporary data file).
At 406, uploading record information of the target data file is obtained from the uploading server, and whether the target data file is uploaded successfully is determined according to the uploading record information; if yes, go to step 407; if not, go to step 408.
At 407, the first local markup file (i.e., temporary data file) is saved to a second local markup file (i.e., permanent storage file).
At 408, the first local markup file (i.e., temporary data file) is deleted.
And 409, acquiring and displaying the backup mark of the target data file from the second mark file according to a preset display mode.
In the embodiment of the invention, when the backup operation for the target data file is detected, the identification information of the target data file is read, if the identification information of the target data file is not stored in the marker file, the target data file is backed up, the backup mark of the target data file is generated, the identification information and the backup mark of the target data file are written into the marker file, and the backup mark of the target data file is displayed to remind a user whether the data file is backed up or not, so that the occurrence of repeated backup or mistaken deletion of the data file is reduced.
The display method of the backup mark according to the embodiment of the present invention is described in detail above with reference to fig. 1 to 4. An electronic device according to an embodiment of the present invention will be described in detail below with reference to fig. 5, and fig. 5 is a schematic structural diagram of the electronic device according to the embodiment of the present invention. As shown in fig. 5, the electronic apparatus includes:
a reading module 501, configured to read identification information of a target data file when a backup operation for the target data file is detected;
a generating and writing module 502, configured to backup the target data file if the identification information of the target data file is not stored in a tag file, generate a backup tag of the target data file, and write the identification information and the backup tag of the target data file into the tag file;
a first display module 503, configured to display a backup mark of the target data file.
In one embodiment, the first display module 503 comprises:
a receiving unit, configured to receive a first operation on the target data file or a second operation on a backup mark option in a backup information page;
and the first display unit is used for responding to the first operation or responding to the second operation and displaying the backup mark of the target data file.
In one embodiment, the electronic device further comprises:
a receiving module 504, configured to receive a touch operation on a first control;
and a switching module 505, configured to switch, in response to the touch operation, a display triggering operation of the backup mark, where the display triggering operation includes a first operation on the target data file and a second operation on a backup mark option in a backup information page.
In one embodiment, the generating module 502 includes:
and the generating unit is used for generating a backup mark corresponding to the backup information of the target data file.
In one embodiment, the backup information of the target data file includes a backup location, and the first display module 503 includes:
an obtaining unit, configured to obtain a backup mark corresponding to the backup position of the target data file;
and the second display unit is used for displaying the backup mark.
In one embodiment, the electronic device further comprises:
a second display module 506, configured to display a prompt message that the target data file is backed up if the identification information of the target data file is stored in the tag file.
In one embodiment, the electronic device further comprises:
the obtaining module 507 is configured to obtain a right to write the identification information and the backup mark of the target data file into the mark file.
In the embodiment of the invention, when the backup operation for the target data file is detected, the identification information of the target data file is read, if the identification information of the target data file is not stored in the marker file, the backup information of the target data file comprises a backup position, a backup mark of the target data file is generated, the identification information and the backup mark of the target data file are written into the marker file, and the backup mark of the target data file is displayed to remind a user whether the data file is backed up or not, so that the occurrence of repeated backup or mistaken deletion of the data file is reduced.
The electronic device according to the embodiment of the present invention may refer to the process of the display method of the backup mark corresponding to the embodiment of the present invention, and each unit/module and the other operations and/or functions in the electronic device are respectively for implementing the corresponding process in the display method of the backup mark, and are not described herein again for brevity.
Fig. 6 is a schematic diagram of a hardware structure of an electronic device 600 for implementing various embodiments of the present invention, where the electronic device 600 includes, but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, and a power supply 611. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 6 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 610 is configured to, when a backup operation for a target data file is detected, read identification information of the target data file;
if the identification information of the target data file is not stored in the marker file, backing up the target data file, generating a backup mark of the target data file, and writing the identification information and the backup mark of the target data file into the marker file;
a display unit 606, configured to display the backup mark of the target data file.
In the embodiment of the invention, when the backup operation for the target data file is detected, the identification information of the target data file is read, if the identification information of the target data file is not stored in the marker file, the target data file is backed up, the backup mark of the target data file is generated, the identification information and the backup mark of the target data file are written into the marker file, and the backup mark of the target data file is displayed to remind a user whether the data file is backed up or not, so that the occurrence of repeated backup or mistaken deletion of the data file is reduced.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 601 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 610; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 601 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio frequency unit 601 may also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 602, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 603 may convert audio data received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into an audio signal and output as sound. Also, the audio output unit 603 may also provide audio output related to a specific function performed by the electronic apparatus 600 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 603 includes a speaker, a buzzer, a receiver, and the like.
The input unit 604 is used to receive audio or video signals. The input Unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042, and the Graphics processor 6041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 606. The image frames processed by the graphic processor 6041 may be stored in the memory 609 (or other storage medium) or transmitted via the radio frequency unit 601 or the network module 602. The microphone 6042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 601 in case of the phone call mode.
The electronic device 600 also includes at least one sensor 605, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 6061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 6061 and/or the backlight when the electronic apparatus 600 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 605 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 606 is used to display information input by the user or information provided to the user. The Display unit 606 may include a Display panel 6061, and the Display panel 6061 may be configured by a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 607 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 607 includes a touch panel 6071 and other input devices 6072. Touch panel 6071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 6071 using a finger, stylus, or any suitable object or accessory). The touch panel 6071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 610, receives a command from the processor 610, and executes the command. In addition, the touch panel 6071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 607 may include other input devices 6072 in addition to the touch panel 6071. Specifically, the other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 6071 can be overlaid on the display panel 6061, and when the touch panel 6071 detects a touch operation on or near the touch panel 6071, the touch operation is transmitted to the processor 610 to determine the type of the touch event, and then the processor 610 provides a corresponding visual output on the display panel 6061 according to the type of the touch event. Although the touch panel 6071 and the display panel 6061 are shown in fig. 6 as two separate components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 6071 and the display panel 6061 may be integrated to implement the input and output functions of the electronic device, and this is not limited here.
The interface unit 608 is an interface for connecting an external device to the electronic apparatus 600. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 608 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the electronic device 600 or may be used to transmit data between the electronic device 600 and external devices.
The memory 609 may be used to store software programs as well as various data. The memory 609 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 609 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 610 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 609, and calling data stored in the memory 609, thereby performing overall monitoring of the electronic device. Processor 610 may include one or more processing units; preferably, the processor 610 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 610.
The electronic device 600 may further include a power supply 611 (e.g., a battery) for supplying power to the various components, and preferably, the power supply 611 may be logically connected to the processor 610 via a power management system, such that the power management system may be used to manage charging, discharging, and power consumption.
In addition, the electronic device 600 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 610, a memory 609, and a computer program stored in the memory 609 and capable of running on the processor 610, where the computer program, when executed by the processor 610, implements each process of the above-mentioned display method for backup marks, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned backup mark display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (16)

1. A method for displaying backup marks, comprising:
when backup operation aiming at a target data file is detected, reading identification information of the target data file;
if the identification information of the target data file is not stored in the marker file, backing up the target data file, generating a backup mark of the target data file, and writing the identification information and the backup mark of the target data file into the marker file;
and displaying the backup mark of the target data file.
2. The method of claim 1, further comprising:
and if the identification information of the target data file is stored in the marker file, displaying the prompt information that the target data file is backed up.
3. The method of claim 1, wherein said displaying backup indicia for said target data file comprises:
receiving a first operation on the target data file, and responding to the first operation to display a backup mark of the target data file; or,
and receiving a second operation on a backup mark option in the backup information page, and responding to the second operation to display the backup mark of the target data file.
4. The method of claim 3, wherein after said displaying the backup indicia of the target data file, further comprising:
receiving touch operation on a first control;
and responding to the touch operation, and switching the display triggering operation of the backup mark, wherein the display triggering operation comprises a first operation on the target data file and a second operation on a backup mark option in the backup information page.
5. The method of claim 1, wherein the generating backup indicia for the target data file comprises:
and generating a backup mark corresponding to the backup information of the target data file.
6. The method of claim 5, wherein the backup information for the target data file includes a backup location, and wherein displaying the backup indicia for the target data file comprises:
acquiring a backup mark corresponding to the backup position of the target data file;
and displaying the backup marks.
7. The method of claim 1, wherein before writing the identification information and the backup mark of the target data file into the mark file, further comprising:
and acquiring the authority for writing the identification information and the backup mark of the target data file into the mark file.
8. An electronic device, characterized in that the electronic device comprises:
the reading module is used for reading the identification information of the target data file when the backup operation aiming at the target data file is detected;
the generating and writing module is used for backing up the target data file if the identification information of the target data file is not stored in a marker file, generating a backup mark of the target data file, and writing the identification information and the backup mark of the target data file into the marker file;
and the first display module is used for displaying the backup marks of the target data files.
9. The electronic device of claim 8, further comprising:
and the second display module is used for displaying the prompt information that the target data file is backed up if the identification information of the target data file is stored in the mark file.
10. The electronic device of claim 8, wherein the first display module comprises:
a receiving unit, configured to receive a first operation on the target data file or a second operation on a backup mark option in a backup information page;
and the first display unit is used for responding to the first operation or responding to the second operation and displaying the backup mark of the target data file.
11. The electronic device of claim 10, wherein the electronic device further comprises:
the receiving module is used for receiving touch operation on the first control;
and the switching module is used for responding to touch operation of the first control and switching display trigger operation of the backup mark, wherein the display trigger operation comprises first operation on the target data file and second operation on a backup mark option in a backup information page.
12. The electronic device of claim 8, wherein the generation module comprises:
and the generating unit is used for generating a backup mark corresponding to the backup information of the target data file.
13. The electronic device of claim 12, wherein the backup information of the target data file includes a backup location, the first display module comprising:
an obtaining unit, configured to obtain a backup mark corresponding to the backup position of the target data file;
and the second display unit is used for displaying the backup mark.
14. The electronic device of claim 8, wherein the electronic device further comprises:
and the acquisition module is used for acquiring the authority for writing the identification information and the backup mark of the target data file into the mark file.
15. An electronic device, comprising: memory, processor and computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the method of displaying backup marks according to any one of claims 1 to 7.
16. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, carries out the steps of the method of displaying backup marks according to any one of claims 1 to 7.
CN201911025813.5A 2019-10-25 2019-10-25 Backup mark display method and electronic equipment Pending CN110795285A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911025813.5A CN110795285A (en) 2019-10-25 2019-10-25 Backup mark display method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911025813.5A CN110795285A (en) 2019-10-25 2019-10-25 Backup mark display method and electronic equipment

Publications (1)

Publication Number Publication Date
CN110795285A true CN110795285A (en) 2020-02-14

Family

ID=69441325

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911025813.5A Pending CN110795285A (en) 2019-10-25 2019-10-25 Backup mark display method and electronic equipment

Country Status (1)

Country Link
CN (1) CN110795285A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113448769A (en) * 2020-03-27 2021-09-28 西安诺瓦星云科技股份有限公司 Parameter backup method and device, and parameter recovery method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104156284A (en) * 2014-08-27 2014-11-19 小米科技有限责任公司 File backup method and device
CN106681860A (en) * 2016-12-01 2017-05-17 广东欧珀移动通信有限公司 Data backup method and data backup device
CN106708658A (en) * 2016-11-29 2017-05-24 维沃移动通信有限公司 Data backup method, mobile terminal and storage server
CN107147748A (en) * 2017-07-07 2017-09-08 北京金山安全管理系统技术有限公司 File uploading method and device
CN108833684A (en) * 2018-05-28 2018-11-16 维沃移动通信有限公司 A kind of information cuing method and terminal device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104156284A (en) * 2014-08-27 2014-11-19 小米科技有限责任公司 File backup method and device
CN106708658A (en) * 2016-11-29 2017-05-24 维沃移动通信有限公司 Data backup method, mobile terminal and storage server
CN106681860A (en) * 2016-12-01 2017-05-17 广东欧珀移动通信有限公司 Data backup method and data backup device
CN107147748A (en) * 2017-07-07 2017-09-08 北京金山安全管理系统技术有限公司 File uploading method and device
CN108833684A (en) * 2018-05-28 2018-11-16 维沃移动通信有限公司 A kind of information cuing method and terminal device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113448769A (en) * 2020-03-27 2021-09-28 西安诺瓦星云科技股份有限公司 Parameter backup method and device, and parameter recovery method and device

Similar Documents

Publication Publication Date Title
CN109343759B (en) Screen-turning display control method and terminal
CN108737904B (en) Video data processing method and mobile terminal
CN107943390B (en) Character copying method and mobile terminal
CN107580147B (en) Management method of notification message and mobile terminal
CN110618969B (en) Icon display method and electronic equipment
CN108135033B (en) Bluetooth connection method and mobile terminal
CN109343788B (en) Operation control method of mobile terminal and mobile terminal
CN110308834B (en) Setting method of application icon display mode and terminal
EP4057601B1 (en) Message processing method and electronic device
CN109240577A (en) A kind of screenshotss method and terminal
CN111464428B (en) Audio processing method, server, electronic device, and computer-readable storage medium
CN111124223A (en) Application interface switching method and electronic equipment
CN108055399B (en) Text copying method and mobile terminal
CN111562959A (en) Icon management method and electronic equipment
CN111145582A (en) Information control method and electronic equipment
CN108228357B (en) Memory cleaning method and mobile terminal
CN111061446A (en) Display method and electronic equipment
CN111610909B (en) Screenshot method and device and electronic equipment
CN111190528B (en) Brush display method, electronic equipment and storage medium
CN111130995B (en) Image control method, electronic device, and storage medium
CN110647506B (en) Picture deleting method and terminal equipment
CN109714462B (en) Method for marking telephone number and mobile terminal thereof
CN110213437B (en) Editing method and mobile terminal
CN109902232B (en) Display control method and terminal
CN109857578B (en) Text copying method and electronic equipment

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

Application publication date: 20200214