hottub.patents
US 12,277,403 B2#3568173 Most CitedActiveUnited States (USPTO)Utility

Data processing method and apparatus, computer device, and computer-readable storage medium

0Forward Citations (#3568173 Global)
0.0/yrCitation Velocity (#3568173 Global)
0.00Citation PageRank (#3568173 Global)
10Prior Art Cited
8Structured Claims
0Drawings / Sheets

Abstract

A data processing method includes: acquiring a data sorting request for a data sequence to be sorted, and invoking C data bitonic sorting components in response to the data sorting request, C being a positive integer greater than 1; initiating B data bitonic sorting tasks according to the data sequence and the C data bitonic sorting components, B being a positive integer greater than 1, the B data bitonic sorting tasks being respectively associated with different data subsequences of B data subsequences, and the B data subsequences being generated based on the to-be-sorted data sequence; operating the C data bitonic sorting components in parallel according to the B data bitonic sorting tasks to obtain B data sorting subresults; and combining the B data sorting subresults based on the C data bitonic sorting components to obtain a data sorting result for the data sequence.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 0.

Claims (8)

  1. Claim 1Independent Claim

    A data processing method, performed by a computer device and comprising: acquiring a data sorting request for a data sequence to be sorted, and invoking C data bitonic sorting components according to the data sorting request, C being a positive integer greater than 1; initiating B data bitonic sorting tasks according to the data sequence and the C data bitonic sorting components, B being a positive integer greater than 1, and the B data bitonic sorting tasks being respectively associated with different data subsequences of B data subsequences, and the B data subsequences being generated based on the data sequence; operating the C data bitonic sorting components in parallel according to the B data bitonic sorting tasks to obtain B data sorting subresults outputted by the C data bitonic sorting components, one data sorting subresult indicating a sorting result of one of the data subsequences associated with one of the data bitonic sorting tasks; and combining the B data sorting subresult

  2. Claim 2Depends on #1

    The method according to claim 1, further comprising: transmitting the data sorting request to a task control component, the data sorting request carrying a first total quantity of data in the data sequence; and the initiating B data bitonic sorting tasks according to the data sequence and the C data bitonic sorting components comprising: determining, in the task control component, a quantity to be sorted associated with the first total quantity, the quantity being equal to or greater than the first total quantity; acquiring a total data storage capacity corresponding to the C data bitonic sorting components, and comparing the quantity to be sorted with the total data storage capacity to obtain a first comparison result; and initiating the B data bitonic sorting tasks according to the first comparison result.

  3. Claim 3Depends on #2

    The method according to claim 2, wherein the initiating the B data bitonic sorting tasks according to the first comparison result comprises: in response to that the quantity is greater than the total data storage capacity, acquiring a first quantity ratio of the quantity to the total data storage capacity, and initiating the B data bitonic sorting tasks according to the first quantity ratio, a product of C and the first quantity ratio being equal to B, a second total quantity carried in one data bitonic sorting task being equal to a total quantity of data in the data subsequence associated with one data bitonic sorting task; and in response to that the quantity is less than or equal to the total data storage capacity, initiating the B data bitonic sorting tasks according to the C data bitonic sorting components, B being equal to C.

  4. Claim 4Depends on #1

    The method according to claim 1, wherein the operating the C data bitonic sorting components in parallel according to the B data bitonic sorting tasks to obtain B data sorting subresults outputted by the C data bitonic sorting components comprises: distributing the B data bitonic sorting tasks to the C data bitonic sorting components in response to that B is equal to C, one data bitonic sorting task being distributed to one data bitonic sorting component; and operating the B data bitonic sorting tasks in parallel through the C data bitonic sorting components to obtain data sorting subresults respectively outputted by the C data bitonic sorting components.

  5. Claim 5Depends on #4

    The method according to claim 4, wherein the B data bitonic sorting tasks comprise a data bitonic sorting task D e, and e is a positive integer less than or equal to B; the B data subsequences comprise a data subsequence A e corresponding to the data bitonic sorting task D e; the C data bitonic sorting components comprise a data bitonic sorting component F e configured to execute the data bitonic sorting task D e; and the operating the B data bitonic sorting tasks in parallel through the C data bitonic sorting components to obtain data sorting subresults respectively outputted by the C data bitonic sorting components comprises: acquiring, by the data bitonic sorting component F e, the data subsequence A e corresponding to the data bitonic sorting task D e, and performing bitonic sorting on the data subsequence A e to obtain a data sorting subresult corresponding to the data subsequence A e; and when operating the data bitonic sorting component F e, operating B-1 data bitonic sorting ta

  6. Claim 6Depends on #5

    The method according to claim 5, wherein the data sorting request carries read addresses respectively corresponding to the data in the data sequence, and a sort order for the data sequence; and the acquiring, in the data bitonic sorting component F e, the data subsequence A e corresponding to the data bitonic sorting task D e comprises: acquiring, by the data bitonic sorting component F e, a target read address and a second total quantity that are carried in the data bitonic sorting task D e, the read addresses respectively corresponding to the data in the data sequence comprising the target read address, and the second total quantity indicating a total quantity of data in the data subsequence A e; transmitting a data acquisition request carrying the target read address to a data read/write component, and acquiring an initial data subsequence from the target read address through the data read/write component, the initial subsequence belonging to the data sequence; determining a quantit

  7. Claim 7Depends on #5

    The method according to claim 5, wherein the data bitonic sorting component F e comprises a sort control subcomponent, a round control subcomponent, a data acquisition subcomponent, and a bitonic sorting subcomponent; and the performing bitonic sorting on the data subsequence A e to obtain a data sorting subresult corresponding to the data subsequence A e comprises: initiating the round control subcomponent in response to that the sort control subcomponent acquires a data loading completion notification, the data loading completion notification indicating that the storage component corresponding to the data bitonic sorting component F e has loaded the data subsequence A e; determining, by the round control subcomponent, a bitonic sorting phase corresponding to the data subsequence A e and bitonic sorting logical parameters corresponding to the bitonic sorting phase according to the second total quantity; transmitting the bitonic sorting phase and the bitonic sorting logical parameters

  8. Claim 8Depends on #7

    The method according to claim 7, wherein there are at least two bitonic sorting phases; and the acquiring, by the data acquisition subcomponent, intermediate data according to the bitonic sorting phase and the bitonic sorting logical parameters corresponding to the bitonic sorting phase; transmitting the intermediate data to the bitonic sorting subcomponent, and sorting the intermediate data by the bitonic sorting subcomponent to obtain an intermediate sorting subresult; and determining the data sorting subresult corresponding to the data subsequence A e according to the intermediate sorting subresult comprises: reading, by the data acquisition subcomponent, a first data sorting transition subresult from the storage component according to an i th bitonic sorting phase in the at least two bitonic sorting phases, i being a positive integer greater than 1, and the first data sorting transition subresult being an output result of a (i − 1) th bitonic sorting phase, bitonic sorting logical

Technical Overview & Description

CROSS-REFERENCES TO RELATED APPLICATIONS This application is a continuation application of PCT Patent Application No. PCT/CN2022/118483, entitled “ DATA PROCESSING METHOD AND APPARATUS, COMPUTER DEVICE, COMPUTER-READABLE STORAGE MEDIUM, AND COMPUTER PROGRAM PRODUCT ” and filed on Sep. 13, 2022, which claims priority to Chinese Patent Application No. 202111242449.5, filed with the Chinese Patent Office on Oct. 25, 2021, the entire contents of both of which are incorporated herein by reference. FIELD OF THE TECHNOLOGY The present disclosure relates to the field of Internet technologies, and in particular, to a data processing method and apparatus, a computer device, a computer-readable storage medium, and computer program product. BACKGROUND OF THE DISCLOSURE Sorting is widely applied to scenarios such as a database, target recognition, and text analysis, and is a common operation in artificial intelligence models and target detection models. Representative sorting algorithms include bitonic sort, odd-even sort, radix sort, and the like. Due to the unique parallelism and data-index independence, bitonic sort has important application value in parallel computing and other fields. Bitonic sort has definite execution time, so it is very suitable for hardware implementation. However, during execution of a sorting task, it is necessary to perform multiple rounds of traversal on to-be-sorted data, which increases the execution time and reduces the sorting efficiency. SUMMARY Embodiments of the present disclosure provide a data processing method and apparatus, a computer device, a computer-readable storage medium, and a computer program product, which can not only reduce the execution time of a sorting task, but also improve the sorting efficiency. The embodiments of the present disclosure provide a data processing method, which is performed by a computer device and includes: acquiring a data sorting request for a data sequence to be sorted, and invoking C data bitonic sorti

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

References Cited — Backward Prior Art (10)

PatentTitleYearCitations

Non-Patent Literature (9)

  • The World Intellectual Property Organization (WIPO) International Search Report for PCT/CN2022/118483 Nov. 25, 2022 7 Pages (including translation).
  • J Chhugani et al., Efficient implementation of sorting on multi-core SIMD CPU architecture[J]. Proceedings of the VLDB Endowment, 2008, 1(2): 1313-1324.
  • T Nakatani et al., K-way bitonic sort[J]. IEEE Transactions on Computers, 1989, 38(2): 283-288.
  • M F Ionescu et al., Optimizing parallel bitonic sort[C]//Proceedings 11th International Parallel Processing Symposium. IEEE, 1997: 303-309.
  • X Ye et al., High performance comparison-based sorting algorithm on many-core GPUs[C]//2010 IEEE International Symposium on Parallel
  • &
  • Distributed Processing (IPDPS). IEEE, 2010: 1-10.
  • D i arkhipov et al., Sorting with gpus: A survey[J]. arXiv preprint arXiv:1709.02520, 2017.
  • The European Patent Office (EPO) The Extended European Search Report for Application No. 22885453.5 Sep. 3, 2024 7 Pages.