WO2022237355A1 - 一种分页处理方法、装置、设备及存储介质 - Google Patents

一种分页处理方法、装置、设备及存储介质 Download PDF

Info

Publication number
WO2022237355A1
WO2022237355A1 PCT/CN2022/083581 CN2022083581W WO2022237355A1 WO 2022237355 A1 WO2022237355 A1 WO 2022237355A1 CN 2022083581 W CN2022083581 W CN 2022083581W WO 2022237355 A1 WO2022237355 A1 WO 2022237355A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
index
index numbers
elements
page
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.)
Ceased
Application number
PCT/CN2022/083581
Other languages
English (en)
French (fr)
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.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network 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 Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Publication of WO2022237355A1 publication Critical patent/WO2022237355A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/954Navigation, e.g. using categorised browsing
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation

Definitions

  • the present disclosure relates to the field of data processing, and in particular to a paging processing method, device, equipment and storage medium.
  • the currently displayed element for example, called "current element”
  • the element when the element is triggered to display the element list of the collection in pagination, based on the The index sequence relationship between each element is used to display the list of elements in the collection in pagination.
  • the first pagination displayed to the user is usually displayed from the first element in the collection arranged according to the index order relationship. If the number of elements in the collection is large, and the current element is at a relatively low index in the collection, the current element cannot be displayed on the first page displayed to the user.
  • the present disclosure provides a paging processing method, device, device and storage medium, which can display the current element and the current element in the target collection in the first page of the target collection context (for example, adjacent elements) to meet the user's paging display needs, thereby improving user experience.
  • the present disclosure provides a paging processing method, the method comprising:
  • the target set Based on the paging request, determine the index number of the target element in the target set as the target index number; wherein, the target set includes a plurality of elements with an index order relationship;
  • a target page corresponding to the target element is generated.
  • the determining the index number of the target element in the target collection based on the paging request as the target index number includes:
  • the preset relationship table Querying the preset relationship table to determine the index number corresponding to the element identifier as the target index number, wherein the element identifier of the element in the target set is stored in the preset relationship table and the element is in the target set.
  • the corresponding relationship between the index numbers, and the index number is used to represent the index position of the corresponding element in the target set.
  • the obtaining the elements corresponding to the first M index numbers and the last N index numbers adjacent to the target index number in the target set includes:
  • elements corresponding to the first M index numbers and the last N index numbers in the target set are obtained.
  • the generation of the target page corresponding to the target element based on the elements corresponding to the first M index numbers and the last N index numbers respectively, and the target element includes:
  • the obtaining the elements corresponding to the first M index numbers and the last N index numbers adjacent to the target index number in the target set includes:
  • the first page Based on the index sequence relationship of the elements in the target set, obtain the first page with the target element as the end of the page, wherein the first page also includes the first M index numbers adjacent to the target index number, respectively the corresponding element;
  • the second page Based on the index sequence relationship of the elements in the target set, obtain the second page with the target element as the head of the page, wherein the second page also includes the last N index numbers adjacent to the target index number, respectively corresponding elements.
  • the generation of the target page corresponding to the target element based on the elements corresponding to the first M index numbers and the last N index numbers respectively, and the target element includes:
  • the first page, the second page, and the target element are combined and deduplicated to generate a target page corresponding to the target element.
  • the sum of M and N is greater than the preset number of single-screen displays.
  • the target element includes a target video
  • the target collection includes multiple videos having the index order relationship.
  • the present disclosure provides a paging processing device, the device comprising:
  • a receiving module configured to receive a paging request for the target element
  • the first determining module is configured to determine, based on the paging request, the index number of the target element in the target set as the target index number; wherein, the target set includes a plurality of elements having an index order relationship;
  • the first obtaining module is used to obtain elements corresponding to the first M index numbers and the last N index numbers adjacent to the target index number in the target set; wherein, M and N are both positive integers;
  • a generating module configured to generate a target page corresponding to the target element based on the elements respectively corresponding to the first M index numbers and the last N index numbers and the target element.
  • the present disclosure provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are run on a terminal device, the terminal device is made to implement the above method.
  • the present disclosure provides a device, including: a memory, a processor, and a computer program stored on the memory and operable on the processor, when the processor executes the computer program, Implement the above method.
  • the present disclosure provides a computer program product, where the computer program product includes a computer program/instruction, and when the computer program/instruction is executed by a processor, the above method is implemented.
  • An embodiment of the present disclosure provides a paging processing method. First, a paging request for a target element is received, and based on the paging request, an index number of the target element in a target collection is determined as the target index number. Then, acquire elements corresponding to the first M index numbers and the last N index numbers adjacent to the target index number in the target set; wherein, M and N are both positive integers. Furthermore, based on the elements corresponding to the first M index numbers and the last N index numbers respectively, and the target element, a target page corresponding to the target element is generated.
  • the embodiment of the present disclosure can determine the index number of the target element in the target collection, and then obtain the corresponding element based on the index number, and generate a target page containing the target element and the elements adjacent to the target element before and after. Realize the display effect of directly locating the user to the page where the target element is located, and improve the user experience.
  • the paging processing method provided by the embodiments of the present disclosure does not need to pull all elements before the index number of the target element from the server, but only pulls the adjacent elements before and after the target element. It can be seen that the embodiment of the present disclosure can also reduce the system consumption of pulling resources.
  • FIG. 1 is a schematic diagram of a video playback page provided by an embodiment of the present disclosure
  • FIG. 2 is a schematic diagram of a display page of an element list
  • FIG. 3 is a schematic diagram of a display page of another element list provided by an embodiment of the present disclosure.
  • FIG. 4 is a flow chart of a paging processing method provided by an embodiment of the present disclosure.
  • FIG. 5 is a schematic structural diagram of a paging processing device provided by an embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of a paging processing device provided by an embodiment of the present disclosure.
  • the paging display methods for multimedia elements usually include the following two types: one is to use the page number as the anchor point and the number of page elements as the step size to support random access by page, such as content reports, forums, etc. Second, take the creation timestamp of any element in the page as the anchor point, and take the number of page elements as the step, and support the paging display method of continuously pulling down and turning pages, for example, the paging display in the information flow product .
  • a video playback scenario is a schematic diagram of a video playback page provided by an embodiment of the present disclosure, wherein, Play the current video. Since the video belongs to a certain video collection (for example, a dance collection), an element list display entry (as shown in 101 in 1) can be set on the video playback page, and the entry can be displayed by clicking on the element list A list of video elements in the collection can be displayed for the user and displayed in pagination.
  • a video playback scenario is a schematic diagram of a video playback page provided by an embodiment of the present disclosure, wherein, Play the current video. Since the video belongs to a certain video collection (for example, a dance collection), an element list display entry (as shown in 101 in 1) can be set on the video playback page, and the entry can be displayed by clicking on the element list A list of video elements in the collection can be displayed for the user and displayed in pagination.
  • a certain video collection for example, a dance collection
  • FIG. 2 it is a schematic diagram of a display page of a list of elements in a collection.
  • the element list in the set is displayed on the current video playing page. Since the number of video elements included in the video collection may be greater than the number displayed on a single screen, it is necessary to display the list of elements in the collection in pages.
  • the video and the context information of the video in the video collection for example, Adjacent videos
  • the video will usually not be displayed on the first page displayed to the user, but will be displayed starting from the video with index number 0 in the video collection
  • the user can view the video and its context information only by continuously sliding down the element list.
  • the client needs to continuously pull each video element in the element list from the server, which is a huge resource for system resources. a waste.
  • the embodiment of the present disclosure provides a paging processing method. After the user enters the display page of the element list corresponding to the video from the current video being played, the element list including the video can be displayed for the user. Other videos of the video can also directly learn the context information of the video in the corresponding collection.
  • the paging processing method provided by the embodiment of the present disclosure only needs to pull the videos adjacent to the video from the server, instead of pulling a large number of videos starting from the video whose index number is 0 in the video collection. It can be seen that the present disclosure Embodiments conserve system resources.
  • FIG. 3 it is a schematic diagram of another element list display page provided by the embodiment of the present disclosure.
  • the video in FIG. 3 Displays the first tab of the element list on the playback page.
  • the embodiment of the present disclosure can directly display the pagination of the element list containing the current video that the user is playing, while Figure 2 shows the pagination of the collection list starting from the video with the index number 0 in the video collection exhibit.
  • the server in the embodiment of the present disclosure receives a paging request for a target element (for example, the currently playing video), it first determines the target element based on the paging request.
  • the index number of the element in the target collection as the target index number.
  • the elements respectively corresponding to the first M index numbers and the last N index numbers adjacent to the target index number in the target set are acquired.
  • a target page corresponding to the target element is generated.
  • an embodiment of the present disclosure provides a paging processing method.
  • FIG. 4 it is a flowchart of a paging processing method provided by an embodiment of the present disclosure. The method includes:
  • S401 Receive a paging request for a target element.
  • the target element belongs to the target set, and the target set includes a plurality of elements with an index sequence relationship.
  • the embodiment of the present disclosure does not limit the types of elements in the target set, which may specifically include images, videos, text Wait.
  • the pagination request is used to request paging display of elements in the target collection for the target element. Specifically, the displayed page displays the target element and the adjacent elements of the target element in the target collection.
  • S402 Based on the paging request, determine the index number of the target element in the target collection as the target index number.
  • the target collection includes elements with an index sequence relationship
  • the paging request is used to request page-by-page display of the elements in the target collection.
  • the elements in the target set may be selected by the user, or may be predetermined by the system based on preset characteristics. For example, assuming that the target collection includes a dance video collection as an example, the dance video collection may include multiple videos with dance features selected by the user.
  • the element identifier carried by the paging request is first obtained from the paging request, where the element identifier is used to uniquely identify the target element, for example, element
  • the identifier may include a video ID, which is used to uniquely identify the target video.
  • the index number of the target element in the target collection can be determined based on the element identifier. Specifically, the index number of an element in the target set is used to represent the sequence relationship between the element and other elements in the target set. Correspondingly, the index number of the target element in the target set is used to represent the relationship between the target element and the target set The order relationship between other elements of the .
  • the index number corresponding to the element identifier can be determined by querying the preset relationship table as the target index number; wherein, the preset relationship table stores the element identifiers of the elements in the target set Corresponding relationship with the index number, the index number is used to represent the index position of the element in the target set, and correspondingly, the target index number is used to represent the index position of the target element in the target set.
  • a preset relationship table may be constructed for the target set, where the preset relationship table is used to store the correspondence between element identifiers and index numbers of elements in the target set.
  • the target collection includes a target video collection
  • the preset relationship table of the target video collection can be used to store the correspondence between video IDs and index numbers
  • the video ID is used to uniquely identify the corresponding video, based on which video ID can be uniquely obtained to the video corresponding to that video ID.
  • S403 Obtain elements corresponding to the first M index numbers and the last N index numbers adjacent to the target index number in the target set; wherein, M and N are both positive integers.
  • M and N may be determined based on requirements, which is not limited in the present disclosure.
  • the value of M in order to ensure that the target element can be displayed to the user in the upper half of the first page of the element list, the value of M is usually set to be less than or equal to the value of N. In an optional implementation, if the target element needs to be in the lower half of the screen of the first tab of the element list displayed to the user, the value of M can also be set to a value greater than or equal to N. In addition, in order to ensure the display effect of the first page of the element list displayed to the user on the client, the embodiment of the present disclosure sets the sum of M and N to be greater than the preset number of single-screen displays. Wherein, the preset single-screen display quantity refers to the maximum value of the number of elements that can be displayed to the user at one time on the display page of the element list.
  • the elements respectively corresponding to the first M index numbers and the last N index numbers in the target set For example, taking the target index number 10 as an example, determine the elements corresponding to the first M (for example, 3) index numbers 7, 8, and 9 adjacent to the target index number in the target set, and determine the elements in the target set Elements corresponding to the last N (for example, 10) index numbers 11-20 adjacent to the target index number.
  • the first M index numbers and the last N index numbers adjacent to the target index number are determined. Then, by querying the preset relationship table, element identifiers respectively corresponding to the first M index numbers and the last N index numbers are determined. Furthermore, based on the element identifiers corresponding to the first M index numbers and the last N index numbers respectively, the elements corresponding to the first M index numbers and the last N index numbers in the target set are acquired . It can be seen that the embodiment of the present disclosure can determine the element identifier corresponding to the index number based on the preset relationship table, and then obtain the corresponding element based on the element identifier.
  • the embodiment of the present disclosure can determine the corresponding element identifier based on the first M index numbers and the last N index numbers adjacent to the target index number, and then directly obtain the corresponding element based on the element identifier.
  • the first element in the element list starts to be displayed in pages, but can be directly located to the page where the target element is located for display, improving user experience.
  • the target page corresponding to the target element is generated based on the obtained elements.
  • the above-mentioned pagination includes the target element and the elements adjacent to the target element before and after the target element, which are used for page-by-page display of the element list of the target collection on the client side.
  • the elements corresponding to the first M index numbers and the last N index numbers are combined with the target element to obtain The target page corresponding to the target collection.
  • the elements corresponding to the first M index numbers 7, 8, and 9, the target index number 10, and the last N index numbers 11-20 can be combined based on the index sequence relationship, and finally the target page corresponding to the target element is obtained.
  • the first page with the target element as the end of the page can be obtained.
  • the first page includes the target element and the target index number The elements corresponding to the adjacent first M index numbers respectively.
  • the second page with the target element as the head of the page is obtained.
  • the second page includes the target element and elements corresponding to the last N index numbers adjacent to the target index number.
  • the first page includes elements corresponding to index numbers 7, 8, 9, and 10 in sequence
  • the second page includes elements corresponding to index numbers 10-20 in sequence.
  • the target page including the elements corresponding to the index numbers 7-20 are obtained in turn, wherein the element with the index number 10 is the target element.
  • the target element is located at the fourth element position in the target page.
  • a paging request for a target element is received, and based on the paging request, the index number of the target element in the target collection is determined as the target index number. Then, acquiring elements corresponding to the first M index numbers and the last N index numbers adjacent to the target index number in the target set; wherein, M and N are both integers. Furthermore, based on the elements corresponding to the first M index numbers and the last N index numbers respectively, and the target element, a target page corresponding to the target element is generated.
  • the embodiment of the present disclosure can determine the index number of the target element in the target collection, and then obtain the corresponding element based on the index number, and generate a target page containing the target element and the elements adjacent to the target element before and after. Realize the display effect of directly displaying the target element in the paging to improve user experience.
  • the paging processing method provided by the embodiment of the present disclosure does not need to pull all the elements before the index number of the target element from the server, but only pulls the adjacent elements before and after the target element. It can be seen that the embodiment of the present disclosure also It can reduce the system consumption of pulling resources.
  • the present disclosure also provides a paging processing device.
  • FIG. 5 it is a schematic structural diagram of a paging processing device provided by an embodiment of the present disclosure, and the device includes:
  • a receiving module 501 configured to receive a paging request for a target element
  • the first determining module 502 is configured to determine, based on the paging request, the index number of the target element in the target set as the target index number; wherein, the target set includes multiple elements with an index order relationship;
  • the first acquisition module 503 is configured to acquire elements corresponding to the first M index numbers and the last N index numbers adjacent to the target index number in the target set; wherein, M and N are both positive integers;
  • the generating module 504 is configured to generate a target page corresponding to the target element based on the elements respectively corresponding to the first M index numbers and the last N index numbers and the target element.
  • the first determination module 502 includes:
  • the first obtaining submodule is used to obtain the element identifier corresponding to the target element from the paging request;
  • the query sub-module is used to query the preset relationship table to determine the index number corresponding to the element identifier as the target index number, wherein the preset relationship table stores the element identifier of the element in the target set and the element ID
  • the correspondence between the index numbers in the target set, and the index numbers are used to represent the index positions of the corresponding elements in the target set.
  • the first acquisition submodule includes:
  • the first determining submodule is used to determine the first M index numbers and the last N index numbers adjacent to the target index number;
  • the second determining submodule is configured to determine the element identifiers respectively corresponding to the first M index numbers and the last N index numbers by querying the preset relationship table;
  • the second acquiring submodule is configured to acquire the first M index numbers and the last N index numbers in the target set based on element identifiers respectively corresponding to the first M index numbers and the last N index numbers
  • the index numbers correspond to the elements respectively.
  • the generating module 504 is specifically configured to:
  • the first acquiring module 503 includes:
  • the third obtaining submodule is used to obtain the first page with the target element as the end of the page based on the index sequence relationship of the elements in the target collection; wherein, the first page also includes The elements corresponding to the first M index numbers of the neighbors;
  • the fourth obtaining submodule is used to obtain the second page with the target element as the head of the page based on the index sequence relationship of the elements in the target collection; wherein, the second page also includes The elements corresponding to the last N index numbers next to each other.
  • the generating module 504 is specifically configured to:
  • the first page, the second page, and the target element are combined and deduplicated to generate a target page corresponding to the target element.
  • the sum of M and N is greater than the preset number of single-screen displays.
  • the target element includes a target video
  • the target collection includes a plurality of videos with an index sequence relationship.
  • a paging request for a target element is received, and based on the paging request, an index number of the target element in the target collection is determined as the target index number. Then, acquiring elements corresponding to the first M index numbers and the last N index numbers adjacent to the target index number in the target set; wherein, M and N are both integers. Furthermore, based on the elements corresponding to the first M index numbers and the last N index numbers respectively, and the target element, a target page corresponding to the target element is generated.
  • the embodiment of the present disclosure can determine the index number of the target element in the target collection, and then obtain the corresponding element based on the index number, generate a target page containing the target element, and realize the display effect that the user directly locates the page where the target element is located , to improve user experience.
  • the paging processing device provided by the embodiment of the present disclosure can only obtain each element on the page where the target element is located, so as to display the first page containing the target element in the target collection. It can be seen that the embodiments of the present disclosure can also reduce the consumption of system resources.
  • an embodiment of the present disclosure also provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are run on a terminal device, the terminal device realizes this
  • the paging processing method described in the embodiment is disclosed.
  • An embodiment of the present disclosure further provides a computer program product, including computer programs/instructions, and when the computer program/instructions are executed by a processor, the paging processing method described in the embodiments of the present disclosure is implemented.
  • an embodiment of the present disclosure also provides a paging processing device, as shown in FIG. 6 , which may include:
  • Processor 601 , memory 602 , input device 603 and output device 604 The number of processors 601 in the paging processing device may be one or more, and one processor is taken as an example in FIG. 6 .
  • the processor 601 , the memory 602 , the input device 603 and the output device 604 may be connected through a bus or in other ways, wherein connection through a bus is taken as an example in FIG. 6 .
  • the memory 602 can be used to store software programs and modules, and the processor 601 executes various functional applications and data processing of the paging processing device by running the software programs and modules stored in the memory 602 .
  • the memory 602 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function, and the like.
  • the memory 602 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.
  • the input device 603 can be used to receive input numbers or character information, and generate signal input related to user settings and function control of the paging processing device.
  • the processor 601 will load the executable files corresponding to the processes of one or more application programs into the memory 602 according to the following instructions, and the processor 601 will run the executable files stored in the memory 602. Application programs, so as to realize various functions of the above-mentioned paging processing device.

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本公开提供了一种分页处理方法、装置、设备及存储介质,所述方法包括:首先,接收针对目标元素的分页请求,并基于该分页请求,确定该目标元素在目标集合中的索引号,作为目标索引号。然后,获取该目标集合中与该目标索引号相邻的前M个索引号和后N个索引号分别对应的元素;其中,M和N均为正整数。进而,基于前M个索引号和后N个索引号分别对应的元素,以及目标元素,生成目标元素对应的目标分页。

