CN115061618A - Method and device for displaying list data in sliding mode and electronic equipment - Google Patents

Method and device for displaying list data in sliding mode and electronic equipment Download PDF

Info

Publication number
CN115061618A
CN115061618A CN202210582317.5A CN202210582317A CN115061618A CN 115061618 A CN115061618 A CN 115061618A CN 202210582317 A CN202210582317 A CN 202210582317A CN 115061618 A CN115061618 A CN 115061618A
Authority
CN
China
Prior art keywords
sliding
data
list data
slider
real
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
CN202210582317.5A
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.)
Shenzhen Lvlian Technology Co Ltd
Original Assignee
Shenzhen Lvlian Technology 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 Shenzhen Lvlian Technology Co Ltd filed Critical Shenzhen Lvlian Technology Co Ltd
Priority to CN202210582317.5A priority Critical patent/CN115061618A/en
Publication of CN115061618A publication Critical patent/CN115061618A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • 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

Abstract

The invention discloses a method, a device, equipment, a storage medium and a program product for sliding display list data, wherein the method comprises the following steps: determining a first sliding amount of a slider in response to a sliding trigger operation of a user for the slider; determining a first sliding proportion parameter corresponding to the sliding block according to the first sliding amount of the sliding block and the first maximum slidable amount corresponding to the sliding block; determining a first display position corresponding to the list data according to the first sliding proportion parameter and a first current position parameter of the list data corresponding to the sliding block; and performing sliding response operation on the list data, and displaying the list data to the first display position. Therefore, the list data can be adaptively and slidably displayed based on the sliding triggering operation of the user on the sliding block, and when the list data with larger data volume is handled, the sliding display efficiency can be effectively improved compared with the traditional sliding mode, and better operation experience is brought to the user.

Description

