CN110213360B - Content storage method and terminal equipment thereof - Google Patents

Content storage method and terminal equipment thereof Download PDF

Info

Publication number
CN110213360B
CN110213360B CN201910440769.8A CN201910440769A CN110213360B CN 110213360 B CN110213360 B CN 110213360B CN 201910440769 A CN201910440769 A CN 201910440769A CN 110213360 B CN110213360 B CN 110213360B
Authority
CN
China
Prior art keywords
target content
storage space
cloud storage
address
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910440769.8A
Other languages
Chinese (zh)
Other versions
CN110213360A (en
Inventor
严琪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201910440769.8A priority Critical patent/CN110213360B/en
Publication of CN110213360A publication Critical patent/CN110213360A/en
Application granted granted Critical
Publication of CN110213360B publication Critical patent/CN110213360B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a content storage method and terminal equipment thereof, which are used for solving the problem that shared or collected content in the prior art can be cleaned by a content publisher after a certain period of time and further cannot be opened. The method comprises the following steps: if the preset operation of the user for the original address of the target content is detected, prompting the user whether to store the target content in the cloud storage space; the preset operation comprises at least one of sharing and collecting operation; if a confirmation operation of a user for saving the target content into the cloud storage space is received and the size of the target content is smaller than or equal to a preset numerical value, acquiring the target content based on an original address of the target content; saving the target content to the cloud storage space; and generating an access address of the target content based on the storage address of the target content in the cloud storage space.

Description

Content storage method and terminal equipment thereof
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a content storage method and terminal equipment thereof.
Background
At present, in order to facilitate users to timely collect or share useful information to others, many applications provide functions of sharing and collecting files (including contents such as pictures, articles, videos, and the like).
However, because the capacity of some file contents is often large, such as videos or articles containing a large number of pictures, the content publisher may, for cost reduction, regularly clean up the previously published file contents, which may cause links of the file contents collected or shared by the user to fail to open.
Therefore, a method for storing content is needed to solve the problem that the content after sharing or collection may be cleared by the content publisher after a certain period of time and thus cannot be opened.
Disclosure of Invention
The embodiment of the invention provides a content storage method and terminal equipment thereof, and aims to solve the problem that shared or collected content in the prior art can be cleaned by a content publisher after a certain time period and cannot be opened.
In order to solve the technical problem, the invention is realized as follows: in a first aspect, an embodiment of the present invention provides a content storage method, including:
if the preset operation of the user for the original address of the target content is detected, prompting the user whether to store the target content in the cloud storage space; the preset operation comprises at least one of sharing and collecting operation;
if a confirmation operation of a user for saving the target content into the cloud storage space is received and the size of the target content is smaller than or equal to a preset numerical value, acquiring the target content based on an original address of the target content;
saving the target content to the cloud storage space;
and generating an access address of the target content based on the storage address of the target content in the cloud storage space.
In a second aspect, an embodiment of the present invention provides a terminal device, including:
the prompting unit is used for prompting whether the user agrees to store the target content into the cloud storage space or not if the preset operation of the user for the original address of the target content is detected; the preset operation comprises at least one of sharing and collecting operation;
an obtaining unit, configured to obtain the target content based on an original address of the target content if a confirmation operation that a user stores the target content in the cloud storage space is received and a size of the target content is smaller than or equal to a preset numerical value;
a saving unit, configured to save the target content into the cloud storage space;
and the generating unit is used for generating an access address of the target content based on the storage address of the target content in the cloud storage space.
In a third aspect, an embodiment of the present invention provides a terminal device, including: a memory, a processor 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 of saving content according to the first aspect.
In a fourth aspect, the embodiment of the present invention further provides a readable storage medium, where a computer program is stored on the readable storage medium, and when executed by a processor, the computer program implements the steps of the content saving method according to the first aspect.
In the embodiment of the invention, when the preset operation of the user for the original address of the target content is detected, the user can be prompted whether to store the target content in the cloud storage space, wherein the preset operation comprises at least one of sharing operation and collecting operation; if a confirmation operation of a user for saving the target content into the cloud storage space is received and the size of the target content is smaller than or equal to a preset value, the target content can be obtained based on the original address of the target content; storing the target content into a cloud storage space; and finally, generating an access address of the target content based on the storage address of the target content in the cloud storage space. Therefore, the problem that the sharing link or the collecting link of the target content is invalid and cannot be opened due to the fact that the content publisher deletes the target content from the server is solved.
Drawings
Fig. 1 is a schematic flowchart illustrating an embodiment of a photo classification method according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a photo classification method applied in an actual scene according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a photo classification method applied to an actual scene according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another terminal device according to an embodiment 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.
The technical solutions provided by the embodiments of the present invention are described in detail below with reference to the accompanying drawings.
In order to solve the problem that the shared or collected content may be cleaned by a content publisher after a certain period of time and thus cannot be opened in the prior art, the invention provides a content storage method, and an execution main body of the method can be configured to execute at least one of the user terminals of the method provided by the embodiment of the invention, such as but not limited to a mobile phone, a tablet computer and the like.
For convenience of description, the following description will be made of an embodiment of the method taking as an example that an execution subject of the method is a terminal device capable of executing the method. It is understood that the implementation of the method by the terminal device is only an exemplary illustration, and should not be construed as a limitation of the method.
Specifically, the method for storing content provided by the present invention includes: firstly, if the preset operation of a user for an original address of target content is detected, displaying a prompt box, wherein the prompt box is used for prompting the user whether to store the target content in a cloud storage space; the preset operation comprises at least one of sharing and collecting operation; then, if a confirmation operation of a user for saving the target content into the cloud storage space is received, and the size of the target content is smaller than or equal to a preset numerical value, acquiring the target content based on an original address of the target content; then storing the target content into the cloud storage space; and finally, generating an access address of the target content based on the storage address of the target content in the cloud storage space.
In the embodiment of the invention, when the preset operation of the user for the original address of the target content is detected, the user can be prompted whether to store the target content in the cloud storage space, wherein the preset operation comprises at least one of sharing operation and collecting operation; if a confirmation operation of a user for saving the target content into the cloud storage space is received and the size of the target content is smaller than or equal to a preset value, the target content can be obtained based on the original address of the target content; storing the target content into a cloud storage space; and finally, generating an access address of the target content based on the storage address of the target content in the cloud storage space. Therefore, the problem that the sharing link or the collecting link of the target content is invalid and cannot be opened due to the fact that the content publisher deletes the target content from the server is solved.
In the prior art, links shared or collected by a user often cannot be opened due to failure of the shared or collected links because a content publisher deletes the content corresponding to the shared or collected links from a server after a certain period of time. In this case, if the user wants to acquire the content corresponding to the shared or collected link again, the user needs to acquire the content through another channel, which brings unnecessary trouble to the user.
In order to solve the problem, the embodiment of the present invention may prompt a user whether to store a certain content in a cloud storage space when the user performs a sharing or collection operation on an original address of the content, and when the user agrees to store the content in the cloud storage space and the size of the content is less than or equal to a preset value, obtain the content based on the original address of the content, store the content in the cloud storage space, and finally generate an access address of the content based on a storage address of the content in the cloud storage space. That is to say, the content included in the link that the user wants to collect or share is downloaded and stored in the cloud storage space of the terminal device, so that the problem that the link collected or shared by the user is invalid after a period of time is avoided.
The following describes in detail an implementation process of the method with reference to a schematic flow chart of a specific implementation of the content saving method shown in fig. 1, where the implementation process includes:
step 101, if a preset operation of a user for an original address of target content is detected, prompting the user whether to store the target content in a cloud storage space; the preset operation comprises at least one of sharing and collecting operation;
considering that after a user shares or collects an original address of target content, the original address of the shared or collected target content, for example, target content corresponding to an original URL may be cleared by a content publisher, the target content corresponding to the original URL may be stored in a cloud storage space, where the cloud storage space may be a cloud storage space carried by a terminal device itself, or a cloud storage space of other applications registered by the user, for example, a cloud storage space given by a payment device such as a cloud disk or an application itself.
Optionally, the user is prompted whether to store the target content in the cloud storage space, specifically, whether to store the target content in the cloud storage space may be prompted by displaying a prompt box containing a word "whether to store the target content in the cloud storage space" or by voice broadcasting "whether to store the target content in the cloud storage space" content, and the like.
102, if a confirmation operation of a user for saving target content into a cloud storage space is received and the size of the target content is smaller than or equal to a preset value, acquiring the target content based on an original address of the target content;
when the target content contains some videos or images, the size of the target content may be large, and generally, the size of the cloud storage space is often limited, and in order to save the cloud storage space, the embodiment of the present invention may limit the size of the target content stored in the cloud storage space to a certain extent. For example, a preset numerical value may be set, if the size of the target content is smaller than or equal to the preset numerical value, the target content may be stored in the cloud storage space, and if the size of the target content is larger than the preset numerical value, the user may be prompted in a manner of displaying a prompt box or playing a voice that the size of the target content is too large to be stored in the cloud storage space.
It should be understood that the preset value may be determined according to the size of the remaining storage space in the cloud storage space.
Step 103, storing the target content into a cloud storage space;
specifically, the target content is saved in the cloud storage space, and the target content may be packaged into a file and saved in the cloud storage space, and it should be understood that, in order to improve the security of the target content, after the target content is saved in the cloud storage space, a user cannot directly open the file of the target content in the cloud storage space, and needs to access the target content through the original address of the target content.
And 104, generating an access address of the target content based on the storage address of the target content in the cloud storage space.
It should be understood that the access address of the target content corresponds to the original address of the target content, i.e. if the user clicks the original address of the target content, the access address of the target content can be opened directly.
Optionally, in order to facilitate a user to store a larger target content, the method provided in the embodiment of the present invention further includes:
if the size of the target content is larger than a preset value, a first prompt box can be displayed, and the first prompt box is used for prompting whether the user agrees to upgrade the cloud storage space or not so as to enlarge the storage capacity of the cloud storage space;
if confirmation operation of the user on the upgraded cloud storage space is received, the target content can be stored in the upgraded cloud storage space;
and generating an access address of the target content based on the storage address of the target content in the upgraded cloud storage space.
Whether the user agrees to upgrade the cloud storage space or not can be prompted through voice playing and other prompting modes.
As shown in fig. 2, a schematic diagram of a process of sharing or collecting target content by a user in the content storage method according to the embodiment of the present invention includes:
s21, collecting the target content or sharing the target content to others by the user;
s22, prompting the user whether the target content is to be saved in the cloud disk;
s23, when the user disagrees to store the target content in the cloud disk, only storing the link corresponding to the target content in the cloud disk;
s24, when the user agrees to save the target content in the cloud disk, opening an original Uniform Resource Locator (URL) of the target content;
s25, analyzing and downloading the content shown in the original URL of the target content, including video, picture, character and other contents;
it should be appreciated that some web pages may not allow downloading, i.e., may be encrypted, in which case it may not be possible to parse and download the content shown in the original URL of the target content, which may alert the user that the target content cannot be downloaded.
S26, determining whether the target content can be saved in the cloud disk or not based on the size of the target content;
if the size of the target content is smaller than or equal to the preset value, the target content can be stored in the cloud disk, otherwise, if the size of the target content is larger than the preset value, the user is reminded that the size of the target content is too large and is not suitable for being stored in the cloud disk.
S27, if the size of the target content is smaller than or equal to the preset value, the target content can be packaged into a file and stored into the cloud disk;
s28, generating a new URL based on the storage address of the target content in the cloud disk to point to the storage address of the target content in the cloud disk;
s29, if the size of the target content is larger than the preset threshold value, reminding a user that the space of the cloud disk is insufficient, and whether the target content can be stored in the cloud disk only by upgrading the space of the cloud disk;
s210, if the user agrees to upgrade the cloud disk space, the cloud disk is upgraded, and the storage space of the cloud disk is enlarged;
s211, packaging the target content into a file and storing the file into the upgraded cloud disk;
and S212, generating a new URL based on the storage address of the target content in the upgraded cloud disk to point to the storage address of the target content in the upgraded cloud disk.
Optionally, after saving the target content in the cloud storage space, the step of opening, by the other user, a link to the target content shared or collected by the user includes:
if the opening operation of other users for the original address of the target content is detected, determining whether the target content is stored in the cloud storage space;
if the target content is stored in the cloud storage space, an access address corresponding to the original address of the target content can be accessed;
and recording the access times of the access addresses of other users aiming at the target content through a preset access time counting program.
The preset access frequency counting program can be realized by a counter, the access frequency is 0 in the initial condition, other users access the access address of the target content once through the terminal equipment, and the access frequency is added.
Optionally, in the embodiment of the present invention, a list of links shared or collected by a user may be maintained in the cloud storage space, so that the user can view the shared or collected links from the cloud storage space.
It should be understood that, in order to facilitate a user to check whether other users open the access addresses of the target content shared by the users, in the list of shared or collected links in the cloud storage space, the access times of the access addresses of the other users for the target content may be recorded.
Optionally, after determining whether the target content is saved in the cloud storage space, the method further includes:
if the target content is not stored in the cloud storage space, determining whether the original address of the target content is valid;
and if the original address of the target content is invalid, displaying a second prompt box, wherein the second prompt box is used for prompting that the original address of the target content of the other user is invalid.
The original addresses of the target contents of other users are prompted to be invalid, and the users can be prompted through voice playing and other prompting modes.
Optionally, in order to facilitate the user to clean up the failed links in the shared or favorite link list in time, after prompting that the original addresses of the target contents of other users have failed, the method further includes:
displaying a third prompt box, wherein the third prompt box is used for prompting other users whether to clear the original address of the target content from the sharing or collecting list;
and if the confirmation operation of other users for clearing the original address of the target content from the sharing or collecting list is received, deleting the original address of the target content from the sharing or collecting list.
The method and the device prompt other users whether to clear the original address of the target content from the sharing or favorite list, and can also prompt the users in voice playing and other prompting modes.
As shown in fig. 3, a schematic diagram of a process in which a shared or favorite link in the content saving method provided by the embodiment of the present invention is opened by a user includes:
s31, opening a link for collection or sharing by the user;
s32, determining whether the target content corresponding to the collected or shared link is saved in the cloud disk, that is, determining whether the collected or shared link corresponds to an access address in the cloud disk;
s33, if the collected or shared link is determined to correspond to the access address in the cloud disk, the corresponding access address in the cloud disk can be opened, and the target content corresponding to the access address is loaded;
s34, if it is determined that the collected or shared link does not correspond to the access address in the cloud disk, it can be determined whether the original link, i.e. the original URL, is invalid;
s35, if the original link, i.e. the original URL, is valid, the original URL may be opened and the corresponding target content may be loaded;
s36, if the original URL is invalid, the user may be reminded that the URL is invalid, and the link in the cloud disk list may be in a color-changing state, such as changing from an original black color to a gray color;
s37, prompting the user whether to clear invalid links in the sharing or favorite list by one key;
and S38, if the user agrees to clear the invalid links in the sharing or collecting list by one key, deleting all the invalid links from the sharing or collecting list in the cloud disk.
In the embodiment of the invention, when the preset operation of the user for the original address of the target content is detected, the user can be prompted whether to store the target content in the cloud storage space, wherein the preset operation comprises at least one of sharing operation and collecting operation; if a confirmation operation of a user for saving the target content into the cloud storage space is received and the size of the target content is smaller than or equal to a preset value, the target content can be obtained based on the original address of the target content; storing the target content into a cloud storage space; and finally, generating an access address of the target content based on the storage address of the target content in the cloud storage space. Therefore, the problem that the sharing link or the collecting link of the target content is invalid and cannot be opened due to the fact that the content publisher deletes the target content from the server is solved.
Referring to fig. 4, a schematic structural diagram of a terminal device 400 according to an embodiment of the present invention is shown in fig. 4, and the terminal device includes a prompting unit 401, an obtaining unit 402, a storing unit 403, and a generating unit 402, where:
a prompting unit 401, configured to prompt, if a preset operation of a user for an original address of a target content is detected, whether the user agrees to store the target content in a cloud storage space; the preset operation comprises at least one of sharing and collecting operation;
an obtaining unit 402, configured to, if a confirmation operation that the target content is saved in the cloud storage space by the user is received and the size of the target content is smaller than or equal to a preset value, obtain the target content based on an original address of the target content;
a saving unit 403, configured to save the target content into the cloud storage space;
a generating unit 404, configured to generate an access address of the target content based on a storage address of the target content in the cloud storage space.
Optionally, in an implementation manner, the terminal device further includes:
a first prompting unit 405, configured to prompt the user whether to approve upgrading the cloud storage space to expand the storage capacity of the cloud storage space if the size of the target content is greater than the preset value;
a first saving unit 406, configured to, if a confirmation operation of the user to upgrade the cloud storage space is received, save the target content into the upgraded cloud storage space;
a first generating unit 407, configured to generate an access address of the target content based on a storage address of the target content in the upgraded cloud storage space.
Optionally, in an embodiment, after the saving unit 403 saves the target content into the cloud storage space, the terminal device further includes:
a first determining unit 408, configured to determine whether the target content is saved in the cloud storage space if an opening operation of another user for an original address of the target content is detected;
an accessing unit 409, configured to access an access address corresponding to an original address of the target content if the target content is stored in the cloud storage space;
a recording unit 410, configured to record, through a preset access frequency statistic program, the access frequency of the access address of the other user for the target content.
Optionally, in an embodiment, after the first determining unit 408 determines whether the target content is saved in the cloud storage space, the terminal device further includes:
a second determining unit 411, configured to determine whether an original address of the target content is valid if the target content is not stored in the cloud storage space;
a second prompting unit 412, configured to display a second prompting box if the original address of the target content fails, where the second prompting box is used to prompt that the original address of the target content of the other user has failed.
Optionally, in an embodiment, after the second prompting unit 412 prompts that the original address of the target content of the other user has failed, the terminal device further includes:
a third prompting unit 413, configured to display a third prompting box, where the third prompting box is used to prompt the other user whether to clear an original address of the target content from a sharing or favorite list;
a deleting unit 414, configured to delete the original address of the target content from the sharing or favorite list if a confirmation operation of the other user on removing the original address of the target content from the sharing or favorite list is received.
The terminal device 400 provided in the embodiment of the present invention can implement each process of the method for implementing content storage by the terminal device in the method embodiments of fig. 1 to fig. 3, and for avoiding repetition, details are not described here again.
Figure 5 is a schematic diagram of a hardware configuration of a terminal device 500 implementing various embodiments of the present invention,
the terminal device 500 includes but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and a power supply 511. Those skilled in the art will appreciate that the terminal device configuration shown in fig. 5 does not constitute a limitation of the terminal device, and that the terminal device may include more or fewer components than shown, or combine certain components, or a different arrangement of components. In the embodiment of the present invention, the terminal 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 510 is configured to prompt the user whether to store the target content in the cloud storage space if a preset operation of the user for an original address of the target content is detected; the preset operation comprises at least one of sharing and collecting operation; if a confirmation operation of a user for saving the target content into the cloud storage space is received and the size of the target content is smaller than or equal to a preset numerical value, acquiring the target content based on an original address of the target content; saving the target content to the cloud storage space; and generating an access address of the target content based on the storage address of the target content in the cloud storage space.
In the embodiment of the invention, when the preset operation of the user for the original address of the target content is detected, the user can be prompted whether to store the target content in the cloud storage space, wherein the preset operation comprises at least one of sharing operation and collecting operation; if a confirmation operation of a user for saving the target content into the cloud storage space is received and the size of the target content is smaller than or equal to a preset value, the target content can be obtained based on the original address of the target content; storing the target content into a cloud storage space; and finally, generating an access address of the target content based on the storage address of the target content in the cloud storage space. Therefore, the problem that the sharing link or the collecting link of the target content is invalid and cannot be opened due to the fact that the content publisher deletes the target content from the server is solved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 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 510; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 501 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. In addition, the radio frequency unit 501 can also communicate with a network and other devices through a wireless communication system.
The terminal device provides the user with wireless broadband internet access through the network module 502, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 may also provide audio output related to a specific function performed by the terminal apparatus 500 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
The input unit 504 is used to receive an audio or video signal. The input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 503. The image frames processed by the graphic processor 5041 may be stored in the memory 509 (or other storage medium) or transmitted via the radio frequency unit 501 or the network module 502. The microphone 5042 may receive sounds and may be capable of processing such sounds 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 501 in case of the phone call mode.
The terminal device 500 further comprises at least one sensor 505, such as light sensors, motion sensors and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 5061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 5061 and/or a backlight when the terminal device 500 is moved to the ear. As one of the motion sensors, the 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 terminal device posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 505 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 506 is used to display information input by the user or information provided to the user. The Display unit 506 may include a Display panel 5061, and the Display panel 5061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 507 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal device. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, 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 5071 using a finger, stylus, or any suitable object or attachment). The touch panel 5071 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 510, and receives and executes commands sent by the processor 510. In addition, the touch panel 5071 may be implemented in various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 5071, the user input unit 507 may include other input devices 5072. In particular, other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 5071 may be overlaid on the display panel 5061, and when the touch panel 5071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 510 to determine the type of the touch event, and then the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of the touch event. Although in fig. 5, the touch panel 5071 and the display 5061 are two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 5071 and the display 5061 may be integrated to implement the input and output functions of the terminal device, and is not limited herein.
The interface unit 508 is an interface for connecting an external device to the terminal apparatus 500. 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 508 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal apparatus 500 or may be used to transmit data between the terminal apparatus 500 and the external device.
The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a storage program area and a storage data area, wherein the storage program 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 509 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 510 is a control center of the terminal device, connects various parts of the entire terminal device by using various interfaces and lines, and performs various functions of the terminal device and processes data by running or executing software programs and/or modules stored in the memory 509 and calling data stored in the memory 509, thereby performing overall monitoring of the terminal device. Processor 510 may include one or more processing units; preferably, the processor 510 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 processor 510.
The terminal device 500 may further include a power supply 511 (e.g., a battery) for supplying power to various components, and preferably, the power supply 511 may be logically connected to the processor 510 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the terminal device 500 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides a terminal device, which includes a processor 510, a memory 509, and a computer program that is stored in the memory 509 and can be run on the processor 510, and when the computer program is executed by the processor 510, the processes of the above-mentioned embodiment of the photo classification method are implemented, and the same technical effect can be achieved, 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 photo classification 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 (5)

