CN111046255A - Data sorting method and related equipment - Google Patents

Data sorting method and related equipment Download PDF

Info

Publication number
CN111046255A
CN111046255A CN201911300104.3A CN201911300104A CN111046255A CN 111046255 A CN111046255 A CN 111046255A CN 201911300104 A CN201911300104 A CN 201911300104A CN 111046255 A CN111046255 A CN 111046255A
Authority
CN
China
Prior art keywords
data
converting
chinese
letters
hexadecimal
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
CN201911300104.3A
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.)
Kingdee Software China Co Ltd
Qualcomm Inc
Original Assignee
Qualcomm Inc
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 Qualcomm Inc filed Critical Qualcomm Inc
Priority to CN201911300104.3A priority Critical patent/CN111046255A/en
Publication of CN111046255A publication Critical patent/CN111046255A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/903Querying
    • G06F16/90335Query processing
    • G06F16/90348Query processing by searching ordered data, e.g. alpha-numerically ordered data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/31Programming languages or programming paradigms
    • G06F8/315Object-oriented languages

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Computing Systems (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Document Processing Apparatus (AREA)
  • Machine Translation (AREA)

Abstract

The embodiment of the application discloses a data sorting method, a computer device and a computer storage medium, which are used for converting first Chinese characters of Chinese data into corresponding letters to obtain third data, sorting the first letters of English data in the first data to obtain fifth data, and displaying the fifth data in a display area, so that the searching efficiency is improved. The method in the embodiment of the application comprises the following steps: acquiring first data, wherein the first data comprises English data and Chinese data; acquiring second data, wherein the second data comprises first Chinese characters of the Chinese data of the first data; acquiring fourth data, wherein the fourth data comprises first letters of English data of the first data; converting the second data into hexadecimal characters; according to the Chinese character coding standard, converting hexadecimal characters into corresponding letters to obtain third data; sorting letters in the third data and the fourth data to obtain fifth data; and displaying the corresponding first data according to the fifth data.

Description

Data sorting method and related equipment
Technical Field
The embodiment of the application relates to the field of software engineering, in particular to a data sorting method and related equipment.
Background
Today, with the rapid progress of information, data is becoming larger and larger, and it is a current trend to implement complex information processing by software so as to make user experience better and better.
In a software interface, some data in a database is often required to be displayed on some software interface, however, the data in the database is numerous, sorted and classified through some database languages, and finally displayed on the interface. For example, the data in the database is sorted by a descending function or an ascending function commonly used in the database, and is displayed on the interface. For example, when a user wants to search for a Chinese data on a software interface, the user needs to go down from the first data because there is no corresponding ordering rule.
In the practical application process, the data amount is large, and if the data are arranged according to the general ascending and descending order function in the database during displaying, the searching efficiency is low.
Disclosure of Invention
The embodiment of the application provides a data sorting method, a computer device and a computer storage medium, which are used for converting first Chinese characters of Chinese data in first data into corresponding letters so as to improve the searching efficiency.
A first aspect of an embodiment of the present application provides a data processing method, including:
acquiring first data, wherein the first data comprises English data and Chinese data;
acquiring second data, wherein the second data comprises first Chinese characters of the Chinese data of the first data;
acquiring fourth data, wherein the fourth data comprises first letters of English data of the first data;
converting the second data into hexadecimal characters according to the Chinese character coding standard;
converting the hexadecimal characters into corresponding letters to obtain third data;
sorting letters in the third data and the fourth data to obtain fifth data;
and displaying the corresponding first data according to the fifth data.
Optionally, converting the second data into hexadecimal characters according to the chinese character encoding standard includes:
converting the second data into an ANSI code value;
the ANSI code values are converted to hexadecimal characters.
Optionally, converting the second data into ANSI code values comprises:
the second data is converted to ANSI code values according to a conversion function in the VB programming language.
Or the like, or, alternatively,
the second data is converted to ANSI code values according to a conversion function in the C # programming language.
Converting the ANSI code value to hexadecimal characters comprises:
the ANSI code values are converted to hexadecimal characters according to a conversion function in the VB programming language.
Or the like, or, alternatively,
the ANSI code values are converted to hexadecimal characters according to a conversion function in the C # programming language.
Optionally, the sorting the third data and the fourth data to obtain fifth data includes:
and sequencing the third data and the fourth data according to a first sequencing function Order by Asc in the structured query language SQL to obtain fifth data.
Optionally, the sorting the third data and the fourth data to obtain fifth data includes:
and sequencing the third data and the fourth data according to a second sequencing function Order by Desc function in the SQL to obtain fifth data.
Optionally, converting the hexadecimal characters into corresponding letters to obtain third data includes:
acquiring a hexadecimal range corresponding to the Chinese character in a Chinese character coding standard table;
and converting the hexadecimal characters into corresponding letters according to the hexadecimal interval to obtain third data.
Optionally, obtaining the hexadecimal region corresponding to the chinese character in the encoding standard table of the chinese character includes:
and acquiring a hexadecimal interval corresponding to the Chinese character in the Chinese character GB18030 code.
A second aspect of the embodiments of the present application provides an apparatus, including:
the device comprises an acquisition unit, a storage unit and a display unit, wherein the acquisition unit is used for acquiring first data, and the first data comprises English data and Chinese data;
the acquisition unit is also used for acquiring second data, and the second data comprises first Chinese characters of the Chinese data of the first data;
the acquisition unit is further used for acquiring fourth data, and the fourth data comprises first letters of English data of the first data;
the conversion unit is used for converting the second data into hexadecimal characters according to the Chinese character coding standard;
the conversion unit is also used for converting the hexadecimal characters into corresponding letters to obtain third data;
the sorting unit is used for sorting letters in the third data and the fourth data to obtain fifth data;
and the display unit is used for displaying the corresponding first data according to the fifth data.
Optionally, converting the second data into hexadecimal characters according to the chinese character encoding standard includes:
the conversion unit is specifically used for converting the second data into ANSI code values;
the conversion unit is specifically configured to convert the ANSI code value into hexadecimal characters:
optionally, converting the second data into ANSI code values comprises:
the conversion unit is specifically configured to convert the second data into ANSI code values according to a conversion function in the VB programming language.
Or the like, or, alternatively,
the conversion unit is specifically configured to convert the second data into ANSI code values according to a conversion function in the C # programming language.
Converting the ANSI code value to hexadecimal characters comprises:
the conversion unit is specifically configured to convert the ANSI code value into hexadecimal characters according to a conversion function in the VB programming language.
Or the like, or, alternatively,
the conversion unit is specifically configured to convert the ANSI code value into hexadecimal characters according to a conversion function in the C # programming language.
Optionally, the sorting the third data and the fourth data to obtain fifth data includes:
the sorting unit is specifically configured to sort the third data and the fourth data according to a first sorting function Order by Asc in the structured query language SQL to obtain fifth data.
Optionally, the sorting the third data and the fourth data to obtain fifth data includes:
the sorting unit is specifically configured to sort the third data and the fourth data according to a second sorting function Order by Desc function in the SQL to obtain fifth data.
Optionally, converting the hexadecimal characters into corresponding letters to obtain third data includes:
the conversion unit is specifically used for converting hexadecimal characters into corresponding letters according to the hexadecimal interval corresponding to the Chinese characters in the Chinese character coding standard to obtain third data.
Optionally, the converting the hexadecimal characters into corresponding letters according to the hexadecimal interval corresponding to the chinese character in the chinese character coding standard to obtain third data includes:
the conversion unit is specifically configured to convert hexadecimal characters into corresponding letters according to the hexadecimal interval corresponding to the chinese character in the chinese character GB18030 code to obtain third data.
A third aspect of embodiments of the present application provides a computer apparatus, including:
a processor, a memory, an input and output device;
the processor is connected with the memory and the input and output equipment;
the processor performs the method according to the first aspect of the embodiments of the present application.
A fourth aspect of embodiments of the present application provides a computer storage medium having instructions stored therein, where the instructions, when executed on a computer, cause the computer to perform the method according to the first aspect of embodiments of the present application.
According to the technical scheme, the embodiment of the application has the following advantages:
according to the method and the device, the first Chinese character of the Chinese data in the first data is converted into the corresponding letter to obtain the third data, the third data and the first letter of the Chinese and English data in the first data are sequenced to obtain the fifth data, and the fifth data are displayed in the display area, so that when a certain data is searched, a clear directory hierarchy can be brought to a user, related data can be searched according to the sequencing rule of the letter after data conversion, and the searching efficiency is improved.
Drawings
FIG. 1 is a schematic flow chart illustrating a data sorting method according to an embodiment of the present application;
FIG. 2 is another flow chart illustrating a data sorting method according to an embodiment of the present application;
FIG. 3 is a diagram illustrating an exemplary effect of a data sorting method according to an embodiment of the present application;
FIG. 4 is a diagram illustrating another effect of the data sorting method according to the embodiment of the present application;
FIG. 5 is a diagram illustrating another effect of the data sorting method according to the embodiment of the present application;
FIG. 6 is a schematic structural diagram of a computer apparatus according to an embodiment of the present application;
fig. 7 is another schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
The embodiment of the application provides a data processing method, which is used for converting first data into corresponding letters to be sequenced to obtain fifth data, and displaying the corresponding first data in a display area according to the sequenced fifth data, so that when a certain data is searched, a clear directory hierarchy can be brought to a user, and related data can be searched according to the sequencing rule of the letters after data conversion, and the searching efficiency is improved. Referring to fig. 1, an embodiment of a data processing method in the embodiment of the present application includes:
101. acquiring first data;
the first data comprises English data and Chinese data, and when one or more groups of data need to be sorted, the one or more groups of data to be sorted are obtained, namely the first data comprises the one or more groups of data to be sorted.
102. Acquiring second data;
after the computer device obtains the data to be sorted, the data to be sorted comprises a Chinese data group, all Chinese data groups in the data to be sorted are obtained, and the first Chinese characters of the Chinese data groups are extracted, namely the second data comprises the first Chinese characters of the Chinese data.
103. Acquiring fourth data;
after the computer device acquires the data to be sorted, the data to be sorted comprises a data group beginning with English letters, the data group beginning with all English letters in the data to be sorted is acquired, and the first English letters of the data group beginning with English letters are extracted, namely the fourth data comprises the first English letters of the data beginning with English letters.
104. Converting the second data into hexadecimal characters;
after the computer device extracts the first Chinese characters of all the Chinese group data, the first Chinese character data are converted into corresponding hexadecimal characters.
105. According to the Chinese character coding standard, converting hexadecimal characters into corresponding letters to obtain third data;
after the hexadecimal characters are converted by the computer device, the hexadecimal characters are converted into corresponding letters according to the Chinese character coding standard to obtain a group of data of the letters, and the data is the third data.
106. Sorting letters in the third data and the fourth data to obtain fifth data;
the computer device adds a blank data column in the extracted data to be sorted, adds letters in third data and fourth data in the newly added data column, and the letters correspond to the data before conversion or extraction one by one, namely, the letters obtained by conversion of the data group at the beginning of Chinese correspond to each Chinese data group one by one, the letters obtained by extraction of the data group at the beginning of English correspond to each English data group one by one, sorts the letters in the new data column, and the data parallel to the letters is automatically sorted according to the sorting sequence of the corresponding letters to obtain a set of sorted new data, wherein the new data is fifth data.
107. And displaying the corresponding first data according to the fifth data.
After the computer device sorts the data columns to obtain fifth data, the first data corresponding to the fifth data is displayed in a display area of the computer device, namely, the data sorted according to letters is displayed in the display area of the computer.
In the embodiment, the first Chinese characters of the Chinese data group in the data to be sorted are converted into the corresponding letters to obtain the third data, the third data and the first letters of the English data in the first data are sorted to obtain the fifth data, and the fifth data is displayed in the display area, so that when a certain data is searched, a clear directory hierarchy can be brought to a user, related data can be searched according to the sorting rule of the letters after data conversion, and the searching efficiency is improved.
Referring to fig. 2, another embodiment of the service processing method in the embodiment of the present application includes:
201. acquiring first data;
the computer device records one or more groups of data, which may be english character strings, chinese character strings, and it is understood that there may be other forms of character strings, such as chinese-english mixed character strings, and the details are not limited herein. When the entry is completed, the data is stored in the database, and when the data needs to be sorted, the computer device acquires the data from the database, namely the first data comprises the data.
202. Acquiring second data;
after the computer device obtains the data to be sequenced from the database, the data group of the Chinese beginning is called from the database, and then the data of the first two bytes in the data group of the Chinese beginning is extracted through the VB function, namely the first Chinese characters in the data group are respectively extracted, namely the second data comprises the first Chinese characters in the data group. It is understood that the first two bytes of data in the data group at the beginning of chinese can also be extracted by a function of other programming languages, such as a function of C #, which is not limited herein.
203. Acquiring fourth data;
after the computer device acquires the data to be sorted from the database, the data group of the English initial is called from the database, the data of the first byte in the data group of the English initial is extracted through the VB function, namely the first English letters in the data group are respectively extracted, and the fourth data comprises the first English letters in the data group. It is understood that the first byte of data in the data group of the english head can also be extracted through a function of other programming languages, for example, a function of C #, which is not limited herein.
204. Converting the second data into ANSI code values according to a conversion function in the VB programming language;
after the computer device extracts the first Chinese character in the data group, the extracted first Chinese character is converted into ANSI code value according to ASC function in VB programming language.
It will be appreciated that the extracted first Chinese character can also be converted to ANSI code values by functions of other programming languages, such as the conversion function in C #.
It is understood that the conversion function may also be presented in other forms, and is not limited herein.
205. Converting the ANSI code value into hexadecimal characters according to a conversion function in the VB programming language;
after the computer device converts the extracted first Chinese character into ANSI code value, the ANSI code value is converted into hexadecimal character through Hex function in VB programming language.
It will be appreciated that the ASCII code value may also be converted to hexadecimal characters by a function of other programming languages, such as the conversion function in C #, and the corresponding ASCII code value of "o" (20319) may be converted to hexadecimal characters by the function of C #:
Convert.ToString(x,16)
it is understood that the conversion function may also be presented in other forms, and is not limited herein.
206. According to the hexadecimal interval corresponding to the Chinese character in the Chinese character coding standard, the hexadecimal character is converted into a corresponding letter to obtain third data;
after the computer device converts the corresponding ANSI code value into a hexadecimal character, a hexadecimal interval corresponding to the initial is obtained according to a Chinese character coding standard (for example, GB18030 coding), and then the corresponding hexadecimal character is converted into a corresponding letter to obtain third data.
For example, the hexadecimal B0a1 to B0C4 represent the interval of kanji with the initial letter a, the hexadecimal B0C5 to B2C0 represent the interval of kanji with the initial letter B, and the hexadecimal B2C1 to B4ED represent the interval of kanji with the initial letter C, the conversion can be performed by the following function in C #:
Figure BDA0002320132540000051
it is understood that there may be other ways to convert hexadecimal characters into corresponding letters, for example, according to a conversion function, which is not limited herein.
207. Ordering the third data and the fourth data according to a first ordering function Order by Asc in the structured query language SQL to obtain fifth data;
the computer device adds a row of data columns in the extracted data to be sorted, the computer device adds letters obtained by conversion or extraction in the newly added data columns, the letters correspond to the data before conversion or extraction one by one, namely, the letters obtained by conversion of the data group at the beginning of Chinese correspond to each Chinese data group one by one, and the letters obtained by extraction of the data group at the beginning of English correspond to each English data group one by one.
After adding the converted letters to the newly added data columns, the computer device sorts the data columns by using a sorting function Order by Asy in the structured query language SQL to obtain a group of data, i.e., the fifth data, in which a-Z is arranged according to the Order of 26 letters, and the chinese data or the english data corresponding to the letters are also sorted accordingly, as shown in fig. 3. It is understood that the data columns may be sorted by other functions, for example, the data columns are sorted by the sorting function Order by Desc in SQL, so thatA group of data Z-A is obtained by arranging 26 letters in reverse Order, and the chinese data or english data corresponding to the letters are also sorted accordingly. For another example, the sorting function may randomly sort the words by 26 letters, for example, as shown in fig. 4, which is not limited herein.
208. And displaying the corresponding first data according to the fifth data.
After the related data sets are obtained by sorting, the computer device displays the sorted data sets in the display interface, that is, displays the first data according to the sorting of the fifth data, for example, as shown in fig. 5.
In the embodiment, the first Chinese character of the Chinese data is converted according to the specific function VB programming language, so that the realizability of the scheme is improved.
With reference to fig. 6, a computer device in the embodiment of the present application is described below, where the data sorting method in the embodiment of the present application is described above, and an embodiment of the computer device in the embodiment of the present application includes:
an acquisition unit 601 that acquires first data including english data and chinese data;
the obtaining unit 601 is further configured to obtain second data, where the second data includes first Chinese characters of the Chinese data of the first data;
the obtaining unit 601 is further configured to obtain fourth data, where the fourth data includes a first letter of english data of the first data;
a conversion unit 602, configured to convert the second data into hexadecimal characters according to a chinese character encoding standard;
the conversion unit 602 is further configured to convert the hexadecimal characters into corresponding letters to obtain third data;
a sorting unit 603, configured to sort letters in the third data and the fourth data to obtain fifth data;
a display unit 604, configured to display the corresponding first data according to the fifth data.
The operations performed by the units in the computer device are similar to those described in the embodiment shown in fig. 1, and are not described again here.
Referring to fig. 6, another embodiment of a computer apparatus in the embodiment of the present application includes:
an acquisition unit 601 that acquires first data including english data and chinese data;
the obtaining unit 601 is further configured to obtain second data, where the second data includes first Chinese characters of the Chinese data of the first data;
the obtaining unit 601 is further configured to obtain fourth data, where the fourth data includes a first letter of english data of the first data;
a conversion unit 602, configured to convert the second data into hexadecimal characters according to a chinese character encoding standard;
the conversion unit 602 is further configured to convert the hexadecimal characters into corresponding letters to obtain third data;
a sorting unit 603, configured to sort letters in the third data and the fourth data to obtain fifth data;
a display unit 604, configured to display the corresponding first data according to the fifth data.
The converting unit 602 is specifically configured to convert the second data into an ANSI code value;
the conversion unit 602 is specifically configured to convert the ANSI code value into hexadecimal characters:
the conversion unit 602 is specifically configured to convert the second data into ANSI code values according to a conversion function in the VB programming language.
Or the like, or, alternatively,
the conversion unit 602 is specifically configured to convert the second data into ANSI code values according to a conversion function in the C # programming language.
The conversion unit 602 is specifically configured to convert the ANSI code value into hexadecimal characters according to a conversion function in the VB programming language.
Or the like, or, alternatively,
the conversion unit 602 is specifically configured to convert the ANSI code value into hexadecimal characters according to a conversion function in the C # programming language.
The sorting unit 603 is specifically configured to sort the third data and the fourth data according to a first sorting function Order by Asc in the structured query language SQL to obtain fifth data.
The sorting unit 603 is specifically configured to sort the third data and the fourth data according to a second sorting function Order by Desc function in the SQL to obtain fifth data.
The conversion unit 602 is specifically configured to convert hexadecimal characters into corresponding letters according to the hexadecimal interval corresponding to the chinese character in the chinese character coding standard to obtain third data.
The conversion unit 602 converts hexadecimal characters into corresponding letters according to the hexadecimal interval of the alphabetic chinese character in the chinese character GB18030 code to obtain third data.
The operations performed by the units in the computer device are similar to those described in the embodiment shown in fig. 2, and are not described again here.
Referring to fig. 7, another embodiment of a computer apparatus in the embodiment of the present application includes:
fig. 7 is a schematic structural diagram of a computer device according to an embodiment of the present disclosure, where the computer device 700 may include one or more Central Processing Units (CPUs) 701 and a memory 705, and the memory 705 stores one or more application programs or data.
The memory 705 may be volatile storage or persistent storage, among others. The program stored in the memory 705 may include one or more modules, each of which may include a sequence of instructions operating on a computer device. Further, the central processor 701 may be configured to communicate with the memory 705 and execute a series of instruction operations in the memory 705 on the computer device 700.
The computer device 700 may also include one or more power supplies 702, one or more wired or wireless network interfaces 703, one or more input-output interfaces 704, and/or one or more operating systems, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
The central processing unit 701 may perform the operations performed by the computer device in the embodiments shown in fig. 1 or fig. 2, which are not described herein again.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and various other media capable of storing program codes.

Claims (10)

1. A method of data ordering, comprising:
acquiring first data, wherein the first data comprises English data and Chinese data;
acquiring second data, wherein the second data comprises first Chinese characters of the Chinese data of the first data;
acquiring fourth data, wherein the fourth data comprises first letters of English data of the first data;
converting the second data into hexadecimal characters;
converting the hexadecimal characters into corresponding letters according to a Chinese character coding standard to obtain third data;
sorting letters in the third data and the fourth data to obtain fifth data;
and displaying corresponding first data according to the fifth data.
2. The method of claim 1, wherein converting the second data into hexadecimal characters comprises:
converting the second data into ANSI code values;
converting the ANSI code value to the hexadecimal characters.
3. The method of claim 2, wherein converting the second data into ANSI code values comprises:
converting the second data into the ANSI code value according to a conversion function in a VB programming language;
or the like, or, alternatively,
converting the second data into the ANSI code value according to a conversion function in the C # programming language;
converting the ANSI code value to the hexadecimal characters comprises:
converting the ANSI code value to the hexadecimal characters according to a conversion function in a VB programming language;
or the like, or, alternatively,
converting the ANSI code value to the hexadecimal characters according to a conversion function in the C # programming language.
4. The method of any of claims 1 to 3, wherein sorting the third data and the fourth data into fifth data comprises:
and sequencing the third data and the fourth data according to a first sequencing function Order by Asc in Structured Query Language (SQL) to obtain fifth data.
5. The method of any of claims 1 to 4, wherein sorting the third data and the fourth data into fifth data comprises:
and sequencing the third data and the fourth data according to a second sequencing function Order by Desc function in the SQL to obtain fifth data.
6. The method of any one of claims 1 to 5, wherein converting the hexadecimal characters into corresponding letters according to a Kanji coding standard to obtain third data comprises:
and converting the hexadecimal characters into corresponding letters according to the hexadecimal interval corresponding to the Chinese characters in the Chinese character coding standard to obtain third data.
7. The method as claimed in claim 6, wherein the converting the hexadecimal characters into corresponding letters according to the hexadecimal intervals corresponding to the letters in the Chinese character coding standard to obtain the third data comprises:
and converting the hexadecimal characters into corresponding letters according to the hexadecimal interval corresponding to the Chinese character in the code of the Chinese character GB18030 to obtain third data.
8. A computer device, comprising:
the device comprises an acquisition unit, a storage unit and a processing unit, wherein the acquisition unit is used for acquiring first data, and the first data comprises English data and Chinese data;
the acquisition unit is further used for acquiring second data, wherein the second data comprises first Chinese characters of the Chinese data of the first data;
the acquisition unit is further used for acquiring fourth data, wherein the fourth data comprises first letters of English data of the first data;
a conversion unit for converting the second data into hexadecimal characters;
the conversion unit is also used for converting the hexadecimal characters into corresponding letters according to the Chinese character coding standard to obtain third data;
the sorting unit is used for sorting letters in the third data and the fourth data to obtain fifth data;
and the display unit is used for displaying the corresponding first data according to the fifth data.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method according to any of claims 1 to 7.
10. A computer storage medium having stored therein instructions that, when executed on a computer, cause the computer to perform the method of any one of claims 1 to 7.
CN201911300104.3A 2019-12-16 2019-12-16 Data sorting method and related equipment Pending CN111046255A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911300104.3A CN111046255A (en) 2019-12-16 2019-12-16 Data sorting method and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911300104.3A CN111046255A (en) 2019-12-16 2019-12-16 Data sorting method and related equipment

Publications (1)

Publication Number Publication Date
CN111046255A true CN111046255A (en) 2020-04-21

Family

ID=70237016

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911300104.3A Pending CN111046255A (en) 2019-12-16 2019-12-16 Data sorting method and related equipment

Country Status (1)

Country Link
CN (1) CN111046255A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101944117A (en) * 2010-09-20 2011-01-12 宇龙计算机通信科技(深圳)有限公司 Sorting and searching method and system as well as mobile terminal based on database
CN104572685A (en) * 2013-10-17 2015-04-29 纬创资通股份有限公司 Data ranking method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101944117A (en) * 2010-09-20 2011-01-12 宇龙计算机通信科技(深圳)有限公司 Sorting and searching method and system as well as mobile terminal based on database
CN104572685A (en) * 2013-10-17 2015-04-29 纬创资通股份有限公司 Data ranking method

Similar Documents

Publication Publication Date Title
CN104753540B (en) Data compression method, data decompression method and apparatus
CN111444705A (en) Error correction method, device, equipment and readable storage medium
CN102141916A (en) Embedded equipment and method for displaying language word on OSD interface
EP3032439B1 (en) Compression computer program and search computer program
US9720976B2 (en) Extracting method, computer product, extracting system, information generating method, and information contents
CN102867049A (en) Chinese PINYIN quick word segmentation method based on word search tree
JP6880974B2 (en) Information output program, information output method and information processing device
CN110069489B (en) Information processing method, device and equipment and computer readable storage medium
JPH06290217A (en) Document retrieval system
CN111046255A (en) Data sorting method and related equipment
JPH05225238A (en) Data base retrieval system
CN113886420B (en) SQL sentence generation method and device, electronic equipment and storage medium
CN104298786A (en) Image retrieval method and device
CN113497899B (en) Text and picture matching method, device, equipment and storage medium
JP7007793B2 (en) Similar character string detection device, similar character string detection method, and similar character string detection program
CN112685414B (en) Method and device for associating information resource catalog with data resource
JPH064584A (en) Text retriever
JP2002007104A (en) Character data compressing and displaying device
AU2019459693B2 (en) Control method, control program, and information processing device
CN115525728A (en) Method and device for Chinese character sorting, chinese character retrieval and Chinese character insertion
CN102567294A (en) Text data processing method and text data processing device
KR100745292B1 (en) Dlectronic dictionary searching system
CN102821183A (en) Contact person search method and device and mobile terminal
CN110532550A (en) A kind of intelligence system log analyzing and processing method based on log word frequency tree
JPH05135102A (en) Document retrieval system

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200421