Method and device for displaying list data in sliding mode and electronic equipment
Technical Field
The present invention relates to the field of data visualization technologies, and in particular, to a method, an apparatus, a device, a storage medium, and a program product for displaying list data in a sliding manner.
Background
With the improvement of computer processing capability and the popularization of portable terminal devices such as mobile phones, software on various devices has rapidly developed, and the amount of information that can be displayed on the software has also increased rapidly, so that long pages often appear on list display data of the devices. In the prior art, when a user wants to view such a page, the user generally clicks and touches the page to slide, and when the data amount of the page is large, the user needs to frequently slide the page to reach a position where the sliding needs to be positioned and then stops. The viewing mode has extremely low efficiency and poor use experience, and thus the defects of the prior art exist and need to be solved urgently.
Disclosure of Invention
Compared with the traditional sliding mode, the method, the device, the equipment, the storage medium and the program product for displaying the list data in a sliding mode can effectively improve the sliding display efficiency and bring better operation experience to users.
In order to solve the above technical problem, a first aspect of the present invention discloses a method for displaying list data in a sliding manner, which is applied to an electronic device having a display interface, where the display interface at least includes a slider for sliding data in the display interface, and the method includes:
determining a first sliding amount of the slider in response to a sliding trigger operation of a user for the slider;
determining a first sliding proportion parameter corresponding to the sliding block according to the first sliding amount of the sliding block and a first maximum slidable amount corresponding to the sliding block;
determining a first display position corresponding to the list data according to the first sliding proportion parameter and a first current position parameter of the list data corresponding to the sliding block;
and performing sliding response operation on the list data, and displaying the list data to the first display position.
As an alternative implementation, in the first aspect of the present invention, the method further includes:
determining a second sliding amount of the list data in response to a sliding trigger operation of a user on the list data;
determining a second sliding proportion parameter corresponding to the list data according to a second sliding quantity of the list data and a second maximum slidable quantity corresponding to the list data;
determining a second display position corresponding to the sliding block according to the second sliding proportion parameter and a second current position parameter of the sliding block;
and performing a sliding response operation on the slider to enable the slider to be displayed to the second display position.
As an alternative embodiment, in the first aspect of the present invention, the slider comprises a slider part and a slider label; the method further comprises the following steps:
determining a first real-time position of the slider part during the sliding of the slider;
determining a real-time data identifier corresponding to the slider component according to the first real-time position of the slider component and the list data; the real-time data identifying a data characteristic indicating content corresponding to a first real-time position of the slider component in the list data;
and updating and displaying the slider label as the real-time data identifier in real time.
As an optional implementation manner, in the first aspect of the present invention, the determining, according to the first real-time position of the slider component and the list data, a real-time data identifier corresponding to the slider component includes:
determining a corresponding data portion of the first real-time position of the slider component in the list data;
determining a data identifier corresponding to the data part according to the data in the data part; the data identification comprises at least one of a data type parameter, a data time parameter and a data category parameter of the data in the data portion;
and determining the data identifier corresponding to the data part as the real-time data identifier corresponding to the slider component.
As an optional implementation manner, in the first aspect of the present invention, the list data includes a plurality of pictures; the presenting the list data to the first presentation location includes:
determining a second real-time position of the list data in real time during the sliding process of the list data;
determining at least one picture identifier corresponding to a second real-time position in real time according to the second real-time position of the list data and a preset picture identifier position relation;
and displaying the list data to the first display position, and loading and displaying the corresponding picture according to at least one picture identifier corresponding to the second real-time position.
As an optional implementation manner, in the first aspect of the present invention, the loading and displaying the corresponding picture according to at least one picture identifier corresponding to the second real-time location includes:
preloading at least one picture corresponding to the first display position;
comparing at least one picture identifier corresponding to the second real-time position with at least one picture corresponding to the first display position to obtain a comparison result;
and loading and displaying the corresponding picture according to the comparison result.
As an optional implementation manner, in the first aspect of the present invention, the loading and displaying the corresponding picture according to the comparison result includes:
if the comparison result shows that at least one picture identifier corresponding to the second real-time position is consistent with at least one picture corresponding to the first display position, displaying at least one picture corresponding to the first display position;
otherwise, discarding at least one picture corresponding to the first display position;
and/or the presence of a gas in the gas,
determining at least one target picture which is consistent with at least one picture identifier corresponding to the second real-time position in at least one picture corresponding to the first display position according to the comparison result;
and displaying the at least one target picture.
The second aspect of the present invention discloses a device for displaying list data in a sliding manner, which is applied to an electronic device with a display interface, wherein the display interface at least comprises a slider for sliding data in the display interface, and the device comprises:
the sliding determining module is used for responding to the sliding triggering operation of a user for the slider and determining a first sliding amount of the slider;
the parameter determining module is used for determining a first sliding proportion parameter corresponding to the sliding block according to the first sliding amount of the sliding block and the first maximum slidable amount corresponding to the sliding block;
the position determining module is used for determining a first display position corresponding to the list data according to the first sliding proportion parameter and a first current position parameter of the list data corresponding to the sliding block;
and the sliding display module is used for executing sliding response operation on the list data and displaying the list data to the first display position.
As an optional implementation manner, in the second aspect of the present invention, the sliding determination module is further configured to determine a second sliding amount of the list data in response to a sliding trigger operation performed by a user on the list data;
the parameter determining module is further configured to determine a second sliding proportion parameter corresponding to the list data according to a second sliding amount of the list data and a second maximum slidable amount corresponding to the list data;
the position determining module is further configured to determine a second display position corresponding to the slider according to the second sliding proportion parameter and a second current position parameter of the slider;
the sliding display module is also used for executing sliding response operation on the sliding block so as to enable the sliding block to be displayed to the second display position.
As an alternative embodiment, in the second aspect of the present invention, the slider comprises a slider part and a slider label; the apparatus also includes a tag update module for performing the steps of:
determining a first real-time position of the slider part during the sliding of the slider;
determining a real-time data identifier corresponding to the slider component according to the first real-time position of the slider component and the list data; the real-time data identifying a data characteristic indicating content corresponding to a first real-time position of the slider component in the list data;
and updating and displaying the slider label as the real-time data identifier in real time.
As an optional implementation manner, in the second aspect of the present invention, the determining, by the tag update module, a specific manner of the real-time data identifier corresponding to the slider component according to the first real-time position of the slider component and the list data includes:
determining a corresponding data portion of the first real-time position of the slider component in the list data;
determining a data identifier corresponding to the data part according to the data in the data part; the data identification comprises at least one of a data type parameter, a data time parameter and a data category parameter of the data in the data portion;
and determining the data identifier corresponding to the data part as the real-time data identifier corresponding to the slider component.
As an optional implementation manner, in the second aspect of the present invention, the list data includes a plurality of pictures; the specific way in which the sliding display module displays the list data to the first display position includes:
determining a second real-time position of the list data in real time during the sliding process of the list data;
determining at least one picture identifier corresponding to a second real-time position in real time according to the second real-time position of the list data and a preset picture identifier position relation;
and displaying the list data to the first display position, and loading and displaying the corresponding picture according to at least one picture identifier corresponding to the second real-time position.
As an optional implementation manner, in the second aspect of the present invention, the specific manner of loading and displaying the corresponding picture by the sliding display module according to the at least one picture identifier corresponding to the second real-time position includes:
preloading at least one picture corresponding to the first display position;
comparing at least one picture identifier corresponding to the second real-time position with at least one picture corresponding to the first display position to obtain a comparison result;
and loading and displaying the corresponding picture according to the comparison result.
As an optional implementation manner, in the second aspect of the present invention, the specific manner of loading and displaying the corresponding picture by the sliding display module according to the comparison result includes:
if the comparison result shows that at least one picture identifier corresponding to the second real-time position is consistent with at least one picture corresponding to the first display position, displaying at least one picture corresponding to the first display position;
otherwise, discarding at least one picture corresponding to the first display position;
and/or the presence of a gas in the gas,
determining at least one target picture which is consistent with at least one picture identifier corresponding to the second real-time position in at least one picture corresponding to the first display position according to the comparison result;
and displaying the at least one target picture.
A third aspect of the present invention discloses an electronic apparatus, comprising:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute part or all of the steps of the method for sliding the show list data disclosed by the first aspect of the invention.
In a fourth aspect of the present invention, a computer storage medium is disclosed, which stores computer instructions for performing some or all of the steps of the method for sliding presentation list data disclosed in the first aspect of the present invention when the computer instructions are called.
A fifth aspect of the invention discloses a computer program product comprising computer programs/instructions which, when executed by a processor, implement some or all of the steps of the method of sliding a show list data disclosed in the first aspect of the invention.
Compared with the prior art, the invention has the following beneficial effects:
the method and the device can adaptively slide and display the list data based on the sliding trigger operation of the user on the sliding block, and can effectively improve the sliding display efficiency and bring better operation experience to the user compared with the traditional sliding mode when dealing with the list data with larger data volume.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a flowchart illustrating a method for displaying list data in a sliding manner according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating another method for sliding the data of the display list according to the embodiment of the present invention;
FIG. 3 is a schematic structural diagram of an apparatus for displaying list data in a sliding manner according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of another apparatus for displaying list data in a sliding manner according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, 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 derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," and the like in the description and claims of the present invention and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, apparatus, article, or article that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or article.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The invention discloses a method, a device, equipment, a storage medium and a program product for displaying list data in a sliding mode, which can adaptively slide the displayed list data based on the sliding trigger operation of a user on a sliding block, and can effectively improve the sliding display efficiency and bring better operation experience to the user compared with the traditional sliding mode when dealing with the list data with larger data volume. The following are detailed below.
Example one
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a method for displaying list data in a sliding manner according to an embodiment of the present invention. The method described in fig. 1 may be applied to a corresponding data display device, such as a data display terminal, a data display device, or a data display server, where the server may be a cloud server or a local server, and the embodiment of the present invention is not limited thereto. Specifically, the method for displaying list data in a sliding manner is applied to an electronic device with a display interface, and the display interface of the electronic device at least includes a slider for sliding data in the display interface, as shown in fig. 1, which may include the following operations:
101. a first amount of sliding of the slider is determined in response to a slide trigger operation of the user on the slider.
Alternatively, the slider according to the present invention may be an indicator with a fixed shape, such as a rectangular or circular display component, disposed in a specific area of the display interface, for receiving a sliding trigger operation of a user. Optionally, the sliding trigger operation of the user for the slider may be triggered by a human-computer interaction device such as a mouse, or may be triggered by the user directly operating the slider through a touch screen, which is not limited in the present invention.
Optionally, the first sliding amount of the slider may be a sliding distance of the slider on a specific area, for example, a sliding distance on a sliding track corresponding to the slider, or may also be a track length or a track area corresponding to a sliding track of the slider, which is not limited in the present invention. Optionally, the first sliding amount of the slider may be directly called through a corresponding API, or may be measured and calculated according to positions of the slider before and after the sliding trigger operation, which is not limited in the present invention.
102. And determining a first sliding proportion parameter corresponding to the sliding block according to the first sliding amount of the sliding block and the first maximum slidable amount corresponding to the sliding block.
Optionally, the first maximum slidable amount corresponding to the slider may be a maximum sliding distance of the slider on the specific area, for example, the maximum sliding distance on the sliding rail corresponding to the slider may be, for example, equal to a length of the sliding rail minus a length of the slider itself, or may be a maximum length of the specific area corresponding to the slider in the sliding direction corresponding to the first slidable amount, which is not limited in the present invention.
Optionally, the first sliding proportion parameter is a ratio of the first sliding amount to the first maximum slidable amount, which may be a percentage or a value accurate to a specific decimal place, and the present invention is not limited thereto.
103. And determining a first display position corresponding to the list data according to the first sliding proportion parameter and the first current position parameter of the list data corresponding to the sliding block.
Optionally, a second maximum slidable amount of the list data corresponding to the slider may be determined first, then a product of the first sliding ratio parameter and the second maximum slidable amount is calculated to obtain a slidable amount corresponding to the list data, and finally the first display position corresponding to the list data is determined according to the first current position parameter and the slidable amount of the list data.
Optionally, the second maximum slidable amount corresponding to the list data may be a maximum distance or a maximum data amount that the list data can slide, which may be a difference between a total amount of data of the list data and a current displayed data amount of the list data, or a difference between a total amount of pixels of the list data and a current displayed pixel amount of the list data.
104. And performing sliding response operation on the list data, and displaying the list data to a first display position.
Optionally, the executing the sliding response operation on the list data may be to call a corresponding function according to the first display position, or may also be to call a corresponding function according to a sliding amount of the list data corresponding to the first display position, which depends on the incoming parameters required by the corresponding function, and the present invention is not limited thereto.
Therefore, the method described by the embodiment of the invention can adaptively slide and display the list data based on the sliding trigger operation of the user on the slider, and compared with the traditional sliding mode, the method can effectively improve the sliding display efficiency and bring better operation experience to the user when dealing with the list data with larger data volume.
As an alternative embodiment, the method further comprises:
determining a second sliding amount of the list data in response to the sliding trigger operation of the user on the list data;
determining a second sliding proportion parameter corresponding to the list data according to the second sliding quantity of the list data and a second maximum slidable quantity corresponding to the list data;
determining a second display position corresponding to the sliding block according to the second sliding proportion parameter and the second current position parameter of the sliding block;
and performing sliding response operation on the sliding block so that the sliding block is displayed to the second display position.
One of the objectives of the present alternative embodiment is to correspondingly adjust the position of the slider when the user performs the sliding triggering operation directly on the list data, so that the position corresponding relationship between the slider and the list data is maintained, and meanwhile, the sliding triggering operation on the list data by the user may also be the sliding response operation on the list data performed in step 101 and 104, in this case, one of the objectives of the present alternative embodiment is that, when the system performs the sliding display on the list data by the user through the sliding of the slider, because there may be a deviation in the position calculation of the sliding display, or there are some rule restrictions in the display of the system, the first display position where the list data is finally displayed may not correspond to the current position of the slider, so that the position of the slider needs to be adjusted inversely according to the current sliding amount of the list data, so that the positional correspondence between the slider and the list data is maintained.
Optionally, the sliding trigger operation of the user for the list data may be triggered by a human-computer interaction device such as a mouse, or may be triggered by the user directly operating the list data through a touch screen, which is not limited in the present invention.
Optionally, the details of the parameters of the first maximum slidable amount and the second maximum slidable amount may refer to the description in the previous embodiment, and are not described herein again.
Optionally, the second sliding proportion parameter is a ratio of the second sliding amount to the second maximum slidable amount, which may be a percentage or a value accurate to a specific decimal place, and the present invention is not limited thereto.
Optionally, a first maximum slidable amount corresponding to the slider may be determined first, then a product of the second sliding proportion parameter and the first maximum slidable amount is calculated to obtain a slidable amount corresponding to the slider, and finally a second display position corresponding to the slider is determined according to the second current position parameter and the slidable amount of the slider.
Optionally, the sliding response operation performed on the slider may be performed by calling a corresponding function according to the second display position, or may be performed by calling a corresponding function according to the sliding amount of the slider corresponding to the second display position, which depends on the incoming parameters required by the corresponding function, and the invention is not limited thereto.
Therefore, by executing the optional embodiment, the slider can be adjusted to the corresponding second display position according to the second sliding amount of the list data, so that the position corresponding relation between the slider and the list data can be maintained, the accuracy of subsequent further sliding display is effectively improved, and better operation experience is brought to a user.
As an alternative embodiment, the slider may include a slider part and a slider label, wherein in particular, the slider label may be a display part partially connected to the slider part, for example, a dialog style display part, and the tail of the slider label is connected to the edge of the slider part, so that the user can clearly see the association relationship between the two.
Correspondingly, the method further comprises the following steps:
determining a first real-time position of a slider component during slider sliding;
determining a real-time data identifier corresponding to the sliding block component according to the first real-time position of the sliding block component and the list data;
and updating and displaying the slider label as a real-time data identifier in real time.
In particular, the real-time data identifies a data characteristic indicating a content corresponding to the first real-time position of the slider component in the list data.
Optionally, the sliding process of the slider may be a sliding process caused by performing a sliding triggering operation or a sliding responding operation on the slider according to the steps in the foregoing embodiment, or may be a sliding process caused by performing other operations, which is not limited in the present invention.
Therefore, according to the optional embodiment, the slider label can be updated and displayed in real time as the real-time data identifier according to the first real-time position of the slider component in the sliding process of the slider, so that a user can sense the data characteristics of the list data at the moment in the sliding process of the slider, on one hand, misoperation of the user can be effectively reduced, the accuracy of sliding display is improved, and on the other hand, better and more visual operation experience is brought to the user.
As an alternative embodiment, in the above step, determining the real-time data identifier corresponding to the slider component according to the first real-time position of the slider component and the list data includes:
determining a corresponding data portion of the first real-time position of the slider component in the list data;
determining a data identifier corresponding to the data part according to the data in the data part;
and determining the data identifier corresponding to the data part as the real-time data identifier corresponding to the slider component.
Optionally, the data identifier may include at least one of a data type parameter, a data time parameter, and a data category parameter of the data in the data portion.
Optionally, the data type parameter may be a preset data type to which the data belongs, such as a file type, an audio type, a video type, or an image type. Optionally, the data time parameter may be a time parameter corresponding to the data, such as a latest modification time, an acquisition time, or a setup time.
Optionally, the data category parameter may be a category to which the data belongs in at least one preset classification dimension, where the classification dimension may be a classification dimension according to a use of the data, a classification dimension according to a life scene corresponding to the data, or another classification dimension, and the present invention is not limited herein.
Optionally, determining the corresponding data portion of the first real-time position of the slider part in the list data may include:
determining a display interface corresponding to the first real-time position of the sliding block component;
and determining the part of the list data displayed in the specific area in the display interface as the corresponding data part of the first real-time position of the slider part in the list data.
Optionally, the specific area is a top area or a middle area of the display interface.
Optionally, determining the corresponding data portion of the first real-time position of the slider part in the list data may include:
determining the position proportion corresponding to the sliding block component according to the ratio of the first real-time position of the sliding block component to the maximum position corresponding to the sliding block component;
determining a corresponding list position in the list data according to the product of the position proportion and the maximum position of the list data;
the corresponding data portion in the list data is determined according to the list position.
The list data may be divided in advance to obtain a plurality of preset data portions, and a preset data portion having an intersection with the list position in the plurality of preset data portions is determined as a data portion corresponding to the list position in the list data.
Optionally, determining the data identifier corresponding to the data portion according to the data in the data portion may include:
determining all target data included in the data part;
acquiring a parameter value of each target data in at least one data parameter category, and determining common data identifications corresponding to all the target data according to a preset common calculation algorithm;
and determining the common data identifier as the data identifier corresponding to the data part.
The common calculation algorithm may determine the parameter values corresponding to the data parameter classes in which the parameter values of all the target data in all the data parameter classes are completely the same as a common data identifier corresponding to all the target data, or may calculate the same rate corresponding to each data parameter class, and determine the parameter value with the largest occurrence frequency in the data parameter class with the highest rate as the common data identifier corresponding to all the target data.
Optionally, the data parameter category may include at least one of a data type parameter, a data time parameter and a data category parameter of the data, and the data details thereof may refer to the above expression.
Specifically, the same rate corresponding to each data parameter category is a ratio of the maximum value of the same parameter values in the parameter values of all target data corresponding to each data parameter category to the total number of all target data.
Therefore, according to the optional embodiment, the real-time data identifier corresponding to the slider component can be determined according to the data identifier corresponding to the data part corresponding to the first real-time position of the slider component in the list data, so that the data identifier capable of representing the data characteristic of the list data at the moment can be determined more accurately, on one hand, misoperation of a user can be effectively reduced, accuracy of sliding display is improved, and on the other hand, better and more visual operation experience is brought to the user.
Example two
Referring to fig. 2, fig. 2 is a flowchart illustrating another method for displaying list data in a sliding manner according to an embodiment of the present invention. The method described in fig. 2 may be applied to a corresponding data display device, such as a data display terminal, a data display device, or a data display server, where the server may be a cloud server or a local server, and the embodiment of the present invention is not limited thereto. Specifically, the method for displaying list data in a sliding manner is applied to an electronic device with a display interface, and the display interface of the electronic device at least includes a slider for sliding data in the display interface, as shown in fig. 2, which may include the following operations:
201. a first amount of sliding of the slider is determined in response to a slide trigger operation of the user on the slider.
202. And determining a first sliding proportion parameter corresponding to the sliding block according to the first sliding amount of the sliding block and the first maximum slidable amount corresponding to the sliding block.
203. And determining a first display position corresponding to the list data according to the first sliding proportion parameter and the first current position parameter of the list data corresponding to the sliding block.
Optionally, the list data includes a plurality of pictures, for example, the list data may be list data in which pictures are displayed in a part of columns or rows, or list data composed of pictures, which is not limited in the present invention.
204. A sliding response operation is performed on the list data.
The specific technical details in steps 201-204 can refer to the corresponding description of steps 101-104 in the first embodiment, and this embodiment is not repeated herein.
205. During the sliding of the list data, a second real-time position of the list data is determined in real-time.
Optionally, the second real-time position of the list data may be a position corresponding to display data of the list data in a preset area of the current display page, for example, a position corresponding to data displayed at the top or the bottom, and may be obtained through a preset API function.
206. And determining at least one picture identifier corresponding to the second real-time position in real time according to the second real-time position of the list data and a preset picture identifier position relation.
Optionally, a plurality of picture identifiers and corresponding list data positions are stored in the preset picture identifier position relationship, and at least one corresponding picture identifier may be directly determined according to the second real-time position of the list data. Optionally, the picture identifier is an identifier for indicating corresponding picture data, and may be a data parameter such as an ID value, or may be in other forms, which is not limited in the present invention.
207. And displaying the list data to a first display position, and loading and displaying a corresponding picture according to at least one picture identifier corresponding to a second real-time position.
Therefore, the method described in the embodiment of the invention can continuously update the corresponding picture identifier during the list sliding, and then display the picture directly according to the latest picture identifier after the sliding is finished.
As an alternative embodiment, in step 207, loading and displaying the corresponding picture according to the at least one picture identifier corresponding to the second real-time location includes:
preloading at least one picture corresponding to the first display position;
comparing at least one picture identifier corresponding to the second real-time position with at least one picture corresponding to the first display position to obtain a comparison result;
and loading and displaying the corresponding picture according to the comparison result.
Optionally, the picture identifier corresponding to the at least one picture corresponding to the first display position may be compared with the at least one picture identifier corresponding to the second real-time position.
Therefore, by implementing the optional embodiment, the picture identifier corresponding to the second real-time position can be compared with the picture corresponding to the first display position to obtain a comparison result, and the corresponding picture is loaded and displayed according to the comparison result, so that data is checked through the comparison when the picture is loaded, and errors in picture display can be effectively reduced.
As an optional embodiment, in the above step, according to the comparison result, loading and displaying the corresponding picture includes:
if the comparison result shows that at least one picture identifier corresponding to the second real-time position is consistent with at least one picture corresponding to the first display position, displaying at least one picture corresponding to the first display position;
otherwise, discarding at least one picture corresponding to the first display position.
Therefore, by implementing the optional embodiment, when the comparison result shows that the picture identifier corresponding to the second real-time position is consistent with the picture corresponding to the first display position, at least one picture corresponding to the first display position can be displayed, otherwise, the loaded picture is discarded, so that data check is performed through comparison when the picture is loaded, and errors during picture display can be effectively reduced.
As an optional embodiment, in the above steps, according to the comparison result, loading and displaying the corresponding picture includes:
determining at least one target picture which is consistent with at least one picture identifier corresponding to the second real-time position in at least one picture corresponding to the first display position according to the comparison result;
and displaying at least one target picture.
Optionally, all pictures with inconsistent identifications of the at least one picture corresponding to the second real-time position in the at least one picture corresponding to the first display position may be further discarded.
Therefore, by implementing the optional embodiment, the target picture with the consistent picture identifier corresponding to the second real-time position in the picture corresponding to the first display position can be displayed, so that the target picture can be directly displayed when part of the pictures are consistent, and the display efficiency is improved.
EXAMPLE III
Referring to fig. 3, fig. 3 is a schematic structural diagram of an apparatus for displaying list data in a sliding manner according to an embodiment of the present invention. The apparatus described in fig. 3 may be applied to a corresponding data display apparatus, such as a data display terminal, a data display device, or a data display server, where the server may be a cloud server or a local server. The apparatus is applied to an electronic device with a display interface, and the display interface of the electronic device at least includes a slider for sliding data in the display interface, as shown in fig. 3, which may include:
the sliding determination module 301 is configured to determine a first sliding amount of the slider in response to a sliding trigger operation of the user on the slider.
Alternatively, the slider according to the present invention may be an indicator with a fixed shape, such as a rectangular or circular display component, disposed in a specific area of the display interface, for receiving a sliding trigger operation of a user. Optionally, the sliding trigger operation of the user for the slider may be triggered by a human-computer interaction device such as a mouse, or may be triggered by the user directly operating the slider through a touch screen, which is not limited in the present invention.
Optionally, the first sliding amount of the slider may be a sliding distance of the slider on a specific area, for example, a sliding distance on a sliding track corresponding to the slider, or may also be a track length or a track area corresponding to a sliding track of the slider, which is not limited in the present invention. Optionally, the first sliding amount of the slider may be directly called through a corresponding API, or may be measured and calculated according to positions of the slider before and after the sliding trigger operation, which is not limited in the present invention.
The parameter determining module 302 is configured to determine a first sliding ratio parameter corresponding to the slider according to the first sliding amount of the slider and the first maximum slidable amount corresponding to the slider.
Optionally, the first maximum slidable amount corresponding to the slider may be a maximum sliding distance of the slider on the specific area, for example, the maximum sliding distance on the sliding rail corresponding to the slider may be, for example, equal to a length of the sliding rail minus a length of the slider itself, or may be a maximum length of the specific area corresponding to the slider in the sliding direction corresponding to the first slidable amount, which is not limited in the present invention.
Optionally, the first sliding proportion parameter is a ratio of the first sliding amount to the first maximum slidable amount, which may be a percentage or a value accurate to a specific decimal place, and the present invention is not limited thereto.
The position determining module 303 is configured to determine a first display position corresponding to the list data according to the first sliding ratio parameter and the first current position parameter of the list data corresponding to the slider.
Optionally, a second maximum slidable amount of the list data corresponding to the slider may be determined first, then a product of the first sliding ratio parameter and the second maximum slidable amount is calculated to obtain a slidable amount corresponding to the list data, and finally the first display position corresponding to the list data is determined according to the first current position parameter and the slidable amount of the list data.
Optionally, the second maximum slidable amount corresponding to the list data may be a maximum distance or a maximum data amount that the list data can slide, which may be a difference between a total amount of data of the list data and a current displayed data amount of the list data, or a difference between a total amount of pixels of the list data and a current displayed pixel amount of the list data.
And the sliding display module 304 is configured to perform a sliding response operation on the list data, and display the list data to a first display position.
Optionally, the executing the sliding response operation on the list data may be to call a corresponding function according to the first display position, or may also be to call a corresponding function according to a sliding amount of the list data corresponding to the first display position, which depends on the incoming parameters required by the corresponding function, and the present invention is not limited thereto.
Therefore, the device described in the embodiment of the invention can adaptively slide and display the list data based on the sliding trigger operation of the user on the slider, and compared with the traditional sliding mode, the device can effectively improve the sliding display efficiency and bring better operation experience to the user when dealing with the list data with larger data volume.
As an alternative embodiment, the sliding determination module 301 is further configured to determine a second sliding amount of the list data in response to a sliding trigger operation performed by the user on the list data;
the parameter determining module 302 is further configured to determine a second sliding proportion parameter corresponding to the list data according to a second sliding amount of the list data and a second maximum slidable amount corresponding to the list data;
the position determining module 303 is further configured to determine a second display position corresponding to the slider according to the second sliding proportion parameter and the second current position parameter of the slider;
the slide show module 304 is further configured to perform a slide response operation on the slide to cause the slide to be shown to the second display position.
One of the objectives of the present alternative embodiment is to correspondingly adjust the position of the slider when the user performs the sliding triggering operation directly on the list data, so that the position corresponding relationship between the slider and the list data is maintained, and meanwhile, the sliding triggering operation on the list data by the user may also be the sliding response operation on the list data performed in step 101 and 104, in this case, one of the objectives of the present alternative embodiment is that, when the system performs the sliding display on the list data by the user through the sliding of the slider, because there may be a deviation in the position calculation of the sliding display, or there are some rule restrictions in the display of the system, the first display position where the list data is finally displayed may not correspond to the current position of the slider, so that the position of the slider needs to be adjusted inversely according to the current sliding amount of the list data, so that the positional correspondence between the slider and the list data is maintained.
Optionally, the sliding trigger operation of the user for the list data may be triggered by a human-computer interaction device such as a mouse, or may be triggered by the user directly operating the list data through a touch screen, which is not limited in the present invention.
Optionally, the details of the parameters of the first maximum slidable amount and the second maximum slidable amount may refer to the description in the previous embodiment, and are not described herein again.
Optionally, the second sliding proportion parameter is a ratio of the second sliding amount to the second maximum slidable amount, which may be a percentage or a value accurate to a specific decimal place, and the present invention is not limited thereto.
Optionally, a first maximum slidable amount corresponding to the slider may be determined first, then a product of the second sliding proportion parameter and the first maximum slidable amount is calculated to obtain a slidable amount corresponding to the slider, and finally a second display position corresponding to the slider is determined according to a second current position parameter and the slidable amount of the slider.
Optionally, the sliding response operation performed on the slider may be performed by calling a corresponding function according to the second display position, or may be performed by calling a corresponding function according to the sliding amount of the slider corresponding to the second display position, which depends on the incoming parameters required by the corresponding function, and the invention is not limited thereto.
Therefore, by executing the optional embodiment, the slider can be adjusted to the corresponding second display position according to the second sliding amount of the list data, so that the position corresponding relation between the slider and the list data can be maintained, the accuracy of subsequent further sliding display is effectively improved, and better operation experience is brought to a user.
As an alternative embodiment, the slider may include a slider part and a slider label, wherein in particular, the slider label may be a display part partially connected to the slider part, for example, a dialog style display part, and the tail of the slider label is connected to the edge of the slider part, so that the user can clearly see the association relationship between the two.
Accordingly, as shown in fig. 4, the apparatus further includes a tag updating module 305, configured to perform the following steps:
determining a first real-time position of a slider component during slider sliding;
determining a real-time data identifier corresponding to the slider component according to the first real-time position of the slider component and the list data;
and updating and displaying the slider label as a real-time data identifier in real time.
In particular, the real-time data identifies a data characteristic indicating a content corresponding to the first real-time position of the slider component in the list data.
Optionally, the sliding process of the slider may be a sliding process caused by performing a sliding triggering operation or a sliding responding operation on the slider according to the steps in the foregoing embodiment, or may be a sliding process caused by performing other operations, which is not limited in the present invention.
Therefore, according to the optional embodiment, the slider label can be updated and displayed in real time as the real-time data identifier according to the first real-time position of the slider component in the sliding process of the slider, so that a user can sense the data characteristics of the list data at the moment in the sliding process of the slider, on one hand, misoperation of the user can be effectively reduced, the accuracy of sliding display is improved, and on the other hand, better and more visual operation experience is brought to the user.
As an alternative embodiment, the tag updating module 305 determines a specific manner of the real-time data identifier corresponding to the slider component according to the first real-time position of the slider component and the list data, including:
determining a corresponding data portion of the first real-time position of the slider component in the list data;
determining a data identifier corresponding to the data part according to the data in the data part;
and determining the data identifier corresponding to the data part as the real-time data identifier corresponding to the slider component.
Optionally, the data identifier may include at least one of a data type parameter, a data time parameter, and a data category parameter of the data in the data portion.
Optionally, the data type parameter may be a preset data type to which the data belongs, such as a file type, an audio type, a video type, or an image type. Optionally, the data time parameter may be a time parameter corresponding to the data, such as a latest modification time, an acquisition time, or a setup time.
Optionally, the data category parameter may be a category to which the data belongs in at least one preset classification dimension, where the classification dimension may be a classification dimension according to a use of the data, a classification dimension according to a life scene corresponding to the data, or another classification dimension, and the present invention is not limited herein.
Optionally, the determining, by the tag update module 305, a corresponding data portion of the first real-time position of the slider component in the list data may include:
determining a display interface corresponding to the first real-time position of the sliding block component;
and determining the part of the list data displayed in the specific area in the display interface as the corresponding data part of the first real-time position of the sliding block part in the list data.
Optionally, the specific area is a top area or a middle area of the display interface.
Optionally, the determining, by the tag update module 305, a corresponding data portion of the first real-time position of the slider component in the list data may include:
determining the position proportion corresponding to the sliding block component according to the ratio of the first real-time position of the sliding block component to the maximum position corresponding to the sliding block component;
determining a corresponding list position in the list data according to the product of the position proportion and the maximum position of the list data;
the corresponding data portion in the list data is determined according to the list position.
The list data may be divided in advance to obtain a plurality of preset data portions, and a preset data portion having an intersection with the list position in the plurality of preset data portions is determined as a data portion corresponding to the list position in the list data.
Optionally, the tag updating module 305 determines the data identifier corresponding to the data portion according to the data in the data portion, and may include:
determining all target data included in the data part;
acquiring a parameter value of each target data in at least one data parameter category, and determining common data identifications corresponding to all the target data according to a preset common calculation algorithm;
and determining the common data identifier as the data identifier corresponding to the data part.
The common calculation algorithm may determine the parameter values corresponding to the data parameter classes in which the parameter values of all the target data in all the data parameter classes are completely the same as a common data identifier corresponding to all the target data, or may calculate the same rate corresponding to each data parameter class, and determine the parameter value with the largest occurrence frequency in the data parameter class with the highest rate as the common data identifier corresponding to all the target data.
Optionally, the data parameter category may include at least one of a data type parameter, a data time parameter and a data category parameter of the data, and the data details thereof may refer to the above expression.
Specifically, the same rate corresponding to each data parameter category is a ratio of the maximum value of the same parameter values in the parameter values of all target data corresponding to each data parameter category to the total number of all target data.
Therefore, according to the optional embodiment, the real-time data identifier corresponding to the slider component can be determined according to the data identifier corresponding to the data part corresponding to the first real-time position of the slider component in the list data, so that the data identifier capable of representing the data characteristic of the list data at the moment can be determined more accurately, on one hand, misoperation of a user can be effectively reduced, accuracy of sliding display is improved, and on the other hand, better and more visual operation experience is brought to the user.
As an alternative embodiment, the list data includes a plurality of pictures, for example, the list data may be list data in which pictures are shown in partial columns or rows, or list data composed of pictures, which is not limited in the present invention.
Accordingly, the specific way of displaying the list data to the first display position by the sliding display module 304 includes:
determining a second real-time position of the list data in real time in the sliding process of the list data;
determining at least one picture identifier corresponding to the second real-time position in real time according to the second real-time position of the list data and a preset picture identifier position relation;
and displaying the list data to a first display position, and loading and displaying a corresponding picture according to at least one picture identifier corresponding to a second real-time position.
Optionally, the second real-time position of the list data may be a position corresponding to display data of a preset area of the current display page of the list data, for example, a position corresponding to data displayed at the top or the bottom, and may be obtained through a preset API function.
Optionally, a plurality of picture identifiers and corresponding list data positions are stored in the preset picture identifier position relationship, and at least one corresponding picture identifier may be directly determined according to the second real-time position of the list data. Optionally, the picture identifier is an identifier for indicating corresponding picture data, and may be a data parameter such as an ID value, or may be in other forms, which is not limited in the present invention.
Therefore, by the optional embodiment, the corresponding picture identifier can be continuously updated in the list sliding process, the picture can be displayed directly according to the latest picture identifier after the sliding process is finished, and when the method is applied to the display of the list data with a large number of pictures, compared with the traditional mode of continuously updating and loading the pictures according to the positions of the list data in real time, the method can effectively reduce errors or flickers in the picture display process, effectively reduce the running resources of equipment and reduce the cost.
As an optional embodiment, the sliding display module 304 loads a specific manner of displaying a corresponding picture according to at least one picture identifier corresponding to the second real-time position, including:
preloading at least one picture corresponding to the first display position;
comparing at least one picture identifier corresponding to the second real-time position with at least one picture corresponding to the first display position to obtain a comparison result;
and loading and displaying the corresponding picture according to the comparison result.
Optionally, the picture identifier corresponding to the at least one picture corresponding to the first display position may be compared with the at least one picture identifier corresponding to the second real-time position.
Therefore, by implementing the optional embodiment, the picture identifier corresponding to the second real-time position can be compared with the picture corresponding to the first display position to obtain a comparison result, and the corresponding picture is loaded and displayed according to the comparison result, so that data is checked through the comparison when the picture is loaded, and errors in picture display can be effectively reduced.
As an optional embodiment, the sliding display module 304 loads a specific manner of displaying a corresponding picture according to the comparison result, including:
if the comparison result shows that at least one picture identifier corresponding to the second real-time position is consistent with at least one picture corresponding to the first display position, displaying at least one picture corresponding to the first display position;
otherwise, discarding at least one picture corresponding to the first display position.
Therefore, by implementing the optional embodiment, when the comparison result shows that the picture identifier corresponding to the second real-time position is consistent with the picture corresponding to the first display position, at least one picture corresponding to the first display position can be displayed, otherwise, the loaded picture is discarded, so that data check is performed through comparison when the picture is loaded, and errors during picture display can be effectively reduced.
As an optional embodiment, the sliding display module 304 loads a specific manner of displaying a corresponding picture according to the comparison result, including:
determining at least one target picture which is consistent with at least one picture identifier corresponding to the second real-time position in at least one picture corresponding to the first display position according to the comparison result;
and displaying at least one target picture.
Optionally, all pictures with inconsistent identifications of the at least one picture corresponding to the second real-time position in the at least one picture corresponding to the first display position may be further discarded.
Therefore, by implementing the optional embodiment, the target picture with the consistent picture identifier corresponding to the second real-time position in the picture corresponding to the first display position can be displayed, so that the target picture can be directly displayed when part of the pictures are consistent, and the display efficiency is improved.
Example four
Referring to fig. 4, fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the disclosure. As shown in fig. 4, the electronic device may include:
a memory 401 storing executable program code;
a processor 402 coupled to a memory 401;
the processor 402 calls the executable program code stored in the memory 401 to perform some or all of the steps of the method for sliding the show list data disclosed in the first and second embodiments of the present invention.
The specific technical details for implementing the slide show list data when the electronic device executes the computer program are discussed in detail in the foregoing method steps, and therefore are not described in detail herein.
EXAMPLE five
The embodiment of the invention discloses a computer storage medium, which stores computer instructions, and when the computer instructions are called, the computer storage medium is used for executing part or all of the steps in the method for sliding and displaying list data disclosed in the first and second embodiments of the invention.
EXAMPLE six
Embodiments of the present invention disclose a computer program product comprising computer programs/instructions which, when executed by a processor, implement some or all of the steps of the methods of sliding a show list data disclosed in the first and second embodiments of the present invention.
While certain embodiments of the present disclosure have been described above, other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily have to be in the particular order shown or in sequential order to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus, device, and non-volatile computer-readable storage medium embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and in relation to the description, reference may be made to some portions of the description of the method embodiments.
The apparatus, the device, the nonvolatile computer readable storage medium, and the method provided in the embodiments of the present specification correspond to each other, and therefore, the apparatus, the device, and the nonvolatile computer storage medium also have similar advantageous technical effects to the corresponding method.
In the 90 s of the 20 th century, improvements in a technology could clearly distinguish between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical blocks. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Furthermore, nowadays, instead of manually making an integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as abel (advanced Boolean Expression Language), ahdl (alternate Language Description Language), traffic, pl (core unified Programming Language), HDCal, JHDL (Java Hardware Description Language), langue, Lola, HDL, laspam, hardsradware (Hardware Description Language), vhjhd (Hardware Description Language), and vhigh-Language, which are currently used in most common. It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer readable medium that stores computer readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, and embedded microcontrollers, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic for the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may thus be considered a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functions of the various elements may be implemented in the same one or more software and/or hardware implementations of the present description.
As will be appreciated by one skilled in the art, the present specification embodiments may be provided as a method, system, or computer program product. Accordingly, embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
The description has been presented with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the description. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices, or any other non-transmission medium which can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
This description may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Finally, it should be noted that: the method, apparatus, device, storage medium and program product for displaying list data in a sliding manner disclosed in the embodiments of the present invention are only preferred embodiments of the present invention, and are only used for illustrating the technical solutions of the present invention, not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art; the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (11)