1. A method for storing content, comprising:
if the preset operation of the user for the original address of the target content is detected, prompting the user whether to store the target content in the cloud storage space; the preset operation comprises a sharing operation, or the preset operation comprises a sharing operation and a collection operation;
if the confirmation operation that the target content is stored in the cloud storage space by the user is received and the size of the target content is smaller than or equal to a preset numerical value, acquiring the target content based on the original address of the target content;
saving the target content to the cloud storage space;
generating an access address of the target content based on a storage address of the target content in the cloud storage space;
if the opening operation of other users for the original address of the target content is detected, determining whether the target content is stored in the cloud storage space;
if the target content is stored in the cloud storage space, accessing an access address corresponding to an original address of the target content;
wherein the method further comprises:
if the size of the target content is larger than the preset numerical value, displaying a first prompt box, wherein the first prompt box is used for prompting whether the user agrees to upgrade the cloud storage space or not so as to enlarge the storage capacity of the cloud storage space;
if the confirmation operation of the user on upgrading the cloud storage space is received, storing the target content into the upgraded cloud storage space;
generating an access address of the target content based on a storage address of the target content in the upgraded cloud storage space;
after accessing an access address corresponding to the original address of the target content, the method further comprises:
recording the access times of the access addresses of the other users aiming at the target content through a preset access time counting program;
after determining whether the target content is saved in the cloud storage space, the method further comprises:
if the target content is not stored in the cloud storage space, determining whether an original address of the target content is valid;
and if the original address of the target content is invalid, displaying a second prompt box, wherein the second prompt box is used for prompting that the original address of the target content of the other users is invalid.
2. The method of claim 1, wherein after prompting the other users that the original address of the target content has expired, the method further comprises:
displaying a third prompt box, wherein the third prompt box is used for prompting whether the other users need to clear the original address of the target content from the sharing or collecting list;
and if the confirmation operation of the other users for clearing the original address of the target content from the sharing or collecting list is received, deleting the original address of the target content from the sharing or collecting list.
3. A terminal device, comprising:
the prompting unit is used for prompting whether the user agrees to store the target content into the cloud storage space or not if the preset operation of the user for the original address of the target content is detected; the preset operation comprises a sharing operation, or the preset operation comprises a sharing operation and a collection operation;
an obtaining unit, configured to obtain the target content based on an original address of the target content if a confirmation operation that a user stores the target content in the cloud storage space is received and a size of the target content is smaller than or equal to a preset numerical value;
a saving unit, configured to save the target content into the cloud storage space;
a generating unit, configured to generate an access address of the target content based on a storage address of the target content in the cloud storage space;
a first determining unit, configured to determine whether the target content is stored in the cloud storage space if an opening operation of another user for an original address of the target content is detected;
the access unit is used for accessing an access address corresponding to an original address of the target content if the target content is stored in the cloud storage space;
wherein, the terminal equipment still includes:
the first prompting unit is used for prompting whether the user agrees to upgrade the cloud storage space or not to enlarge the storage capacity of the cloud storage space if the size of the target content is larger than the preset value;
a first saving unit, configured to, if a confirmation operation of the user to upgrade the cloud storage space is received, save the target content in the upgraded cloud storage space;
a first generating unit, configured to generate an access address of the target content based on a storage address of the target content in the upgraded cloud storage space;
after the saving unit saves the target content in the cloud storage space, the terminal device further includes:
the recording unit is used for recording the access times of the other users aiming at the access addresses of the target content through a preset access time counting program;
after the first determination unit determines whether the target content is saved in the cloud storage space, the terminal device further includes:
a second determining unit, configured to determine whether an original address of the target content is valid if the target content is not stored in the cloud storage space;
and the second prompting unit is used for displaying a second prompting frame if the original address of the target content is invalid, and the second prompting frame is used for prompting that the original address of the target content of the other user is invalid.
4. The terminal device according to claim 3, wherein after the second prompting unit prompts the other users that the original address of the target content has failed, the terminal device further comprises:
a third prompting unit, configured to display a third prompting box, where the third prompting box is used to prompt the other user whether to clear an original address of the target content from a sharing or favorite list;
and the deleting unit is used for deleting the original address of the target content from the sharing or collecting list if the confirmation operation of the other users on the removal of the original address of the target content from the sharing or collecting list is received.
5. A terminal device, comprising: memory, processor and computer program stored on said memory and executable on said processor, said computer program, when executed by said processor, implementing the steps of the preservation method of content according to any one of claims 1 to 2.
CN201910440769.8A 2019-05-24 2019-05-24 Content storage method and terminal equipment thereof Active CN110213360B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910440769.8A CN110213360B (en) 2019-05-24 2019-05-24 Content storage method and terminal equipment thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910440769.8A CN110213360B (en) 2019-05-24 2019-05-24 Content storage method and terminal equipment thereof

