Page processing method, device, storage medium and processor

By adjusting the page display during the big data loading process and loading the next page data to the current page, the problem of blank pages after deleting data is solved, and the user experience is improved.

CN112131840BActive Publication Date: 2024-12-06CHINA XIAOYUN (BEIJING) INTERNET OF THINGS TECH RES INST CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202010983622.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-17
Publication Date
2024-12-06
Estimated Expiration
2040-09-17

AI Technical Summary

Technical Problem

During the big data loading process, blank pages are prone to appear when deleting the last data on the current page, affecting the user experience and data viewing.

Method used

By obtaining the target page, determine the data to be deleted, and adjust the page display after deleting the data, load the data of the next page to the current page to avoid blank pages.

Benefits of technology

It effectively avoids the phenomenon of blank pages during page loading, ensures that users can timely understand the business after deleting data, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112131840B_ABST
    Figure CN112131840B_ABST
Patent Text Reader

Abstract

The present invention discloses a page processing method, device, storage medium and processor. The method comprises: obtaining a first target page, wherein the first target page includes at least one piece of data; determining the first target data to be deleted from the at least one piece of data; deleting the first target data from the first target page, and adjusting the display of the first target page after deleting the first target data to obtain a second target page; and displaying the second target page. The present invention solves the technical problem that a blank page is prone to appear when deleting data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing, and in particular to a page processing method, device, storage medium and processor. Background Art

[0002] At present, with the continuous popularization of the Internet, big data has become the hottest term in the IT industry. The use of the commercial value of big data, such as data warehouse, data security, data analysis, data mining, etc., has gradually become the focus of profit that industry professionals are vying for. With the advent of the big data era, big data analysis has also emerged. Data has moved from paper to the Internet, personal computers and even handheld devices.

[0003] However, when large data is loaded onto a device, a blank page may easily appear when the last piece of data on the current page is deleted, and the required data cannot be loaded well, thereby affecting the user's use and data viewing, and causing the user to be unable to understand the business in a timely manner.

[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0005] The embodiments of the present invention provide a page processing method, device, storage medium and processor to at least solve the technical problem that a blank page is easily generated when data is deleted.

[0006] According to one aspect of an embodiment of the present invention, there is provided a page processing method, comprising: obtaining a first target page, wherein the first target page includes at least one piece of data; determining the first target data to be deleted from the at least one piece of data; deleting the first target data from the first target page, and adjusting the display of the first target page after deleting the first target data to obtain a second target page; and displaying the second target page.

[0007] Optionally, the display of the first target page after deleting the first target data is adjusted to obtain the second target page, including: when the first target data is partial data of at least one piece of data, determining the second target data corresponding to the partial data in the third target page, wherein the third target page is the next page of the first target page; loading the second target data into the first target page after deleting the partial data to obtain the second target page.

[0008] Optionally, the display of the first target page after deleting the first target data is adjusted to obtain the second target page, including: when the first target data is all the data of at least one piece of data, determining the third target data corresponding to all the data in the third target page, wherein the third target page is the next page of the first target page; loading the third target data into the first target page and jumping to the fourth target page, wherein the fourth target page is the previous page of the first target page; determining the fourth target page as the second target page.

[0009] Optionally, displaying the second target page includes: if the current page number of the second target page is less than or equal to 1, adjusting the current page number to 1, and displaying the second target page with the current page number of 1; if the current page number of the second target page is greater than 1, keeping the current page number unchanged and displaying the second target page with the current page number.

[0010] Optionally, the page type of the first target page and the page type of the second target page are both list types.

[0011] According to another aspect of an embodiment of the present invention, a page processing device is also provided, including: an acquisition unit, used to acquire a first target page, wherein the first target page includes at least one piece of data; a determination unit, used to determine the first target data to be deleted from the at least one piece of data; a processing unit, used to delete the first target data from the first target page, and adjust the display of the first target page after deleting the first target data to obtain a second target page; and a display unit, used to display the second target page.

[0012] Optionally, the processing unit includes: a first determination module, used to determine the second target data corresponding to the partial data in the third target page when the first target data is partial data of at least one piece of data, wherein the third target page is the next page of the first target page; and a first loading module, used to load the second target data into the first target page after deleting the partial data to obtain the second target page.

[0013] Optionally, the processing unit also includes: a second determination module, used to determine third target data corresponding to all the data in the third target page when the first target data is all the data of at least one piece of data, wherein the third target page is the next page of the first target page; a second loading module, used to load the third target data into the first target page and jump to the fourth target page, wherein the fourth target page is the previous page of the first target page; and a third determination module, used to determine the fourth target page as the second target page.

[0014] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided. The storage medium includes a stored program. When the program is executed, the device where the storage medium is located is controlled to execute the page processing method of the embodiment of the present invention.

[0015] According to another aspect of an embodiment of the present invention, a processor is further provided. The processor is used to run a program, wherein the page processing method of an embodiment of the present invention is executed when the program is run.

[0016] In an embodiment of the present invention, a method is adopted in which a first target page is obtained, wherein the first target page includes at least one piece of data; the first target data to be deleted is determined from the at least one piece of data; the first target data is deleted from the first target page, and the display of the first target page after the first target data is deleted is adjusted to obtain a second target page; and the second target page is displayed. That is, the present application performs a data deletion operation on the first target page, and loads the data of the next page of the first target page into the first target page to adjust the display of the first target page, and when displaying the page, the page is displayed as the second target page, so that the first target page will not have a blank page after deleting the data, thereby achieving the purpose of avoiding the blank page phenomenon during the page loading process, thereby achieving the technical effect that the page will not have a blank page when deleting data, and further solving the technical problem that the page is prone to have a blank page when deleting data. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0018] Figure 1 is a flow chart of a page processing method according to an embodiment of the present invention;

[0019] Figure 2 is a structural diagram of a page processing device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0020] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0021] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0022] Example 1

[0023] According to an embodiment of the present invention, an embodiment of a page processing method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0024] Figure 1 is a flow chart of a page processing method according to an embodiment of the present invention. Figure 1 As shown, the method may include the following steps:

[0025] Step S102: acquiring a first target page, wherein the first target page includes at least one piece of data.

[0026] In the technical solution provided in the above step S102 of the present invention, the first target page is the page to be processed currently, and at least one piece of data is included in this page. Optionally, the page type of the first target page in this embodiment can be a list type.

[0027] Step S104: determining first target data to be deleted from at least one piece of data.

[0028] In the technical solution provided in the above step S104 of the present invention, the first target data is the data to be deleted in the first target page. Optionally, the first target data can be part of the data in the first target page, or can be all of the data in the first target page.

[0029] Step S106: deleting the first target data from the first target page, and adjusting the display of the first target page after deleting the first target data, to obtain a second target page.

[0030] In the technical solution provided in the above step S106 of the present invention, the first target data is deleted in the first target page, which may be deletion of part of the data in the first target page or deletion of all the data in the first target page. After deleting the first target data in the first target page, the display of the first target page may be adjusted to obtain the second target page. This adjustment operation may be loading the data of the next page of the first target page into the first target page.

[0031] Step S108: displaying the second target page.

[0032] In the technical solution provided in the above step S108 of the present invention, the second target page can be a page obtained after processing the first target page, or a page displayed after processing the first target page, which can be selected according to the specific processing operation of the first target page. Optionally, the page type of the second target page can be a list type.

[0033] Through the above steps S102 to S108 of the present application, a first target page is obtained, wherein the first target page includes at least one piece of data; the first target data to be deleted is determined from the at least one piece of data; the first target data is deleted from the first target page, and the display of the first target page after the first target data is deleted is adjusted to obtain a second target page; and the second target page is displayed. In other words, the present application performs a data deletion operation on the first target page, loads the data of the next page of the first target page into the first target page accordingly, so as to adjust the display of the first target page, and when displaying the page, displays the page as the second target page, so that the first target page will not have a blank page after deleting the data, thereby achieving the purpose of avoiding the blank page phenomenon during the page loading process, thereby achieving the technical effect that the page will not have a blank page when deleting data, and further solving the technical problem that the page is prone to have a blank page when deleting data.

[0034] The above method of this embodiment is further introduced below.

[0035] As an optional implementation, step S106, deletes the first target data from the first target page, and adjusts the display of the first target page after deleting the first target data to obtain a second target page, including: when the first target data is partial data of at least one piece of data, determining the second target data corresponding to the partial data in the third target page, wherein the third target page is the next page of the first target page; loading the second target data into the first target page after deleting the partial data to obtain the second target page.

[0036] In this embodiment, the first target data is part of the data in the first target page. After deleting part of the data in the first target page, the second target data corresponding to the amount of deleted data is selected in the next page of the first target page, and then the second target data is loaded into the first target page after deleting part of the data to obtain the second target page. The next page of the first target page, that is, the third target page, when the amount of data in its page is greater than the amount of data deleted in the first target page, the second target data selected is the data corresponding to the amount of deleted data in the third target page; when the amount of data in the third target page is less than or equal to the amount of data deleted in the first target page, the second target data selected is all the data in the third target page.

[0037] Optionally, the page type of the third target page is a list type. In this case, the second target page is a page obtained after processing the first target page. This method can prevent the first target page from having a blank page after deleting data, thereby achieving the purpose of avoiding the phenomenon of blank pages during page loading, thereby achieving the technical effect of preventing blank pages from appearing when data is deleted, and further solving the technical problem of blank pages being easily appearing when data is deleted.

[0038] As an optional implementation, step S106, deletes the first target data from the first target page, and adjusts the display of the first target page after deleting the first target data to obtain the second target page, including: when the first target data is all the data of at least one piece of data, determines the third target data corresponding to all the data in the third target page, wherein the third target page is the next page of the first target page; loads the third target data to the first target page, and jumps to the fourth target page, wherein the fourth target page is the previous page of the first target page; determines the fourth target page as the second target page.

[0039] In this embodiment, the first target data is all the data in the first target page. After deleting all the data in the first target page, all the data in the next page of the first target page is selected as the third target data, and then the third target data is loaded into the first target page. Since all the data in the first target page is deleted, a blank page appears in the first target page, but the third target data is loaded into the first target page and jumps to the fourth target page which is not a blank page. In this way, when browsing from the fourth target page to the first target page, the first target page is not a blank page, thereby avoiding the first target page from displaying a blank page, which affects the user's use and viewing of data.

[0040] Optionally, the page type of the fourth target page is a list type. In this case, the second target page is a page displayed after processing the first target page. This method can prevent the first target page from having a blank page after deleting data, thereby achieving the purpose of avoiding the blank page phenomenon during page loading, thereby achieving the technical effect of not having a blank page when deleting data, and further solving the technical problem of blank pages being easily appearing on the page when deleting data.

[0041] As an optional implementation, step S108, displaying the second target page, includes: if the current page number of the second target page is less than or equal to 1, adjusting the current page number to 1, and displaying the second target page with the current page number of 1; if the current page number of the second target page is greater than 1, keeping the current page number unchanged, and displaying the second target page with the current page number.

[0042] In this embodiment, after the first target page is processed, the page is displayed as the second target page. At this time, it is necessary to determine whether the current page number of the second target page is page 1. When the current page number of the second target page is less than or equal to 1, the current page number of the second target page is adjusted to page 1, and the page is displayed as page 1; when the current page number of the second target page is greater than 1, the current page number of the second target page remains unchanged, and the page is displayed as the second target page. This method can ensure that no blank pages appear in all pages, thereby achieving the purpose of avoiding the blank page phenomenon during the page loading process, thereby achieving the technical effect that no blank pages appear when the page is deleted, and then solving the technical problem that blank pages are prone to appear when the page is deleted.

[0043] As an optional implementation manner, the page type of the first target page and the page type of the second target page are both list types.

[0044] In this embodiment, when the amount of data is too large, the data needs to be displayed in list pages to facilitate better data processing. Therefore, the page type of the first target page and the page type of the second target page are both list types. Correspondingly, the page type of the third target page and the page type of the fourth target page are also list types.

[0045] Through the page processing method in the above embodiment of the present invention, the first target page includes at least one piece of data; the first target data to be deleted is determined from the at least one piece of data; the first target data is deleted from the first target page, and the display of the first target page after deleting the first target data is adjusted to obtain the second target page; the second target page is displayed in a manner that prevents the first target page from having a blank page after deleting the data, thereby achieving the purpose of avoiding the blank page phenomenon during the page loading process, thereby achieving the technical effect that the page will not have a blank page when data is deleted, and further solving the technical problem that the page is prone to having a blank page when data is deleted.

[0046] Example 2

[0047] The embodiment of the present invention further provides a page processing device. It should be noted that the page processing device of this embodiment can be used to execute the page processing method of the embodiment of the present invention.

[0048] Figure 2 1 is a structural diagram of a page processing device according to an embodiment of the present invention. Figure 2 As shown, the page processing device 20 may include: an acquisition unit 21 , a determination unit 22 , a processing unit 23 and a display unit 24 .

[0049] The acquisition unit 21 is configured to acquire a first target page, wherein the first target page includes at least one piece of data.

[0050] The determination unit 22 is used to determine the first target data to be deleted from at least one piece of data.

[0051] The processing unit 23 is used to delete the first target data from the first target page, and adjust the display of the first target page after deleting the first target data, so as to obtain a second target page.

[0052] The display unit 24 is configured to display the second target page.

[0053] Optionally, the processing unit 23 includes: a first determination module, used to determine the second target data corresponding to the partial data in the third target page when the first target data is partial data of at least one piece of data, wherein the third target page is the next page of the first target page; and a first loading module, used to load the second target data into the first target page after deleting the partial data to obtain the second target page.

[0054] Optionally, the processing unit 23 also includes: a second determination module, used to determine third target data corresponding to all the data in the third target page when the first target data is all the data of at least one piece of data, wherein the third target page is the next page of the first target page; a second loading module, used to load the third target data into the first target page and jump to the fourth target page, wherein the fourth target page is the previous page of the first target page; and a third determination module, used to determine the fourth target page as the second target page.

[0055] Optionally, the display unit 24 includes: a first display module, used to adjust the current page number to 1 and display the second target page with the current page number of 1 when the current page number of the second target page is less than or equal to 1; a second display module, used to keep the current page number unchanged and display the second target page with the current page number when the current page number of the second target page is greater than 1.

[0056] The page processing device of this embodiment performs a data deletion operation on the first target page, loads the data of the next page of the first target page into the first target page, adjusts the display of the first target page, and displays the page as the second target page when displaying the page, so that the first target page will not have a blank page after deleting the data, thereby achieving the purpose of avoiding the blank page phenomenon in the process of page loading, thereby achieving the technical effect of not having a blank page when deleting data, and further solving the technical problem that a blank page is prone to appearing when deleting data.

[0057] Example 3

[0058] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is also provided, which includes a stored program, wherein when the program is executed by a processor, the device where the computer-readable storage medium is located is controlled to execute the page processing method described in Embodiment 1 of the present invention.

[0059] Specifically, the above-mentioned computer-readable storage medium is used to store program instructions for executing the following functions, and implement the following steps: obtaining a first target page, wherein the first target page includes at least one piece of data; determining the first target data to be deleted from the at least one piece of data; deleting the first target data from the first target page, and adjusting the display of the first target page after deleting the first target data to obtain a second target page; and displaying the second target page.

[0060] Example 4

[0061] According to another aspect of an embodiment of the present invention, a processor is further provided. The processor is used to run a program. When the program is run, the page processing method described in Embodiment 1 of the present invention is executed.

[0062] Specifically, the above-mentioned processor is used to call the program instructions in the memory to implement the following steps: obtain a first target page, wherein the first target page includes at least one piece of data; determine the first target data to be deleted from the at least one piece of data; delete the first target data from the first target page, and adjust the display of the first target page after deleting the first target data to obtain a second target page; and display the second target page.

[0063] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0064] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0065] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0066] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0067] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0068] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0069] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A page processing method, characterized in that: include: Acquire a first target page, wherein the first target page includes at least one piece of data; Determining first target data to be deleted from the at least one piece of data; deleting the first target data from the first target page, and adjusting the display of the first target page after deleting the first target data, to obtain a second target page; displaying the second target page; The step of adjusting the display of the first target page after deleting the first target data to obtain the second target page comprises: adjusting the display of the first target page after deleting the first target data based on the first target data with different contents to obtain the second target page, wherein the first target data is part of the data in the first target page, or is all of the data in the first target page; Among them, based on the first target data with different contents, the display of the first target page after deleting the first target data is adjusted to obtain the second target page, including: in response to the number of data in the third target page being greater than the number of data in the first target data, setting the next page of the first target page as the third target page, and determining the data in the third target page with the same number of data as the first target data as the second target data of the third target page; based on the second target data, adjusting the first target page after deleting the first target data to obtain the second target page; in response to the number of data in the third target page being less than or equal to the number of data in the first target data, determining all the data in the third target page as the second target data; based on the second target data, adjusting the first target page after deleting the first target data to obtain the second target page.

2. The method according to claim 1, characterized in that Adjusting the display of the first target page after deleting the first target data based on the first target data of different contents to obtain the second target page includes: In a case where the first target data is the partial data in the at least one piece of data, determining the second target data corresponding to the partial data in a third target page; The second target data is loaded into the first target page after the partial data is deleted, to obtain the second target page.

3. The method according to claim 1, characterized in that Adjusting the display of the first target page after deleting the first target data based on the first target data of different contents to obtain the second target page includes: In a case where the first target data is all the data of the at least one piece of data, determining third target data corresponding to the all the data in a third target page; Loading the third target data into the first target page, and jumping to a fourth target page, wherein the fourth target page is a previous page of the first target page; The fourth target page is determined as the second target page.

4. The method according to claim 1, characterized in that: Displaying the second target page includes: If the current page number of the second target page is less than or equal to 1, adjusting the current page number to 1, and displaying the second target page with the current page number being 1; If the current page number of the second target page is greater than 1, the current page number is kept unchanged and the second target page of the current page number is displayed.

5. The method according to any one of claims 1 to 4, characterized in that: The page type of the first target page and the page type of the second target page are both list types.

6. A page processing device, characterized in that: include: An acquiring unit, configured to acquire a first target page, wherein the first target page includes at least one piece of data; a determining unit, configured to determine first target data to be deleted from the at least one piece of data; a processing unit, configured to delete the first target data from the first target page, and adjust the display of the first target page after deleting the first target data, to obtain a second target page; A display unit, configured to display the second target page; The processing unit is further configured to adjust the display of the first target page after deleting the first target data based on the first target data of different contents, so as to obtain the second target page, wherein the first target data is part of the data in the first target page, or is all the data in the first target page; Among them, the processing unit is also used to set the next page of the first target page as the third target page in response to the number of data in the third target page being greater than the number of data in the first target data, and determine the data in the third target page with the same number of data as the first target data as the second target data of the third target page; based on the second target data, adjust the first target page after deleting the first target data to obtain the second target page; and in response to the number of data in the third target page being less than or equal to the number of data in the first target data, determine all the data in the third target page as the second target data; based on the second target data, adjust the first target page after deleting the first target data to obtain the second target page.

7. The device according to claim 6, characterized in that The processing unit comprises: a first determining module, configured to determine, in a third target page, second target data corresponding to the partial data when the first target data is partial data of the at least one piece of data, wherein the third target page is a next page of the first target page; The first loading module is used to load the second target data into the first target page after deleting the part of data, so as to obtain the second target page.

8. The device according to claim 6, characterized in that The processing unit comprises: A second determining module is used to determine, in a third target page, third target data corresponding to the entire data when the first target data is the entire data of the at least one piece of data, wherein the third target page is a next page of the first target page; a second loading module, configured to load the third target data into the first target page, and jump to a fourth target page, wherein the fourth target page is a previous page of the first target page; The third determining module is configured to determine the fourth target page as the second target page.

9. A computer-readable storage medium, characterized in that: The storage medium includes a stored program, wherein when the program is executed, the device where the storage medium is located is controlled to execute the page processing method according to any one of claims 1 to 5.

10. A processor, characterized in that: The processor is used to run a program, wherein the program executes the page processing method described in any one of claims 1 to 5 when running.

Citation Information

Patent Citations

  • Page layout method and page layout device

    CN105224540A

  • Page processing method and device

    CN110321504A

  • Method and device for deleting document content, electronic equipment and storage medium

    CN110852045A

  • Page processing method and related equipment

    CN111273907A

  • Video data adjustment method and device, electronic equipment and computer readable medium

    CN111294636A