1. A method for displaying list data in a sliding manner is applied to an electronic device with a display interface, and the display interface at least comprises a slider used for sliding data in the display interface, and the method comprises the following steps:
determining a first sliding amount of the slider in response to a sliding trigger operation of a user for the slider;
determining a first sliding proportion parameter corresponding to the sliding block according to the first sliding amount of the sliding block and a first maximum slidable amount corresponding to the sliding block;
determining a first display position corresponding to the list data according to the first sliding proportion parameter and a first current position parameter of the list data corresponding to the sliding block;
and performing sliding response operation on the list data, and displaying the list data to the first display position.
2. The method of claim 1, further comprising:
determining a second sliding amount of the list data in response to a sliding trigger operation of a user on the list data;
determining a second sliding proportion parameter corresponding to the list data according to a second sliding quantity of the list data and a second maximum slidable quantity corresponding to the list data;
determining a second display position corresponding to the sliding block according to the second sliding proportion parameter and a second current position parameter of the sliding block;
and performing a sliding response operation on the slider to enable the slider to be displayed to the second display position.
3. The method of claim 1 or 2, wherein the slider comprises a slider part and a slider label; the method further comprises the following steps:
determining a first real-time position of the slider part during the sliding of the slider;
determining a real-time data identifier corresponding to the slider component according to the first real-time position of the slider component and the list data; the real-time data identifying a data characteristic indicating content corresponding to a first real-time position of the slider component in the list data;
and updating and displaying the slider label as the real-time data identifier in real time.
4. The method of claim 3, wherein determining the real-time data identifier corresponding to the slider component according to the first real-time position of the slider component and the list data comprises:
determining a corresponding data portion of the first real-time position of the slider component in the list data;
determining a data identifier corresponding to the data part according to the data in the data part; the data identification comprises at least one of a data type parameter, a data time parameter and a data category parameter of the data in the data portion;
and determining the data identifier corresponding to the data part as the real-time data identifier corresponding to the slider component.
5. The method for displaying list data in a sliding manner according to claim 1, wherein the list data comprises a plurality of pictures; the presenting the list data to the first presentation location includes:
determining a second real-time position of the list data in real time in the sliding process of the list data;
determining at least one picture identifier corresponding to a second real-time position in real time according to the second real-time position of the list data and a preset picture identifier position relation;
and displaying the list data to the first display position, and loading and displaying the corresponding picture according to at least one picture identifier corresponding to the second real-time position.
6. The method for displaying list data in a sliding manner according to claim 5, wherein the loading and displaying the corresponding picture according to the at least one picture identifier corresponding to the second real-time location comprises:
preloading at least one picture corresponding to the first display position;
comparing at least one picture identifier corresponding to the second real-time position with at least one picture corresponding to the first display position to obtain a comparison result;
and loading and displaying the corresponding picture according to the comparison result.
7. The method of claim 6, wherein the loading and displaying the corresponding picture according to the comparison result comprises:
if the comparison result shows that at least one picture identifier corresponding to the second real-time position is consistent with at least one picture corresponding to the first display position, displaying at least one picture corresponding to the first display position;
otherwise, discarding at least one picture corresponding to the first display position;
and/or the presence of a gas in the gas,
determining at least one target picture which is consistent with at least one picture identifier corresponding to the second real-time position in at least one picture corresponding to the first display position according to the comparison result;
and displaying the at least one target picture.
8. A device for displaying list data in a sliding manner is applied to an electronic device with a display interface, and the display interface at least comprises a slider for sliding data in the display interface, and the device is characterized by comprising:
the sliding determining module is used for responding to the sliding triggering operation of a user for the slider and determining a first sliding amount of the slider;
the parameter determining module is used for determining a first sliding proportion parameter corresponding to the sliding block according to the first sliding amount of the sliding block and the first maximum slidable amount corresponding to the sliding block;
the position determining module is used for determining a first display position corresponding to the list data according to the first sliding proportion parameter and a first current position parameter of the list data corresponding to the sliding block;
and the sliding display module is used for executing sliding response operation on the list data and displaying the list data to the first display position.
9. An electronic device, characterized in that the electronic device comprises:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute the method of sliding show list data according to any one of claims 1-7.
10. A computer storage medium storing computer instructions for performing a method of slide show list data according to any one of claims 1-7 when invoked.
11. A computer program product comprising computer programs/instructions, characterized in that the computer programs/instructions, when executed by a processor, implement a method of sliding presentation list data according to any of claims 1-7.
CN202210582317.5A 2022-05-26 2022-05-26 Method and device for displaying list data in sliding mode and electronic equipment Pending CN115061618A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210582317.5A CN115061618A (en) 2022-05-26 2022-05-26 Method and device for displaying list data in sliding mode and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210582317.5A CN115061618A (en) 2022-05-26 2022-05-26 Method and device for displaying list data in sliding mode and electronic equipment

