CN115878000A - Page display method, device, equipment and medium - Google Patents

Page display method, device, equipment and medium Download PDF

Info

Publication number
CN115878000A
CN115878000A CN202211602252.2A CN202211602252A CN115878000A CN 115878000 A CN115878000 A CN 115878000A CN 202211602252 A CN202211602252 A CN 202211602252A CN 115878000 A CN115878000 A CN 115878000A
Authority
CN
China
Prior art keywords
data
data item
state
selection
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211602252.2A
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.)
Qingdao Zhongke Shuguang Technology Service Co ltd
Original Assignee
Qingdao Zhongke Shuguang Technology Service Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Zhongke Shuguang Technology Service Co ltd filed Critical Qingdao Zhongke Shuguang Technology Service Co ltd
Priority to CN202211602252.2A priority Critical patent/CN115878000A/en
Publication of CN115878000A publication Critical patent/CN115878000A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a paging display method, device, equipment and medium. The method comprises the following steps: through the data management page, providing identification information and a data selection control of a plurality of paging data corresponding to the data to be displayed for a user; determining target paging data selected by a user, and acquiring the target paging data and a selected data list corresponding to the user; determining the selection state of each data item in the target paging data according to the selection data list; and displaying each data item in the target paging data and the data item selection control corresponding to each data item in the data display area of the data management page, and setting the control state of the data item selection control according to the selection state of each data item. The embodiment of the invention can set the control state of the data item selection control corresponding to each data item based on the selected data list corresponding to the user, so that the user can determine the data item selected in the data viewing process according to the control state.

Description