Description

一种分页处理方法、装置、设备及存储介质
相关申请的交叉引用
本申请要求于2021年05月11日提交的,申请名称为“一种分页处理方法、装置、设备及存储介质”的、中国专利申请号为“202110511535.5”的优先权,该中国专利申请的全部内容通过引用结合在本申请中。
技术领域
本公开涉及数据处理领域,尤其涉及一种分页处理方法、装置、设备及存储介质。
背景技术
在展示信息流元素的场景下,假设当前展示的元素(例如,称为“当前元素”)属于某个集合,当触发该元素以对该集合的元素列表进行分页展示时,可以基于该集合中各个元素之间的索引顺序关系,对集合中的元素列表进行分页展示。
然而,从当前元素的展示页面跳转至对集合的元素列表进行展示的分页时,首先展示给用户的分页通常会是从集合中依据索引顺序关系排列的第一个元素开始显示的。如果集合中的元素数量较多,且当前元素在集合中处于索引比较靠后的位置,则在展示给用户的首个分页中无法显示有当前元素。
因此,如何在触发当前元素进行分页处理时能够在首个分页中就显示当前元素,并且向用户展示包括当前元素以及当前元素在集合中的上下文的分页,是目前亟需解决的技术问题。
技术解决方案
为了解决上述技术问题或者至少部分地解决上述技术问题,本公开提供了一种分页处理方法、装置、设备及存储介质,能够在目标集 合的首个分页中展示当前元素以及当前元素在目标集合中的上下文(例如,相邻的元素),以满足用户的分页展示需求,从而提升用户体验。
第一方面,本公开提供了一种分页处理方法,所述方法包括:
接收针对目标元素的分页请求;
基于所述分页请求,确定所述目标元素在目标集合中的索引号,作为目标索引号;其中,所述目标集合中包括具有索引顺序关系的多个元素;
获取所述目标集合中与所述目标索引号相邻的前M个索引号和后N个索引号分别对应的元素;其中,M和N均为正整数;
基于所述前M个索引号和所述后N个索引号分别对应的元素,以及所述目标元素,生成所述目标元素对应的目标分页。
一种可选的实施方式中,所述基于所述分页请求,确定所述目标元素在目标集合中的索引号,作为目标索引号,包括:
从所述分页请求中获取所述目标元素对应的元素标识;
查询预设关系表确定所述元素标识对应的索引号,作为所述目标索引号,其中,所述预设关系表中存储有目标集合中元素的元素标识与所述元素在所述目标集合中的索引号之间的对应关系,并且,所述索引号用于表征对应的元素在所述目标集合中的索引位置。
一种可选的实施方式中,所述获取所述目标集合中与所述目标索引号相邻的前M个索引号和后N个索引号分别对应的元素,包括:
确定与所述目标索引号相邻的前M个索引号和后N个索引号;
查询所述预设关系表,确定所述前M个索引号和所述后N个索引号分别对应的元素标识;
基于所述前M个索引号和所述后N个索引号分别对应的元素标识,获取所述目标集合中的所述前M个索引号和所述后N个索引号分别对应的元素。
一种可选的实施方式中,所述基于所述前M个索引号和所述后N 个索引号分别对应的元素,以及所述目标元素,生成所述目标元素对应的目标分页,包括:
基于所述目标集合中元素的索引顺序关系,将所述前M个索引号和所述后N个索引号分别对应的元素以及所述目标元素进行组合,得到所述目标元素对应的目标分页。
一种可选的实施方式中,所述获取所述目标集合中与所述目标索引号相邻的前M个索引号和后N个索引号分别对应的元素,包括:
基于所述目标集合中元素的索引顺序关系,获取以所述目标元素为页尾的第一分页,其中,所述第一分页还包括与所述目标索引号相邻的前M个索引号分别对应的元素;以及,
基于所述目标集合中元素的索引顺序关系,获取以所述目标元素为页首的第二分页,其中,所述第二分页还包括与所述目标索引号相邻的后N个索引号分别对应的元素。
一种可选的实施方式中,所述基于所述前M个索引号和所述后N个索引号分别对应的元素,以及所述目标元素,生成所述目标元素对应的目标分页,包括:
基于所述目标集合中元素的索引顺序关系,将所述第一分页、所述第二分页和所述目标元素进行合并且去重处理后,生成所述目标元素对应的目标分页。
一种可选的实施方式中,M与N的和大于预设单屏显示数量。
一种可选的实施方式中,所述目标元素包括目标视频,所述目标集合中包括具有所述索引顺序关系的多段视频。
第二方面,本公开提供了一种分页处理装置,所述装置包括:
接收模块,用于接收针对目标元素的分页请求;
第一确定模块,用于基于所述分页请求,确定所述目标元素在目标集合中的索引号,作为目标索引号;其中,所述目标集合中包括具有索引顺序关系的多个元素;
第一获取模块,用于获取所述目标集合中与所述目标索引号相邻 的前M个索引号和后N个索引号分别对应的元素;其中,M和N均为正整数;
生成模块,用于基于所述前M个索引号和所述后N个索引号分别对应的元素,以及所述目标元素,生成所述目标元素对应的目标分页。
第三方面,本公开提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当所述指令在终端设备上运行时,使得所述终端设备实现上述的方法。
第四方面,本公开提供了一种设备,包括:存储器,处理器,及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时,实现上述的方法。
第五方面,本公开提供了一种计算机程序产品,所述计算机程序产品包括计算机程序/指令,所述计算机程序/指令被处理器执行时实现上述的方法。
本公开实施例提供的技术方案与现有技术相比,至少具有如下优点:
本公开实施例提供了一种分页处理方法,首先,接收针对目标元素的分页请求,并基于该分页请求,确定所述目标元素在目标集合中的索引号,作为目标索引号。然后,获取所述目标集合中与所述目标索引号相邻的前M个索引号和后N个索引号分别对应的元素;其中,M和N均为正整数。进而,基于前M个索引号和后N个索引号分别对应的元素,以及目标元素,生成目标元素对应的目标分页。可见,本公开实施例能够确定目标元素在目标集合中的索引号,然后基于索引号获取到对应的元素,生成包含有目标元素以及与该目标元素前后相邻的元素的目标分页,从而,能够实现为用户直接定位到目标元素所在分页的展示效果,提升用户体验。
另外,本公开实施例提供的分页处理方法,无需从服务端拉取目标元素的索引号之前的所有元素,而是仅拉取目标元素前后相邻的元素即可。可见,本公开实施例还可以降低拉取资源的系统消耗。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。
为了更清楚地说明本公开实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本公开实施例提供的一种视频播放页面的示意图;
图2为一种元素列表的展示页面示意图;
图3为本公开实施例提供的另一种元素列表的展示页面示意图;
图4为本公开实施例提供的一种分页处理方法的流程图;
图5为本公开实施例提供的一种分页处理装置的结构示意图;
图6为本公开实施例提供的一种分页处理设备的结构示意图。
具体实施方式
为了能够更清楚地理解本公开的上述目的、特征和优点,下面将对本公开的方案进行进一步描述。需要说明的是,在不冲突的情况下,本公开的实施例及实施例中的特征可以相互组合。
在下面的描述中阐述了很多具体细节以便于充分理解本公开,但本公开还可以采用其他不同于在此描述的方式来实施;显然,说明书中的实施例只是本公开的一部分实施例,而不是全部的实施例。
目前,对于多媒体元素的分页展示方式通常包括以下两种:其一,是以页号为锚点,以页元素个数为步长,支持按页随机访问的分页展示方式,例如内容报表、论坛等场景的分页展示;其二,以页中任意元素的创建时间戳为锚点,以页元素个数为步长,支持不断下拉翻页的分页展示方式,例如,信息流产品中的分页展示。
但是,上述两种分页展示方法也并非适用于所有应用场景,例如,视频播放场景,如图1所示,为本公开实施例提供的一种视频播放页 面的示意图,其中,在视频播放页面上播放当前视频,由于该视频属于某个视频集合(例如,舞蹈合集),因此,可以在视频播放页面上设置有元素列表展示入口(如1中的101所示),通过点击该元素列表展示入口能够为用户展示该合集中的视频元素列表,并进行分页显示。
如图2所示,为一种集合中的元素列表的展示页面示意图。其中,在接收到用户针对图1中的当前视频的元素列表展示入口的触发操作之后,在当前视频播放页面上展示集合中的元素列表。由于视频集合中包括的视频元素数量可能大于单屏显示数量,因此,需要对集合中的元素列表进行分页展示。
实际应用中,用户从正在播放的当前视频进入该视频对应的元素列表的展示页面之后,期望能够在该合集的元素列表中首先定位到该视频以及该视频在视频集合中的上下文信息(例如,相邻的视频),但是如果该视频集合中的视频数量较多,则在展示给用户的首个分页中通常不会显示有该视频,而是从视频合集中索引号为0的视频开始显示,用户只有通过不断的向下滑动元素列表才能查看该视频以及其上下文信息,在这个过程中,客户端需要不断的向服务端拉取元素列表中的各个视频元素,这对于系统资源而言是一种浪费。
本公开实施例提供了一种分页处理方法,用户从正在播放的当前视频进入该视频对应的元素列表的展示页面之后,可以为用户展示包括该视频的元素列表,用户基于显示在该视频上下位置的其他视频,还能够直接了解到该视频在对应的集合中的上下文信息。另外,本公开实施例提供的分页处理方法,只需要从服务端拉取与该视频相邻的视频,而不需要从视频集合中索引号为0的视频开始拉取大量视频,可见,本公开实施例节省了系统资源。
如图3所示,为本公开实施例提供的另一种元素列表的展示页面示意图,其中,在接收到用户针对图1中的元素列表展示入口101的触发操作之后,在图3中的视频播放页面上展示元素列表的首个分页。如图3所示,本公开实施例可以直接对包含有用户正在播放的当前视 频的元素列表的分页进行展示,而图2是从视频合集中索引号为0的视频开始对合集列表的分页进行展示。
为了实现上述图3中合集列表的分页展示效果,本公开实施例的服务端在接收到针对目标元素(例如,当前播放的视频)的分页请求时,首先基于所述分页请求,确定所述目标元素在目标集合中的索引号,作为目标索引号。然后,获取该目标集合中与目标索引号相邻的前M个索引号和后N个索引号分别对应的元素。进而,基于前M个索引号和后N个索引号分别对应的元素,以及目标元素,生成目标元素对应的目标分页。
基于此,本公开实施例提供了一种分页处理方法,参考图4,为本公开实施例提供的一种分页处理方法的流程图,该方法包括:
S401:接收针对目标元素的分页请求。
本公开实施例中,目标元素属于目标集合,目标集合中包括具有索引顺序关系的多个元素,其中,本公开实施例对目标集合中元素的类型不做限制,具体可以包括图像、视频、文本等。
本公开实施例中,分页请求用于请求针对目标元素对目标集合中的元素进行分页展示。具体的,展示的分页上显示有目标元素以及目标元素在目标集合中的相邻元素。
S402:基于所述分页请求,确定所述目标元素在目标集合中的索引号,作为目标索引号。
其中,所述目标集合中包括具有索引顺序关系的元素,所述分页请求用于请求对所述目标集合中的元素进行分页展示。
本公开实施例中,目标集合中的元素可以是用户选择的,也可以是系统基于预设特征预先确定的。例如,以目标集合包括舞蹈视频集合为例,舞蹈视频集合中可以包括用户选择的具有舞蹈特征的多段视频等。
一种可选的实施方式中,在接收到针对目标元素的分页请求时, 首先从该分页请求中获取该分页请求携带的元素标识,其中,该元素标识用于唯一标识目标元素,例如,元素标识可以包括视频ID,用于唯一标识目标视频。
在获取到分页请求中的元素标识之后,可以基于该元素标识确定目标元素在目标集合中的索引号。具体的,元素在目标集合中的索引号用于表征该元素与目标集合中的其他元素之间的顺序关系,相应地,目标元素在目标集合中的索引号用于表征目标元素与目标集合中的其他元素之间的顺序关系。
一种可选的实施方式中,可以通过查询预设关系表确定所述元素标识对应的索引号,作为目标索引号;其中,所述预设关系表中存储有目标集合中的元素的元素标识与索引号的对应关系,索引号用于表征该元素在目标集合中的索引位置,相应地,所述目标索引号用于表征所述目标元素在目标集合中的索引位置。
实际应用中,针对目标集合可以构建预设关系表,其中,该预设关系表用于存储目标集合中元素的元素标识与索引号之间的对应关系。例如,目标集合包括目标视频集合,而目标视频集合的预设关系表可以用于存储视频ID和索引号之间的对应关系,视频ID用于唯一标识对应的视频,基于该视频ID能够唯一获取到具有该视频ID对应的视频。
S403:获取所述目标集合中与所述目标索引号相邻的前M个索引号和后N个索引号分别对应的元素;其中,M和N均为正整数。
本公开实施例中,在确定目标元素在目标集合中的目标索引号之后,确定目标索引号的相邻前M个索引号和相邻后N个索引号。例如,目标索引号为10,则相邻前M个(例如,M=3)索引号可以为7、8、9,相邻后N个(例如,N=10)索引号可以为11-20。其中,M和N的具体取值可以基于需求确定,本公开不对此进行限制。
一种可选的实施方式中,为了保证目标元素能够在展示给用户的元素列表的首个分页的上半屏位置,通常将M的取值设置为小于或等 于N的取值。一种可选的实施方式中,如果需要目标元素能够在展示给用户的元素列表的首个分页的下半屏位置,还可以将M的取值设置为大于或等于N的取值。另外,为了保证客户端上展示给用户的元素列表的首个分页的展示效果,本公开实施例将M与N的和设置为大于预设单屏显示数量。其中,预设单屏显示数量是指元素列表的显示页面单次能够显示给用户的元素数量的最大值。
本公开实施例中,在确定目标索引号相邻的前M个索引号和后N个索引号之后,确定在目标集合中的前M个索引号和后N个索引号分别对应的元素。例如,以目标索引号为10为例进行说明,确定目标集合中与目标索引号相邻的前M个(例如,3个)索引号7、8、9分别对应的元素,以及确定目标集合中与目标索引号相邻的后N个(例如,10个)索引号11-20分别对应的元素。
一种可选的实施方式中,首先,确定与所述目标索引号相邻的前M个索引号和后N个索引号。然后,通过查询所述预设关系表,确定所述前M个索引号和所述后N个索引号分别对应的元素标识。进而,基于所述前M个索引号和所述后N个索引号分别对应的元素标识,获取所述目标集合中的所述前M个索引号和所述后N个索引号分别对应的元素。可见,本公开实施例可以基于预设关系表确定索引号对应的元素标识,进而基于元素标识获取到对应的元素。
本公开实施例能够基于目标索引号相邻的前M个索引号和后N个索引号确定对应的元素标识,然后基于元素标识直接获取到对应的元素,因此,本公开实施例无需从目标集合的元素列表中的首个元素开始分页展示,而是可以直接定位到目标元素所在的分页进行展示,提升用户体验。
S404:基于所述前M个索引号和所述后N个索引号分别对应的元素,以及所述目标元素,生成所述目标元素对应的目标分页。
本公开实施例中,在获取到目标集合中与目标索引号相邻的前M个索引号和后N个索引号分别对应的元素之后,基于获取到的元素生 成目标元素对应的目标分页,所述分页包括目标元素,以及与该目标元素前后相邻的元素,用于在客户端进行目标集合的元素列表的分页展示。
一种可选的实施方式中,基于所述目标集合中元素的索引顺序关系,将所述前M个索引号和所述后N个索引号分别对应的元素以及所述目标元素进行组合,得到所述目标集合对应的目标分页。例如,可以将前M个索引号7、8、9,目标索引号10,以及后N个索引号11-20分别对应的元素,基于索引顺序关系进行组合,最终得到目标元素对应的目标分页。
另一种可选的实施方式中,首先,可以基于目标集合中元素的索引顺序关系,获取以目标元素为页尾的第一分页,具体的,第一分页上包括目标元素以及与目标索引号相邻的前M个索引号分别对应的元素。另外,基于该索引顺序关系,获取以目标元素为页首的第二分页,具体的,第二分页上包括目标元素以及与目标索引号相邻的后N个索引号分别对应的元素。在获取到第一分页和第二分页之后,基于索引顺序关系,将第一分页、第二分页和目标元素进行合并且去重处理,最终得到目标元素对应的目标分页。
例如,以目标索引号为10为例进行说明,第一分页上依次包括索引号7、8、9、10分别对应的元素,第二分页上依次包括索引号10-20分别对应的元素,将第一分页、第二分页和目标元素进行合并且去重后,得到依次包括索引号7-20分别对应的元素的目标分页,其中,索引号为10的元素为目标元素,在该示例性说明书中,该目标元素位于目标分页中的第4个元素位置。
本公开实施例提供的分页处理方法中,首先,接收针对目标元素的分页请求,并基于该分页请求,确定所述目标元素在目标集合中的索引号,作为目标索引号。然后,获取所述目标集合中与所述目标索引号相邻的前M个索引号和后N个索引号分别对应的元素;其中,M和N均为整数。进而,基于前M个索引号和后N个索引号分别对应的 元素,以及目标元素,生成目标元素对应的目标分页。可见,本公开实施例能够确定目标元素在目标集合中的索引号,然后基于索引号获取到对应的元素,生成包含有目标元素以及与该目标元素前后相邻的元素的目标分页,从而,能够实现为在分页中直接展示目标元素的展示效果,提升用户体验。
另外,本公开实施例提供的分页处理方法,无需从服务端拉取目标元素的索引号之前的所有元素,而是仅拉取目标元素前后相邻的元素即可,可见,本公开实施例还可以降低拉取资源的系统消耗。
基于上述方法实施例,本公开还提供了一种分页处理装置,参考图5,为本公开实施例提供的一种分页处理装置的结构示意图,所述装置包括:
接收模块501,用于接收针对目标元素的分页请求;
第一确定模块502,用于基于所述分页请求,确定所述目标元素在目标集合中的索引号,作为目标索引号;其中,所述目标集合中包括具有索引顺序关系的多个元素;
第一获取模块503,用于获取所述目标集合中与所述目标索引号相邻的前M个索引号和后N个索引号分别对应的元素;其中,M和N均为正整数;
生成模块504,用于基于所述前M个索引号和所述后N个索引号分别对应的元素,以及所述目标元素,生成所述目标元素对应的目标分页。
一种可选的实施方式中,所述第一确定模块502,包括:
第一获取子模块,用于从所述分页请求中获取所述目标元素对应的元素标识;
查询子模块,用于查询预设关系表确定所述元素标识对应的索引号,作为所述目标索引号,其中,所述预设关系表中存储有目标集合中元素的元素标识与所述元素在所述目标集合中的索引号之间的对应 关系,并且,所述索引号用于表征对应的元素在所述目标集合中的索引位置。
一种可选的实施方式中,所述第一获取子模块,包括:
第一确定子模块,用于确定与所述目标索引号相邻的前M个索引号和后N个索引号;
第二确定子模块,用于通过查询所述预设关系表,确定所述前M个索引号和所述后N个索引号分别对应的元素标识;
第二获取子模块,用于基于所述前M个索引号和所述后N个索引号分别对应的元素标识,获取所述目标集合中的所述前M个索引号和所述后N个索引号分别对应的元素。
一种可选的实施方式中,所述生成模块504,具体用于:
基于所述目标集合中元素的索引顺序关系,将所述前M个索引号和所述后N个索引号分别对应的元素以及所述目标元素进行组合,得到所述目标元素对应的目标分页。
一种可选的实施方式中,所述第一获取模块503,包括:
第三获取子模块,用于基于所述目标集合中元素的索引顺序关系,获取以所述目标元素为页尾的第一分页;其中,所述第一分页还包括与所述目标索引号相邻的前M个索引号分别对应的元素;
第四获取子模块,用于基于所述目标集合中元素的索引顺序关系,获取以所述目标元素为页首的第二分页;其中,所述第二分页还包括与所述目标索引号相邻的后N个索引号分别对应的元素。
一种可选的实施方式中,所述生成模块504,具体用于:
基于所述目标集合中元素的索引顺序关系,将所述第一分页、所述第二分页和所述目标元素进行合并且去重处理后,生成所述目标元素对应的目标分页。
一种可选的实施方式中,M与N的和大于预设单屏显示数量。
一种可选的实施方式中,所述目标元素包括目标视频,所述目标集合中包括具有索引顺序关系的多段视频。
本公开实施例提供的分页处理装置中,首先,接收针对目标元素的分页请求,并基于该分页请求,确定所述目标元素在目标集合中的索引号,作为目标索引号。然后,获取所述目标集合中与所述目标索引号相邻的前M个索引号和后N个索引号分别对应的元素;其中,M和N均为整数。进而,基于前M个索引号和后N个索引号分别对应的元素,以及目标元素,生成目标元素对应的目标分页。可见,本公开实施例能够确定目标元素在目标集合中的索引号,然后基于索引号获取到对应的元素,生成包含有目标元素的目标分页,实现为用户直接定位到目标元素所在分页的展示效果,提升用户体验。
另外,本公开实施例提供的分页处理装置,可以仅获取目标元素所在分页上的各个元素,实现对目标集合中包含有目标元素的首个分页进行展示。可见,本公开实施例还可以降低对系统资源的消耗。
除了上述方法和装置以外,本公开实施例还提供了一种计算机可读存储介质,计算机可读存储介质中存储有指令,当所述指令在终端设备上运行时,使得所述终端设备实现本公开实施例所述的分页处理方法。
本公开实施例还提供了一种计算机程序产品,包括计算机程序/指令,该计算机程序/指令被处理器执行时实现本公开实施例所述的分页处理方法。
另外,本公开实施例还提供了一种分页处理设备,参见图6所示,可以包括:
处理器601、存储器602、输入装置603和输出装置604。分页处理设备中的处理器601的数量可以一个或多个,图6中以一个处理器为例。在本公开的一些实施例中,处理器601、存储器602、输入装置603和输出装置604可通过总线或其它方式连接,其中,图6中以通过总线连接为例。
存储器602可用于存储软件程序以及模块,处理器601通过运行存储在存储器602的软件程序以及模块,从而执行分页处理设备的各 种功能应用以及数据处理。存储器602可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序等。此外,存储器602可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。输入装置603可用于接收输入的数字或字符信息,以及产生与分页处理设备的用户设置以及功能控制有关的信号输入。
具体在本实施例中,处理器601会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行文件加载到存储器602中,并由处理器601来运行存储在存储器602中的应用程序,从而实现上述分页处理设备的各种功能。
需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
以上所述仅是本公开的具体实施方式,使本领域技术人员能够理解或实现本公开。对这些实施例的多种修改对本领域的技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本公开的精神或范围的情况下,在其它实施例中实现。因此,本公开将不会被限制于本文所述的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。

