CPC G06F 7/08 (2013.01) [G06F 16/901 (2019.01)] | 20 Claims |
1. 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 subresults based on the C data bitonic sorting components to obtain a data sorting result for the data sequence.
|