Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Program text processing method and device

A text processing and text technology, applied in the direction of electrical digital data processing, natural language data processing, instruments, etc., to achieve the effect of solving concurrent performance problems, improving user experience, and improving response rate

Pending Publication Date: 2022-02-18
XIAN NOVASTAR TECH
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Therefore, in order to overcome at least some of the defects and deficiencies in the prior art, an embodiment of the present invention provides a program text processing method and a program text processing device to solve the problem of high concurrency performance during program text processing and reduce waiting time. Improve user experience

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Program text processing method and device
  • Program text processing method and device
  • Program text processing method and device

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0035] Such as figure 1 As shown, a method for processing program text provided in the first embodiment of the present invention includes the following steps:

[0036] S10, creating an embedded window in the program saving page;

[0037] S20, acquiring a text component in the program;

[0038] S30, generating a document object model text segment according to the text component;

[0039] S40. Send the document object model text fragment to the embedded window;

[0040] S50, using the embedded window to generate at least one text image according to the document object model text segment;

[0041] S60. Replace the text component with at least one text picture.

[0042] Wherein, the text component is a text box and text content; in step S30, generating a document object model text segment according to the text component specifically includes:

[0043] The document object model text segment is obtained by cutting the text content according to the width and height of the text box...

no. 2 example

[0061] Such as Figure 6 As shown, the second embodiment of the present invention provides a program text processing apparatus 100 . The program text processing apparatus 100 includes, for example, a creation module 110 , an acquisition module 120 , a first generation module 130 , a sending module 140 , a second generation module 150 and a replacement module 160 .

[0062] The creating module 110 is used for creating an embedded window in the program saving page.

[0063] The obtaining module 120 is used to obtain the text components in the program.

[0064] The first generating module 130 is configured to generate a document object model text fragment according to the text component.

[0065] The sending module 140 is configured to send the document object model text segment to the embedded window.

[0066] The second generation module 150 is configured to use the embedded window to generate at least one text picture according to the document object model text segment.

...

no. 3 example

[0081] Such as Figure 10 As shown, the third embodiment of the present invention provides a program text processing system 200 . The program text processing system 200 includes, for example, a memory 220 and a processor 210 connected to the memory 220 . The memory 220 may be, for example, a non-volatile memory on which the computer program 221 is stored. The processor 210 may be, for example, an embedded processor. When the processor 210 runs the computer program 221, it executes the program text processing method in the first embodiment.

[0082]For the specific working process and technical effects of the program text processing system 200 in this embodiment, refer to the description of the foregoing first embodiment.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention provides a program text processing method and device. The method comprises the following steps: creating an embedded window in a program saving page; obtaining a text component in a program; generating a document object model text fragment according to the text component; sending the document object model text fragment to the embedded window; by utilizing the embedded window, generating at least one text picture according to the text fragment of the document object model; and replacing the text component with at least one text picture. According to the embodiment, the text component is converted into the text picture, the problem of high concurrency performance is solved, the response rate is increased, and the user experience is also greatly improved.

Description

technical field [0001] The invention relates to the technical field of multimedia control playback, in particular to a program text processing method and a program text processing device. Background technique [0002] In the LED display industry, users generally add text when making a program. In the prior art, when the program is released, the WEB front end will cut the text according to the scrolling method (such as page turning or static) and the preset text preview size, but When the text is too long or too much, high concurrency performance problems will occur, resulting in long waiting times and affecting user experience. Contents of the invention [0003] Therefore, in order to overcome at least some of the defects and deficiencies in the prior art, an embodiment of the present invention provides a program text processing method and a program text processing device to solve the problem of high concurrency performance during program text processing and reduce waiting...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F40/166G06F40/151
CPCG06F40/166G06F40/151
Inventor 韩丹
Owner XIAN NOVASTAR TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products