Claims (12)

  1. 一种分页处理方法,所述方法包括:
    接收针对目标元素的分页请求;
    基于所述分页请求,确定所述目标元素在目标集合中的索引号,作为目标索引号;其中,所述目标集合中包括具有索引顺序关系的多个元素;
    获取所述目标集合中与所述目标索引号相邻的前M个索引号和后N个索引号分别对应的元素;其中,M和N均为正整数;
    基于所述前M个索引号和所述后N个索引号分别对应的元素,以及所述目标元素,生成所述目标元素对应的目标分页。
  2. 根据权利要求1所述的方法,其中,所述基于所述分页请求,确定所述目标元素在目标集合中的索引号,作为目标索引号,包括:
    从所述分页请求中获取所述目标元素对应的元素标识;
    查询预设关系表确定所述元素标识对应的索引号,作为所述目标索引号,其中,所述预设关系表中存储有目标集合中元素的元素标识与所述元素在所述目标集合中的索引号之间的对应关系,并且,所述索引号用于表征对应的元素在所述目标集合中的索引位置。
  3. 根据权利要求2所述的方法,其中,所述获取所述目标集合中与所述目标索引号相邻的前M个索引号和后N个索引号分别对应的元素,包括:
    确定与所述目标索引号相邻的前M个索引号和后N个索引号;
    查询所述预设关系表,确定所述前M个索引号和所述后N个索引号分别对应的元素标识;
    基于所述前M个索引号和所述后N个索引号分别对应的元素标识,获取所述目标集合中的所述前M个索引号和所述后N个索引号分别对应的元素。
  4. 根据权利要求1所述的方法,其中,所述基于所述前M个索 引号和所述后N个索引号分别对应的元素,以及所述目标元素,生成所述目标元素对应的目标分页,包括:
    基于所述目标集合中元素的索引顺序关系,将所述前M个索引号和所述后N个索引号分别对应的元素以及所述目标元素进行组合,得到所述目标元素对应的目标分页。
  5. 根据权利要求1所述的方法,其中,所述获取所述目标集合中与所述目标索引号相邻的前M个索引号和后N个索引号分别对应的元素,包括:
    基于所述目标集合中元素的索引顺序关系,获取以所述目标元素为页尾的第一分页,其中,所述第一分页还包括与所述目标索引号相邻的前M个索引号分别对应的元素;以及,
    基于所述目标集合中元素的索引顺序关系,获取以所述目标元素为页首的第二分页,其中,所述第二分页还包括与所述目标索引号相邻的后N个索引号分别对应的元素。
  6. 根据权利要求5所述的方法,其中,所述基于所述前M个索引号和所述后N个索引号分别对应的元素,以及所述目标元素,生成所述目标元素对应的目标分页,包括:
    基于所述目标集合中元素的索引顺序关系,将所述第一分页、所述第二分页和所述目标元素进行合并且去重处理后,生成所述目标元素对应的目标分页。
  7. 根据权利要求1所述的方法,其中,M与N的和大于预设单屏显示数量。
  8. 根据权利要求1所述的方法,其中,所述目标元素包括目标视频,所述目标集合中包括具有所述索引顺序关系的多段视频。
  9. 一种分页处理装置,所述装置包括:
    接收模块,用于接收针对目标元素的分页请求;
    第一确定模块,用于基于所述分页请求,确定所述目标元素在目标集合中的索引号,作为目标索引号;其中,所述目标集合中包括具 有索引顺序关系的多个元素;
    第一获取模块,用于获取所述目标集合中与所述目标索引号相邻的前M个索引号和后N个索引号分别对应的元素;其中,M和N均为正整数;
    生成模块,用于基于所述前M个索引号和所述后N个索引号分别对应的元素,以及所述目标元素,生成所述目标元素对应的目标分页。
  10. 一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当所述指令在终端设备上运行时,使得所述终端设备实现如权利要求1-8任一项所述的方法。
  11. 一种设备,包括:存储器,处理器,及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时,实现如权利要求1-8任一项所述的方法。
  12. 一种计算机程序产品,所述计算机程序产品包括计算机程序/指令,所述计算机程序/指令被处理器执行时实现如权利要求1-8任一项所述的方法。
