Text rendering click method and device and server

Through the text rendering and point selection method, the target packaging component is used to parse and process user endpoint selection information, which solves the problems of high operation difficulty and high usage threshold in traditional technology, and simplifies the operation and improves the user experience of text rendering and point selection.

CN119415209APending Publication Date: 2025-02-11HANGZHOU ZHULONG INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411589650.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-08
Publication Date
2025-02-11

AI Technical Summary

Technical Problem

Traditional text rendering technology requires professional knowledge to locate and select elements in a large amount of text, which is difficult to operate and has a high threshold for use, which affects the user experience.

Method used

Provide a text rendering and clicking method, which can use the pending website information to be processed to render, determine the rendered target page, obtain user endpoint selection information, use the target encapsulation component to parse, determine the path information, and verify the storage in the database. .

Benefits of technology

It significantly reduces the difficulty of text rendering and clicking, allowing users to quickly and accurately select the required positioning information through simple mouse click operations, lowering the threshold for use.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119415209A_ABST
    Figure CN119415209A_ABST
Patent Text Reader

Abstract

The invention provides a text rendering click method and device and a server, and relates to the technical field of text rendering, and the method comprises the steps: obtaining to-be-processed website information, carrying out text rendering processing on the to-be-processed website information, and determining a rendered target page; acquiring click information of the user side for the target page, and determining a target operation object and a target packaging component corresponding to the format information of the target operation object according to the click information; performing analysis processing on the target operation object by utilizing the target packaging component, and determining path information of the target operation object; and verifying the path information, and storing the target path information passing the verification into a preset database. According to the method, the operation difficulty of text rendering click selection can be remarkably reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of text rendering, and in particular to a text rendering selection method, device and server. Background Art

[0002] In the development of modern information technology, text rendering is an important technology. At present, relevant technologies propose that text rendering is used to render and parse crawled html, json, and base64 structure data, and display and present text content on the computer screen. However, traditional text rendering technology has some limitations. For example, the XPath information required to locate and select elements in a large amount of text, as well as the JsonPath data corresponding to the Json structure, require users to have certain professional knowledge. Therefore, the operation of text rendering is difficult and the operation steps are cumbersome, which leads to a high threshold for use and affects the user experience. Summary of the invention

[0003] In view of this, an object of the present invention is to provide a text rendering and selection method, device and server, which can significantly reduce the difficulty of text rendering and selection operations.

[0004] In a first aspect, an embodiment of the present invention provides a text rendering and selection method, the method comprising: obtaining website information to be processed, and performing text rendering processing on the website information to be processed, and determining a target page after rendering, wherein the website information comprises: format information of text information and text code; obtaining selection information of the target page from the user end, and determining a target operation object and a target encapsulation component corresponding to the format information of the target operation object according to the selection information; parsing the target operation object using the target encapsulation component to determine the path information of the target operation object; verifying the path information, and storing the verified target path information in a preset database.

[0005] In one embodiment, text rendering is performed on the website information to be processed, and the step of determining the target page after rendering includes: automatically matching the corresponding target component frame from the component frame set according to the format information corresponding to the text information; performing text rendering on the text information using the target component frame to determine the target page after rendering, wherein the target page includes: a main page and an operation page, the main page is used to display the text, images and tables after the text information is rendered, and the operation page is provided with point-selection operation buttons and an expression display interface.

[0006] In one embodiment, the click information includes: first click information and second click information. The step of determining the target operation object and the target encapsulation component corresponding to the format information of the target operation object based on the click information includes: determining the target operation object based on the first click information, wherein the first click information is the click information of the user terminal on the main page; determining the query item based on the second click information, and matching the corresponding target encapsulation component based on the format information of the target operation object and the query item, wherein the second click information is the click information of the user terminal on the operation page.

[0007] In one embodiment, before the step of determining the query item according to the second click information, the method includes: if the first click information of the user terminal on the main page is not received, then stopping receiving the second click information of the user terminal on the operation page.

[0008] In one embodiment, the format information includes: a first text format, the first text format is a code format that needs to be selected, and the target operation object is parsed and processed by the target encapsulation component, and the step of determining the path information of the target operation object includes: when the target operation object is in the first text format, the text information is formatted and displayed using the target encapsulation component, and the path information corresponding to the target operation object is extracted from the data formatting display result.

