CN117112107A - Data display method and electronic equipment - Google Patents

Data display method and electronic equipment Download PDF

Info

Publication number
CN117112107A
CN117112107A CN202311083042.1A CN202311083042A CN117112107A CN 117112107 A CN117112107 A CN 117112107A CN 202311083042 A CN202311083042 A CN 202311083042A CN 117112107 A CN117112107 A CN 117112107A
Authority
CN
China
Prior art keywords
page
data
preset array
check box
page number
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311083042.1A
Other languages
Chinese (zh)
Inventor
李双莲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bank of China Ltd
Original Assignee
Bank of China Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202311083042.1A priority Critical patent/CN117112107A/en
Publication of CN117112107A publication Critical patent/CN117112107A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

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)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application provides a data display method and electronic equipment, which can be used in the field of big data. The method comprises the following steps: responding to a page turning instruction input by a user, and acquiring a first preset array; determining at least one display data according to page turning page number information and a first preset array; acquiring a second preset array, and determining the state of at least one check box for displaying data according to the second preset array and page turning page number information; based on the paging component, the at least one presentation data is presented to the user according to a check box state of the at least one presentation data. The method of the application can enable the user to view the service data intuitively and rapidly, thereby improving the service processing efficiency.

Description

Data display method and electronic equipment
Technical Field
The present application relates to the field of big data, and in particular, to a data display method and an electronic device.
Background
In the process of providing business processing service for users, business data queried by the users need to be displayed to the users based on web pages of various website systems.
In the prior art, based on the multi-selection operation of check boxes in a website system, a user can check a plurality of service data in one webpage, and the checked service data can be dynamically displayed on the webpage by manually scrolling a mouse by the user.
However, in the above manner, when the service data is too much, the operation of manually scrolling the mouse by the user is complicated, so that the user cannot intuitively and rapidly view the data, and further the service processing efficiency of the user is affected.
Disclosure of Invention
The application provides a data display method and electronic equipment, which are used for solving the problem that a user cannot intuitively and rapidly view data due to complicated operation of manually scrolling a mouse by the user.
In a first aspect, the present application provides a data display method, including:
responding to a page turning instruction input by a user, and acquiring a first preset array; the page turning instruction is used for indicating the paging component to turn pages, and comprises page turning page number information which characterizes page numbers of the page after page turning; the first preset array comprises at least one query data, wherein the query data is service data in a webpage which is currently displayed to a user;
determining at least one display data according to the page turning page number information and the first preset array; the display data are business data for page display;
acquiring a second preset array, and determining the check box state of the at least one display data according to the second preset array and the page turning page number information; the second preset array comprises at least one selected data, wherein the selected data is service data which is selected by a user currently; the check box state represents whether the display data is checked;
Based on the paging component, the at least one presentation data is presented to the user according to a check box state of the at least one presentation data.
In one example, the query data has query page number information, where the query page number information is a page number of a web page to which the query data belongs; according to the page turning page number information and the first preset array, determining at least one display data comprises the following steps:
and determining query data corresponding to the query page number information consistent with the page turning page number information in the first preset array as the display data.
In one example, the query data has query page number information, where the query page number information is a page number of a web page to which the query data belongs; according to the page turning page number information and the first preset array, determining at least one display data comprises the following steps:
if the fact that query data corresponding to the query page number information consistent with the page number turning information does not exist in the first preset array is determined, determining page data in a webpage corresponding to the page number turning information as the display data.
In one example, after determining that the page data in the page corresponding to the page turning page number information is the presentation data, the method further includes:
And adding the display data and the page turning page number information into the first preset array.
In one example, the selected data has selected page number information, and the selected page number information is the page number of the webpage to which the selected data belongs; determining the check box state of the at least one presentation data according to the second preset array and the page turning page number information, including:
determining checked data corresponding to checked page number information consistent with the page turning page number information in the at least one checked data as check box data; wherein the check box state of the check box data characterizes that the check box data is checked;
and determining the check box state of the check box data consistent with the display data as the check box state of the display data.
In one example, the method further comprises:
deleting the page data in the first preset array and the page data in the second preset array in response to the switching instruction input by the user; the switching instruction is used for indicating the paging component to switch the page noodle number of each webpage, wherein the page noodle number is the data volume of the page data displayed by the webpage;
Acquiring home page data, and adding the home page data into the first preset array and the second preset array; the first page data is page data in a first webpage of all the webpages after the page number is switched; the home page data has home page information, and the home page information characterizes the page number of the webpage to which the home page data belongs.
In one example, after responding to the page turning instruction input by the user, the method further comprises:
if the page turning instruction is determined to be the page turning instruction input by the user for the first time, deleting the page data in the first preset array and the page data in the second preset array;
acquiring home page data, and adding the home page data into the first preset array and the second preset array; the first page data is page data in a first webpage of all the webpages after the page number is switched; the home page data has home page information, and the home page information characterizes the page number of the webpage to which the home page data belongs.
In one example, the method further comprises:
responding to the check box instruction input by the user, and determining the check box state of each page of data in the current page; the check box instruction is used for indicating the form component to switch the check box state of the page data in the current webpage, and the check box state represents whether the page data is checked or not;
if the check box state of the page data in the current page is determined to represent that the page data is checked, adding the page data in the current page into the second preset array; the page data in the current page has current page number information, and the current page number information represents the page number of the webpage currently displayed to the user.
In a second aspect, the present application provides a data display device comprising:
the first acquisition unit is used for responding to a page turning instruction input by a user to acquire a first preset array; the page turning instruction is used for indicating the paging component to turn pages, and comprises page turning page number information which characterizes page numbers of the page after page turning; the first preset array comprises at least one query data, wherein the query data is service data in a webpage which is currently displayed to a user;
The first determining unit is used for determining at least one display data according to the page turning page number information and the first preset array; the display data are business data for page display;
the second acquisition unit is used for acquiring a second preset array;
the second determining unit is used for determining the check box state of the at least one display data according to the second preset array and the page turning page number information; the second preset array comprises at least one selected data, wherein the selected data is service data which is selected by a user currently; the check box state represents whether the display data is checked;
and the display unit is used for displaying the at least one display data to the user according to the check box state of the at least one display data based on the paging component.
In one example, the query data has query page number information, where the query page number information is a page number of a web page to which the query data belongs; the first determination unit includes:
the first determining module is configured to determine query data corresponding to query page number information consistent with the page turning page number information in the first preset array, as the display data.
In one example, the query data has query page number information, where the query page number information is a page number of a web page to which the query data belongs; the first determination unit includes:
and the second determining module is used for determining the page data in the webpage corresponding to the page turning information as the display data if the query data corresponding to the query page turning information consistent with the page turning information does not exist in the first preset array.
In one example, after the second determining module is configured to determine that page data in a page corresponding to the page turning page number information is the presentation data, the method further includes:
and the adding module is used for adding the display data and the page turning page number information into the first preset array.
In one example, the selected data has selected page number information, and the selected page number information is the page number of the webpage to which the selected data belongs; the second determination unit includes:
a third determining module, configured to determine checked data corresponding to the checked page number information consistent with the page turning page number information in the at least one checked data, as check box data; wherein the check box state of the check box data characterizes that the check box data is checked;
And a fourth determining module, configured to determine a check box state of check box data consistent with the presentation data, as the check box state of the presentation data.
In one example, the apparatus further comprises:
the first deleting unit is used for deleting the page data in the first preset array and the page data in the second preset array in response to the switching instruction input by the user; the switching instruction is used for indicating the paging component to switch the page noodle number of each webpage, wherein the page noodle number is the data volume of the page data displayed by the webpage;
the first adding unit is used for obtaining home page data and adding the home page data into the first preset array and the second preset array; the first page data is page data in a first webpage of all the webpages after the page number is switched; the home page data has home page information, and the home page information characterizes the page number of the webpage to which the home page data belongs.
In one example, after the first obtaining unit is configured to respond to the page turning instruction input by the user, the method further includes:
The second deleting unit is used for deleting the page data in the first preset array and the page data in the second preset array if the page turning instruction is determined to be the page turning instruction input by the user for the first time;
the second adding unit is used for acquiring home page data and adding the home page data into the first preset array and the second preset array; the first page data is page data in a first webpage of all the webpages after the page number is switched; the home page data has home page information, and the home page information characterizes the page number of the webpage to which the home page data belongs.
In one example, the apparatus further comprises:
a third determining unit, configured to determine a check box state of each page data in the current page in response to the check box instruction input by the user; the check box instruction is used for indicating the form component to switch the check box state of the page data in the current webpage, and the check box state represents whether the page data is checked or not;
a third adding unit, configured to add the page data in the current page to the second preset array if it is determined that the check box state of the page data in the current page indicates that the page data is checked; the page data in the current page has current page number information, and the current page number information represents the page number of the webpage currently displayed to the user.
In a third aspect, the present application provides an electronic device comprising: a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored in the memory to implement the method of the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium having stored therein computer-executable instructions for performing the method of the first aspect when executed by a processor.
In a fifth aspect, the present application provides a computer program product comprising: a computer program stored in a readable storage medium, from which it can be read by at least one processor of an electronic device, the at least one processor executing the computer program causing the electronic device to perform the method of the first aspect.
According to the data display method and the electronic device, the service data displayed on each page and the selected service data on each page are stored according to the page number of the service data, when a user turns over the page to inquire the data, the data display is carried out to the user according to the page number after turning over the page, the page number of the displayed service data and the page number of the selected service data, so that the service data to be displayed and the selected state of the service data to be displayed are confirmed; furthermore, the user can visually and quickly check the service data, and further the service processing efficiency is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
Fig. 1 is a schematic view of an application scenario provided by the present application;
fig. 2 is a flow chart of a data display method according to an embodiment of the present application;
fig. 3 is a flowchart of another data display method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a data display device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of another data display device according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 7 is a block diagram of an electronic device, according to an example embodiment.
Specific embodiments of the present application have been shown by way of the above drawings and will be described in more detail below. The drawings and the written description are not intended to limit the scope of the inventive concepts in any way, but rather to illustrate the inventive concepts to those skilled in the art by reference to the specific embodiments.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with aspects of the application as detailed in the accompanying claims.
First, the terms involved in the present application will be explained:
multiple choices of check boxes: refers to a processing mechanism that supports user multi-selection by making each piece of data in the form of a check box.
Fig. 1 is a schematic view of an application scenario provided by the present application. As shown in fig. 1, the scene includes an electronic device 101 and a user 102. The user may input an instruction to the electronic device 101 to view the service data, and after the electronic device 101 receives the instruction, the service data known by the instruction is displayed to the user 102 based on the display function of the electronic device 101.
In the process of providing business processing service for users, business data queried by the users need to be displayed to the users based on web pages of various website systems.
In one example, based on a check box multi-selection operation in the website system, a user can check a plurality of business data in one webpage, and the webpage dynamically displays the checked business data by manually scrolling a mouse by the user.
However, in the above manner, when the service data is too much, the operation of manually scrolling the mouse by the user is complicated, so that the user cannot intuitively and rapidly view the data, and further the service processing efficiency of the user is affected.
The application provides a data display method and electronic equipment, and aims to solve the technical problems in the prior art.
It should be noted that, the user information (including but not limited to user equipment information, user personal information, etc.) and the data (including but not limited to data for analysis, stored data, presented data, etc.) related to the present application are information and data authorized by the user or fully authorized by each party, and the collection, use and presentation of relevant data need to comply with relevant laws and regulations and standards, and are provided with corresponding operation entries for the user to select authorization or rejection.
It should be noted that the data display method and the electronic device of the present application may be used in the big data field, and may also be used in any field other than the big data field.
The following describes the technical scheme of the present application and how the technical scheme of the present application solves the above technical problems in detail with specific embodiments. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Fig. 2 is a flow chart of a data display method according to an embodiment of the present application, as shown in fig. 2, the method includes:
s101, responding to a page turning instruction input by a user, and acquiring a first preset array; the page turning instruction is used for indicating the paging component to turn pages, and the page turning instruction comprises page turning page number information which characterizes page numbers of the page after page turning; the first preset array comprises at least one query data, wherein the query data is business data in a webpage which is currently displayed to a user.
The execution subject of the present embodiment may be an electronic device, for example. Firstly, a user needs to check the condition of service data based on a webpage of a website system deployed on electronic equipment, and inputs a page turning command to a display interface of the electronic equipment, wherein the page turning command comprises page numbers of the webpage after page turning, namely page turning page number information, so as to instruct a paging component of the webpage to perform page turning processing, and page turning is carried out to the webpage indicated by the page turning page number information; for example, after the page turning page number is input, a mouse is clicked to input a page turning instruction. Based on the electronic equipment, in order to store service data in a webpage which is currently displayed to a user, namely query data, a plurality of pieces of query data are arranged into a first preset array in advance, and storage processing is carried out. After the electronic equipment responds to the page turning instruction input by the user, a first preset array stored in advance can be obtained from a preset database.
S102, determining at least one display data according to page turning page number information and a first preset array; the display data are business data for page display.
The electronic device is used for extracting page numbers of the page pages after page turning, namely page turning page number information, from the received page turning instructions, performing data comparison analysis according to the page turning page number information and the acquired multiple pieces of query data in the first preset array, and determining one or more pieces of business data for page display, namely at least one piece of display data, from the acquired multiple pieces of query data in the first preset array.
S103, acquiring a second preset array, and determining the state of at least one check box for displaying data according to the second preset array and page turning page number information; the second preset array comprises at least one selected data, wherein the selected data is service data which is selected by a user currently; the checkbox state characterizes whether the presentation data is checked.
The method includes the steps of storing a plurality of pieces of service data currently selected by a user, namely at least one piece of selected data, in advance based on the electronic device, and sorting the query data into a second preset array. The electronic device may obtain a pre-stored second preset array from the preset database, and then analyze the page turning page number information and the plurality of pieces of service data in the second preset array that have been checked by the user, so as to determine a check box state of each piece of display data, so as to determine whether each piece of display data is checked.
S104, based on the paging component, displaying at least one display data to a user according to the check box state of the at least one display data.
The method includes the steps of selecting a variable object corresponding to display data of a form component, and displaying the variable object corresponding to the display data of the form component. And based on the electronic equipment, if the check box state of the display data indicates that the display data is selected in the displayed display data, rendering the selected data in the business data displayed on the page into a selected state by the webpage; furthermore, the user can intuitively see the selected condition of the service data displayed in each page.
In this embodiment, a data display method is provided, in which, by storing service data displayed on each page and selected service data on each page according to page numbers where the service data are located, when a user performs page turning query data, the service data to be displayed and selected states of the service data to be displayed are confirmed and data display is performed to the user according to page numbers after page turning, page numbers where the displayed service data are located, and page numbers where the selected service data are located; furthermore, the user can visually and quickly check the service data, and further the service processing efficiency is improved.
Fig. 3 is a flow chart of another data display method according to an embodiment of the present application, as shown in fig. 3, the method includes:
s201, responding to a check box instruction input by a user, and determining the check box state of each page of data in the current page; the check box instruction is used for indicating the table component to switch the check box state of the page data in the current webpage, and the check box state characterizes whether the page data is checked or not.
When the electronic device completes the operation indicated by the check box instruction, the check box state of each page data in the current page is determined to determine whether each page data in the current page is checked or not.
S202, if the check box state of the page data in the current page is determined to represent that the page data is checked, adding the page data in the current page into a second preset array; the page data in the current page has current page number information, and the current page number information represents the page number of the webpage currently displayed to the user.
For example, based on the electronic device, in order to store service data in a webpage that has been currently presented to a user, that is, query data, a plurality of pieces of query data are arranged into a first preset array in advance, and storage processing is performed. According to the check box state of each page data in the current page, if the page data is determined to be checked, adding the page data and the current page number information of the page data in the current page into a second preset array, wherein the current page number information represents the page number of the webpage currently displayed to the user; for example, the data object B is selected page data in the current page, an array C is newly added, and when the check box change event is triggered, the page number of the current page is used as the subscript 1, and the data object B is stored in the corresponding subscript 1 in the array C.
S203, deleting the page data in the first preset array and the page data in the second preset array in response to a switching instruction input by a user; the switching instruction is used for indicating the paging component to switch the page noodle number of each webpage, wherein the page noodle number is the data volume of the page data displayed by the webpage.
For example, when a user needs to view business data based on web pages of a website system deployed on an electronic device, the data amount, i.e. the number of pages, of the page data displayed by each web page may be changed. The method comprises the steps that a user inputs a switching instruction to the electronic equipment to instruct a paging component to switch the page noodle number of each webpage, the electronic equipment responds to the switching instruction input by the user to switch the page noodle number, and the page data in a first preset array and the page data in a second preset array which are stored in advance are emptied and deleted so as to add other data in the first preset array and the second preset array; furthermore, the data volume of the service data displayed by each webpage can be flexibly adjusted so as to meet the requirements of users.
S204, acquiring home page data, and adding the home page data into a first preset array and a second preset array; the first page data is page data in a first webpage of all the webpages after the page number is switched; the home page data has home page information, which characterizes the page number of the webpage to which the home page data belongs.
The method includes the steps that based on the electronic equipment, page data in a first webpage in all current webpages, namely, first page data, are obtained after the number of the webpages is switched, and first page information of the first page data is obtained at the same time, wherein the first page information represents page numbers of webpages to which the first page data belongs. Based on the electronic equipment, adding the acquired home page data and the home page information into a first preset array, and simultaneously adding the acquired home page data and the home page information into a second preset array; for example, the top page information is taken as the subscript 2, the top page data is added to the subscript 2 in the first preset array, and meanwhile, the top page data is added to the subscript 2 in the second preset array, so that when a user turns pages to the current page, the selected state of each page data in the page corresponding to the current page can be displayed back.
S205, responding to a page turning instruction input by a user.
For example, this step may refer to step 101, and will not be described in detail.
S206, deleting the page data in the first preset array and the page data in the second preset array if the page turning instruction is determined to be the page turning instruction input by the user for the first time.
The method includes identifying, based on the electronic device, a received page turning instruction, and if it is determined that the page turning instruction is a page turning instruction input by a user for the first time, that is, when the user performs first query on service data, emptying and deleting page data in a first preset array and page data in a second preset array, which are stored in advance, so that other data are added in the first preset array and the second preset array.
S207, acquiring home page data, and adding the home page data into a first preset array and a second preset array; the first page data is page data in a first webpage of all the webpages after the page number is switched; the home page data has home page information, which characterizes the page number of the webpage to which the home page data belongs.
Illustratively, this step may refer to step 204, which is not described in detail.
S208, acquiring a first preset array; the page turning instruction is used for indicating the paging component to turn pages, and the page turning instruction comprises page turning page number information which characterizes page numbers of the page after page turning; the first preset array comprises at least one query data, wherein the query data is business data in a webpage which is currently displayed to a user.
For example, this step may refer to step 101, and will not be described in detail.
After step S208, step S209 or step S210 may be performed.
S209, determining query data corresponding to the query page number information consistent with the page turning page number information in the first preset array as display data.
In one example, the query data has query page information, which is the page number of the web page to which the query data belongs.
Illustratively, after step S208, the page number of the web page to which each query data in the first preset array belongs, that is, the query page number information, is extracted, and each query page number information in the first preset array is compared with the page turning page number information. And aiming at each piece of inquiry page information in the first preset array, if the inquiry page information is consistent with the page turning page information, determining the inquiry data corresponding to the inquiry page information as service data for displaying, and obtaining a plurality of pieces of display data.
S210, if it is determined that query data corresponding to the query page number information consistent with the page number turning information does not exist in the first preset array, determining page data in the webpage corresponding to the page number turning information as display data.
In one example, the query data has query page information, which is the page number of the web page to which the query data belongs.
Illustratively, after step S208, the page number of the web page to which each query data in the first preset array belongs, that is, the query page number information, is extracted, and each query page number information in the first preset array is compared with the page turning page number information. If it is determined that query data corresponding to the query page number information consistent with the page number information does not exist in the first preset array, acquiring each piece of page data in the webpage corresponding to the page number information according to the page number information, and determining each piece of page data in the webpage corresponding to the page number information as display data to obtain a plurality of pieces of display data for display to a user.
In one example, after determining that the page data in the page corresponding to the page turning page number information is presentation data, the method further includes: and adding the display data and the page turning page number information into a first preset array.
For example, if it is determined that query data corresponding to the query page number information consistent with the page number information does not exist in the first preset array, determining each page data in the page corresponding to the page number information as display data, and adding the determined pieces of display data and page number information to the first preset array to be determined as the query data in the first preset array; for example, if the page turning page number information is set as the subscript 3, the determined pieces of display data are stored in the corresponding subscript 3 in the first preset array.
S211, determining checked data corresponding to checked page information consistent with page turning page information in at least one checked data as check box data; wherein the check box state of the check box data characterizes the check box data is checked.
In one example, the selected data has selected page information, which is the page number of the web page to which the selected data belongs.
Illustratively, the page number of the webpage to which each selected data in the second preset array belongs, that is, the selected page number information, is extracted, and each selected page number information in the second preset array is compared with the page turning page number information. And aiming at each checked page number information in the second preset array, if the checked page number information is consistent with the page turning page number information, determining checked data corresponding to the checked page number information as check box data, wherein the check box state of the check box data represents that the check box data is checked.
S212, determining the check box state of the check box data consistent with the display data, wherein the check box state is the check box state of the display data.
For each presentation data, if it is determined that the presentation data is consistent with any one of the check box data, determining a check box state of the check box data as the check box state of the presentation data; if the display data is consistent with any check box data, the check box state of the display data is determined to represent that the display data is checked.
For example, the selected data set of the current page is the object B, the set array includes the subscript and the service data corresponding to the subscript, the subscript of the set array is judged to be the same as the page number after page turning, and the corresponding subscript has data, and the service data in the corresponding subscript of the set array is assigned to the object B, so that the selected data in the data displayed by the page is rendered into the selected state.
S213, based on the paging component, at least one presentation data is presented to the user according to the check box state of the at least one presentation data.
Illustratively, this step may refer to step 104, which is not described in detail.
In this embodiment, on the basis of the foregoing embodiment, on the one hand, by storing the service data displayed on each page and the selected service data on each page according to the page number of the service data, when the user performs the page turning query data, comparing the page number after page turning, the page number of the displayed service data and the page number of the selected service data, and confirming the service data to be displayed and the selected state of the service data to be displayed, and performing data display to the user; furthermore, the user can visually and quickly check the service data, and further the service processing efficiency is improved; on the other hand, by switching the data volume of the service data displayed by each webpage, the user can view more service data so as to meet the requirements of the user.
Fig. 4 is a schematic structural diagram of a data display device according to an embodiment of the present application, as shown in fig. 4, the device 300 includes:
a first obtaining unit 301, configured to obtain a first preset array in response to a page turning instruction input by a user; the page turning instruction is used for indicating the paging component to turn pages, and the page turning instruction comprises page turning page number information which characterizes page numbers of the page after page turning; the first preset array comprises at least one query data, wherein the query data is business data in a webpage which is currently displayed to a user.
A first determining unit 302, configured to determine at least one presentation data according to the page turning page number information and the first preset array; the display data are business data for page display.
A second obtaining unit 303, configured to obtain a second preset array.
A second determining unit 304, configured to determine a check box state of at least one display data according to the second preset array and the page turning page number information; the second preset array comprises at least one selected data, wherein the selected data is service data which is selected by a user currently; the checkbox state characterizes whether the presentation data is checked.
The display unit 305 is configured to display at least one presentation data to a user according to a check box state of the at least one presentation data based on the paging component.
The device of the embodiment may execute the technical scheme in the above method, and the specific implementation process and the technical principle are the same and are not described herein again.
Fig. 5 is a schematic structural diagram of another data display device according to an embodiment of the present application, as shown in fig. 5, the device 400 includes:
a first obtaining unit 401, configured to obtain a first preset array in response to a page turning instruction input by a user; the page turning instruction is used for indicating the paging component to turn pages, and the page turning instruction comprises page turning page number information which characterizes page numbers of the page after page turning; the first preset array comprises at least one query data, wherein the query data is business data in a webpage which is currently displayed to a user.
A first determining unit 402, configured to determine at least one presentation data according to the page turning page number information and the first preset array; the display data are business data for page display.
A second obtaining unit 403, configured to obtain a second preset array.
A second determining unit 404, configured to determine a check box state of at least one display data according to the second preset array and the page turning page number information; the second preset array comprises at least one selected data, wherein the selected data is service data which is selected by a user currently; the checkbox state characterizes whether the presentation data is checked.
And the display unit 405 is configured to display at least one display data to the user according to the check box state of the at least one display data based on the paging component.
In one example, the query data has query page information, which is the page number of the webpage to which the query data belongs; the first determining unit 402 includes:
the first determining module 4021 is configured to determine query data corresponding to query page number information consistent with page turning page number information in the first preset array, as display data.
In one example, the query data has query page information, which is the page number of the webpage to which the query data belongs; the first determining unit 402 includes:
the second determining module 4022 is configured to determine, if it is determined that query data corresponding to the query page number information consistent with the page number information does not exist in the first preset array, page data in a web page corresponding to the page number information as display data.
In one example, after the second determining module 4022 is configured to determine that page data in a page corresponding to the page turning page number information is presentation data, the method further includes:
the adding module 4023 is configured to add the display data and the page turning page number information to the first preset array.
In one example, the selected data has selected page information, which is the page number of the web page to which the selected data belongs; the second determination unit 403 includes:
a third determining module 4031, configured to determine checked data corresponding to the checked page number information consistent with the page turning page number information in the at least one checked data, as check box data; wherein the check box state of the check box data characterizes the check box data is checked.
A fourth determining module 4032, configured to determine a check box state of the check box data consistent with the presentation data, as the check box state of the presentation data.
In one example, the apparatus 400 further comprises:
a first deleting unit 406, configured to delete the page data in the first preset array and the page data in the second preset array in response to a switching instruction input by the user; the switching instruction is used for indicating the paging component to switch the page noodle number of each webpage, wherein the page noodle number is the data volume of the page data displayed by the webpage.
A first adding unit 407, configured to obtain home page data, and add the home page data to a first preset array and a second preset array; the first page data is page data in a first webpage of all the webpages after the page number is switched; the home page data has home page information, which characterizes the page number of the webpage to which the home page data belongs.
In one example, after the first obtaining unit 401 is configured to respond to a page turning instruction input by a user, the method further includes:
the second deleting unit 408 is configured to delete the page data in the first preset array and the page data in the second preset array if it is determined that the page turning instruction is the page turning instruction input by the user for the first time.
A second adding unit 409, configured to obtain first page data, and add the first page data to a first preset array and a second preset array; the first page data is page data in a first webpage of all the webpages after the page number is switched; the home page data has home page information, which characterizes the page number of the webpage to which the home page data belongs.
In one example, the apparatus 400 further comprises:
a third determining unit 410, configured to determine a check box state of each page data in the current page in response to a check box instruction input by a user; the check box instruction is used for indicating the table component to switch the check box state of the page data in the current webpage, and the check box state characterizes whether the page data is checked or not.
A third adding unit 411, configured to add the page data in the current page to a second preset array if it is determined that the check box state of the page data in the current page indicates that the page data is checked; the page data in the current page has current page number information, and the current page number information represents the page number of the webpage currently displayed to the user.
The device of the embodiment may execute the technical scheme in the above method, and the specific implementation process and the technical principle are the same and are not described herein again.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application, and as shown in fig. 6, an electronic device 500 includes: a memory 501, a processor 502; a memory 501; a memory for storing instructions executable by processor 502.
Wherein the processor 502 is configured to perform the method as provided by the above embodiments.
The electronic device 500 further comprises a receiver 503 and a transmitter 504. The receiver 503 is configured to receive instructions and data sent by other devices, and the transmitter 504 is configured to send instructions and data to an external device.
Fig. 7 is a block diagram of an electronic device 800, which 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, etc., in accordance with an exemplary embodiment.
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 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 component 802 may include one or more processors 820 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interactions 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 operations at the electronic device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or nonvolatile memory devices such as static random access memory, electrically erasable programmable read only memory, magnetic memory, flash memory, magnetic or optical disk.
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 sources, and other components associated with generating, managing, and distributing power for the electronic device 800.
The multimedia component 808 includes a screen between the electronic device 800 and the user that provides an output interface. In some embodiments, the screen may include a liquid crystal display and a touch panel. If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or sliding action, but also the duration and pressure associated with the touch or sliding operation. In some embodiments, the multimedia component 808 includes a front camera and/or a rear camera. When the electronic device 800 is in an operational mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a microphone 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 speech recognition mode. The received audio signals may be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio assembly 88 further comprises a speaker for outputting audio signals.
Input/output interface 812 provides an interface between processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 814 includes one or more sensors for providing status information of various aspects to the electronic device 800. For example, the sensor assembly 814 may detect an on/off state of the electronic device 800, a relative positioning of the components, such as a display and keypad of the electronic device 800, the sensor assembly 814 may also detect a change in position of the electronic device 800 or one of the components in the electronic device 800, the presence or absence of a user's contact with the electronic device 800, an orientation or acceleration/deceleration of the electronic device 800, and a change in temperature of the electronic device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include a light sensor for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communication between the electronic device 800 and other devices, either wired or wireless. The electronic device 800 may access a wireless network based on a communication standard. In one exemplary embodiment, the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 816 further includes a near field communication module to facilitate short range communication. For example, the near field communication module may be implemented based on radio frequency identification technology, infrared data association technology, ultra wideband technology, and other technologies.
In an exemplary embodiment, the electronic device 800 can be implemented by one or more application specific integrated circuits, digital signal processors, digital signal processing devices, programmable logic devices, field programmable gate arrays, controllers, microcontrollers, microprocessors, or other electronic components for executing the methods described above.
The present application also provides, in accordance with an embodiment of the present application, a non-transitory computer-readable storage medium, such as memory 804, comprising instructions executable by processor 820 of electronic device 800 to perform the above-described method. For example, the non-transitory computer readable storage medium may be random access memory, magnetic tape, floppy disk, optical disk data storage device, etc.
According to an embodiment of the present application, there is also provided a non-transitory computer-readable storage medium, which when executed by a processor of an electronic device, causes the electronic device to perform the above-described method.
According to an embodiment of the present application, there is also provided a computer program product comprising: a computer program stored in a readable storage medium, from which at least one processor of an electronic device can read, the at least one processor executing the computer program causing the electronic device to perform the solution provided in any one of the embodiments described above.
Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It is to be understood that the application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (10)