Publications (1)

Publication Number Publication Date
CN115061618A true CN115061618A (en) 2022-09-16

Family

ID=83199388

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210582317.5A Pending CN115061618A (en) 2022-05-26 2022-05-26 Method and device for displaying list data in sliding mode and electronic equipment

Country Status (1)

Country Link
CN (1) CN115061618A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11893223B2 (en) * 2019-05-20 2024-02-06 ResMed Pty Ltd Pressure control in PAP systems

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11893223B2 (en) * 2019-05-20 2024-02-06 ResMed Pty Ltd Pressure control in PAP systems

Similar Documents

Publication Publication Date Title
CN109189682B (en) Script recording method and device
CN107274442B (en) Image identification method and device
CN109213685B (en) Service logic test method and device
CN113259224B (en) Method and device for sending customer service data
CN110244949B (en) Page information display method and device
CN112947969B (en) Page off-screen rendering method, device, equipment and readable medium
TW201923630A (en) Processing method, device, apparatus, and machine-readable medium
CN113672323A (en) Page display method and device
CN110806847A (en) Distributed multi-screen display method, device, equipment and system
CN115061618A (en) Method and device for displaying list data in sliding mode and electronic equipment
CN109873980B (en) Video monitoring method and device and terminal equipment
CN111813465A (en) Information acquisition method, device, medium and equipment
CN107766703B (en) Watermark adding processing method and device and client
TWI812895B (en) Data display, payment method, device, equipment and media
CN111881393A (en) Page rendering method, device, medium and electronic equipment
CN111625712A (en) User browsing behavior reporting method and device, readable storage medium and electronic equipment
CN116245051A (en) Simulation software rendering method and device, storage medium and electronic equipment
CN115499577A (en) Image processing method and terminal equipment
CN114863206A (en) Model training method, target detection method and device
CN113986175A (en) Color selection method and device, electronic equipment and readable medium
CN110968513A (en) Recording method and device of test script
CN114327164A (en) Negative two-screen interface display method and device for terminal, terminal and medium
CN107621903B (en) Double-touch-screen equipment and response control method thereof
CN110262732B (en) Picture moving method and device
CN111309583A (en) Interface overdraw detection method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination