A digital publishing platform supplement word retrieval method and system

By inputting the features of supplementary characters into the digital publishing platform and matching them with the database, the character shapes are obtained and word segmentation is performed, solving the problem that supplementary characters cannot be directly retrieved. This enables diversified retrieval and efficient keyword retrieval, improving the user experience.

CN116628038BActive Publication Date: 2025-11-28BEIJING RENWEI ZHISHU TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310500629.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-06
Publication Date
2025-11-28
Estimated Expiration
2043-05-06

AI Technical Summary

Technical Problem

Existing digital publishing platforms cannot effectively support the retrieval of supplementary characters, resulting in supplementary characters only being able to be expressed through screenshots and not being able to be directly added to the full-text search engine, thus making it impossible to achieve keyword, pinyin, or initial letter retrieval.

Method used

The user can access the character supplementation search box on the client, input the character supplementation features and upload them to the central server. The system will match the character supplementation database, obtain the corresponding character shape, and perform word segmentation. The system will then use the indexed word segmentation data and preset algorithms to perform full-text keyword retrieval and display the search results.

Benefits of technology

It enables diversified retrieval of supplementary characters, improving the convenience and accuracy of retrieval. Users can conduct preliminary searches using features such as pinyin, character segmentation, and radicals, thus enhancing the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116628038B_ABST
    Figure CN116628038B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of computer information retrieval, and particularly relates to a digital publishing platform supplementary character retrieval method and system, the present application provides a kind of digital publishing platform supplementary character retrieval method and system, retrieve function is called out by user end, supplementary character feature is matched with supplementary character database, corresponding glyph is extracted according to matching data, after obtaining search term, the search term data uploaded to central server is processed by indexing word division data in supplementary character database and preset algorithm based on supplementary character, key word full-text retrieval is carried out by word division, and the search result is displayed in user end, solve the supplementary character of prior art and can only be expressed by screenshot form, picture is difficult to form effective index, cannot be directly added to full-text retrieval engine, leading to related digital publishing application cannot be based on supplementary character to realize key word retrieval, pinyin, initial letter retrieval and other problems.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of computer information retrieval, and in particular to a digital publishing platform supplement word retrieval method and system. BACKGROUND

[0002] In the publishing field, due to the difficulty of inputting many ancient Chinese characters or rare characters by using traditional manuscript writing software, the author and the publisher usually agree to use temporary character codes in the manuscript text instead, and then the typesetting personnel draws the characters by using professional software and supplements them to the printed page in the later publishing process. Such characters are called "supplement words". The supplement word technology also plays an important role in the digital publishing platform. In today's Internet era, we are used to providing digital content management, online editing, online typesetting, online reading, online education, digital library or e-commerce and other digital services for authors, experts, editors or readers through the Internet and cloud computing technology. However, in the digital publishing of technology, traditional Chinese medicine and ancient books, there are many supplement words. In the context of the digital reading era, the demand for keyword retrieval containing supplement words is increasing, and the current reading terminal based on computers and mobile phones cannot support the retrieval of supplement words by default. SUMMARY

[0003] In order to solve at least one of the above technical problems, the present application provides a digital publishing platform supplement word retrieval method and system. The user terminal calls out the retrieval function, matches the supplement word features with the supplement word database, extracts the corresponding character shape according to the matching data, obtains the retrieval word, and performs word segmentation processing on the retrieval word data uploaded to the center server based on the index segmentation data in the supplement word database and the preset algorithm. The full-text keyword retrieval is performed by word segmentation, and the retrieval result is displayed on the user terminal. The supplement word in the prior art can only be expressed in the form of a screenshot, and the picture cannot form an effective index and cannot be directly added to the full-text retrieval engine, which leads to the problem that the related digital publishing application cannot realize keyword retrieval, pinyin, initial letter retrieval and other functions based on supplement words.

[0004] In one aspect, the present application provides a digital publishing platform supplement word retrieval method, comprising the following steps:

[0005] S1, the user calls out the supplement word retrieval box through the user terminal, and inputs "\BZ" and the supplement word features to be retrieved in the retrieval box. The user terminal system uploads the input supplement word features to the center server in real time;

[0006] S2, the center server matches the supplement word features with the supplement word database, sorts the matching data according to the heat, and then sends them to the user terminal;

[0007] S3, the user end acquires the corresponding glyphs of the EOT and / or WOFF font files matched with the matching data, extracts the corresponding glyphs, renders them to the glyph recommendation column line by line, and marks the gloss data and the heat data for manual selection by the user;

[0008] S4, after the user selects the supplementary character, the user end replaces the glyph in the search box at the position of "\BZ", waits for the user to complete the other Chinese characters of the search term, clicks search, and uploads the search term data to the center server;

[0009] S5, based on the index segmentation data in the supplementary character database and the preset algorithm, the search term data uploaded to the center server is segmented, the key word full-text search is performed based on the segmentation result, the search result is sorted by the preset algorithm, and then the search result is sent to the user end;

[0010] S6, the user end displays the search result.

[0011] Preferably, the supplementary character feature in S1 includes but is not limited to pinyin, segmentation, radical, and remaining strokes.

[0012] Preferably, the feature matching with the supplementary character database in S2 includes but is not limited to key word, synonym, and similar character matching.

[0013] Preferably, the matching data in S3 includes supplementary character recommendation data and / or custom encoding.

[0014] Preferably, the supplementary character data in the search term data in S4 is uploaded in the form of custom character encoding.

[0015] Preferably, the supplementary character database is preset with encoding data and feature data of the supplementary character.

[0016] Preferably, the supplementary character database has a supplementary character expansion function, and the supplementary character expansion step includes:

[0017] S11, the supplementary character feature is extracted by a preset algorithm, and the pinyin, gloss data, index segmentation, and glyph are manually completed;

[0018] S12, EOT and WOFF font files are generated, and the new supplementary character is stored in the supplementary character database.

[0019] S13, the center server automatically allocates or specifies to allocate custom hexadecimal encoding for the new character, calculates synonym and similar character association data by a preset algorithm, establishes a full-text search index according to index segmentation, and imports a full-text search engine.

[0020] The second aspect of the application provides a supplementary character search system of a digital publishing platform, which includes:

[0021] The supplementary character retrieval module is used for a user to call out a supplementary character retrieval box through a user terminal and input "\BZ" and a supplementary character feature to be retrieved in the retrieval box, and the user terminal system uploads the input supplementary character feature to the center server in real time;

[0022] The supplementary character feature matching module is used for the center server to perform feature matching on the supplementary character feature and the supplementary character database, to perform hotness sorting on the matching data, and to issue the matching data to the user terminal;

[0023] The supplementary character font extraction module is used for the user terminal to obtain corresponding font shapes of the EOT and / or WOFF font files matched with the matching data, to extract the corresponding font shapes, to render the font shapes to a font recommendation column line by line, and to mark interpretation data and hotness data for manual selection by the user;

[0024] The supplementary character search module is used for the user terminal to replace the font shapes to a position where "\BZ" is located in the retrieval box after the user selects the supplementary character, to upload the retrieval word data to the center server after the user completes other Chinese characters of the retrieval word, and to click search.

[0025] The retrieval sorting module is used for the user terminal to perform word segmentation processing on the retrieval word data uploaded to the center server based on index segmentation data in the supplementary character database and a preset algorithm, to perform keyword full-text retrieval on a word segmentation result, to calculate a weight through the preset algorithm, to sort retrieval results, and to issue the retrieval results to the user terminal.

[0026] The supplementary character display module is used for the user terminal to display the retrieval results.

[0027] The third aspect of the present application provides an electronic device including a processor and a memory, wherein the memory stores a plurality of instructions, and the processor is configured to read the instructions and perform the method of the first aspect.

[0028] The fourth aspect of the present application provides a computer readable storage medium, wherein the computer readable storage medium stores a plurality of instructions, and the plurality of instructions can be read and executed by a processor to perform the method of the first aspect.

[0029] Compared with the prior art, the method, system, electronic device and computer readable storage medium provided by the present application have the following beneficial technical effects:

[0030] The application realizes the user's retrieval of the keyword containing the supplementary character by the user terminal calling the retrieval function, matching the supplementary character feature with the supplementary character database, extracting the corresponding character form according to the matching data, obtaining the retrieval word, performing the word segmentation processing on the retrieval word data uploaded to the center server based on the index word segmentation data in the supplementary character database and the preset algorithm, performing the keyword full-text retrieval by the word segmentation, and displaying the retrieval result on the user terminal. The multi-element retrieval of the supplementary character to be retrieved by the user is realized through the multiple supplementary character features including the pinyin, the word segmentation, the radical and the remaining stroke, the user can realize the preliminary retrieval of the supplementary character to be retrieved through one of the features of the supplementary character, the convenience and the reliability of the retrieval are improved, the multiple feature matching modes of the supplementary character database are specific to include the keyword, the synonym and the similar character matching, the matching data is sorted by the heat, the accuracy and the precision of the supplementary character data matching are improved, the retrieval time of the user is saved, and the use experience of the user is improved. BRIEF DESCRIPTION OF DRAWINGS

[0031] Figure 1 A flow chart of a supplementary character retrieval method of a digital publishing platform according to a preferred embodiment of the application is shown.

[0032] Figure 2 A schematic diagram of a supplementary character retrieval system architecture of a digital publishing platform according to a preferred embodiment of the application is shown.

[0033] Figure 3 A structure schematic diagram of an electronic device according to an embodiment of the application is shown. DETAILED DESCRIPTION

[0034] In order for those skilled in the art to better understand the technical solutions in the application, the technical solutions in the embodiments of the application will be described clearly and completely below with reference to the drawings in the embodiments of the application. Obviously, the described embodiments are only part of the embodiments of the application, rather than all the embodiments of the application.

[0035] Embodiment one

[0036] As Figure 1 In one aspect, the application provides a supplementary character retrieval method of a digital publishing platform, including the following steps:

[0037] S1, the user calls the supplementary character retrieval box through the user terminal, inputs "\BZ" and the supplementary character feature to be retrieved in the retrieval box, and the user terminal system uploads the input supplementary character feature to the center server in real time;

[0038] Wherein the input of "\BZ" in the search box is only as one of the activation codes that is easy for users to remember and can activate the supplementary character search box; the supplementary character features described above include but are not limited to pinyin, word division, radical, and remaining strokes, mainly to facilitate the diversified search of the user on the supplementary character to be searched, and the user can achieve the preliminary search of the supplementary character to be searched through one of the features of the supplementary character, thereby improving the convenience and reliability of the search.

[0039] S2, the center server matches the supplementary character features with the supplementary character database, sorts the matching data according to the heat, and then sends them to the user end;

[0040] The above-mentioned supplementary character database has maintained nearly 20,000 commonly used supplementary characters in the publishing field, and has formed a supplementary character requirement that meets the vast majority of digital publishing scenarios. The supplementary character database is preset with coding data and feature data of the supplementary character. The supplementary character coding adopts a combination of Unicode coding and self-defined coding, supports Unicode extended area coding, and is compatible with most international general Chinese characters. The supplementary character feature data includes character shape, pinyin, word division, radical, radical remaining strokes, and explanation data. Through the heat sorting of the matching data, the accuracy and precision of the supplementary character data matching are improved, the user's search time is saved, and the user's experience is improved.

[0041] Of course, the above-mentioned supplementary character database has a new supplementary character expansion function. New supplementary characters can be constructed in a timely manner according to the user's needs. Supplementary character feature data can be extracted through a preset algorithm, including word division, radical, stroke, radical remaining strokes, and then manually completing pinyin, explanation data, index word segmentation, and drawing character shape, making EOT and WOFF font files, and storing new supplementary characters in the supplementary character library database to expand the amount of supplementary characters in the supplementary character database. The center server automatically allocates or specifies the allocation of system self-defined hexadecimal coding for new supplementary characters, calculates synonymous word similarity word association data through a preset algorithm, establishes full-text search index according to index word segmentation, imports full-text search engine, so as to better meet the needs of supplementary character search.

[0042] S3, the user end obtains the corresponding character shape of the EOT and / or WOFF font file matched with the matching data, extracts the corresponding character shape, renders it to the character shape recommendation column line by line, and marks the explanation data and heat data for the user to manually select;

[0043] The EOT and WOFF font files mentioned above are web-specific font file formats. EOT, or Embedded OpenType font, is a font format designed by Microsoft for use on web pages; it's a compressed version of OpenType fonts. The file extension is usually ".eot". WOFF files are web font files created using the WOFF (Web Open Font Format) format, an open format for dynamically delivering fonts to web pages. WOFF fonts typically load faster than other fonts because they use the storage structures and compression algorithms found in OpenType (OTF) and TrueType (TTF) fonts. This font format can also include metadata and licensing information. Currently, almost all modern browsers support this font format.