PCT/CN2022/083581 2021-05-11 2022-03-29 一种分页处理方法、装置、设备及存储介质 Ceased WO2022237355A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110511535.5A CN115329223A (zh) 2021-05-11 2021-05-11 一种分页处理方法、装置、设备及存储介质
CN202110511535.5 2021-05-11

Publications (1)

Publication Number Publication Date
WO2022237355A1 true WO2022237355A1 (zh) 2022-11-17

Family

ID=83913090

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/083581 Ceased WO2022237355A1 (zh) 2021-05-11 2022-03-29 一种分页处理方法、装置、设备及存储介质

Country Status (2)

Country Link
CN (1) CN115329223A (zh)
WO (1) WO2022237355A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117390051A (zh) * 2023-10-12 2024-01-12 南水北调中线信息科技有限公司 数据查询方法、装置、设备及可读存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105488057A (zh) * 2014-09-17 2016-04-13 腾讯科技(深圳)有限公司 页面元素的处理方法及装置
US9934202B1 (en) * 2015-03-30 2018-04-03 EMC IP Holding Company LLC Managing paginated data
CN109918594A (zh) * 2019-01-25 2019-06-21 深圳市元征科技股份有限公司 一种信息显示方法及装置
CN110968813A (zh) * 2019-11-29 2020-04-07 中国银行股份有限公司 一种索引页面展示方法及装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3602352A4 (en) * 2017-03-30 2020-10-28 TNQ Books And Journals Private Limited CONVERTING EXCELLENT CONTENT INTO A FILE FORMAT THAT ALLOWS AUTOMATED BROWSER-BASED PAGE BREAKING
CN108984615B (zh) * 2018-06-12 2023-04-07 北京杰控科技有限公司 一种数据查询方法和系统、存储介质
CN112261226B (zh) * 2020-10-21 2022-09-16 北京字跳网络技术有限公司 横屏交互方法、装置、电子设备和存储介质

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105488057A (zh) * 2014-09-17 2016-04-13 腾讯科技(深圳)有限公司 页面元素的处理方法及装置
US9934202B1 (en) * 2015-03-30 2018-04-03 EMC IP Holding Company LLC Managing paginated data
CN109918594A (zh) * 2019-01-25 2019-06-21 深圳市元征科技股份有限公司 一种信息显示方法及装置
CN110968813A (zh) * 2019-11-29 2020-04-07 中国银行股份有限公司 一种索引页面展示方法及装置

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117390051A (zh) * 2023-10-12 2024-01-12 南水北调中线信息科技有限公司 数据查询方法、装置、设备及可读存储介质