Publications (2)

Publication Number Publication Date
CN110213360A CN110213360A (en) 2019-09-06
CN110213360B true CN110213360B (en) 2021-06-15

Family

ID=67788502

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910440769.8A Active CN110213360B (en) 2019-05-24 2019-05-24 Content storage method and terminal equipment thereof

Country Status (1)

Country Link
CN (1) CN110213360B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103577482A (en) * 2012-08-07 2014-02-12 腾讯科技(深圳)有限公司 Web page collecting method and device as well as browser
CN109582888A (en) * 2018-11-30 2019-04-05 上海爱优威软件开发有限公司 Web page bookmark method for sorting and system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929985A (en) * 2012-10-18 2013-02-13 北京奇虎科技有限公司 Method and system for displaying collected webpage
JP2016018218A (en) * 2014-07-04 2016-02-01 キヤノン株式会社 Right to cooperating cloud service and attachment allowability confirmation
CN104615691B (en) * 2015-01-24 2017-12-15 上海彩亿信息技术有限公司 A kind of method of mobile terminal and data storage
CN105069011A (en) * 2015-07-07 2015-11-18 安一恒通(北京)科技有限公司 Webpage favorite management method, device and system
CN107181666A (en) * 2016-03-11 2017-09-19 徐超 A kind of method to set up of social networking application sharing platform access rights

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103577482A (en) * 2012-08-07 2014-02-12 腾讯科技(深圳)有限公司 Web page collecting method and device as well as browser
CN109582888A (en) * 2018-11-30 2019-04-05 上海爱优威软件开发有限公司 Web page bookmark method for sorting and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
小米云空间不足!教你如何释放空间和扩容?;百度经验;《百度经验》;20190410;正文1-3页 *