Paging display method, apparatus, device and medium
Technical Field
The invention relates to the technical field of computers, in particular to a paging display method, device, equipment and medium.
Background
Data with large data volume is difficult to show in one page of the electronic device. Electronic devices often use a paginated display to present data with a large amount of data.
In the related art, a common page display method is as follows: the technical personnel divide the data with large data volume into a plurality of paging data and store each paging data corresponding to the data into the database. When the electronic equipment acquires a display request of a user for certain paging data, the paging data is acquired from the database, and the paging data is displayed in a page, so that the user can browse each data item in the paging data, select the data item, and further process the selected data item. When the electronic equipment acquires a display request of the user for the other paging data, the other paging data is acquired from the database, and the other paging data is displayed in the page. The electronic equipment continuously updates the paging data displayed in the page according to the display request of the user, so that the user can repeatedly browse and select data items among a plurality of paging data.
In the related art paging display method, when a user repeatedly performs browsing and data item selection operations among a plurality of paging data, the user's data item selection operations cannot be recorded. When a user returns to browse a certain paging data, the user cannot see which data items in the paging data are selected in the current data viewing process and the finished data viewing process, and the user experience is poor.
Disclosure of Invention
The invention provides a paging display method, a paging display device, paging display equipment and a paging display medium, which are used for solving the problems that in a paging display scheme in the related technology, the selection operation of a data item of a user cannot be recorded, so that when the user returns to browse certain paging data, the user cannot see which data item in the paging data is selected in the current data viewing process and the completed data viewing process, and the user experience is poor.
According to an aspect of the present invention, there is provided a page display method including:
through the data management page, providing identification information and a data selection control of a plurality of paging data corresponding to the data to be displayed for a user;
determining target paging data selected by the user, and acquiring the target paging data and a selected data list corresponding to the user according to the target paging data and the identification information of the user;
determining the selection state of each data item in the target paging data according to the selection data list; wherein the selection state is an unselected state, a currently selected state or a historically selected state;
and displaying each data item in the target paging data and a data item selection control corresponding to each data item in a data display area of the data management page, and setting a control state of the data item selection control corresponding to each data item according to the selection state of each data item.
According to the technical scheme of the embodiment of the invention, the selection state of each data item in the target paging data can be determined based on the data item selected by the user in the current data viewing process and the data item selected in the completed data viewing process, which are stored in the selection data list corresponding to the user, and the control state of the data item selection control corresponding to each data item is set, so that the user can determine which data items in the target paging data are selected by the user in the current data viewing process and the completed data viewing process according to the control state of the data item selection control, and the user experience is improved.
Optionally, the obtaining the target paging data and the selected data list corresponding to the user according to the target paging data and the identification information of the user includes:
acquiring the target paging data from a preset database according to the identification information of the target paging data;
detecting whether a target selection data list corresponding to the identification information of the user exists in a local cache or not;
if the target selected data list is detected to exist in the local cache, the target selected data list is obtained, and the target selected data list is determined to be a selected data list corresponding to the user.
According to the technical scheme of the embodiment of the invention, the paging data which needs to be checked by the user at the current moment can be obtained in real time from the preset database according to the paging data checking request of the user each time, and whether a selection data list for storing the data items selected by the user in the current data checking process and the data items selected in the finished data checking process exists in the local cache can be inquired according to the identification information of the user.
Optionally, the selected data list includes currently selected data items and historically selected data items corresponding to the user;
determining the selection state of each data item in the target paging data according to the selection data list, including:
for each data item, performing the following:
detecting whether the currently selected data item and the historically selected data item contain data items;
if the currently selected data item contains the data item, determining that the selection state of the data item is the currently selected state;
if the history selected data item comprises the data item, determining that the selection state of the data item is a history selected state;
and if the currently selected data item and the historically selected data item do not contain the data item, determining that the selection state of the data item is an unselected state.
According to the technical scheme of the embodiment of the invention, the selection state of each data item in the target paging data can be determined based on the data item selected by the user in the current data viewing process and the data item selected in the completed data viewing process, which are stored in the selection data list corresponding to the user, so that the control state of the data item selection control corresponding to each data item can be conveniently set according to the selection state of each data item, and the user can select the control state of the control according to each data item to determine which data items in the target paging data are selected by the user in the current data viewing process and the completed data viewing process.
Optionally, the setting, according to the selection state of each data item, the control state of the data item selection control corresponding to each data item includes:
for each data item, performing the following operations:
if the selection state of the data item is the current selection state, setting the control state of the data item selection control corresponding to the data item as the selection state;
if the selection state of the data item is the history selection state, setting the control state of the data item selection control corresponding to the data item as the selection state, and forbidding the data item selection control;
and if the selection state of the data item is the unselected state, setting the control state of the data item selection control corresponding to the data item to be the unselected state.
According to the technical scheme of the embodiment of the invention, the control state of the data item selection control corresponding to each data item can be set according to the selection state of each data item, so that when each data item in the target paging data and the data item selection control corresponding to each data item are displayed in the data display area of the data management page, a user can determine which data items in the target paging data are selected by the user in the current data viewing process and the finished data viewing process according to the control state of each data item selection control.
Optionally, after setting the control state of the data item selection control corresponding to each data item according to the selection state of each data item, the method further includes:
and determining the target data item selected by the user, and storing the target data item into the currently selected data item.
According to the technical scheme of the embodiment of the invention, the data items selected by the user in the current data viewing process can be stored in the selected data list corresponding to the user, and the data item selection operation of the user in the current data viewing process is recorded.
Optionally, the method further includes:
acquiring a data submission instruction input by the user through the data management page;
and sending the currently selected data item in the selection data list to a preset database.
According to the technical scheme of the embodiment of the invention, when the user confirms that the current data viewing process is finished by inputting the data submitting instruction, the data items selected by the user in the current data viewing process and recorded in the selected data list are completely sent to the database, so that the data items selected by the user in the current data viewing process can be further processed conveniently.
Optionally, after detecting whether a target selection data list corresponding to the identification information of the user exists in the local cache, the method further includes:
if the target selection data list does not exist in the local cache, creating a target selection data list corresponding to the identification information of the user, and storing the target selection data list into the local cache;
and displaying each data item in the target paging data and the data item selection control corresponding to each data item in a data display area of the data management page, and setting the control state of the data item selection control corresponding to each data item to be in an unselected state according to the selection state of each data item.
According to the technical scheme of the embodiment of the invention, when the current data viewing process is determined to be the first data viewing process of the user and the user does not select any data item, the selected data list corresponding to the user can be created, and the control state of the data item selection control corresponding to each data item is set to be the unselected state, so that the data item selection operation of the user in the current data viewing process and the subsequent data viewing process can be conveniently recorded through the selected data list corresponding to the user.
According to another aspect of the present invention, there is provided a page display apparatus including:
the information providing module is used for providing the identification information of a plurality of paging data corresponding to the data to be displayed and the data selection control to a user through a data management page;
the data acquisition module is used for determining target paging data selected by the user and acquiring the target paging data and a selected data list corresponding to the user according to the target paging data and the identification information of the user;
a state determining module, configured to determine, according to the selected data list, a selected state of each data item in the target paging data; wherein the selection state is an unselected state, a currently selected state or a historically selected state;
and the data display module is used for displaying each data item in the target paging data and the data item selection control corresponding to each data item in the data display area of the data management page, and setting the control state of the data item selection control corresponding to each data item according to the selection state of each data item.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor;
and a memory communicatively coupled to the at least one processor network;
the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to execute the page display method according to any embodiment of the present invention.
According to another aspect of the present invention, a computer-readable storage medium is provided, and computer instructions are stored in the computer-readable storage medium, and when the computer instructions are executed, a processor implements the page display method according to any embodiment of the present invention.
According to the technical scheme of the embodiment of the invention, through the data management page, the identification information and the data selection control of a plurality of paging data corresponding to the data to be displayed are provided for a user; determining target paging data selected by a user, and acquiring the target paging data and a selected data list corresponding to the user according to the target paging data and identification information of the user; then, according to the selected data list, determining the selection state of each data item in the target paging data; wherein the selected state is an unselected state, a currently selected state or a historically selected state; the method comprises the steps of displaying each data item in target paging data and a data item selection control corresponding to each data item in a data display area of a data management page, and setting the control state of the data item selection control corresponding to each data item according to the selection state of each data item, so that the problems that when a user returns to browse certain paging data, the user cannot see which data items in the paging data are selected in the current data viewing process and the completed data viewing process, and the user experience is poor due to the fact that paging display schemes in related technologies cannot record the data item selection operation of the user, the user can determine the selection state of each data item in the target paging data based on the data items selected by the user in the current data viewing process and the data items selected in the completed data viewing process stored in a selection data list corresponding to the user, the control state of the data item selection control corresponding to each data item is set, the user can determine which data items are selected in the current data viewing process and the completed data viewing process according to the control state selected by the user, and the beneficial effects of the user on the data items in the target data viewing process are improved.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present invention, nor do they necessarily limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the description below are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a page display method according to an embodiment of the present invention.
Fig. 2 is a flowchart of a paging display method according to a second embodiment of the present invention.
Fig. 3 is a flowchart of a paging display method according to a third embodiment of the present invention.
Fig. 4 is a schematic structural diagram of a paging display device according to a fourth embodiment of the present invention.
Fig. 5 is a schematic structural diagram of an electronic device implementing the page display method according to the embodiment of the invention.
Detailed Description
In order to make those skilled in the art better understand the technical solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, shall fall within the protection scope of the present invention.
It should be noted that the terms "object," "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example one
Fig. 1 is a flowchart of a paging display method according to an embodiment of the present invention. The method can be executed by a paging display device, which can be implemented in a hardware and/or software manner and can be configured in an electronic device. As shown in fig. 1, the method includes:
step 101, providing identification information and data selection controls of a plurality of paging data corresponding to data to be displayed to a user through a data management page.
Optionally, the data to be displayed is data that the user needs to view in the current data viewing process. The data items in the data to be displayed are more and difficult to display in one page of the electronic equipment. The data to be displayed is divided into a plurality of paging data. Each paging data includes a part of data items in the data to be displayed. Each pagination data may be presented within one page of the electronic device. And storing each paging data corresponding to the data to be displayed in a preset database.
Alternatively, the identification information of the paging data is information for uniquely identifying the paging data. The identification information of different paging data is not identical. The identification information of the paging data may be a number corresponding to the paging data. And the preset database correspondingly stores each paging data corresponding to the data to be displayed and the identification information of each paging data.
Optionally, the providing, by the data management page, the identification information of the multiple paging data corresponding to the data to be displayed and the data selection control to the user includes: and displaying identification information of a plurality of paging data corresponding to the data to be displayed and a data selection control on the data management page. The data management page is a page which is arranged in the electronic equipment and is used for interacting with a user, acquiring information which is input by the user and is related to data or providing the data for the user. The data selection control of the paging data is a control for inputting a paging data selection operation for the paging data. The user can browse the identification information and the data selection control of each paging data displayed on the data management page, and click the data selection control of the paging data which needs to be checked at the current moment.
Step 102, determining target paging data selected by the user, and acquiring the target paging data and a selected data list corresponding to the user according to the target paging data and the identification information of the user.
Optionally, the target paging data is paging data that the user needs to view at the current time. Determining the target paging data selected by the user, including: when the clicking operation of a user on a target data selection control is detected, determining the paging data to which the data selection control belongs as the target paging data selected by the user. The target data selection control is one of the data selection controls for each page of data displayed on the data management page that the user clicks.
Optionally, the selected data list corresponding to the user is a list for storing the data items selected by the user in the current data viewing process and the data items selected in the completed data viewing process. The identification information of the user is information for uniquely identifying the user. The identification information of different users is not identical. The identification information of the user can be the name of the user or the number corresponding to the user. The electronic equipment creates a selected data list corresponding to each user in the first data viewing process of each user, and correspondingly stores the identification information of each user and the selected data list corresponding to each user in a local cache of the electronic equipment. And storing the data items selected by each user in each data viewing process into a selected data list corresponding to each user.
Optionally, the obtaining, according to the target paging data and the identification information of the user, the target paging data and a selected data list corresponding to the user include: acquiring the target paging data from a preset database according to the identification information of the target paging data; detecting whether a target selection data list corresponding to the identification information of the user exists in a local cache or not; if the target selected data list is detected to exist in the local cache, the target selected data list is obtained, and the target selected data list is determined to be a selected data list corresponding to the user.
Therefore, the paging data which needs to be checked by the user at the current moment can be obtained from the preset database in real time according to each paging data checking request of the user, and whether a selection data list for storing the data items selected by the user in the current data checking process and the data items selected in the finished data checking process exists in the local cache can be inquired according to the identification information of the user.
Optionally, obtaining the target paging data from a preset database according to the identification information of the target paging data, includes: inquiring first identification information which is the same as the identification information of the target paging data in the identification information of each paging data stored in a preset database; if the first identification information is inquired, obtaining paging data corresponding to the first identification information, and determining the paging data corresponding to the first identification information as the target paging data; if the first identification information is not inquired, displaying preset error prompt information on a data management page; and the preset error prompt information is used for prompting that the target paging data is obtained from a preset database.
Optionally, detecting whether a target selection data list corresponding to the identification information of the user exists in the local cache includes: inquiring second identification information which is the same as the identification information of the user in the identification information of each user stored in a local cache; if the second identification information is inquired, determining that a target selection data list corresponding to the identification information of the user exists in a local cache; and if the second identification information is not inquired, determining that a target selection data list corresponding to the identification information of the user does not exist in the local cache.
Optionally, if it is detected that the target selected data list exists in the local cache, the target selected data list is obtained, and the target selected data list is determined as a selected data list corresponding to the user. The target selected data list corresponding to the identification information of the user is the selected data list corresponding to the user, and is used for storing the data items selected by the user in the current data viewing process and the data items selected in the completed data viewing process.
And 103, determining the selection state of each data item in the target paging data according to the selection data list.
Wherein the selection state is an unselected state, a currently selected state or a historically selected state.
Optionally, the selection status of a data item is information for characterizing whether the user selects a data item in a current data viewing process or a completed data viewing process. The selection state of the data item is an unselected state, a currently selected state, or a historically selected state. The selection state of the data item is an unselected state, which indicates that the user has not selected the data item in the current data viewing process or the completed data viewing process. The selection state of the data item is the current selection state, which indicates that the user selects the data item in the current data viewing process. The selection state of the data item is a history selection state, which indicates that the user selects the data item in the completed data viewing process.
Optionally, the selected data list includes currently selected data items and historically selected data items corresponding to the user; determining the selection state of each data item in the target paging data according to the selection data list, including: for each data item, performing the following operations: detecting whether the currently selected data item and the history selected data item contain data items or not; if the currently selected data item contains the data item, determining that the selection state of the data item is the currently selected state; if the data item is contained in the history selected data item, determining that the selection state of the data item is the history selected state; and if the currently selected data item and the historically selected data item do not contain the data item, determining that the selection state of the data item is an unselected state.
Therefore, the selection state of each data item in the target paging data can be determined based on the data item selected by the user in the current data viewing process and the data item selected in the completed data viewing process, which are stored in the selection data list corresponding to the user, and the control state of the data item selection control corresponding to each data item can be conveniently set according to the selection state of each data item, so that the user can determine which data items in the target paging data are selected by the user in the current data viewing process and the completed data viewing process according to the control state of each data item selection control.
Optionally, the currently selected data item corresponding to the user is a data item selected by the user in the current data viewing process, and the data item is stored in the selected data list corresponding to the user. The historical selected data items corresponding to the user are the data items which are stored in the selected data list corresponding to the user and selected by the user in the completed data viewing process.
Optionally, if the currently selected data item includes the data item, which indicates that the user selects the data item in the current data viewing process, determining that the selection state of the data item is the currently selected state; if the history selected data item contains the data item, the user selects the data item in the completed data viewing process, and the selection state of the data item is determined to be the history selected state; and if the currently selected data item and the historically selected data item do not contain the data item, indicating that the user does not select the data item in the current data viewing process or the completed data viewing process, determining that the selection state of the data item is an unselected state.
And 104, displaying each data item in the target paging data and a data item selection control corresponding to each data item in a data display area of the data management page, and setting a control state of the data item selection control corresponding to each data item according to the selection state of each data item.
Optionally, the data display area is a page area in the data management page, where the page area is used to display each data item in the pagination data and the data item selection control corresponding to each data item. Each paginated data can be completely displayed in the data display area.
Optionally, the data item selection control corresponding to the data item is a control for inputting a data item selection operation for the data item. The data item selection control can be a selection box control. The control state of the data item selection control is an unselected state or a selected state. The data item selection control in the unselected state is a blank selection box. The data item selection control in the selected state is a selection box containing check icons.
Optionally, when the control state of the data item selection control corresponding to the data item is the unselected state, the user may set the control state of the data item selection control corresponding to the data item to the selected state by clicking the data item selection control corresponding to the data item, and select the data item.
Optionally, when the control state of the data item selection control corresponding to the data item is the selected state, the user may set the control state of the data item selection control corresponding to the data item to the unselected state by clicking the data item selection control corresponding to the data item, and cancel the selection operation on the data item.
Optionally, the electronic device can enable or disable the data item selection control. In the initial state, the respective data item selection controls are all enabled. After the data item selection control is enabled, the user can set the control state of the data item selection control by clicking on the data item selection control. After the data item selection control is enabled, the user cannot set the control state of the data item selection control by clicking the data item selection control, and the control state of the data item selection control remains unmodified.
Optionally, the setting, according to the selection state of each data item, a control state of a data item selection control corresponding to each data item includes: for each data item, performing the following: if the selection state of the data item is the current selection state, setting the control state of the data item selection control corresponding to the data item as the selection state; if the selection state of the data item is the history selection state, setting the control state of the data item selection control corresponding to the data item as the selection state, and forbidding the data item selection control; and if the selection state of the data item is the unselected state, setting the control state of the data item selection control corresponding to the data item to be the unselected state.
Therefore, the control state of the data item selection control corresponding to each data item can be set according to the selection state of each data item, so that when each data item in the target paging data and the data item selection control corresponding to each data item are displayed in the data display area of the data management page, a user can determine which data items in the target paging data are selected by the user in the current data viewing process and the completed data viewing process according to the control state of each data item selection control.
Optionally, if the control state of the data item selection control corresponding to the data item is the selected state and the data item selection control is disabled, it indicates that the user selects the data item in the completed data viewing process; if the control state of the data item selection control corresponding to the data item is the selected state and the data item selection control is started, indicating that the user selects the data item in the previous data viewing process; and if the control state of the data item selection control corresponding to the data item is the unselected state and the data item selection control is enabled, indicating that the user does not select the data item in the current data viewing process or the completed data viewing process.
Optionally, after setting the control state of the data item selection control corresponding to each data item according to the selection state of each data item, the method further includes: and determining the target data item selected by the user, and storing the target data item into the currently selected data item.
Therefore, the data items selected by the user in the current data viewing process can be stored in the selected data list corresponding to the user, and the data item selection operation of the user in the current data viewing process can be recorded.
Optionally, determining the target data item selected by the user, and storing the target data item in the currently selected data item, includes: when the clicking operation of a user on the target data item selection control is detected, the control state of the target data item selection control is in an unselected state, and the target data item selection control is started, determining the data item to which the target data item selection control belongs as the target data item selected by the user, and storing the target data item into the currently selected data item. The target data item selection control is a data item selection control clicked by a user in the data item selection controls corresponding to the data items.
Optionally, determining the data item to which the target data item selection control belongs as the target data item selected by the user, and storing the target data item in the currently selected data item, further includes: and when the clicking operation of the user on the target data item selection control is detected, the control state of the target data item selection control is a selected state, and the target data item selection control is started, deleting the target data item in the currently selected data item.
Optionally, the method further includes: acquiring a data submission instruction input by the user through the data management page; and sending the currently selected data item in the selection data list to a preset database.
Therefore, when the user confirms that the current data viewing process is finished by inputting a data submitting instruction, the data items selected by the user in the current data viewing process and recorded in the selected data list can be completely sent to the database, and the data items selected by the user in the current data viewing process can be further processed conveniently.
Optionally, the data submitting instruction is an instruction for requesting to send the data item selected in the current data viewing process to the preset database when it is confirmed that the current data viewing process is finished. And a data submission control is arranged on the data management page. The data commit control is a control for entering a data commit instruction. When the clicking operation of a user on a data submission control is detected, determining that the user inputs a data submission instruction, and sending the currently selected data item in the selected data list to a preset database. And a preset database stores the currently selected data item.
Optionally, when the click operation of the user on the data submission control is detected, it is determined that the data submission instruction is input by the user, and it is determined that the current data viewing process is finished, that is, the current data viewing process becomes a completed data viewing process. After the currently selected data items in the selected data list are sent to a preset database, the currently selected data items in the selected data list are updated to the history selected data items. Thus, after the current data viewing process becomes the completed data viewing process, the data item selected by the user in the current data viewing process recorded in the selected data list is updated to the data item selected by the user in the completed data viewing process.
Optionally, after detecting whether a target selection data list corresponding to the identification information of the user exists in the local cache, the method further includes: if the target selection data list does not exist in the local cache, creating a target selection data list corresponding to the identification information of the user, and storing the target selection data list into the local cache; and displaying each data item in the target paging data and the data item selection control corresponding to each data item in a data display area of the data management page, and setting the control state of the data item selection control corresponding to each data item to be in an unselected state according to the selection state of each data item.
Therefore, when the current data viewing process is determined to be the first data viewing process of the user and the user does not select any data item, the selected data list corresponding to the user is created, the control state of the data item selection control corresponding to each data item is set to be the unselected state, and the data item selection operation of the user in the current data viewing process and the subsequent data viewing process is conveniently recorded through the selected data list corresponding to the user.
Optionally, the target selected data list does not exist in the local cache, which indicates that the current data viewing process is the first data viewing process of the user, and the user has not selected any data item yet.
According to the technical scheme of the embodiment of the invention, through the data management page, the identification information and the data selection control of a plurality of paging data corresponding to the data to be displayed are provided for a user; determining target paging data selected by a user, and acquiring the target paging data and a selected data list corresponding to the user according to the target paging data and identification information of the user; then, according to the selected data list, determining the selection state of each data item in the target paging data; wherein, the selection state is an unselected state, a current selection state or a historical selection state; the method comprises the steps of displaying each data item in target paging data and a data item selection control corresponding to each data item in a data display area of a data management page, and setting the control state of the data item selection control corresponding to each data item according to the selection state of each data item, so that the problems that when a user returns to browse certain paging data, the user cannot see which data items in the paging data are selected in the current data viewing process and the completed data viewing process, and the user experience is poor due to the fact that paging display schemes in related technologies cannot record the data item selection operation of the user, the user can determine the selection state of each data item in the target paging data based on the data items selected by the user in the current data viewing process and the data items selected in the completed data viewing process stored in a selection data list corresponding to the user, the control state of the data item selection control corresponding to each data item is set, the user can determine which data items are selected in the current data viewing process and the completed data viewing process according to the control state selected by the user, and the beneficial effects of the user on the data items in the target data viewing process are improved.
Example two
Fig. 2 is a flowchart of a paging display method according to a second embodiment of the present invention. Embodiments of the invention may be combined with various alternatives in one or more of the embodiments described above. As shown in fig. 2, the method includes:
step 201, providing the identification information of a plurality of paging data corresponding to the data to be displayed and the data selection control to the user through the data management page.
Step 202, determining target paging data selected by the user, and acquiring the target paging data from a preset database according to identification information of the target paging data.
Step 203, detecting whether a target selection data list corresponding to the identification information of the user exists in the local cache.
Step 204, if it is detected that the target selected data list exists in the local cache, acquiring the target selected data list, and determining the target selected data list as a selected data list corresponding to the user.
Step 205, determining the selection state of each data item in the target paging data according to the selection data list.
Wherein the selection state is an unselected state, a currently selected state or a historically selected state.
Step 206, displaying each data item in the target paging data and the data item selection control corresponding to each data item in the data display area of the data management page, and setting the control state of the data item selection control corresponding to each data item according to the selection state of each data item.
According to the technical scheme of the embodiment of the invention, the paging data which needs to be checked by the user at the current moment can be obtained in real time from the preset database according to the paging data checking request of the user each time, and whether a selection data list for storing the data items selected by the user in the current data checking process and the data items selected in the finished data checking process exists in the local cache can be inquired according to the identification information of the user.
EXAMPLE III
Fig. 3 is a flowchart of a paging display method according to a third embodiment of the present invention, including the following steps:
step 301, providing identification information of multiple paging data corresponding to the data to be displayed and a data selection control to a user through a data management page.
Step 302, determining target paging data selected by a user, and acquiring the target paging data from a preset database according to identification information of the target paging data.
Step 303, detecting whether a target selection data list corresponding to the identification information of the user exists in the local cache: if yes, go to step 304; if not, go to step 308.
And 304, acquiring a target selection data list, and determining the target selection data list as a selection data list corresponding to the user.
Step 305, determining the selection state of each data item in the target paging data according to the selection data list.
Wherein the selected state is an unselected state, a currently selected state or a historically selected state.
And step 306, displaying each data item in the target paging data and the data item selection control corresponding to each data item in the data display area of the data management page, and setting the control state of the data item selection control corresponding to each data item according to the selection state of each data item.
And 307, determining a target data item selected by the user, and storing the target data item into the currently selected data item in the selected data list.
And 308, creating a target selection data list corresponding to the identification information of the user, and storing the target selection data list into a local cache.
And 309, displaying each data item in the target paging data and the data item selection control corresponding to each data item in the data display area of the data management page, and setting the control state of the data item selection control corresponding to each data item to be an unselected state according to the selection state of each data item.
And 310, determining a target data item selected by the user, and storing the target data item into the currently selected data item in the selected data list.
According to the technical scheme, the data items selected by the user in the current data viewing process can be stored in the selected data list corresponding to the user, the data item selection operation of the user in the current data viewing process is recorded, the selected data list corresponding to the user can be created when the current data viewing process is determined to be the first data viewing process of the user and the user does not select any data item, the control state of the data item selection control corresponding to each data item is set to be the unselected state, and the data item selection operation of the user in the current data viewing process and the subsequent data viewing process can be recorded conveniently through the selected data list corresponding to the user.
Example four
Fig. 4 is a schematic structural diagram of a paging display device according to a fourth embodiment of the present invention. The apparatus may be configured in an electronic device. As shown in fig. 4, the apparatus includes: an information providing module 401, a data acquisition module 402, a status determination module 403, and a data display module 404.
The information providing module 401 is configured to provide, through a data management page, identification information of multiple pieces of paging data corresponding to data to be displayed and a data selection control to a user; a data obtaining module 402, configured to determine target paging data selected by the user, and obtain the target paging data and a selected data list corresponding to the user according to the target paging data and the identification information of the user; a state determining module 403, configured to determine, according to the selected data list, a selected state of each data item in the target paging data; wherein the selection state is an unselected state, a currently selected state or a historically selected state; a data display module 404, configured to display, in a data display area of the data management page, each data item in the target paging data and a data item selection control corresponding to each data item, and set a control state of the data item selection control corresponding to each data item according to a selection state of each data item.
According to the technical scheme of the embodiment of the invention, through the data management page, the identification information and the data selection control of a plurality of paging data corresponding to the data to be displayed are provided for a user; determining target paging data selected by a user, and acquiring the target paging data and a selected data list corresponding to the user according to the target paging data and identification information of the user; then, according to the selected data list, determining the selection state of each data item in the target paging data; wherein the selected state is an unselected state, a currently selected state or a historically selected state; the method comprises the steps of displaying each data item in target paging data and a data item selection control corresponding to each data item in a data display area of a data management page, and setting the control state of the data item selection control corresponding to each data item according to the selection state of each data item, so that the problems that when a user returns to browse certain paging data, the user cannot see which data items in the paging data are selected in the current data viewing process and the completed data viewing process, and the user experience is poor due to the fact that paging display schemes in related technologies cannot record the data item selection operation of the user, the user can determine the selection state of each data item in the target paging data based on the data items selected by the user in the current data viewing process and the data items selected in the completed data viewing process stored in a selection data list corresponding to the user, the control state of the data item selection control corresponding to each data item is set, the user can determine which data items are selected in the current data viewing process and the completed data viewing process according to the control state selected by the user, and the beneficial effects of the user on the data items in the target data viewing process are improved.
In an optional implementation manner of the embodiment of the present invention, optionally, when the data obtaining module 402 performs an operation of obtaining the target paging data and the selected data list corresponding to the user according to the target paging data and the identification information of the user, the operation is specifically configured to: acquiring the target paging data from a preset database according to the identification information of the target paging data; detecting whether a target selection data list corresponding to the identification information of the user exists in a local cache or not; if the target selected data list is detected to exist in the local cache, the target selected data list is obtained, and the target selected data list is determined to be a selected data list corresponding to the user.
In an optional implementation manner of the embodiment of the present invention, optionally, the selected data list includes currently selected data items and historically selected data items corresponding to the user; the state determining module 403 is specifically configured to: for each data item, performing the following operations: detecting whether the currently selected data item and the history selected data item contain data items or not; if the currently selected data item contains the data item, determining that the selection state of the data item is the currently selected state; if the data item is contained in the history selected data item, determining that the selection state of the data item is the history selected state; and if the currently selected data item and the historically selected data item do not contain the data item, determining that the selection state of the data item is an unselected state.
In an optional implementation manner of the embodiment of the present invention, optionally, when the data display module 404 executes an operation of setting the control state of the data item selection control corresponding to each data item according to the selection state of each data item, specifically, the data display module is configured to: for each data item, performing the following: if the selection state of the data item is the current selection state, setting the control state of the data item selection control corresponding to the data item as the selection state; if the selection state of the data item is a history selection state, setting the control state of the data item selection control corresponding to the data item as a selection state, and forbidding the data item selection control; and if the selection state of the data item is the unselected state, setting the control state of the data item selection control corresponding to the data item to be the unselected state.
In an optional implementation manner of the embodiment of the present invention, optionally, the paging display apparatus further includes: and the data item storage module is used for determining the target data item selected by the user and storing the target data item into the currently selected data item.
In an optional implementation manner of the embodiment of the present invention, optionally, the paging display apparatus further includes: the data item storage module is used for submitting an instruction acquisition module and is used for acquiring a data submission instruction input by the user through the data management page; and the data submitting module is used for sending the currently selected data item in the selected data list to a preset database.
In an optional implementation manner of the embodiment of the present invention, optionally, the paging display apparatus further includes: a list creation module, configured to create a target selection data list corresponding to the identification information of the user and store the target selection data list in the local cache if it is detected that the target selection data list does not exist in the local cache; and the paging data display module is used for displaying each data item in the target paging data and the data item selection control corresponding to each data item in the data display area of the data management page, and setting the control state of the data item selection control corresponding to each data item to be in an unselected state according to the selection state of each data item.
With regard to the apparatus in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be described in detail here.
The paging display device can execute the paging display method provided by any embodiment of the invention, and has the corresponding functional module and the beneficial effect of executing the paging display method.
EXAMPLE five
Fig. 5 is a schematic structural diagram of an electronic device 10 that can be used to implement the page display method according to the embodiment of the present invention. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 5, the electronic device 10 includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, and the like, which is connected to the at least one processor 11 in a network communication manner, wherein the memory stores a computer program that can be executed by the at least one processor, and the processor 11 can perform various suitable actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program built from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data necessary for the operation of the electronic apparatus 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to the bus 14.
A number of components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, or the like; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
Processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The processor 11 performs the various methods and processes described above, such as the page display method.
In some embodiments, the page display method may be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is built into the RAM 13 and executed by the processor 11, one or more steps of the page display method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the paging display method in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Computer programs for implementing the page display method of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be performed. A computer program can execute entirely on a machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the Internet.
The computing system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present invention may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired results of the technical solution of the present invention can be achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method of page display, comprising:
through the data management page, providing identification information and a data selection control of a plurality of paging data corresponding to the data to be displayed for a user;
determining target paging data selected by the user, and acquiring the target paging data and a selected data list corresponding to the user according to the target paging data and the identification information of the user;
determining the selection state of each data item in the target paging data according to the selection data list; wherein the selection state is an unselected state, a currently selected state or a historically selected state;
and displaying each data item in the target paging data and a data item selection control corresponding to each data item in a data display area of the data management page, and setting a control state of the data item selection control corresponding to each data item according to the selection state of each data item.
2. The method of claim 1, wherein the obtaining the target paging data and the selected data list corresponding to the user according to the target paging data and the identification information of the user comprises:
acquiring the target paging data from a preset database according to the identification information of the target paging data;
detecting whether a target selection data list corresponding to the identification information of the user exists in a local cache or not;
if the target selected data list is detected to exist in the local cache, the target selected data list is obtained, and the target selected data list is determined to be a selected data list corresponding to the user.
3. The method of claim 2, wherein the selection data list contains currently selected data items and historically selected data items corresponding to the user;
determining the selection state of each data item in the target paging data according to the selection data list, including:
for each data item, performing the following operations:
detecting whether the currently selected data item and the history selected data item contain data items or not;
if the currently selected data item contains the data item, determining that the selection state of the data item is the currently selected state;
if the data item is contained in the history selected data item, determining that the selection state of the data item is the history selected state;
and if the currently selected data item and the historically selected data item do not contain the data item, determining that the selection state of the data item is an unselected state.
4. The method according to claim 3, wherein the setting the control state of the data item selection control corresponding to each data item according to the selection state of each data item includes:
for each data item, performing the following operations:
if the selection state of the data item is the current selection state, setting the control state of the data item selection control corresponding to the data item as the selection state;
if the selection state of the data item is the history selection state, setting the control state of the data item selection control corresponding to the data item as the selection state, and forbidding the data item selection control;
and if the selection state of the data item is the unselected state, setting the control state of the data item selection control corresponding to the data item to be the unselected state.
5. The method according to claim 3, further comprising, after setting the control state of the data item selection control corresponding to each data item according to the selection state of each data item, the following steps:
and determining a target data item selected by the user, and storing the target data item into the currently selected data item.
6. The method of claim 3, further comprising:
acquiring a data submission instruction input by the user through the data management page;
and sending the currently selected data item in the selected data list to a preset database.
7. The method of claim 2, after detecting whether a target selection data list corresponding to the identification information of the user exists in a local cache, further comprising:
if the target selection data list does not exist in the local cache, creating a target selection data list corresponding to the identification information of the user, and storing the target selection data list into the local cache;
and displaying each data item in the target paging data and the data item selection control corresponding to each data item in a data display area of the data management page, and setting the control state of the data item selection control corresponding to each data item to be in an unselected state according to the selection state of each data item.
8. A page display apparatus, comprising:
the information providing module is used for providing identification information of a plurality of paging data corresponding to the data to be displayed and the data selection control for a user through the data management page;
the data acquisition module is used for determining target paging data selected by the user and acquiring the target paging data and a selected data list corresponding to the user according to the target paging data and the identification information of the user;
a state determining module, configured to determine, according to the selected data list, a selection state of each data item in the target paging data; wherein the selection state is an unselected state, a currently selected state or a historically selected state;
and the data display module is used for displaying each data item in the target paging data and the data item selection control corresponding to each data item in a data display area of the data management page, and setting the control state of the data item selection control corresponding to each data item according to the selection state of each data item.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor;
and a memory communicatively coupled to the at least one processor network;
wherein the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform the page display method of any one of claims 1-7.
10. A computer-readable storage medium storing computer instructions for causing a processor to implement the page display method according to any one of claims 1 to 7 when executed.
CN202211602252.2A 2022-12-13 2022-12-13 Page display method, device, equipment and medium Pending CN115878000A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211602252.2A CN115878000A (en) 2022-12-13 2022-12-13 Page display method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211602252.2A CN115878000A (en) 2022-12-13 2022-12-13 Page display method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN115878000A true CN115878000A (en) 2023-03-31