[0009] In one embodiment, the path information includes: a parent part and a child part. After the step of extracting the path information corresponding to the target operation object from the data formatting display result, it includes: hierarchically displaying the path information in the expression display interface of the operation page, wherein the hierarchical display includes: completely displaying the parent part and the child part of the path information at the first level of the expression display interface, and displaying the child part of the path information at the remaining display levels of the expression display interface.

[0010] In one embodiment, the format information also includes: a second text format, the second text format is a code format that does not require selection, and the target operation object is parsed and processed using a target encapsulation component to determine the path information of the target operation object. The step also includes: when the target operation object is in the second text format, the target operation object is directly encapsulated using the target encapsulation component, and the encapsulated target operation object is decoded through a preset data encoder to obtain the complete data format of the target operation object.

[0011] In the second aspect, an embodiment of the present invention also provides a text rendering and selection device, which includes: a text rendering module, which obtains website information to be processed, and performs text rendering processing on the website information to be processed, and determines the rendered target page, wherein the website information includes: text information and format information of text code; a text selection module, which obtains the user terminal's selection information for the target page, and determines the target operation object and the target encapsulation component corresponding to the format information of the target operation object according to the selection information; a path parsing module, which uses the target encapsulation component to parse the target operation object and determine the path information of the target operation object; a path verification module, which verifies the path information and stores the verified target path information in a preset database.

[0012] In a third aspect, an embodiment of the present invention further provides a server, comprising a processor and a memory, wherein the memory stores computer executable instructions that can be executed by the processor, and the processor executes the computer executable instructions to implement any one of the methods provided in the first aspect.

[0013] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement any one of the methods provided in the first aspect.

[0014] The embodiments of the present invention bring the following beneficial effects:

[0015] The embodiments of the present invention provide a method, device and server for text rendering and selection. The method obtains website information to be processed, performs text rendering processing on the website information to be processed, determines the target page after rendering, obtains the user terminal's selection information on the target page, and determines the target operation object and the target encapsulation component corresponding to the format information of the target operation object according to the selection information. The target operation object is then parsed and processed using the target encapsulation component to determine the path information of the target operation object, and the path information is verified, and the verified target path information is stored in a preset database. The embodiments of the present invention can significantly reduce the difficulty of text rendering and selection operations.

[0016] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.

[0017] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0019] Figure 1 A flowchart of a text rendering and selection method provided by an embodiment of the present invention;

[0020] Figure 2 A schematic diagram of a specific flow chart of a text rendering and selection method provided by an embodiment of the present invention;

[0021] Figure 3 A schematic diagram of the structure of a target page provided by an embodiment of the present invention;

[0022] Figure 4 A structural schematic diagram of a text rendering and selection device provided by an embodiment of the present invention;

[0023] Figure 5 A schematic diagram of the structure of a server provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0024] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described in combination with the embodiments below. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0025] At present, in the development of modern information technology, text rendering is an important technology. Text rendering is used to render and parse crawled html, json, and base64 structure data, and display and present text content on a computer screen. However, traditional text rendering technology has some limitations. For example, the XPath information required to locate and select elements in a large amount of text, and the corresponding JsonPath data for locating the Json structure, both require users to have certain professional knowledge to write. Therefore, the operation of text rendering is difficult and the threshold for use is high. Based on this, the text rendering selection method, device and server provided by the present invention provide a more intuitive and efficient way to present and select the relevant data of the located text content, so that the user can quickly and accurately select the required positioning information (i.e., the path information of the target operation object) through a simple mouse click operation, which can significantly reduce the difficulty of text rendering selection.

[0026] See also Figure 1 The flowchart of a text rendering selection method shown in FIG. 1 mainly includes the following steps S102 to S108:

[0027] Step S102, obtaining the website information to be processed, and performing text rendering processing on the website information to be processed, and determining the target page after rendering, wherein the website information includes: format information of text information and text code, the format information includes: a first text format and a second text format, the first text format includes: html, xml and json formats, etc., which are code formats that need to be selected, and the second text format includes: excel, word, pdf and img formats, etc., which are code formats that do not need to be selected. In one embodiment, various website information to be processed are crawled from the Internet, and the website information to be processed may include text information in various text formats, that is, the underlying code information of the website. By performing text recognition processing on the above-mentioned underlying code information, the format information of the text code is obtained, and the text code is rendered to obtain a user-side visualized page (that is, the target page) that may contain text, pictures and tables.

[0028] In actual applications, the acquired text content can be displayed on demand in different formats, and the functions of showing and hiding components, copying text, and jumping to the corresponding text original website link are all realized. In addition to real-time rendering of text information, when it is detected that the user's mouse moves up to the rendered page, the page monitors the mouse movement position, selects the currently selected element, displays the current element name, and displays the background color with the color code #fcf6a0, realizing an intuitive user interaction experience effect diagram.

[0029] Step S104, obtain the user's click information for the target page, and determine the target operation object and the target encapsulation component corresponding to the format information of the target operation object based on the click information. In one embodiment, the target operation object is the text segment clicked by the user's mouse, that is, the text information of the path information to be queried.

[0030] Step S106, using the target encapsulation component to parse the target operation object and determine the path information of the target operation object. In one embodiment, only the text information belonging to the first text format needs to determine the path information by clicking. The first text format can include two categories, html, xml, unknown structured data, and json structured data.

[0031] Step S108, verify the path information, and store the verified target path information into a preset database. In one embodiment, if the path information meets the preset verification conditions, the path information of the target operation object is stored in the database; if it does not meet the conditions, the point selection information of the user-side interaction is obtained again, and the path information of the target operation object is extracted again based on the point selection information.

[0032] The above-mentioned text rendering and selecting method provided by the embodiment of the present invention can significantly reduce the difficulty of operating text rendering and selecting.

[0033] See also Figure 2 The specific flow chart of a method for selecting text rendering is shown in FIG. 1 . The embodiment of the present invention also provides an implementation method for selecting text rendering. For details, see (1) to (3) below:

[0034] (1) After collecting the text, a corresponding component frame is allocated and the text is rendered and displayed. Specifically, the corresponding target component frame can be automatically matched from the component frame set according to the format information corresponding to the text information, and the target component frame is used to perform text rendering processing on the text information to determine the target page after rendering. The target component frame may include: IFrame component (html, xml, position text), json component, word component, excel component and pdf component, etc., which are used to process text of html, xml, json, word, excel and pdf types. In one implementation manner, in order to facilitate understanding of this embodiment, the target page in the embodiment of the present invention is described in detail, see Figure 3 A structural schematic diagram of a target page is shown, the target page includes: a main page and an operation page, the main page is used to display text, images and tables rendered from text information, and the operation page is provided with point-selection operation buttons and an expression display interface.

[0035] (2) Acquire the click information of the user-side interaction, and determine the path information of the target operation object according to the click information, wherein the click information includes: first click information and second click information. Specifically, the step of acquiring the path information such as Xpath and JsonPath by clicking includes the following (A) to (C):

[0036] (A) Determine the target operation object according to the first click information, determine the query item according to the second click information, and match the corresponding target encapsulation component according to the format information of the target operation object and the query item, wherein the first click information is the click information of the user terminal on the main page, and the second click information is the click information of the user terminal on the operation page. In one embodiment, if the first click information of the user terminal on the main page is not received, the second click information of the user terminal on the operation page is stopped. That is to say, after detecting the click operation of the user terminal on the main page, a box selection information (operation page) will pop up: xpath, id, class, href / src, text:, title, and the user terminal directly selects the information it needs with the mouse to automatically generate a complete xpath path.

[0037] (B) When the target operation object is in the first text format, the target encapsulation component is used to format the text information and display it, and the path information corresponding to the target operation object is extracted from the data formatting display result. In one embodiment, when displaying html, xml, and unknown structure data, the self-encapsulated IFrame component can be automatically selected. The IFrame component is used to pass the text information (source code) into the srcdoc attribute for content rendering and parsing, and the Codemirror component (code editor) is used to display the original text code. The code editor is used to modify and display the code, and can realize code highlighting, line number display, and text modification to realize real-time rendering of text information. In addition, when it is detected that the user's mouse moves up to the rendered page, the page monitors the mouse movement position, selects the currently selected element, displays the current element name, and displays a background color with a color code of #fcf6a0, thereby realizing an intuitive user interaction experience effect diagram.