Also Published As

Publication number Publication date
CN115329223A (zh) 2022-11-11

Similar Documents

Publication Publication Date Title
US8065628B2 (en) Dynamic user interface for previewing live content
CN102521230B (zh) 用于有条件的数据显示的结果类型
WO2022171047A1 (zh) 视频处理方法, 装置, 设备及存储介质
US20260017312A1 (en) Multimedia work processing method, apparatus and device, and storage medium
US20250337994A1 (en) Video processing method, apparatus and device, and storage medium
US20250307304A1 (en) Multimedia work display method, apparatus and device, and storage medium
EP4701207A1 (en) Content sharing method and apparatus, device, and storage medium
US11200201B2 (en) Metadata storage method, device and server
WO2023185432A1 (zh) 一种视频处理方法、装置、设备及存储介质
US20230343233A1 (en) Tutorial-based multimedia resource editing method and apparatus, device, and storage medium
CN111782097A (zh) 图像资源切换方法及装置
JP2025518939A (ja) ビデオに基づくインタラクション方法、装置、機器、記憶媒体、及びコンピュータプログラム
US20260019678A1 (en) Video processing method, apparatus, device, and storage medium
JP2025523529A (ja) ライブストリーミングインタラクションのための方法、装置、デバイス及び記憶媒体
WO2025039966A1 (zh) 用于信息处理的方法、装置、设备和存储介质
CN118890506A (zh) 用于界面交互方法、装置、设备和存储介质
US20260023782A1 (en) Video processing method, apparatus and device, and storage medium
WO2022237355A1 (zh) 一种分页处理方法、装置、设备及存储介质
JP7760602B2 (ja) マルチメディアコンテンツ展示方法、装置、機器および記憶媒体
US20240295950A1 (en) Video collection presentation method and apparatus, electronic device, and readable storage medium
WO2026026718A1 (zh) 内容搜索方法、装置、设备和存储介质
CN114489404A (zh) 一种页面交互方法、装置、设备以及存储介质
TWI722853B (zh) 視頻封面生成的方法、裝置、存儲介質和終端設備
WO2025232390A1 (zh) 作品播放方法、装置、设备和存储介质
WO2025218280A1 (zh) 发布作品的方法、装置、设备和存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22806325

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 220224)

122 Ep: pct application non-entry in european phase

Ref document number: 22806325

Country of ref document: EP

Kind code of ref document: A1