1. A method of data presentation, the method comprising:
responding to a page turning instruction input by a user, and acquiring a first preset array; the page turning instruction is used for indicating the paging component to turn pages, and comprises page turning page number information which characterizes page numbers of the page after page turning; the first preset array comprises at least one query data, wherein the query data is service data in a webpage which is currently displayed to a user;
determining at least one display data according to the page turning page number information and the first preset array; the display data are business data for page display;
acquiring a second preset array, and determining the check box state of the at least one display data according to the second preset array and the page turning page number information; the second preset array comprises at least one selected data, wherein the selected data is service data which is selected by a user currently; the check box state represents whether the display data is checked;
Based on the paging component, the at least one presentation data is presented to the user according to a check box state of the at least one presentation data.
2. The method of claim 1, wherein the query data has query page information, the query page information being a page number of a web page to which the query data pertains; according to the page turning page number information and the first preset array, determining at least one display data comprises the following steps:
and determining query data corresponding to the query page number information consistent with the page turning page number information in the first preset array as the display data.
3. The method of claim 1, wherein the query data has query page information, the query page information being a page number of a web page to which the query data pertains; according to the page turning page number information and the first preset array, determining at least one display data comprises the following steps:
if the fact that query data corresponding to the query page number information consistent with the page number turning information does not exist in the first preset array is determined, determining page data in a webpage corresponding to the page number turning information as the display data.
4. The method of claim 3, further comprising, after determining page data in a page corresponding to the page turn page number information as the presentation data:
and adding the display data and the page turning page number information into the first preset array.
5. The method of claim 1, wherein the selected data has selected page information, the selected page information being a page number of a web page to which the selected data belongs; determining the check box state of the at least one presentation data according to the second preset array and the page turning page number information, including:
determining checked data corresponding to checked page number information consistent with the page turning page number information in the at least one checked data as check box data; wherein the check box state of the check box data characterizes that the check box data is checked;
and determining the check box state of the check box data consistent with the display data as the check box state of the display data.
6. The method according to any one of claims 1-5, further comprising:
Deleting the page data in the first preset array and the page data in the second preset array in response to the switching instruction input by the user; the switching instruction is used for indicating the paging component to switch the page noodle number of each webpage, wherein the page noodle number is the data volume of the page data displayed by the webpage;
acquiring home page data, and adding the home page data into the first preset array and the second preset array; the first page data is page data in a first webpage of all the webpages after the page number is switched; the home page data has home page information, and the home page information characterizes the page number of the webpage to which the home page data belongs.
7. The method of any of claims 1-5, further comprising, after responding to the user-entered page flip instruction:
if the page turning instruction is determined to be the page turning instruction input by the user for the first time, deleting the page data in the first preset array and the page data in the second preset array;
acquiring home page data, and adding the home page data into the first preset array and the second preset array; the first page data is page data in a first webpage of all the webpages after the page number is switched; the home page data has home page information, and the home page information characterizes the page number of the webpage to which the home page data belongs.
8. The method according to any one of claims 1-5, further comprising:
responding to the check box instruction input by the user, and determining the check box state of each page of data in the current page; the check box instruction is used for indicating the form component to switch the check box state of the page data in the current webpage, and the check box state represents whether the page data is checked or not;
if the check box state of the page data in the current page is determined to represent that the page data is checked, adding the page data in the current page into the second preset array; the page data in the current page has current page number information, and the current page number information represents the page number of the webpage currently displayed to the user.
9. An electronic device, comprising: a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored in the memory to implement the method of any one of claims 1 to 8.
10. A computer readable storage medium having stored therein computer executable instructions which when executed by a processor are adapted to carry out the method of any one of claims 1 to 8.
CN202311083042.1A 2023-08-25 2023-08-25 Data display method and electronic equipment Pending CN117112107A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311083042.1A CN117112107A (en) 2023-08-25 2023-08-25 Data display method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311083042.1A CN117112107A (en) 2023-08-25 2023-08-25 Data display method and electronic equipment