[0044] S4. After the user selects the supplementary character, the user terminal replaces the character shape in the position of "\BZ" in the search box. After the user completes the other Chinese characters of the search term, they click search and upload the search term data to the central server. The supplementary character data in the above search term data is uploaded in a custom character encoding manner.

[0045] S5: Based on the indexed word segmentation data in the supplementary word database and the preset algorithm, the search term data uploaded to the central server is segmented into words. The word segmentation results are used for full-text keyword retrieval. The weighting is calculated by the preset algorithm, the search results are sorted, and then sent to the user terminal.

[0046] S6, the search results are displayed on the user's end.

[0047] This invention mainly utilizes indexing technology in full-text search engines to construct multiple indexes for words containing complementary characters. When users search, they can perform full-text searches for words containing complementary characters by Chinese characters, pinyin, initial letters, or synonyms.

[0048] Example 2

[0049] like Figure 2 As shown, a second aspect of the present invention provides a character supplement retrieval system for a digital publishing platform, comprising:

[0050] The supplementary character retrieval module 101 is used by users to bring up the supplementary character retrieval box through the user terminal, and enter “\BZ” and the supplementary character feature to be retrieved in the retrieval box. The user terminal system uploads the input supplementary character feature to the central server in real time.

[0051] The character complement feature matching module 102 is used by the central server to perform feature matching between the character complement features and the character complement database, and then sort the matching data by popularity before sending it to the user terminal;

[0052] The supplementary character font extraction module 103 is configured to acquire corresponding glyphs of the EOT and / or WOFF font files matched by the user terminal according to the matching data, extract the corresponding glyphs, render the corresponding glyphs to the glyph recommendation column line by line, and mark the interpretation data and the heat data for manual selection by the user.

[0053] The supplementary character search module 104 is configured to replace the glyphs in the search box at the position of "\BZ" after the user selects the supplementary character, and upload the search term data to the central server after the user completes the other Chinese characters of the search term and clicks the search button.

[0054] The search sorting module 105 is configured to perform the word segmentation processing on the search term data uploaded to the central server based on the index segmentation data in the supplementary character database and the preset algorithm, perform the keyword full-text search based on the word segmentation result, sort the search results by the preset algorithm, and then send the search results to the user terminal.

[0055] The supplementary character display module 106 is configured to display the search results on the user terminal.

[0056] After the user activates the supplementary character search module 101 by the activation code, the supplementary character feature is matched with the supplementary character database by the supplementary character matching module 102, the matching data is sorted by heat and then sent to the user terminal, the corresponding glyphs are extracted by the supplementary character font extraction module 103, the corresponding glyphs are replaced in the search box, the search of the search term is implemented by the supplementary character search module 104 after the user completes the search term, the word segmentation processing is performed on the search term data by the search sorting module 105, the keyword full-text search is performed based on the word segmentation result, the search results are sorted for the convenience of the user, and finally the search results are displayed by the supplementary character display module 106 to complete the overall search of the user.

[0057] As Figure 3 The application further provides an electronic device including a processor 301 and a memory 302 connected to the processor 301, wherein the memory 302 stores a plurality of instructions, the instructions can be loaded and executed by the processor to enable the processor to perform the method in Embodiment I.

[0058] The fourth aspect of the application provides a computer-readable storage medium storing a plurality of instructions, wherein the instructions can be read and executed by a processor to perform the method in Embodiment I.

[0059] The above is the specific implementation method of the embodiments of the application. It should be noted that, for those skilled in the art, without departing from the principle of the application, a number of improvements and refinements can be made, and these improvements and refinements should be regarded as the protection scope of the application.

Claims