[0038] In another embodiment, when displaying json structure data, the self-encapsulated Json component is automatically selected. The encapsulated Json component uses the JsonPretty component technology to realize the formatted display of json data, display line numbers, bracket ranges, and the length of each node. When the user moves the mouse to each json node, a box of the current node will appear, and the complete JsonPath path of the current node will appear when the mouse is clicked, so that after selection, the current JsonPath path can be obtained.

[0039] Further, the path information includes: a parent part and a child part, and the path information is hierarchically displayed in the expression display interface of the operation page, wherein the hierarchical display includes: completely displaying the parent part and the child part of the path information at the first level of the expression display interface, and displaying the child part of the path information at the remaining display levels of the expression display interface. In one embodiment, the selected HTML and XML are both selected using XPath to obtain the complete XPath path. Due to the iteration of the website, the required child cannot use the complete XPath path, for example: the parent XPath is:

[0040] / / div[@class='ny'] / div[@class='nyr'] / div[@class='nyrbai'] / div[@class='nyn ews1'] / ul / li.

[0041] The children are:

[0042] / / div[@class='ny'] / div[@class='nyr'] / div[@class='nyrbai'] / div[@class='nyn ews1'] / ul / li / div[@class='pr'] / div[@class='pt'] / a / text()

[0043] Since the first half of the child contains the xpath information above, the processing result of the child is . / div[@class='pr'] / div[@class='pt'] / a / text().

[0044] In addition, clicking on content outside the parent level is not allowed. Due to different browsers, different elements such as tbody will be generated. It is necessary to delete the children whose tbody does not exist in the parent level and then determine whether they are outside the area.

[0045] In another implementation, for the json data that is clicked, only the first level of the JsonPath data obtained by clicking retains the most original style, and the child levels have to remove the parent level part, leaving only the last level; for example: the parent level is $.List, and the child level was originally $.List[0].ID. After processing, the child level finally becomes ID.

[0046] (C) When the target operation object is in the second text format, the target operation object is directly encapsulated using the target encapsulation component, and the encapsulated target operation object is decoded through a preset data encoder to obtain the complete data format of the target operation object. Specifically, when displaying excel, word, pdf, and img structure data, the self-encapsulated Base64Excel, Base64Word, Base64PDF, and Base64Img components are automatically selected. The encapsulated components use VueOfficeExcel, VueOfficeDocx, embed, and img component technologies respectively. The received Base64 data is encoded, and Uint8Array, charCodeAt, and Blob technologies are used to decode the base64 format data to fully display the data formats of excel and word.

[0047] (3) If the path information meets the preset verification conditions, the path information of the target operation object is stored in the database; if it does not meet the conditions, the point selection information of the user interaction is obtained again, and the path information of the target operation object is extracted again based on the point selection information. In one embodiment, the path information can also be displayed to the user for manual verification.

[0048] In summary, the present invention analyzes the text type through the information returned by the interface, and automatically identifies multiple text information, and automatically assigns the target component box corresponding to the text for text rendering. It can realize convenient and fast selection of xpath and JsonPath without destroying the original website page. The solution is simple to operate and can be quickly started without professional knowledge. It can process xpath and JsonPath information at all levels. In addition, after clicking, if the monitoring mouse moves to the html element, the label of the currently selected element is displayed through a selection box and background highlighting.

[0049] Based on this, the present invention can greatly simplify the pain points of the original handwritten xpath and JsonPath. There is no need to frequently open third-party websites. The element information of the website can be viewed using the development tools of the browser console. The downloaded text information can be used to determine whether the text collection meets one's expectations at the first time. It has strong version compatibility and greatly improves work efficiency.

[0050] For the text rendering selection method provided in the above embodiment, the present invention provides a text rendering selection device, see Figure 4 The structure diagram of a text rendering and selecting device shown in FIG. 1 includes the following parts:

[0051] The text rendering module 402 obtains the website information to be processed, performs text rendering processing on the website information to be processed, and determines the target page after rendering, wherein the website information includes: text information and format information of text code;

[0052] The text selection module 404 obtains the user's selection information on the target page, and determines the target operation object and the target encapsulation component corresponding to the format information of the target operation object according to the selection information;

[0053] A path parsing module 406 parses the target operation object using the target encapsulation component to determine the path information of the target operation object;

[0054] The path verification module 408 verifies the path information and stores the verified target path information in a preset database.

[0055] The above-mentioned text rendering and selecting device provided in the embodiment of the present application can significantly reduce the difficulty of operating text rendering and selecting.

[0056] In one embodiment, when performing text rendering processing on the website information to be processed and determining the target page after rendering, the above-mentioned text rendering module 402 is also used to: automatically match the corresponding target component frame from the component frame set according to the format information corresponding to the text information; use the target component frame to perform text rendering processing on the text information, and determine the target page after rendering, wherein the target page includes: a main page and an operation page, the main page is used to display the text, images and tables after the text information is rendered, and the operation page is provided with point selection operation buttons and an expression display interface.

[0057] In one embodiment, the click information includes: first click information and second click information. When performing the step of determining the target operation object and the target encapsulation component corresponding to the format information of the target operation object according to the click information, the above-mentioned text click module 404 is also used to: determine the query item according to the first click information, wherein the first click information is the click information of the user terminal on the operation page; determine the target operation object according to the second click information, and match the corresponding target encapsulation component according to the format information and query item of the target operation object, wherein the second click information is the click information of the user terminal on the main page.

[0058] In one embodiment, before performing the step of operating the object according to the second selection information, the text selection module 404 is further used to stop receiving the second selection information of the user terminal on the main page if the first selection information of the user terminal on the operation page is not received.

[0059] In one embodiment, the format information includes: a first text format, the first text format is a code format that needs to be selected, and when using the target encapsulation component to parse the target operation object and determine the path information of the target operation object, the above-mentioned path parsing module 406 is also used for: when the target operation object is in the first text format, using the target encapsulation component to format the text information for data display, and extracting the path information corresponding to the target operation object from the data formatting display result.

[0060] In one embodiment, the path information includes: a parent part and a child part. After the step of extracting the path information corresponding to the target operation object from the data formatting display result, the above-mentioned path parsing module 406 is also used to: hierarchically display the path information in the expression display interface of the operation page, wherein the hierarchical display includes: completely displaying the parent part and the child part of the path information at the first level of the expression display interface, and displaying the child part of the path information at the remaining display levels of the expression display interface.

[0061] In one embodiment, the format information also includes: a second text format, the second text format is a code format that does not require selection, and when performing the step of parsing the target operation object using the target encapsulation component to determine the path information of the target operation object, the above-mentioned path parsing module 406 is also used for: when the target operation object is in the second text format, directly encapsulating the target operation object using the target encapsulation component, and decoding the encapsulated target operation object through a preset data encoder to obtain the complete data format of the target operation object.

[0062] The device provided in the embodiment of the present invention has the same implementation principle and technical effects as those of the aforementioned method embodiment. For the sake of brief description, for matters not mentioned in the device embodiment, reference may be made to the corresponding contents in the aforementioned method embodiment.

[0063] An embodiment of the present invention provides a server. Specifically, the server includes a processor and a storage device. The storage device stores a computer program, and when the computer program is executed by the processor, it executes the method described in any one of the above-mentioned embodiments.

[0064] Figure 5 A structural diagram of a server provided in an embodiment of the present invention, the server 100 includes: a processor 50, a memory 51, a bus 52 and a communication interface 53, wherein the processor 50, the communication interface 53 and the memory 51 are connected via the bus 52; the processor 50 is used to execute an executable module stored in the memory 51, such as a computer program.

[0065] The memory 51 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk memory. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 53 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used.

[0066] The bus 52 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0067] Among them, the memory 51 is used to store programs, and the processor 50 executes the program after receiving the execution instruction. The method executed by the device for flow process definition disclosed in any embodiment of the above-mentioned embodiment of the present invention can be applied to the processor 50 or implemented by the processor 50.

