CN111814088A - Page processing method and device - Google Patents
Page processing method and device Download PDFInfo
- Publication number
- CN111814088A CN111814088A CN202010576553.7A CN202010576553A CN111814088A CN 111814088 A CN111814088 A CN 111814088A CN 202010576553 A CN202010576553 A CN 202010576553A CN 111814088 A CN111814088 A CN 111814088A
- Authority
- CN
- China
- Prior art keywords
- page
- historical
- screenshot
- screenshots
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 15
- 238000000034 method Methods 0.000 claims abstract description 50
- 238000012545 processing Methods 0.000 claims description 21
- 238000003860 storage Methods 0.000 claims description 18
- 238000009877 rendering Methods 0.000 claims description 12
- 230000009191 jumping Effects 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 14
- 230000008569 process Effects 0.000 description 14
- 238000004891 communication Methods 0.000 description 10
- 238000004590 computer program Methods 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 6
- 230000009471 action Effects 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 238000007726 management method Methods 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000012217 deletion Methods 0.000 description 2
- 230000037430 deletion Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04842—Selection of displayed objects or displayed text elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Mining & Analysis (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application discloses a page processing method and device. According to the method and the device, under the condition that the user needs to control the electronic equipment to return to a certain historical page, the user can see the page screenshots of all the browsed historical pages, so that the user can intuitively perceive which historical pages are browsed by the user according to the page screenshots, and can select the page screenshots of the historical pages which need to be returned, so that the electronic equipment can return to the historical pages corresponding to the page screenshots selected by the user for browsing. Compared with the prior art, under the condition that a plurality of historical pages exist between the current page and the historical page to be returned by the user, the user does not need to click the return button for many times, and the user can select the page screenshot of the historical page to be returned from the plurality of page screenshots.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to a page processing method and apparatus.
Background
Currently, more and more users use mobile phones to browse pages on a network, and in one scenario, in the process of browsing one page, a user can click one link in the page to enter another page, then in the process of browsing another page, can click one link in another page to enter another page, and so on, so that a plurality of historical pages browsed by the user are generated.
In the process of browsing a page by a user, sometimes the user needs to return to a history page browsed so as to browse the content in the history page.
However, in one approach, the user may click on the return button to cause the handset to switch to display the history page that was last displayed, and then the user may click on the return button again to cause the handset to switch to display a history page that precedes and is adjacent to the history page until the history page that is displayed is the history page that the user needs to return.
The inventor finds that when a plurality of history pages exist between the currently displayed page and the history page to which the user needs to return, the user needs to click the return button for a plurality of times, and the mobile phone needs to execute the page return operation for a plurality of times to return to the history page to which the user wants to return, so that the page return efficiency is low.
Disclosure of Invention
In order to improve the page returning efficiency, the application shows a page processing method and a page processing device.
In a first aspect, the present application shows a page processing method, including:
under the condition of receiving page returning operation, acquiring stored page screenshots of a plurality of historical pages; the plurality of historical pages comprises pages that have been displayed within a historical period of time;
displaying the plurality of page screenshots;
under the condition that a selection operation of a first page screenshot in the multiple page screenshots is received, first page data of a first historical page corresponding to the stored first page screenshot is obtained;
rendering the first page data.
In an optional implementation, the method further includes:
acquiring the first page screenshot of the first history page under the condition that a jump operation for jumping from the first history page to a second history page is received; acquiring the first page data of the first historical page;
and storing the first page screenshot and the first page data.
In an optional implementation manner, the storing the first page screenshot and the first page data includes:
and forming a corresponding table entry by the first page screenshot and the first page data, and storing the corresponding table entry in the corresponding relation between the page screenshot of the historical page and the page data of the historical page.
In an optional implementation manner, the obtaining first page data of a stored first history page corresponding to the first page screenshot includes:
and searching page data corresponding to the first page screenshot in the corresponding relation, and taking the page data as the first page data.
In an optional implementation, the method further includes:
and under the condition that the deleting operation of a third page screenshot in the multiple page screenshots is received, deleting the third page screenshot, and deleting the stored third page data of the historical page corresponding to the third page screenshot.
In an optional implementation manner, the displaying the plurality of page screenshots includes:
acquiring a display sequence among the multiple page screenshots;
and displaying the plurality of page screenshots according to the display sequence.
In an optional implementation manner, the obtaining a display order among the multiple page screenshots includes:
acquiring historical display time of a historical page corresponding to each page screenshot;
determining the sequence of the historical display time from late to early as the display sequence;
in an optional implementation manner, the obtaining a display order among the multiple page screenshots includes:
acquiring the position sequence among the multiple manually specified page screenshots;
determining the position order as the display order.
In an optional implementation, the method further includes:
receiving an adjustment operation of the position sequence among the plurality of page screenshots;
and adjusting the position sequence among the multiple page screenshots according to the adjustment operation.
In a second aspect, the present application shows a page processing apparatus, the apparatus comprising:
the first acquisition module is used for acquiring stored page screenshots of a plurality of historical pages under the condition of receiving page return operation; the plurality of historical pages comprises pages that have been displayed within a historical period of time;
the display module is used for displaying the plurality of page screenshots;
the second obtaining module is used for obtaining stored first page data of a first historical page corresponding to a first page screenshot under the condition that the selection operation of the first page screenshot in the multiple page screenshots is received;
and the rendering module is used for rendering the first page data.
In an optional implementation, the apparatus further comprises:
a third obtaining module, configured to obtain the first page screenshot of the first history page when a skip operation for skipping from the first history page to a second history page is received; acquiring the first page data of the first historical page;
and the storage module is used for storing the first page screenshot and the first page data.
In an alternative implementation, the storage module includes:
and the storage unit is used for forming a corresponding table item by the first page screenshot and the first page data and storing the corresponding table item in the corresponding relation between the page screenshot of the historical page and the page data of the historical page.
In an optional implementation manner, the second obtaining module includes:
and the searching unit is used for searching page data corresponding to the first page screenshot in the corresponding relation and taking the page data as the first page data.
In an optional implementation, the apparatus further comprises:
and the deleting module is used for deleting a third page screenshot in the plurality of page screenshots and deleting stored third page data of the historical page corresponding to the third page screenshot under the condition that the deleting operation of the third page screenshot is received.
In an alternative implementation, the display module includes:
the acquisition unit is used for acquiring the display sequence among the multiple page screenshots;
and the display unit is used for displaying the plurality of page screenshots according to the display sequence.
In an optional implementation manner, the obtaining unit includes:
the first obtaining subunit is used for obtaining the historical display time of the historical page corresponding to each page screenshot;
the first determining subunit is used for determining the sequence of the historical display time from late to early as the display sequence;
in an optional implementation manner, the obtaining unit includes:
the second acquiring subunit is used for acquiring the position sequence among the multiple manually specified page screenshots;
a second determining subunit configured to determine the position order as the display order.
In an optional implementation manner, the obtaining unit further includes:
the receiving subunit is used for receiving the adjustment operation of the position sequence among the multiple page screenshots;
and the adjusting subunit is used for adjusting the position sequence among the multiple page screenshots according to the adjusting operation.
In a third aspect, the present application shows an electronic device comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the page processing method of the first aspect.
In a fourth aspect, the present application illustrates a non-transitory computer-readable storage medium having instructions which, when executed by a processor of an electronic device, enable the electronic device to perform the page processing method of the first aspect.
In a fifth aspect, the present application shows a computer program product, in which instructions, when executed by a processor of an electronic device, enable the electronic device to perform the page processing method according to the first aspect.
The technical scheme provided by the application can comprise the following beneficial effects:
in the method, under the condition that a page returning operation is received, a stored page screenshot of a plurality of historical pages is obtained, wherein the plurality of historical pages comprise pages displayed in a historical time period; displaying a plurality of page screenshots; under the condition that a selection operation of a first page screenshot in a plurality of page screenshots is received, first page data of a first historical page corresponding to the stored first page screenshot is obtained; rendering the first page data.
According to the method and the device, under the condition that the user needs to control the electronic equipment to return to a certain historical page, the user can see the page screenshots of all the browsed historical pages, so that the user can intuitively perceive which historical pages are browsed by the user according to the page screenshots, and can select the page screenshots of the historical pages which need to be returned, so that the electronic equipment can return to the historical pages corresponding to the page screenshots selected by the user for browsing.
Compared with the prior art, under the condition that a plurality of historical pages exist between the current page and the historical page to be returned by the user, the user does not need to click the return button for many times, and the user can select the page screenshot of the historical page to be returned from the plurality of page screenshots.
Drawings
FIG. 1 is a flow chart of the steps of a page processing method of the present application;
FIG. 2 is a flow chart of steps of a method of displaying a screenshot of a page of the present application;
FIG. 3 is a block diagram of a page processing apparatus according to the present application;
FIG. 4 is a block diagram of an electronic device shown in the present application;
fig. 5 is a block diagram of an electronic device shown in the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.
Referring to fig. 1, a flowchart illustrating steps of a page processing method according to the present application is shown, where the method is applied to an electronic device, and the method may specifically include the following steps:
in step S101, in a case where a page return operation is received, a stored page screenshot of a plurality of history pages is obtained, where the plurality of history pages includes pages displayed in a history time period;
the historical time period may include a time period with the current time as an end time, and the duration included in the preset time period may include 1 minute, 5 minutes, 30 minutes, 1 hour, 2 hours, or the like.
In the application, a user has browsed a plurality of pages before browsing a current page by an electronic device, the plurality of pages are history pages, and in the process of browsing the current page by the electronic device, the electronic device may need to be controlled to return to a certain history page browsed before according to actual needs, so that the user can browse contents in the history page.
In the case where the user needs to return to the history page that has been browsed before, the user may input a return operation in the electronic device.
Wherein the returning operation may include: and clicking a return button on the electronic equipment, wherein the clicking operation can comprise a single clicking operation, a double clicking operation, a long pressing operation and the like. The return operation may further include: an operation of inputting a specific gesture on a screen of the electronic apparatus, or an operation of changing the posture of the electronic apparatus to a specific posture, or the like.
In the history process, in the process that a user browses one page displayed on a screen of an electronic device, if a page jump operation for jumping from the one page to another page is input on the electronic device, for example, the user clicks a link in the one page in order to expect the electronic device to jump to another page, so that the user can browse the another page, after the electronic device receives the page jump operation and before the electronic device jumps to the another page, the electronic device may at least acquire a page screenshot of the one page, and then may store the page screenshot of the one page in the electronic device.
In the application, a plurality of history pages are displayed in the electronic device before, and each history page is obtained by jumping from another history page, so that page screenshots of the plurality of displayed history pages are often stored in the electronic device. In this way, when the electronic device receives the page returning operation, the stored page screenshots of the plurality of history pages may be obtained, and then step S102 is executed.
In step S102, a plurality of page screenshots are displayed;
when a plurality of page screenshots are displayed, in one mode, the plurality of page screenshots can be displayed based on a mask layer, for example, the plurality of page screenshots are displayed in an overlapping mode, and the page screenshots displayed on an outer layer cover part of the content of the page screenshots displayed on an inner layer, so that more page screenshots can be displayed on a screen of the electronic equipment, and meanwhile, a user can see each page screenshot simultaneously.
In an embodiment of the application, under the condition that there are many page screenshots, it may be impossible to simultaneously display each page screenshot on a screen of the electronic device, and under such a condition, part of the page screenshots may be displayed, and a user may cause the electronic device to switch to display other page screenshots of the page screenshots on the screen by sliding the screen up and down or sliding the screen left and right.
Further, in another embodiment of the present application, in a case that a page return operation is received, a page screenshot of a current page displayed by the electronic device may also be obtained, and in a case that page screenshots of a plurality of history pages are displayed, a page screenshot of the current page may also be displayed, so that when a user suddenly does not need to return to a history page that the user just needs to return, clicking the page screenshot of the current page may control the electronic device to display the current page again, so that the user continues to browse the current page.
In step S103, in a case where a selection operation for a first page screenshot of the plurality of page screenshots is received, first page data of a first history page corresponding to the stored first page screenshot is acquired;
in the application, a user can search for the page screenshot of the historical page which the user needs to return from the displayed multiple page screenshots, and then select the page screenshot of the historical page which the user needs to return.
In the history process, in the process that a user browses one page displayed on a screen of an electronic device, if a page jump operation for jumping from the one page to another page is input on the electronic device, for example, the user clicks a link in the one page in order to expect the electronic device to jump to another page, thereby enabling the user to browse the another page, after the electronic device receives the page jump operation and before the electronic device jumps to the another page, the electronic device may acquire a page screenshot of the one page, and acquire page data of the one page, and then may store the page screenshot of the one page and the page data of the one page in the electronic device.
For example, in the process that the user browses a first history page displayed on the screen of the electronic device, if a page jump operation for jumping from the first history page to a second history page is input on the electronic device, for example, the user clicks a link in the first history page, in anticipation of a page jump operation of the electronic device from the first history page to the second history page, and thus the user, may browse the second history page, after the electronic device receives the page jump operation and before the electronic device jumps from the first history page to the page jump operation of the second history page, the electronic device may obtain a first page screenshot of the first history page, for example, and acquiring a first page screenshot of the first historical page, and storing the first page screenshot and the first page data.
Wherein, the first page data of the first history page acquired from the cloud before the electronic device displays the first history page is loaded in the memory, so that the first page data can be rendered on the screen to display the first history page,
therefore, when the first page data of the first history page is acquired, the first page data can be acquired from the memory.
When the first page screenshot and the first page data are stored, the first page screenshot and the first page data can be combined into a corresponding table item and stored in a corresponding relation between the page screenshot of the historical page and the page data of the historical page.
In this way, when the stored first page data of the first history page corresponding to the first page screenshot is obtained, the page data corresponding to the first page screenshot can be searched in the corresponding relationship between the page screenshot of the history page and the page data of the history page, and the page data can be used as the first page data.
In step S104, the first page data is rendered.
In an embodiment of the present application, first page data of a first history page corresponding to a stored first page screenshot may be obtained by a popToViewController (control) in a NavigationController (page navigation controller), and the first page data is rendered.
In the application, the first history page can be displayed on a screen of the electronic device by rendering the first page data, so that a user can browse the first history page.
In the application, in order to avoid that the page screenshot affects the user to browse the first history page, in another embodiment of the application, a plurality of page screenshots may be hidden.
In the method, under the condition that a page returning operation is received, a stored page screenshot of a plurality of historical pages is obtained, wherein the plurality of historical pages comprise pages displayed in a historical time period; displaying a plurality of page screenshots; under the condition that a selection operation of a first page screenshot in a plurality of page screenshots is received, first page data of a first historical page corresponding to the stored first page screenshot is obtained; rendering the first page data.
According to the method and the device, under the condition that the user needs to control the electronic equipment to return to a certain historical page, the user can see the page screenshots of all the browsed historical pages, so that the user can intuitively perceive which historical pages are browsed by the user according to the page screenshots, and can select the page screenshots of the historical pages which need to be returned, so that the electronic equipment can return to the historical pages corresponding to the page screenshots selected by the user for browsing.
Compared with the prior art, under the condition that a plurality of historical pages exist between the current page and the historical page to be returned by the user, the user does not need to click the return button for many times, and the user can select the page screenshot of the historical page to be returned from the plurality of page screenshots.
In the application, sometimes, the number of history pages is large, and a user needs to delay a long time for searching the page which the user wants to return in the history pages, so that the page return efficiency is low.
However, some historical pages may not be browsed back again in practice, and thus, the electronic device does not need to store the page screenshots and the page data of the historical pages for the user, and therefore, the page screenshots of the historical pages can be deleted, so that when the historical pages need to be returned back again later, the electronic device does not display the page screenshots of the historical pages any more, the user only needs to search for the page screenshots of the pages which the user needs to return back in fewer page screenshots, and therefore page returning efficiency can be improved, and storage space can be saved.
Secondly, since the user may not actually return to browsing the pages again, the page data of the history pages can also be deleted, thereby saving storage space.
Specifically, when a plurality of page screenshots are displayed, if a user needs to delete one screenshot, the third page screenshot may be a page screenshot of a history page that the user needs to delete when a deletion operation on a third page screenshot in the plurality of page screenshots is input on the electronic device, and the third page screenshot may be deleted and third page data of the history page corresponding to the stored third page screenshot may be deleted when the electronic device receives the deletion operation on the third page screenshot in the plurality of page screenshots, for example, in a correspondence relationship between the page screenshot of the history page and the page data of the history page, a corresponding entry including the third page screenshot and the third page data is deleted.
In this application, in order to facilitate the user to select the page screenshot, so that the electronic device can jump to the history page that the user wants to return more quickly, so as to further improve the page return efficiency, referring to fig. 2, step S102 includes:
in step S201, a display order among a plurality of page screenshots is obtained;
in one embodiment, historical display time of a history page corresponding to each page screenshot can be obtained, wherein the historical display time of the history page comprises the display time of the history page which is displayed last time in a history process by the electronic device; the historical display time can then be determined as the display order from late to early.
Therefore, the user can search the page screenshots of the historical pages needing to be returned from the multiple page screenshots according to the sequence of the historical display time of the corresponding historical page of each page screenshot from late to early, and the user can conveniently search.
In another embodiment, for example, a user usually returns a specific page during browsing the page, so that, for convenience, the user can quickly select a page screenshot corresponding to the specific page each time the user needs to return the specific page, and then the electronic device can quickly jump to the specific page, so as to provide browsing for the user, and improve efficiency of returning to the specific page, the user can specify a position order among multiple page screenshots, for example, control the electronic device to display page screenshots of each historical page, then input an adjustment operation on the position order among the multiple page screenshots on the electronic device, the electronic device receives an adjustment operation on the position order among the multiple page screenshots, then adjusts the position order among the multiple page screenshots according to the adjustment operation, for example, adjust the page of the specific page to a first position according to the user's requirement, and so on, thereby facilitating the user to later locate the particular page.
Thus, in the step, the position sequence among a plurality of manually specified page screenshots can be obtained; the position order may then be determined as the display order.
In step S202, a plurality of page screen shots are displayed in the display order.
In an embodiment of the application, when the plurality of page screenshots are displayed according to the display order, the plurality of page screenshots may be displayed according to the display order based on the mask layer. For example, the interface screenshot sequentially located at the first position may be the outermost layer of the mask layer, the interface screenshot sequentially located at the second position may be the second outermost layer of the mask layer, and so on, and the interface screenshot sequentially located at the last position may be the innermost layer of the mask layer.
The page screenshot displayed on the outer layer covers part of the content of the page screenshot displayed on the inner layer, so that more page screenshots can be displayed on the screen of the electronic equipment, and meanwhile, a user can see all the page screenshots simultaneously.
It is noted that, for simplicity of explanation, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will appreciate that the present application is not limited by the order of acts, as some steps may, in accordance with the present application, occur in other orders and concurrently. Further, those skilled in the art will also appreciate that the embodiments described in the specification are exemplary and that no action is necessarily required in this application.
Referring to fig. 3, a block diagram of a page processing apparatus according to the present application is shown, where the apparatus may specifically include the following modules:
the first obtaining module 11 is configured to obtain stored page screenshots of a plurality of historical pages when a page return operation is received; the plurality of historical pages comprises pages that have been displayed within a historical period of time;
a display module 12, configured to display the multiple page screenshots;
a second obtaining module 13, configured to obtain, when a selection operation on a first page screenshot of the multiple page screenshots is received, first page data of a first history page corresponding to the stored first page screenshot;
a rendering module 14 for rendering the first page data.
In an optional implementation, the apparatus further comprises:
a third obtaining module, configured to obtain the first page screenshot of the first history page when a skip operation for skipping from the first history page to a second history page is received; acquiring the first page data of the first historical page;
and the storage module is used for storing the first page screenshot and the first page data.
In an alternative implementation, the storage module includes:
and the storage unit is used for forming a corresponding table item by the first page screenshot and the first page data and storing the corresponding table item in the corresponding relation between the page screenshot of the historical page and the page data of the historical page.
In an optional implementation manner, the second obtaining module includes:
and the searching unit is used for searching page data corresponding to the first page screenshot in the corresponding relation and taking the page data as the first page data.
In an optional implementation, the apparatus further comprises:
and the deleting module is used for deleting a third page screenshot in the plurality of page screenshots and deleting stored third page data of the historical page corresponding to the third page screenshot under the condition that the deleting operation of the third page screenshot is received.
In an alternative implementation, the display module includes:
the acquisition unit is used for acquiring the display sequence among the multiple page screenshots;
and the display unit is used for displaying the plurality of page screenshots according to the display sequence.
In an optional implementation manner, the obtaining unit includes:
the first obtaining subunit is used for obtaining the historical display time of the historical page corresponding to each page screenshot;
the first determining subunit is used for determining the sequence of the historical display time from late to early as the display sequence;
in an optional implementation manner, the obtaining unit includes:
the second acquiring subunit is used for acquiring the position sequence among the multiple manually specified page screenshots;
a second determining subunit configured to determine the position order as the display order.
In an optional implementation manner, the obtaining unit further includes:
the receiving subunit is used for receiving the adjustment operation of the position sequence among the multiple page screenshots;
and the adjusting subunit is used for adjusting the position sequence among the multiple page screenshots according to the adjusting operation.
In the method, under the condition that a page returning operation is received, a stored page screenshot of a plurality of historical pages is obtained, wherein the plurality of historical pages comprise pages displayed in a historical time period; displaying a plurality of page screenshots; under the condition that a selection operation of a first page screenshot in a plurality of page screenshots is received, first page data of a first historical page corresponding to the stored first page screenshot is obtained; rendering the first page data.
According to the method and the device, under the condition that the user needs to control the electronic equipment to return to a certain historical page, the user can see the page screenshots of all the browsed historical pages, so that the user can intuitively perceive which historical pages are browsed by the user according to the page screenshots, and can select the page screenshots of the historical pages which need to be returned, so that the electronic equipment can return to the historical pages corresponding to the page screenshots selected by the user for browsing.
Compared with the prior art, under the condition that a plurality of historical pages exist between the current page and the historical page to be returned by the user, the user does not need to click the return button for many times, and the user can select the page screenshot of the historical page to be returned from the plurality of page screenshots.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
Fig. 4 is a block diagram of an electronic device 800 shown in the present application. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 4, electronic device 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the electronic device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operation at the device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phonebook data, messages, images, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 806 provides power to the various components of the electronic device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 800.
The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the electronic device 800. For example, the sensor assembly 814 may detect an open/closed state of the device 800, the relative positioning of components, such as a display and keypad of the electronic device 800, the sensor assembly 814 may also detect a change in the position of the electronic device 800 or a component of the electronic device 800, the presence or absence of user contact with the electronic device 800, orientation or acceleration/deceleration of the electronic device 800, and a change in the temperature of the electronic device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 may access a wireless network based on a communication standard, such as WiFi, a carrier network (such as 2G, 3G, 4G, or 5G), or a combination thereof. In an exemplary embodiment, the communication component 816 receives broadcast signals or broadcast operation information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the electronic device 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Fig. 5 is a block diagram of an electronic device 1900 shown in the present application. For example, the electronic device 1900 may be provided as a server.
Referring to fig. 5, electronic device 1900 includes a processing component 1922 further including one or more processors and memory resources, represented by memory 1932, for storing instructions, e.g., applications, executable by processing component 1922. The application programs stored in memory 1932 may include one or more modules that each correspond to a set of instructions. Further, the processing component 1922 is configured to execute instructions to perform the above-described method.
The electronic device 1900 may also include a power component 1926 configured to perform power management of the electronic device 1900, a wired or wireless network interface 1950 configured to connect the electronic device 1900 to a network, and an input/output (I/O) interface 1958. The electronic device 1900 may operate based on an operating system stored in memory 1932, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, apparatus, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal 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 terminal. 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 terminal that comprises the element.
The page processing method and device provided by the present application are introduced in detail, and a specific example is applied in the text to explain the principle and the implementation of the present application, and the description of the above embodiment is only used to help understand the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.
Claims (20)
1. A page processing method, characterized in that the method comprises:
under the condition of receiving page returning operation, acquiring stored page screenshots of a plurality of historical pages; the plurality of historical pages comprises pages that have been displayed within a historical period of time;
displaying the plurality of page screenshots;
under the condition that a selection operation of a first page screenshot in the multiple page screenshots is received, first page data of a first historical page corresponding to the stored first page screenshot is obtained;
rendering the first page data.
2. The method of claim 1, further comprising:
acquiring the first page screenshot of the first history page under the condition that a jump operation for jumping from the first history page to a second history page is received; acquiring the first page data of the first historical page;
and storing the first page screenshot and the first page data.
3. The method of claim 2, wherein storing the first page screenshot and the first page data comprises:
and forming a corresponding table entry by the first page screenshot and the first page data, and storing the corresponding table entry in the corresponding relation between the page screenshot of the historical page and the page data of the historical page.
4. The method of claim 3, wherein obtaining the stored first page data of the first history page corresponding to the first page screenshot comprises:
and searching page data corresponding to the first page screenshot in the corresponding relation, and taking the page data as the first page data.
5. The method of claim 1, further comprising:
and under the condition that the deleting operation of a third page screenshot in the multiple page screenshots is received, deleting the third page screenshot, and deleting the stored third page data of the historical page corresponding to the third page screenshot.
6. The method of claim 1, wherein said displaying the plurality of page screen shots comprises:
acquiring a display sequence among the multiple page screenshots;
and displaying the plurality of page screenshots according to the display sequence.
7. The method of claim 6, wherein obtaining a display order between the plurality of page screenshots comprises:
acquiring historical display time of a historical page corresponding to each page screenshot;
and determining the display sequence of the historical display time from the late to the early.
8. The method of claim 6, wherein obtaining a display order between the plurality of page screenshots comprises:
acquiring the position sequence among the multiple manually specified page screenshots;
determining the position order as the display order.
9. The method of claim 8, further comprising:
receiving an adjustment operation of the position sequence among the plurality of page screenshots;
and adjusting the position sequence among the multiple page screenshots according to the adjustment operation.
10. A page processing apparatus, characterized in that the apparatus comprises:
the first acquisition module is used for acquiring stored page screenshots of a plurality of historical pages under the condition of receiving page return operation; the plurality of historical pages comprises pages that have been displayed within a historical period of time;
the display module is used for displaying the plurality of page screenshots;
the second obtaining module is used for obtaining stored first page data of a first historical page corresponding to a first page screenshot under the condition that the selection operation of the first page screenshot in the multiple page screenshots is received;
and the rendering module is used for rendering the first page data.
11. The apparatus of claim 10, further comprising:
a third obtaining module, configured to obtain the first page screenshot of the first history page when a skip operation for skipping from the first history page to a second history page is received; acquiring the first page data of the first historical page;
and the storage module is used for storing the first page screenshot and the first page data.
12. The apparatus of claim 11, wherein the storage module comprises:
and the storage unit is used for forming a corresponding table item by the first page screenshot and the first page data and storing the corresponding table item in the corresponding relation between the page screenshot of the historical page and the page data of the historical page.
13. The apparatus of claim 12, wherein the second obtaining module comprises:
and the searching unit is used for searching page data corresponding to the first page screenshot in the corresponding relation and taking the page data as the first page data.
14. The apparatus of claim 10, further comprising:
and the deleting module is used for deleting a third page screenshot in the plurality of page screenshots and deleting stored third page data of the historical page corresponding to the third page screenshot under the condition that the deleting operation of the third page screenshot is received.
15. The apparatus of claim 10, wherein the display module comprises:
the acquisition unit is used for acquiring the display sequence among the multiple page screenshots;
and the display unit is used for displaying the plurality of page screenshots according to the display sequence.
16. The apparatus of claim 15, wherein the obtaining unit comprises:
the first obtaining subunit is used for obtaining the historical display time of the historical page corresponding to each page screenshot;
and the first determining subunit is used for determining the sequence of the historical display time from late to early as the display sequence.
17. The apparatus of claim 15, wherein the obtaining unit comprises:
the second acquiring subunit is used for acquiring the position sequence among the multiple manually specified page screenshots;
a second determining subunit configured to determine the position order as the display order.
18. The apparatus of claim 17, wherein the obtaining unit further comprises:
the receiving subunit is used for receiving the adjustment operation of the position sequence among the multiple page screenshots;
and the adjusting subunit is used for adjusting the position sequence among the multiple page screenshots according to the adjusting operation.
19. An electronic device, characterized in that the electronic device comprises:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the page processing method of any of claims 1-9.
20. A non-transitory computer readable storage medium, instructions in which, when executed by a processor of an electronic device, enable the electronic device to perform the page processing method of any one of claims 1-9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010576553.7A CN111814088A (en) | 2020-06-22 | 2020-06-22 | Page processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010576553.7A CN111814088A (en) | 2020-06-22 | 2020-06-22 | Page processing method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111814088A true CN111814088A (en) | 2020-10-23 |
Family
ID=72845453
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010576553.7A Pending CN111814088A (en) | 2020-06-22 | 2020-06-22 | Page processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111814088A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112306320A (en) * | 2020-10-29 | 2021-02-02 | 深圳市艾酷通信软件有限公司 | Page display method, device, equipment and medium |
CN112818205A (en) * | 2021-01-27 | 2021-05-18 | 游艺星际(北京)科技有限公司 | Page processing method and device, electronic equipment, storage medium and product |
CN112836100A (en) * | 2021-02-26 | 2021-05-25 | 拉扎斯网络科技(上海)有限公司 | Historical browsing data display method and device |
CN114968017A (en) * | 2022-06-09 | 2022-08-30 | 珠海格力电器股份有限公司 | Interface interaction method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016110202A1 (en) * | 2015-01-06 | 2016-07-14 | 阿里巴巴集团控股有限公司 | Method, client and device for displaying page |
CN107885571A (en) * | 2017-11-30 | 2018-04-06 | 北京小米移动软件有限公司 | Show page control method and device |
CN110673772A (en) * | 2019-10-10 | 2020-01-10 | 北京无限光场科技有限公司 | Page returning method and device, electronic equipment and computer readable medium |
-
2020
- 2020-06-22 CN CN202010576553.7A patent/CN111814088A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016110202A1 (en) * | 2015-01-06 | 2016-07-14 | 阿里巴巴集团控股有限公司 | Method, client and device for displaying page |
CN107885571A (en) * | 2017-11-30 | 2018-04-06 | 北京小米移动软件有限公司 | Show page control method and device |
CN110673772A (en) * | 2019-10-10 | 2020-01-10 | 北京无限光场科技有限公司 | Page returning method and device, electronic equipment and computer readable medium |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112306320A (en) * | 2020-10-29 | 2021-02-02 | 深圳市艾酷通信软件有限公司 | Page display method, device, equipment and medium |
CN112818205A (en) * | 2021-01-27 | 2021-05-18 | 游艺星际(北京)科技有限公司 | Page processing method and device, electronic equipment, storage medium and product |
CN112818205B (en) * | 2021-01-27 | 2023-10-31 | 游艺星际(北京)科技有限公司 | Page processing method, device, electronic equipment, storage medium and product |
CN112836100A (en) * | 2021-02-26 | 2021-05-25 | 拉扎斯网络科技(上海)有限公司 | Historical browsing data display method and device |
CN112836100B (en) * | 2021-02-26 | 2023-04-18 | 拉扎斯网络科技(上海)有限公司 | Historical browsing data display method and device |
CN114968017A (en) * | 2022-06-09 | 2022-08-30 | 珠海格力电器股份有限公司 | Interface interaction method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20170371513A1 (en) | Method and apparatus for text selection | |
CN106896991B (en) | Method and device for updating information | |
CN111814088A (en) | Page processing method and device | |
EP3128411B1 (en) | Interface display method, terminal, computer program and recording medium | |
CN104679599A (en) | Application program duplicating method and device | |
CN105404401A (en) | Input processing method, apparatus and device | |
CN105786944B (en) | Method and device for processing automatic page turning of browser | |
CN107220059B (en) | Application interface display method and device | |
CN104111979A (en) | Search recommendation method and device | |
CN107885571B (en) | Display page control method and device | |
CN104850643B (en) | Picture comparison method and device | |
CN105242837B (en) | Five application page acquisition methods and terminal | |
CN108803892B (en) | Method and device for calling third party application program in input method | |
CN112051949A (en) | Content sharing method and device and electronic equipment | |
CN104951522B (en) | Method and device for searching | |
CN108984098B (en) | Information display control method and device based on social software | |
CN105117115B (en) | A kind of method and apparatus for showing electronic document | |
CN106447747B (en) | Image processing method and device | |
CN105487746A (en) | Search result displaying method and device | |
CN106557559B (en) | Image processing method and device | |
CN104933107A (en) | Searching method of push message and searching device of push message | |
CN110457084B (en) | Loading method and device | |
CN109714247B (en) | Group chat information processing method and device, electronic equipment and storage medium | |
CN113919311A (en) | Data display method and device, electronic equipment and storage medium | |
CN107360315B (en) | Information display method and device |
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 |