CN110187952B - Method, device, terminal and storage medium for storing content - Google Patents

Method, device, terminal and storage medium for storing content Download PDF

Info

Publication number
CN110187952B
CN110187952B CN201910476369.2A CN201910476369A CN110187952B CN 110187952 B CN110187952 B CN 110187952B CN 201910476369 A CN201910476369 A CN 201910476369A CN 110187952 B CN110187952 B CN 110187952B
Authority
CN
China
Prior art keywords
page
instruction
content
container
content icon
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
CN201910476369.2A
Other languages
Chinese (zh)
Other versions
CN110187952A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202311203785.8A priority Critical patent/CN117170793A/en
Priority to CN201910476369.2A priority patent/CN110187952B/en
Publication of CN110187952A publication Critical patent/CN110187952A/en
Application granted granted Critical
Publication of CN110187952B publication Critical patent/CN110187952B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The embodiment of the application discloses a method, a device, a terminal and a storage medium for storing contents, which belong to the technical field of computers. Therefore, the target content can be stored in the storage device, and the storage device is displayed when the suspension block is triggered, so that the target content is convenient for a user to view and manage, other contents in the display screen are not shielded, and the efficiency of switching and viewing among a plurality of target contents by the user is improved on the premise of ensuring the display effect.

Description

Method, device, terminal and storage medium for storing content
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a method, a device, a terminal and a storage medium for storing content.
Background
With the development of functions of applications in mobile terminals, mobile terminals are increasingly relying on numerous applications to realize rich functions.
In some technologies, a mobile terminal is capable of running multiple applications simultaneously during the running process. When the user needs to reuse the application program transferred to the background, the user needs to exit the current application program, enter the multi-task interface, and find the application program needed to be used in the multi-task interface, so as to open and view.
Disclosure of Invention
The embodiment of the application provides a method, a device, a terminal and a storage medium for storing content, which can solve the problem. The technical scheme is as follows:
according to an aspect of the present application, there is provided a method of storing content, the method comprising:
a suspension block is displayed in a superposition manner in a first page, a container is displayed when the suspension block is triggered, the first page is a page currently displayed by a terminal, and the container is a virtual container displayed on the upper layer of the first page;
receiving a storage instruction acting on target content;
and storing the target content into the storage device according to the storage instruction.
According to another aspect of the present application, there is provided an apparatus for storing contents, the apparatus comprising:
the suspension block display module is used for displaying suspension blocks in a superposition manner in a first page, and displaying a container when the suspension blocks are triggered, wherein the first page is a page currently displayed by the terminal, and the container is a virtual container displayed on the upper layer of the first page;
the instruction receiving module is used for receiving a storage instruction acting on target content;
and the content storage module is used for storing the target content into the storage device according to the storage instruction.
According to another aspect of the present application, there is provided a terminal comprising a processor and a memory, the memory having stored therein at least one instruction that is loaded and executed by the processor to implement a method of housing content as provided by an implementation of the present application.
According to another aspect of the present application, there is provided a computer readable storage medium having stored therein at least one instruction that is loaded and executed by a processor to implement a method of housing content as provided by an implementation of the present application.
The technical scheme provided by the embodiment of the application has the beneficial effects that:
by displaying the hover block superimposed on the first page, the hover block displays the container when triggered, and when the terminal receives a storage instruction acting on the target content, the target content is stored in the container according to the storage instruction. Therefore, the target content can be stored in the storage device, and the storage device is displayed when the suspension block is triggered, so that the target content is convenient for a user to view and manage, other contents in the display screen are not shielded, and the efficiency of switching and viewing among a plurality of target contents by the user is improved on the premise of ensuring the display effect.
Drawings
In order to more clearly describe the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments of the present application will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person of ordinary skill in the art.
Fig. 1 is a block diagram of a terminal according to an exemplary embodiment of the present application;
FIG. 2 is a flow chart of a method of housing content provided by an exemplary embodiment of the present application;
FIG. 3 is a flow chart of a method for housing content provided by another exemplary embodiment of the present application;
FIG. 4 is a schematic illustration of a process for housing pages provided based on the embodiment shown in FIG. 3;
FIG. 5 is a schematic view of a receptacle provided in accordance with the embodiment of FIG. 3;
FIGS. 6 to 9 are schematic views showing a display manner of the levitation block provided based on the embodiment shown in FIG. 3;
FIG. 10 is a schematic view of a process for housing pages provided based on the embodiment shown in FIG. 3;
fig. 11 is a block diagram showing a structure of an apparatus for storing contents according to an exemplary embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the embodiments of the present application will be described in further detail with reference to the accompanying drawings.
When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with aspects of the application as detailed in the accompanying claims.
In the description of the present application, it should be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In the description of the present application, it should be noted that, unless explicitly specified and limited otherwise, the terms "connected," "connected," and "connected" are to be construed broadly, and may be either fixedly connected, detachably connected, or integrally connected, for example; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium. The specific meaning of the above terms in the present application will be understood in specific cases by those of ordinary skill in the art. Furthermore, in the description of the present application, unless otherwise indicated, "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.
In order that the scheme shown in the embodiment of the present application can be easily understood, several terms appearing in the embodiment of the present application are described below.
First page: and the page currently displayed by the terminal. In one possible implementation, the page currently displayed by the terminal is the user interface of the third party application. In another possible implementation, the page currently displayed by the terminal is a user interface of the system application, or is a page provided by the system.
Alternatively, when the first page is a user interface of a system application, the system application may be at least one of a setup application, a talk application, an information application, a camera application, a calendar application, or a clock application.
Alternatively, when the first page is a system-provided page, the first page may be at least one of a main interface (also called desktop) of an operating system, a system-negative one-screen page, a system search bar interface, and a multi-tasking interface.
And (3) suspending blocks: is a control that is displayed in suspension at the upper layer of the first page. When the floating block is triggered, the receiver is displayed. In one manner of display of the receptacle, the suspension blocks may be part of the receptacle frame, the receptacle may be deployed in an animated pull-out manner, and the animated form may resemble the effect of a drawer pull-out. It should be noted that, a portion of the frame of the container may be a frame of the container, or may be a section of a frame of the container, which is not limited in the embodiment of the present application.
In one possible implementation, the hover mass may be displayed against an edge of the display screen of the terminal. The suspension block is displayed close to one edge of the display screen of the terminal, so that the display screen of the terminal always has the largest display area, and the effect of displaying other contents on the display screen is improved.
In another possible implementation, the suspension blocks are displayed in a semi-transparent form. Because the suspension block is semi-transparent, the content below the suspension block can be partially observed, and the effect of displaying other contents on the display screen is further improved.
The storage device comprises: the method is divided into an unfolding state and a hiding state. When the container is in the unfolded state, the container may be displayed as a rectangular area in the display screen. In the rectangular region, a content icon is stored. When the container is in a hidden state, the terminal can display a suspension block in a superimposed mode on the first page, and the suspension block is used for indicating the existence of the container. In the present application, the meaning of the container is that the container is displayed in an expanded state.
The method for storing content according to the embodiment of the application can be applied to a terminal with a display screen and a function of storing content. The terminal may include at least one of a cell phone, a tablet computer, a laptop computer, smart glasses, a smart watch, a digital camera, an MP4 play terminal, an MP5 play terminal, a learning machine, a point-to-read machine, an electronic book, an electronic dictionary, or a vehicle-mounted terminal.
Referring to fig. 1, fig. 1 is a block diagram of a terminal according to an exemplary embodiment of the present application, and as shown in fig. 1, the terminal 100 includes a processor 120, a memory 140 and a display 160, where at least one instruction is stored in the memory 140, and the instruction is loaded and executed by the processor 120 to implement a method for storing content according to various method embodiments of the present application. The display screen 160 is used for displaying objects such as a first page, a floating block, a container, and the like.
In the present application, the terminal 100 is an electronic device having a display function. When the terminal 100 superimposes and displays the hover block in the first page, the terminal 100 can display a container when the hover block is triggered, the first page being a page currently displayed by the terminal, and a virtual container displayed at an upper layer of the first page when the container is displayed. The terminal 100 receives a storage instruction acting on the target content, and stores the target content in the storage device according to the storage instruction.
Processor 120 may include one or more processing cores. The processor 120 connects various parts within the overall terminal 100 using various interfaces and lines, performs various functions of the terminal 100 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 140, and invoking data stored in the memory 140. Alternatively, the processor 120 may be implemented in hardware in at least one of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic Array, PLA). The processor 120 may integrate one or a combination of several of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), and a modem, etc. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the display screen; the modem is used to handle wireless communications. It will be appreciated that the modem may not be integrated into the processor 120 and may be implemented by a single chip.
The Memory 140 may include a random access Memory (Random Access Memory, RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 140 includes a non-transitory computer readable medium (non-transitory computer-readable storage medium). Memory 140 may be used to store instructions, programs, code sets, or instruction sets. The memory 140 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described below, etc.; the storage data area may store data and the like referred to in the following respective method embodiments.
Referring to fig. 2, fig. 2 is a flowchart of a method for storing content according to an exemplary embodiment of the application. The method of storing contents may be applied to the terminal shown above. In fig. 2, a method of storing content includes:
and 210, displaying a floating block in a superposition manner in a first page, wherein the floating block displays a container when triggered, the first page is a page currently displayed by the terminal, and the container is a virtual container displayed on the upper layer of the first page.
In the embodiment of the application, the terminal can provide the service at the system level. That is, a hover block may be displayed at the top layer of the displayed application of the operating system, and when triggered, the container will be displayed.
In one possible approach, the terminal can provide the activation and deactivation options of the container in a setup application of the system application. When the user enables the container in the setting application, the terminal will superimpose and display the hover block in the first page.
Alternatively, the hover block will reside in an edge of the terminal. In one possible way, when the terminal displays any one of the contents, the hover block will be at the uppermost layer of the displayed contents. In another possible way, the terminal will hide the hover block when in full screen display mode and resume displaying the hover block when the terminal exits full screen display mode.
Step 220, receiving a storage instruction acting on the target content.
In the embodiment of the application, the terminal can receive the storage instruction acting on the target content. It should be noted that the target content is a collection of specified information in the terminal. The target content may be either a page or specified multimedia information, which is not limited by the embodiment of the present application.
In one possible implementation, when the stowage instruction is a touch instruction that the user acts on the touch display screen, the stowage instruction may be an instruction that acts on the target content. For example, the terminal may take at least one of a click command, a drag command, a long press command, or a double click command for the target content as the accommodation command.
In another possible implementation, the storage instruction may be an instruction triggered when the terminal receives the target content. For example, when the target content is a notification message or a reminder, the terminal may take an instruction triggered when the notification message or the reminder is received as the housing instruction.
In another possible implementation, the storage instruction may also be an instruction triggered when the terminal copies the target content. It should be noted that the cut operation may also be regarded as a copy operation. For example, when the terminal copies a text or a picture, the terminal regards an instruction triggered by the copy operation as a storage instruction.
In step 230, the target content is stored in the storage device according to the storage instruction.
In the embodiment of the application, the terminal can store the target content in the storage device. It should be noted that, in one possible implementation, the target content may be a content displayed in the display screen, for example, the target content may be a currently displayed page, or the target content may be multimedia content.
In another possible implementation, the target content may also be a new message that has not yet been displayed in the terminal. For example, the target content may be a new notification message or a reminder message.
In one possible storage manner, the terminal can store the target content in the storage in the form of a content icon. The information stored in the storage device includes information content that can be updated in the target content. When the target content changes due to the received update information, the target content stored in the storage device is correspondingly updated according to the update information. As can be seen from this, the target content stored in the storage is the target content body. The embodiment of the application realizes the effect that a user directly confirms whether the target content is updated from the content icon in the container, thereby determining whether to view the target content, avoiding the fact that the prompting message of the unread target content is mixed in the unread message prompt of the application, and improving the prompting effect of the unread target content.
In summary, in the method for storing content provided in the present embodiment, by displaying the floating block superimposed on the first page, the floating block displays the storage device when triggered, and when the terminal receives the storage command acting on the target content, the target content is stored in the storage device according to the storage command. Therefore, the application can provide the storage method with the storage device, the method displays the floating block in the first page in a superposition way, the storage device is displayed when the floating block is triggered, and the terminal can store the target content into the storage device according to the storage instruction acted on the target content, so that a user can quickly use the target content by triggering the floating block at any interface, and the efficiency of the user to review or use the target content again is improved.
Based on the scheme disclosed in the previous embodiment, the terminal can also perform corresponding storage processing on the target content according to the types of the target content, and for details, please refer to the following embodiments.
Referring to fig. 3, fig. 3 is a flowchart of a method for storing content according to another exemplary embodiment of the present application. The method of storing contents may be applied to the terminal shown in fig. 1 described above. In fig. 3, the method for storing content includes:
in step 310, the hover block is overlaid and displayed in the first page.
In the embodiment of the present application, the execution process of step 310 is the same as the execution process of step 210, and will not be described here again.
After performing the completion step 310, the terminal may perform either step 321 and step 322, step 323 and step 324, or step 325. The terminal may select one of the above-described execution modes, or may select a plurality of the above-described execution modes.
Step 321, receiving a storage instruction acting on the first page.
In the embodiment of the application, the terminal can receive the storage instruction acting on the first page. In one possible implementation, the storage instruction is used to instruct the terminal to store the first page in the storage device.
Step 322, according to the storage instruction, storing the first page in the storage device.
In the embodiment of the application, the terminal can store the first page in the storage device under the instruction of the storage instruction.
Alternatively, the terminal can realize the operation of housing the first page into the housing by performing the steps (a) and (b).
And (a) hiding the first page according to the storage instruction.
In the embodiment of the application, the terminal can hide the first page under the action of the storage instruction.
In one possible implementation manner, the terminal is capable of realizing the effect of hiding the first page according to the storage instruction by executing the step (a 1), the step (a 2) and the step (a 3).
And (a 1) displaying the first page as an animation sliding along the moving direction of the touch control path when the target sliding instruction is received and the touch control path indicated by the target sliding instruction slides to the inner side of the screen.
In the embodiment of the application, when the terminal receives the target sliding instruction and the touch path indicated by the target sliding instruction slides to the inner side of the screen, the terminal can display the first page as an animation sliding along with the moving direction of the touch path.
Referring to fig. 4, fig. 4 is a schematic diagram illustrating a process of storing pages according to the embodiment shown in fig. 3. In fig. 4, when the user presses the left edge of the first page 410 to swipe right, that is, when the generated slide path 411 points to the inside of the screen, the terminal displays an animation in which the first page 410 slides right with the user's finger. Wherein, the right side edge of the display screen is abutted against the display of the suspension block 412, and the suspension block 412 displays the container when being manually triggered.
And (a 2) displaying the container when the stay time of the touch point corresponding to the target sliding instruction in the unit area inside the screen exceeds the preset time.
In the embodiment of the application, when the stay time of the touch point corresponding to the target sliding instruction in the unit area inside the screen exceeds the preset time, the receiver is displayed. It should be noted that, since the target sliding operation is able to trigger the operation of returning to the previous stage from the edge of the screen to the inside of the screen, the present application is able to trigger the display of the container by the stay time.
Alternatively, the unit area may be an area of a unit area defined by the display screen, and the display screen may be divided into several unit areas.
In fig. 4, the duration when the touch point 421 is located in the unit area 422 exceeds the preset duration. For example, when the touch point 421 is located in the unit area 422 for a period of more than 2 seconds, the terminal displays the container 430 in the display screen.
And (a 3) hiding the first page when the current touch position corresponding to the target sliding instruction is positioned in the container.
In the embodiment of the application, the target sliding instruction can continue sliding, and when the current touch position corresponding to the target sliding instruction is positioned in the container, the terminal conceals the first page. The current touch position is other positions than the start touch position and the end touch position in the sliding path corresponding to the target sliding instruction.
And (b) storing the first content icons corresponding to the first page in a storage device.
In the embodiment of the application, the terminal stores the first content icon corresponding to the first page in the storage device. In the interface display effect, a first content icon corresponding to the first page is newly added in the container.
The terminal can store the information included in the first page in the storage device. In one possible manner, the container stores an application start icon corresponding to the first page, a page name of the first page, and summary information.
Optionally, when the first page is a group chat page in the social application, the container will display an application start icon of the social application, a page name of the group chat page, and a number of unread messages. In this scenario, summary information is the number of unread messages in the group chat.
Alternatively, when the first page is a file transfer assistant in a social application, the container will display an application launch icon for the social application, a typeface of the name "file transfer assistant" and the type of file recently received. For example, the file type may be one of text, picture, audio, or video.
Alternatively, when the first page is an information detail page, an application start icon of an information application, a sender name of transmitting the information, and a type name of a short message will be displayed in the container. Optionally, the type name of the short message may be one of a payment short message, a public welfare short message, a verification code short message and a common short message.
In one possible implementation, the terminal can achieve the effect of storing the first content icon corresponding to the first page in the receiver by performing the steps (b 1) and (b 2).
And (b 1) storing the first content icon in the storage device when the ending touch position corresponding to the target sliding instruction is located in the storage device.
In the embodiment of the application, the sliding path corresponding to the target sliding instruction has an end touch position, and when the end touch position is located in the storage device, the terminal stores the first content icon in the storage device.
And (b 2) hiding the container and recovering to display the suspension block.
In the embodiment of the application, when the terminal confirms that the end touch position corresponding to the target sliding instruction is located in the container, that is, the terminal confirms that the target sliding instruction is completed, the terminal conceals the container and resumes displaying the suspension block when the finger of the user leaves the touch screen.
In step 323, a copy instruction is received for the multimedia content.
In the embodiment of the application, the terminal can receive the instruction acting on the multimedia content. In one possible implementation, the terminal can detect whether the terminal receives a copy instruction for the multimedia content through an entity such as a system service, a system application, or a system process.
In one possible implementation, the copying instruction for the multimedia content is not limited to text content copied by an input method application, pictures, audio and video content copied by a system function, and the like.
In step 324, when a copy instruction of the multimedia content is received, the multimedia content is stored in the storage device.
In the embodiment of the application, when the terminal receives the copying instruction acting on the multimedia content, the terminal can store the copied multimedia content in the storage device.
In another possible implementation, the terminal can add a storage button to the menu that pops up after long presses. When the user presses the multimedia content for a long time, the terminal pops up a menu including a storage button, a copy button, a full selection button, a paste button, a translation button, a collection button, a share button, and the like. When the user clicks the storage button, the terminal stores the selected multimedia content in the storage.
Step 325, when the notification message is received, the notification message is stored in the storage.
In the embodiment of the application, the terminal can also monitor whether the notification message is received. When the terminal receives the notification message, the terminal stores the instruction for the notification message in the storage device.
It should be noted that, in one possible implementation, the notification message is a message received by the third party application from the cloud.
In another possible approach, the notification message is a message received by the system application from the cloud.
In another possible manner, the system application may also display the message in the terminal according to a preset specified time when the message is notified. For example, the notification message may be an alarm alert message, a to-do alert message, or the like.
Alternatively, the notification message may be displayed through a pop-up window, a resident notification bar, or a bar at the top of the terminal. Meanwhile, when the notification message is an unread message, the terminal receives the notification message into the receiver.
In the embodiment of the present application, after the terminal performs the completion of step 322, step 324 or step 326, the terminal may perform step 331 and subsequent steps, or the terminal may perform step 333, step 334, step 335 and step 336.
Step 331, when the suspension block is triggered by the trigger instruction, the container is displayed.
In one possible implementation, the container displays a first content icon.
In one possible implementation manner, the container includes a first content icon and a second content icon, where the second content icon is a content icon corresponding to a second page, and the first page and the second page belong to different applications, or the first page and the second page are different pages in the same application.
Referring to fig. 5, fig. 5 is a schematic view of a container according to the embodiment shown in fig. 3. In the container 510, there are a first content icon 511, a second content icon 512, a second content icon 513, and a second content icon 514.
In the container 510, the first content icon 511 is an icon corresponding to one group chat in the social application a, the second content icon 512 is a content icon corresponding to a file transfer assistant in the social application a, the second content icon 513 is a content icon corresponding to a detail page of information transmitted by the B carrier in the information application, and the second content icon 514 is a content icon corresponding to a search homepage in the browser application C.
Correspondingly, when the container is hidden, the terminal can display the suspension block on the display screen. Referring to fig. 6, fig. 6 is a schematic diagram illustrating a display manner of a suspension block according to the embodiment shown in fig. 3. In fig. 6, the suspension 600 is shown at the upper edge of the display screen.
Referring to fig. 7, fig. 7 is a schematic diagram illustrating another display mode of the suspension block according to the embodiment shown in fig. 3. In fig. 7, the suspension 600 is shown at the underside edge of the display screen.
Referring to fig. 8, fig. 8 is a schematic diagram illustrating another display mode of the suspension block according to the embodiment shown in fig. 3. In fig. 8, the suspension 600 is shown at the underside edge of the display screen.
Referring to fig. 9, fig. 9 is a schematic diagram illustrating another display mode of the suspension block according to the embodiment shown in fig. 3. In fig. 9, the suspension 600 is shown at the underside edge of the display screen.
Step 332, when the first content icon is triggered, displaying the first page.
In the embodiment of the application, the terminal can display the first page when the first content icon is triggered. Therefore, the method and the device can enable the first page to be displayed quickly when the terminal displays any page at present. In the hierarchy of system operation, steps required when target content is viewed are reduced, and efficiency of switching among multiple pages in the same application is improved.
In addition, in the embodiment of the present application, the corresponding target content is viewed through the icon in the container. The present application also provides a way to preview the target content, please refer to the content executed in steps 333 to 335 for details.
Step 333, a trigger command is received that acts on the suspension block.
In the embodiment of the application, the terminal can receive the trigger instruction acting on the suspension block. In one possible manner, the trigger instruction may be at least one of a click instruction, a drag instruction, a long press instruction, or a double click instruction. When the user makes a corresponding operation on the hover block, for example, clicks on the hover block, the touch screen is activated to generate a trigger instruction for the hover block.
Step 334, according to the trigger instruction, the container is controlled to be unfolded and the content icons in the container are displayed.
In the embodiment of the application, the terminal can control the storage device to be unfolded and display the content icons in the storage device according to the trigger instruction. Alternatively, the terminal can display the container through an animation effect including, but not limited to, a drawer pull-out effect, a folding fan opening effect, and a reel unwinding effect.
And step 335, when the content icon is under the action of the long-press instruction, displaying a preview of the target content corresponding to the content icon.
In one possible implementation, when the content icon in the container is acted on by the long press instruction, a preview of the target content corresponding to the content icon will be displayed in the display screen. It should be noted that the preview may be a static page or a dynamically changing page. If the target content is a dynamically changing page, the preview may be a page displaying the dynamic change.
In another possible implementation manner, when the content icon is under the action of the long-press instruction, the original user interface is displayed in the first display area, and the preview of the target content corresponding to the content icon is displayed in the second display area.
And step 336, hiding the preview of the target content corresponding to the content icon when the long press instruction stops acting on the content icon.
In one possible implementation, when the long press instruction stops acting on the content icon, the terminal will hide the preview of the target content corresponding to the content icon.
In one scenario that can be implemented by the present application, please refer to fig. 10, fig. 10 is a schematic diagram illustrating a process of storing a page provided based on the embodiment shown in fig. 3. In fig. 10, a levitation block 1010 is shown. The user presses the left edge of the group chat page 1020 in the social application a and drags to the inside of the screen to the right and hovers at a position inside the screen for more than 2 seconds, at which point the container 1030 appears at the right edge of the screen. When the touch position of the finger of the user is located in the container 1030, the terminal hides the group chat page 1020, and displays a content icon 1040 corresponding to the group chat page 1020 in the container 1030, where the content icon 1040 may be an application start icon of the social application a to which the group chat page 1020 belongs. At this time, when the user releases his/her finger, the receiver 1030 will be hidden, and the levitation block 1010 will reappear in its original position.
In summary, in this embodiment, when the target content is the first page, the notification message, the prompt or the multimedia content, the content icon corresponding to the target content is stored in the storage device in different scenes, so that when the user wants to use the target content, the user can directly acquire the target content through the storage device, and the efficiency of acquiring and using the target content is improved.
According to the method for storing the content, provided by the embodiment, the target content can be previewed by the user in the scene which is not opened through the preview function provided by the storage device, so that the efficiency of viewing the target content by the user is improved.
According to the method for storing the content, the preview image of the target content corresponding to the content icon and the originally displayed user interface can be displayed in a split screen mode, so that a user can view the target content and the current user interface at the same time, and the efficiency of the user for operating the current user interface by utilizing the target content is improved.
The following are examples of the apparatus of the present application that may be used to perform the method embodiments of the present application. For details not disclosed in the embodiments of the apparatus of the present application, please refer to the embodiments of the method of the present application.
Referring to fig. 11, fig. 11 is a block diagram showing a structure of an apparatus for storing contents according to an exemplary embodiment of the present application. The device for storing contents may be realized as a whole or a part of the terminal by software, hardware, or a combination of both. The device comprises: a hover block display module 1110, an instruction receiving module 1120, and a content receiving module 1130.
The floating block display module 1110 is configured to display a floating block in a first page, where the first page is a page currently displayed by a terminal and the container is a virtual container displayed on an upper layer of the first page when the floating block is triggered;
an instruction receiving module 1120, configured to receive a storage instruction acting on the target content;
and a content storage module 1130 for storing the target content in the storage device according to the storage instruction.
In an alternative embodiment, the storage instruction involved in the apparatus is an instruction for a first page, and the content storage module 1130 is configured to store the first page in the storage device according to the storage instruction.
In an alternative embodiment, the content housing module 1130 is configured to hide the first page according to the housing instruction; and storing the first content icons corresponding to the first page into the storage device.
In an alternative embodiment, the storage instruction is a target sliding instruction, a start touch position of the target sliding instruction is located at an edge of a screen, and the content storage module 1130 is configured to display the first page as an animation that slides along a movement direction of the touch path when the target sliding instruction is received and the touch path indicated by the target sliding instruction slides to an inner side of the screen; displaying the container when the stay time of the target sliding instruction in the unit area inside the screen exceeds a preset time; when the current touch position corresponding to the target sliding instruction is located in the container, hiding the first page, wherein the current touch position is other positions except the initial touch position and the end touch position in a sliding path corresponding to the target sliding instruction.
In an optional embodiment, the content storing module 1130 is configured to store the first content icon in the container when the ending touch position corresponding to the target sliding instruction is located in the container; hiding the container, and recovering to display the suspension block.
In an alternative embodiment, the device further comprises a container display module and a page display module; the container display module is used for displaying the container when the suspension block is triggered by the trigger instruction, and the first content icon is displayed in the container; and the page display module is used for displaying the first page when the first content icon is triggered.
In an optional embodiment, the container stores an application start icon corresponding to the first page, a page name of the first page, and summary information.
In an optional embodiment, the container includes the first content icon and the second content icon, where the second content icon is a content icon corresponding to a second page, and the first page and the second page belong to different applications, or the first page and the second page are different pages in the same application.
In an optional embodiment, the apparatus further comprises a trigger instruction receiving module, an unfolding module, a preview module and a hiding module; the trigger instruction receiving module is used for receiving a trigger instruction acting on the suspension block; the unfolding module is used for controlling the container to unfold and display the content icons in the container according to the trigger instruction; the preview module is used for displaying a preview image of target content corresponding to the content icon when the content icon is under the action of the long-press instruction; and the hiding module is used for hiding the preview image of the target content corresponding to the content icon when the long-press instruction stops acting on the content icon.
In an optional embodiment, the display screen of the terminal includes a first display area and a second display area, and the preview module is configured to display an original user interface in the first display area and display a preview of the content icon in the second display area when the content icon is under the action of the long press instruction.
In an alternative embodiment, the content housing module 1130 is configured to house the multimedia content in the receptacle when the housing instruction is an instruction for multimedia content and a copy instruction of the multimedia content is received.
In an alternative embodiment, the content housing module 1130 is configured to house the notification message in the receptacle when the housing instruction is an instruction for the notification message and the notification message is received.
Embodiments of the present application also provide a computer readable medium storing at least one instruction that is loaded and executed by the processor to implement the method of storing content as described in the above embodiments.
It should be noted that: in the method for storing content provided in the above embodiment, only the division of the above functional modules is used for illustration, and in practical application, the above functional allocation may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the device for storing content provided in the above embodiment and the method embodiment for storing content belong to the same concept, and the specific implementation process is detailed in the method embodiment, which is not repeated here.
The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above embodiments are merely exemplary embodiments of the present application and are not intended to limit the present application, and any modifications, equivalent substitutions, improvements, etc. that fall within the spirit and principles of the present application should be included in the scope of the present application.

Claims (8)

1. A method of storing content, the method comprising:
a suspension block is displayed in a superposition manner in a first page, a container is displayed when the suspension block is triggered, the first page is a page currently displayed by a terminal, and the container is a virtual container displayed on the upper layer of the first page;
receiving a storage instruction acting on the first page;
hiding the first page according to the storage instruction;
the method comprises the steps that a first content icon corresponding to a first page is stored in a storage device, the storage device further comprises a second content icon, the second content icon is a content icon corresponding to a second page, the first page and the second page belong to different applications, or the first page and the second page are different pages in the same application, and the storage device comprises an application starting icon corresponding to the page, a page name and abstract information of the page;
receiving a trigger instruction acting on the suspension block;
according to the triggering instruction, controlling the container to be unfolded and displaying the content icons in the container;
when the content icon is under the action of the long-press instruction, displaying a preview image of a page corresponding to the content icon;
when the long-press instruction stops acting on the content icon, hiding a preview of a page corresponding to the content icon;
and when the content icon is triggered, displaying a page corresponding to the content icon.
2. The method of claim 1, wherein the take in instruction is a target swipe instruction, a start touch location of the target swipe instruction is located at an edge of a screen, and hiding the first page according to the take in instruction comprises:
when the target sliding instruction is received and the touch control path indicated by the target sliding instruction slides to the inner side of the screen, displaying the first page as an animation sliding along with the moving direction of the touch control path;
displaying the container when the stay time of the target sliding instruction in the unit area inside the screen exceeds a preset time;
when the current touch position corresponding to the target sliding instruction is located in the container, hiding the first page, wherein the current touch position is other positions except the initial touch position and the end touch position in a sliding path corresponding to the target sliding instruction.
3. The method of claim 2, wherein the housing the first content icon corresponding to the first page in the housing comprises:
when the ending touch position corresponding to the target sliding instruction is located in the container, the first content icon is contained in the container;
hiding the container, and recovering to display the suspension block.
4. The method according to claim 1, wherein the display screen of the terminal includes a first display area and a second display area, and the displaying the preview of the page corresponding to the content icon when the content icon is under the long press instruction includes:
and when the content icons are under the action of the long-press instruction, displaying an original user interface in the first display area, and displaying a preview of a page corresponding to the content icons in the second display area.
5. The method according to claim 1, wherein the method further comprises:
when the storage instruction is an instruction acting on multimedia content, storing the multimedia content in the storage device;
or alternatively, the first and second heat exchangers may be,
and storing the notification message in the storage device when the storage instruction is an instruction acting on the notification message.
6. An apparatus for receiving content, the apparatus comprising:
the suspension block display module is used for displaying suspension blocks in a superposition manner in a first page, and displaying a container when the suspension blocks are triggered, wherein the first page is a page currently displayed by the terminal, and the container is a virtual container displayed on the upper layer of the first page;
the instruction receiving module is used for receiving a storage instruction acting on the first page;
the content storage module is used for hiding the first page according to the storage instruction;
the method comprises the steps that a first content icon corresponding to a first page is stored in a storage device, the storage device further comprises a second content icon, the second content icon is a content icon corresponding to a second page, the first page and the second page belong to different applications, or the first page and the second page are different pages in the same application, and the storage device comprises an application starting icon corresponding to the page, a page name and abstract information of the page;
the trigger instruction receiving module is used for receiving a trigger instruction acting on the suspension block;
the display module is used for controlling the container to be unfolded and displaying the content icons in the container according to the trigger instruction;
the preview module is used for displaying a preview image of a page corresponding to the content icon when the content icon is under the action of the long-press instruction;
the hiding module is used for hiding a preview image of a page corresponding to the content icon when the long-press instruction stops acting on the content icon;
and the page display module is used for displaying a page corresponding to the content icon when the content icon is triggered.
7. A terminal comprising a processor, and a memory coupled to the processor, and program instructions stored on the memory, which when executed by the processor, implement the steps of the method of housing content according to any one of claims 1 to 5.
8. A computer readable storage medium having stored therein program instructions, which when executed by a processor, carry out the steps of the method of storing content according to any one of claims 1 to 5.
CN201910476369.2A 2019-06-03 2019-06-03 Method, device, terminal and storage medium for storing content Active CN110187952B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202311203785.8A CN117170793A (en) 2019-06-03 2019-06-03 Method, device, terminal and storage medium for storing content
CN201910476369.2A CN110187952B (en) 2019-06-03 2019-06-03 Method, device, terminal and storage medium for storing content

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910476369.2A CN110187952B (en) 2019-06-03 2019-06-03 Method, device, terminal and storage medium for storing content

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202311203785.8A Division CN117170793A (en) 2019-06-03 2019-06-03 Method, device, terminal and storage medium for storing content

Publications (2)

Publication Number Publication Date
CN110187952A CN110187952A (en) 2019-08-30
CN110187952B true CN110187952B (en) 2023-10-10

Family

ID=67719961

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201910476369.2A Active CN110187952B (en) 2019-06-03 2019-06-03 Method, device, terminal and storage medium for storing content
CN202311203785.8A Pending CN117170793A (en) 2019-06-03 2019-06-03 Method, device, terminal and storage medium for storing content

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202311203785.8A Pending CN117170793A (en) 2019-06-03 2019-06-03 Method, device, terminal and storage medium for storing content

Country Status (1)

Country Link
CN (2) CN110187952B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110569474A (en) * 2019-09-12 2019-12-13 上海掌门科技有限公司 Information display method and device
CN111913643A (en) * 2020-07-15 2020-11-10 青岛海信移动通信技术股份有限公司 Terminal and interface processing method
CN113093956A (en) * 2021-03-12 2021-07-09 深圳市晨北科技有限公司 Control method and device of intelligent equipment, terminal and storage medium
CN113434070A (en) * 2021-06-24 2021-09-24 杭州华橙软件技术有限公司 Multimedia information playing method and device, storage medium and electronic device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106775427A (en) * 2017-01-18 2017-05-31 百度在线网络技术(北京)有限公司 Method and apparatus for collecting the page
CN106909268A (en) * 2015-12-23 2017-06-30 北京奇虎科技有限公司 A kind of method and device that APP suspended windows are set on equipment desktop
CN107092707A (en) * 2017-05-31 2017-08-25 北京安云世纪科技有限公司 A kind of methods of exhibiting and device for collecting the application program page
CN107657045A (en) * 2017-09-30 2018-02-02 努比亚技术有限公司 Information collection method, mobile terminal and computer-readable recording medium
CN108776568A (en) * 2018-06-07 2018-11-09 腾讯科技(深圳)有限公司 Display methods, device, terminal and the storage medium of Webpage
CN109154946A (en) * 2017-02-27 2019-01-04 华为技术有限公司 A kind of method and terminal of display collection object
US10275086B1 (en) * 2011-08-05 2019-04-30 P4tents1, LLC Gesture-equipped touch screen system, method, and computer program product

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6034689A (en) * 1996-06-03 2000-03-07 Webtv Networks, Inc. Web browser allowing navigation between hypertext objects using remote control
US9448694B2 (en) * 2012-11-09 2016-09-20 Intel Corporation Graphical user interface for navigating applications
US9910563B2 (en) * 2016-01-29 2018-03-06 Visual Supply Company Contextually changing omni-directional navigation mechanism

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10275086B1 (en) * 2011-08-05 2019-04-30 P4tents1, LLC Gesture-equipped touch screen system, method, and computer program product
CN106909268A (en) * 2015-12-23 2017-06-30 北京奇虎科技有限公司 A kind of method and device that APP suspended windows are set on equipment desktop
CN106775427A (en) * 2017-01-18 2017-05-31 百度在线网络技术(北京)有限公司 Method and apparatus for collecting the page
CN109154946A (en) * 2017-02-27 2019-01-04 华为技术有限公司 A kind of method and terminal of display collection object
CN107092707A (en) * 2017-05-31 2017-08-25 北京安云世纪科技有限公司 A kind of methods of exhibiting and device for collecting the application program page
CN107657045A (en) * 2017-09-30 2018-02-02 努比亚技术有限公司 Information collection method, mobile terminal and computer-readable recording medium
CN108776568A (en) * 2018-06-07 2018-11-09 腾讯科技(深圳)有限公司 Display methods, device, terminal and the storage medium of Webpage

Also Published As

Publication number Publication date
CN110187952A (en) 2019-08-30
CN117170793A (en) 2023-12-05

Similar Documents

Publication Publication Date Title
US11809700B2 (en) Device, method, and graphical user interface for managing folders with multiple pages
CN110187952B (en) Method, device, terminal and storage medium for storing content
US11537268B2 (en) Electronic device comprising multiple displays and method for operating same
US20230152940A1 (en) Device, method, and graphical user interface for managing folders
KR102606075B1 (en) Electronic device comprising multiple displays and method for controlling thereof
AU2014287943B2 (en) User terminal device for supporting user interaction and methods thereof
JP7138804B2 (en) INTERFACE DISPLAY METHOD AND DEVICE, TERMINAL AND COMPUTER PROGRAM
US20130227413A1 (en) Method and Apparatus for Providing a Contextual User Interface on a Device
US20130155116A1 (en) Method, apparatus and computer program product for providing multiple levels of interaction with a program
KR20130026892A (en) Mobile terminal and method for providing user interface thereof
EP2909707A1 (en) Device, method, and graphical user interface for managing folders with multiple pages
CN108881616B (en) Display control method and device, storage medium and terminal
EP4174627A1 (en) Page display method and apparatus, storage medium, and electronic device
EP4220369A1 (en) Interaction method and apparatus for video call
CN103942094B (en) Method and electronic device for displaying applications
CN111597000A (en) Small window management method and terminal
WO2022156602A1 (en) Display method, display apparatus, and electronic device
CN111324398A (en) Recent content processing method, device, terminal and storage medium
WO2013093201A1 (en) Method, apparatus and computer program product for graphically transitioning between multiple program interface levels of a program
CN111641551A (en) Voice playing method, voice playing device and electronic equipment
WO2023284762A1 (en) Application notification display method and apparatus, and electronic device
CN114968464A (en) Recent content display method, device, terminal and storage medium
CN111209503A (en) Method and device for processing popup in webpage, electronic equipment and storage medium
CN110853643A (en) Method, device, equipment and storage medium for voice recognition in fast application
WO2015000828A1 (en) User interface with scrolling for multimodal communication framework

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