[0068] The processor 50 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 50. The above processor 50 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in the embodiments of the present invention can be directly embodied as a hardware decoding processor to be executed, or can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 51, and the processor 50 reads the information in the memory 51 and completes the steps of the above method in combination with its hardware.

[0069] The computer program product of the readable storage medium provided in the embodiment of the present invention includes a computer-readable storage medium storing program code, and the instructions included in the program code can be used to execute the methods described in the previous method embodiments. The specific implementation can be referred to the previous method embodiments, which will not be repeated here.

[0070] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.

[0071] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims

1. A text rendering and selecting method, characterized in that: The method comprises: Acquire the website information to be processed, perform text rendering processing on the website information to be processed, and determine the rendered target page, wherein the website information includes: format information of text information and text code; Acquire the user terminal's click information for the target page, and determine the target operation object and the target encapsulation component corresponding to the format information of the target operation object according to the click information; Utilizing the target encapsulation component to parse the target operation object and determine the path information of the target operation object; Verify the path information, and store the verified target path information in a preset database.

2. The text rendering selection method according to claim 1, characterized in that: The step of performing text rendering processing on the website information to be processed and determining the target page after rendering includes: According to the format information corresponding to the text information, automatically matching a corresponding target component frame from a component frame set; The target component frame is used to perform text rendering processing on the text information to determine the target page after rendering, wherein the target page includes: a main page and an operation page, the main page is used to display the text, images and tables after the text information is rendered, and the operation page is provided with point selection operation buttons and an expression display interface.

3. The text rendering selection method according to claim 1, characterized in that: The point selection information includes: first point selection information and second point selection information. The step of determining the target operation object and the target package component corresponding to the format information of the target operation object according to the point selection information includes: Determining the target operation object according to the first click information, wherein the first click information is the click information of the user terminal on the main page; The query item is determined according to the second click information, and the corresponding target encapsulation component is matched according to the format information of the target operation object and the query item, wherein the second click information is the click information of the user terminal on the operation page.

4. The text rendering selection method according to claim 3, characterized in that: Before the step of determining the query item according to the second click information, the method includes: If the first selection information of the user terminal on the main page is not received, the receiving of the second selection information of the user terminal on the operation page is stopped.

5. The text rendering selection method according to claim 1, characterized in that: The format information includes: a first text format, the first text format is a code format that needs to be selected, and the step of using the target encapsulation component to parse the target operation object and determine the path information of the target operation object includes: When the target operation object is in the first text format, the target encapsulation component is used to perform data formatting and display on the text information, and the path information corresponding to the target operation object is extracted from the data formatting and display result.

6. The text rendering selection method according to claim 5, characterized in that: The path information includes: a parent part and a child part, and after the step of extracting the path information corresponding to the target operation object from the data formatting display result, the method includes: The path information is displayed hierarchically in the expression display interface of the operation page, wherein the hierarchical display includes: completely displaying the parent part and the child part of the path information at the first level of the expression display interface, and displaying the child part of the path information at the remaining display levels of the expression display interface.

7. The text rendering selection method according to claim 5, characterized in that: The format information further includes: a second text format, the second text format is a code format that does not require selection, and the step of using the target encapsulation component to parse the target operation object and determine the path information of the target operation object also includes: When the target operation object is in the second text format, the target operation object is directly encapsulated using the target encapsulation component, and the encapsulated target operation object is decoded through a preset data encoder to obtain the complete data format of the target operation object.

8. A text rendering and selecting device, characterized in that: The device comprises: A text rendering module is used to obtain website information to be processed, and perform text rendering processing on the website information to be processed to determine a target page after rendering, wherein the website information includes: format information of text information and text code; A text selection module, which obtains the selection information of the user terminal for the target page, and determines the target operation object and the target encapsulation component corresponding to the format information of the target operation object according to the selection information; A path parsing module, which uses the target encapsulation component to parse the target operation object and determine the path information of the target operation object; The path verification module verifies the path information and stores the verified target path information in a preset database.

9. A server, characterized in that: The method comprises a processor and a memory, wherein the memory stores computer executable instructions that can be executed by the processor, and the processor executes the computer executable instructions to implement the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the method according to any one of claims 1 to 7.