Publications (1)

Publication Number Publication Date
CN117112107A true CN117112107A (en) 2023-11-24

Family

ID=88805168

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311083042.1A Pending CN117112107A (en) 2023-08-25 2023-08-25 Data display method and electronic equipment

Country Status (1)

Country Link
CN (1) CN117112107A (en)

Similar Documents

Publication Publication Date Title
CN105843615B (en) Notification message processing method and device
RU2625948C2 (en) Method for application superscript adding and device
KR101777070B1 (en) Method, device and apparatus for application switching
CN106020784B (en) Application message display method and device and terminal
CN104462296B (en) File management method and device and terminal
CN106919629B (en) Method and device for realizing information screening in group chat
CN105630490A (en) Layout adjustment method and apparatus for message notification display page
CN106951299A (en) The operating method and device of application program
CN104461236A (en) Method and device for displaying application icons
CN106095236A (en) The method and device of arranging desktop icons
CN107729098B (en) User interface display method and device
CN107402767B (en) Method and device for displaying push message
CN108803892B (en) Method and device for calling third party application program in input method
CN105677164A (en) Page selection method and device
CN104951522B (en) Method and device for searching
CN105117115B (en) A kind of method and apparatus for showing electronic document
CN112068764B (en) Language switching method and device for language switching
CN112988822B (en) Data query method, device, equipment, readable storage medium and product
CN112333233B (en) Event information reporting method and device, electronic equipment and storage medium
CN110502484B (en) Method, device and medium for displaying file information on mobile terminal
CN117112107A (en) Data display method and electronic equipment
CN104038607A (en) Telephone calling method and device
CN107728909B (en) Information processing method and device
CN112581102A (en) Task management method and device, electronic equipment and storage medium
CN106547444B (en) Method and device for realizing screen capture and mobile terminal

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