Also Published As

Publication number Publication date
CN110213360A (en) 2019-09-06

Similar Documents

Publication Publication Date Title
CN107580147B (en) Management method of notification message and mobile terminal
CN108924037B (en) Display method of rich media communication RCS message and mobile terminal
CN111142930A (en) Installation package file packaging method and device, terminal device and storage medium
CN111064654A (en) Message display method and electronic equipment
CN108009031B (en) Application program control method and mobile terminal
CN111597540B (en) Login method of application program, electronic device and readable storage medium
CN108196781B (en) Interface display method and mobile terminal
CN110795310A (en) Information reminding method and electronic equipment
CN111163449B (en) Application sharing method, first electronic device and computer-readable storage medium
CN110022551B (en) Information interaction method and terminal equipment
CN109669656B (en) Information display method and terminal equipment
CN111007980A (en) Information input method and terminal equipment
CN111131607A (en) Information sharing method, electronic equipment and computer readable storage medium
CN111061446A (en) Display method and electronic equipment
CN108093119B (en) Strange incoming call number marking method and mobile terminal
CN107231469B (en) Terminal application management method, terminal and computer readable storage medium
CN111443847B (en) Push message processing method and electronic equipment
CN111290673B (en) Message processing method and electronic equipment
CN111310165B (en) Account switching or registering method and electronic equipment
CN112612552A (en) Application program resource loading method and device, electronic equipment and readable storage medium
CN108319409B (en) Application program control method and mobile terminal
CN108366167B (en) Message reminding method and mobile terminal
CN110213360B (en) Content storage method and terminal equipment thereof
CN110995816B (en) Sharing method and electronic device
CN110795001B (en) Message processing 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
GR01 Patent grant
GR01 Patent grant