1. A method for character supplementation retrieval on a digital publishing platform, characterized in that, Includes the following steps: S1, the user brings up the character supplement search box through the user terminal, and enters "\BZ" and the character supplement feature to be searched in the search box. The user terminal uploads the entered character supplement feature to the central server in real time. S2, the central server performs feature matching between the supplementary character features and the supplementary character database, sorts the matching data by popularity, and sends it to the user terminal; S3: Based on the matching data, the user client obtains the corresponding glyphs of the matching EOT and / or WOFF font files, extracts the corresponding glyphs, renders them line by line to the glyph recommendation bar, and marks the definition data and popularity data for the user to manually select. S4. After the user selects the character to be supplemented, the user terminal replaces the character with the "\BZ" position in the search box. After the user completes the other Chinese characters of the search term, they click search and upload the search term data to the central server. S5: Based on the indexed word segmentation data in the supplementary word database and the preset algorithm, the search term data uploaded to the central server is segmented into words. The word segmentation results are used for full-text keyword retrieval. The weighting is calculated by the preset algorithm, the search results are sorted, and then sent to the user terminal. S6, the search results are displayed on the user's end; The character supplement database has a character supplement expansion function, and the character supplement expansion steps include: S11: Extract the features of the supplementary characters through a preset algorithm, and then manually complete the pinyin, definition data, index word segmentation and draw the character shape; S12, generate EOT and WOFF font files, and store the new supplementary characters in the supplementary character database; S13, the central server automatically assigns or assigns a custom hexadecimal code to the new character, calculates the association data of synonyms and similar characters through a preset algorithm, builds a full-text search index based on the index word segmentation, and imports it into the full-text search engine.

2. The method for supplementing characters in a digital publishing platform according to claim 1, characterized in that, The supplementary character features in S1 include, but are not limited to, pinyin, character division, radical, and remaining strokes.

3. The method for supplementing characters in a digital publishing platform according to claim 1, characterized in that, The feature matching with the supplementary character database in S2 includes, but is not limited to, keyword, synonym, and similar character matching.

4. The method for character supplementation retrieval on a digital publishing platform according to claim 1, characterized in that, The matching data in S3 includes supplementary character recommendation data and / or custom encoding.

5. The method for character supplementation retrieval on a digital publishing platform according to claim 1, characterized in that, The supplementary character data in the search term data in S4 is uploaded using a custom character encoding method.

6. The method for supplementing characters in a digital publishing platform according to claim 1, characterized in that, The supplementary character database pre-sets the encoding data and feature data of the supplementary characters.

7. A character supplement retrieval system for a digital publishing platform, characterized in that, include: The supplementary character retrieval module (101) is used by the user to bring up the supplementary character retrieval box through the user terminal, and enter "\BZ" and the supplementary character feature to be retrieved in the retrieval box. The user terminal system will upload the input supplementary character feature to the central server in real time. The supplementary character feature matching module (102) is used by the central server to match the supplementary character features with the supplementary character database, sort the matching data by popularity, and then send it to the user terminal. The character extraction module (103) is used by the user to obtain the corresponding character of the matching EOT and / or WOFF font file based on the matching data, extract the corresponding character, render it line by line to the character recommendation bar, and mark the interpretation data and popularity data for the user to select manually. The character supplementation search module (104) is used to replace the character shape in the search box after the user selects the character supplementation. After the user completes the other Chinese characters of the search term, clicks search and uploads the search term data to the central server. The retrieval and sorting module (105) is used to perform word segmentation on the search term data uploaded to the central server based on the index word segmentation data in the supplementary character database and the preset algorithm, perform full-text keyword retrieval based on the word segmentation results, calculate the weighting through the preset algorithm, sort the search results, and then send them to the user terminal. The supplementary character display module (106) is used to display the search results on the user terminal; The character supplementation module is used to extract character features through a preset algorithm, and then manually complete the pinyin, definition data, index word segmentation and draw the character shape; generate EOT and WOFF font files, and store the new characters in the character supplementation database; The central server automatically assigns or assigns custom hexadecimal codes to new characters, calculates the association data of synonyms and similar characters through a preset algorithm, builds a full-text search index based on the index word segmentation, and imports it into the full-text search engine.

8. An electronic device comprising a processor and a memory, the memory storing a plurality of instructions, the processor being configured to read the instructions and execute the method as claimed in any one of claims 1-6.

9. A computer-readable storage medium storing a plurality of instructions, the plurality of instructions being readable by a processor and executed as described in any one of claims 1-6.

Citation Information

Patent Citations

  • Supplementary character sorting and storing method and device and method and device for creating supplementary font library

    CN104424196A

  • Character processor, character processing method, storage medium, program

    JP2008203932A