Family

ID=85767336

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211602252.2A Pending CN115878000A (en) 2022-12-13 2022-12-13 Page display method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN115878000A (en)

Similar Documents

Publication Publication Date Title
US20150222731A1 (en) Computer, guide information providing method and recording medium
CN112558966B (en) Depth model visualization data processing method and device and electronic equipment
CN114330249A (en) Information editing method, device, equipment and storage medium
CN113190746A (en) Recommendation model evaluation method and device and electronic equipment
CN115860877A (en) Product marketing method, device, equipment and medium
CN116009847A (en) Code generation method, device, electronic equipment and storage medium
CN115910266A (en) Report reading method and device, electronic equipment and storage medium
CN115878000A (en) Page display method, device, equipment and medium
CN115905322A (en) Service processing method and device, electronic equipment and storage medium
CN114995728A (en) Rule configuration method and device, electronic equipment and storage medium
CN115329150A (en) Method and device for generating search condition tree, electronic equipment and storage medium
CN115017047A (en) Test method, system, equipment and medium based on B/S architecture
CN112860811A (en) Method and device for determining data blood relationship, electronic equipment and storage medium
CN113052325A (en) Method, device, equipment, storage medium and program product for optimizing online model
CN113434432B (en) Performance test method, device, equipment and medium for recommendation platform
CN114756398A (en) Data processing method, device, equipment and medium
CN114721942A (en) Test data generation method, device, equipment and storage medium
CN114297510A (en) Product recommendation method and device, electronic equipment and medium
CN115718627A (en) BIOS configuration method, device, equipment and medium
CN113962382A (en) Training sample construction method and device, electronic equipment and readable storage medium
CN115858367A (en) Test case screening method, device, equipment and medium
CN115599998A (en) Information generation method and device, storage medium, electronic equipment and product
CN116382831A (en) Page switching method, device, equipment and medium
CN115712645A (en) Data processing method, device, equipment and storage medium
CN116400956A (en) Code merging information determining method and device, electronic equipment and storage medium

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