CN112765506B - Page text content display method, device, equipment and storage medium - Google Patents

Page text content display method, device, equipment and storage medium Download PDF

Info

Publication number
CN112765506B
CN112765506B CN202110091073.6A CN202110091073A CN112765506B CN 112765506 B CN112765506 B CN 112765506B CN 202110091073 A CN202110091073 A CN 202110091073A CN 112765506 B CN112765506 B CN 112765506B
Authority
CN
China
Prior art keywords
type
array
character
replacing
new target
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.)
Active
Application number
CN202110091073.6A
Other languages
Chinese (zh)
Other versions
CN112765506A (en
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.)
Guangzhou Yougu Information Technology Co ltd
Original Assignee
Guangzhou Yougu Information Technology Co ltd
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 Guangzhou Yougu Information Technology Co ltd filed Critical Guangzhou Yougu Information Technology Co ltd
Priority to CN202110091073.6A priority Critical patent/CN112765506B/en
Publication of CN112765506A publication Critical patent/CN112765506A/en
Application granted granted Critical
Publication of CN112765506B publication Critical patent/CN112765506B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/189Automatic justification
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Document Processing Apparatus (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a page text content display method, a device, equipment and a storage medium, wherein the method comprises the following steps: segmenting articles to be processed to obtain segmented initial arrays; performing cyclic traversal on the segmented initial array, and identifying each element in the initial array as a first element type or a second element type; when the element is of a first element type, replacing a first type character after the element with a first numerical value or replacing a second type character after the element with a second numerical value to obtain a new target array; when the element is of the second element type, adding a line feed character after the element to obtain a new target array; and after the cycle traversal is completed, rendering the new target array, and displaying a rendering result. The application realizes the consistency of the effect of the same material displayed on different platforms, and can be widely applied to the technical field of computers.

Description

Page text content display method, device, equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a storage medium for displaying page text content.
Background
Typesetting of the material text of the speakable application program is generally edited by a background, and then rendered and displayed at the front end. However, for different front-end platforms, different display effects may occur for the same background edited typesetting.
For example, in the application of the WeChat applet, when text with spaces is presented in text format, the attribute value space is usually set to emsp, and such setting is normally performed on the android platform, but the width of the space rendered by the IOS platform is slightly smaller than expected, so that the effect of the same material presented on different platforms is different.
For another example, when a worker inputs a material in the background, he or she carelessly inputs a line feed symbol behind punctuation marks outside a period, so that the display effect of typesetting edited by the front-end platform and the background is inconsistent.
Disclosure of Invention
In view of this, the embodiments of the present application provide a method, apparatus, device, and storage medium for displaying content of page text, so as to achieve consistency of effects of displaying the same material on different platforms.
One aspect of the present application provides a page text content display method, including:
segmenting articles to be processed to obtain segmented initial arrays;
performing cyclic traversal on the segmented initial array, and identifying each element in the initial array as a first element type or a second element type;
when the element is of a first element type, replacing a first type character after the element with a first numerical value or replacing a second type character after the element with a second numerical value to obtain a new target array;
when the element is of the second element type, adding a line feed character after the element to obtain a new target array;
and after the cycle traversal is completed, rendering the new target array, and displaying a rendering result.
Preferably, the splitting the article to be processed to obtain an initial array after splitting includes:
dividing the character string in the article to be processed into an initial array through a character string method split of javascript, wherein each element in the initial array is a character string of each word;
or alternatively, the process may be performed,
and cutting the character string in the article to be processed into an initial array by using the line-feed character as a cutting parameter through a character string method split of javascript, wherein each element in the initial array is each line of characters.
Preferably, the first element type is a space type; the second element type is a period type;
the step of performing loop traversal on the segmented initial array, and identifying each element in the initial array as a first element type or a second element type comprises the following steps:
traversing the initial array through a for function loop, and identifying space elements in the initial array;
or alternatively, the process may be performed,
and traversing the initial array through a function loop for, and identifying period elements in the initial array.
Preferably, when the element is of the first element type, the replacing the first type character after the element with the first value or replacing the second type character after the element with the second value, to obtain a new target array includes:
when the element is a space element:
replacing the Chinese character or the digital character after the element with the digital 0;
or alternatively, the process may be performed,
replacing English characters after the element with a number 1;
a new target array is obtained.
Preferably, when the element is the second element type, adding a line feed symbol after the element to obtain a new target array, including:
when the element is a period element, a line feed character is added at the tail end of the period element, so that a new target array is obtained.
Preferably, after the loop traversal is completed, the new target array is rendered, and a rendering result is displayed, including:
rendering the target array through the label grammar of the WeChat applet, wherein for the element with the element type of character string type, a text label is used for rendering, and the rendering result is displayed; specifically, the number 0 is replaced with a view tag of the same width as the font size; replacing the number 1 with a view tag having a width half the font size;
or alternatively, the process may be performed,
and splicing the target array into a character string by using an array method join of javascript, and rendering the character string obtained by splicing to a page for display.
The embodiment of the application also provides a page text content display device, which comprises:
the segmentation module is used for segmenting the article to be processed to obtain an initial array after segmentation;
the traversing module is used for carrying out cyclic traversing on the segmented initial array, and identifying each element in the initial array as a first element type or a second element type;
the first replacing module is used for replacing the first type character after the element with a first numerical value or replacing the second type character after the element with a second numerical value when the element is of a first element type, so as to obtain a new target array;
the second replacing module is used for adding a line feed symbol after the element when the element is of a second element type to obtain a new target array;
and the rendering display module is used for rendering the new target array after the cyclic traversal is completed and displaying a rendering result.
The embodiment of the application also provides electronic equipment, which comprises a processor and a memory;
the memory is used for storing programs;
the processor executes the program to implement the method as described above.
The embodiment of the application also provides a computer readable storage medium storing a program, which is executed by a processor to implement the method as described above.
Embodiments of the present application also disclose a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The computer instructions may be read from a computer-readable storage medium by a processor of a computer device, and executed by the processor, to cause the computer device to perform the foregoing method.
The method and the device for processing the article to be processed are used for segmenting the article to be processed to obtain an initial array after segmentation; performing cyclic traversal on the segmented initial array, and identifying each element in the initial array as a first element type or a second element type; when the element is of a first element type, replacing a first type character after the element with a first numerical value or replacing a second type character after the element with a second numerical value to obtain a new target array; when the element is of the second element type, adding a line feed character after the element to obtain a new target array; and after the cycle traversal is completed, rendering the new target array, and displaying a rendering result. The application realizes the consistency of the effect of the same material displayed on different platforms.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of the overall steps provided by an embodiment of the present application;
FIG. 2 is a flow chart of steps of a first embodiment of a solution provided by an embodiment of the present application;
fig. 3 is a schematic diagram of an operation effect of the android platform according to the first embodiment of the present disclosure;
FIG. 4 is a schematic diagram illustrating an operation effect of an IOS platform according to a first embodiment of the present application;
FIG. 5 is a flow chart of steps of a second embodiment of the present application;
FIG. 6 is a schematic diagram of an article to be processed and an article in process according to an embodiment of the present application;
fig. 7 is a schematic diagram of an in-process article and a processed article according to an embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
Aiming at the problems existing in the prior art, the embodiment of the application provides a page text content display method, as shown in fig. 1, which comprises the following steps:
segmenting articles to be processed to obtain segmented initial arrays;
performing cyclic traversal on the segmented initial array, and identifying each element in the initial array as a first element type or a second element type;
when the element is of a first element type, replacing a first type character after the element with a first numerical value or replacing a second type character after the element with a second numerical value to obtain a new target array;
when the element is of the second element type, adding a line feed character after the element to obtain a new target array;
and after the cycle traversal is completed, rendering the new target array, and displaying a rendering result.
Preferably, the splitting the article to be processed to obtain an initial array after splitting includes:
dividing the character string in the article to be processed into an initial array through a character string method split of javascript, wherein each element in the initial array is a character string of each word;
or alternatively, the process may be performed,
and cutting the character string in the article to be processed into an initial array by using the line-feed character as a cutting parameter through a character string method split of javascript, wherein each element in the initial array is each line of characters.
Preferably, the first element type is a space type; the second element type is a period type;
the step of performing loop traversal on the segmented initial array, and identifying each element in the initial array as a first element type or a second element type comprises the following steps:
traversing the initial array through a for function loop, and identifying space elements in the initial array;
or alternatively, the process may be performed,
and traversing the initial array through a function loop for, and identifying period elements in the initial array.
Preferably, when the element is of the first element type, the replacing the first type character after the element with the first value or replacing the second type character after the element with the second value, to obtain a new target array includes:
when the element is a space element:
replacing the Chinese character or the digital character after the element with the digital 0;
or alternatively, the process may be performed,
replacing English characters after the element with a number 1;
a new target array is obtained.
Preferably, when the element is the second element type, adding a line feed symbol after the element to obtain a new target array, including:
when the element is a period element, a line feed character is added at the tail end of the period element, so that a new target array is obtained.
Preferably, after the loop traversal is completed, the new target array is rendered, and a rendering result is displayed, including:
rendering the target array through the label grammar of the WeChat applet, wherein for the element with the element type of character string type, a text label is used for rendering, and the rendering result is displayed; specifically, the number 0 is replaced with a view tag of the same width as the font size; replacing the number 1 with a view tag having a width half the font size;
or alternatively, the process may be performed,
and splicing the target array into a character string by using an array method join of javascript, and rendering the character string obtained by splicing to a page for display.
The following takes the application environment of WeChat applet as an example to describe the implementation steps of the page text content display method of the present application in detail:
in the WeChat applet, the view tag is a common content container, and the size of the view tag can be set by css code. According to the technical scheme, the view tag is used for replacing the space, and the width of the view tag is set to be the font size, so that the display effect of the space is simulated.
In the first scheme, space elements in the articles to be processed are mainly processed, so that the articles to be processed can have the same display effect on different platforms.
Scheme one: as shown in fig. 2, a first embodiment of the present application includes the following steps:
first, after the article is taken, the article is processed before rendering: the article is of a character string type, the article is firstly segmented into an array by using a character string method split of javascript, one character in the array is an element, each element is a character string of a single character, then the array is traversed circularly by using for to find out an element which is a space, then judgment is carried out according to the latter element of the space, if the element is a Chinese character or a number, the space is replaced by a number 0, if the element is an English letter, the space is replaced by a number 1, if the element is also a space, the next element is continuously judged until non-space is found.
Examples: the array converted by the string "i you a b" is: [ 'i' 0, 'you', 'a',1, 'b' ].
Secondly, circularly rendering the array obtained in the previous step by using a label grammar wx of a WeChat applet, judging the type of each element in the rendering process, directly rendering by using a text label if the type is a character string type, replacing the text label with a view label with the same width as the font size if the text label is a number 0, replacing the view label with a view label with no value if the text label is a number 1, replacing the view label with a view label with half the font size if the text label is a number 1, and removing the view label with no value.
Specifically, as shown in fig. 3 and fig. 4, fig. 3 is a schematic view of an operation effect of the android platform, and fig. 4 is a schematic view of an operation effect of the IOS platform; in fig. 4, the number of character spaces at the beginning of the article is smaller than that of fig. 3, namely the same back editing and typesetting, and the display effect is different between the android platform of fig. 3 and the IOS platform of fig. 4.
In addition, the embodiment of the application also provides a scheme II, in the scheme II, the line changing symbol is input after the punctuation marks outside the period are mainly input by careless staff when the staff inputs the materials in the background, and the scheme automatically processes the received materials through a front-end technology:
as shown in fig. 5, the second scheme of the embodiment of the present application mainly includes the following steps:
firstly, segmenting an article into an array by using a string method split of javascript, wherein the split method needs to transmit a line-changing character as a parameter (n in a WeChat applet and H5 webpageThe following example uses WeChat applet as a scene), the incoming line-feed character as a parameter means that the line-feed character is used to segment the article, and the obtained array is each line of characters.
The example effects of the pending articles and the in-process articles are shown in fig. 6, where 601 is a display state when not being processed, and 602 is a state where the in-process lines are converted into arrays in fig. 6.
And secondly, for circularly traversing the array to judge whether each element ends with a period, if so, adding a line-wrapping character to the end of the element.
And thirdly, re-splicing the array processed in the last step into a character string by using an array method join of javascript, and rendering the character string to a page.
In fig. 7, 701 is a state in which a line feed is inserted in an array, and 702 is a text display state after processing.
In summary, by the page text content display method provided by the embodiment of the application, the problem that the display effects of different front-end platforms are inconsistent can be solved, and particularly, for scheme one, the problem that the space width of the IOS platform is wrong can be solved, so that the rendering effects of the android platform and the IOS platform are highly consistent; for the scheme II, the problem that a front-end platform is inconsistent with the typesetting display effect edited by the background due to the fact that staff inputs a line feed symbol behind punctuation marks outside a period carelessly when inputting materials by the background can be solved.
The embodiment of the application also provides a page text content display device, which comprises:
the segmentation module is used for segmenting the article to be processed to obtain an initial array after segmentation;
the traversing module is used for carrying out cyclic traversing on the segmented initial array, and identifying each element in the initial array as a first element type or a second element type;
the first replacing module is used for replacing the first type character after the element with a first numerical value or replacing the second type character after the element with a second numerical value when the element is of a first element type, so as to obtain a new target array;
the second replacing module is used for adding a line feed symbol after the element when the element is of a second element type to obtain a new target array;
and the rendering display module is used for rendering the new target array after the cyclic traversal is completed and displaying a rendering result.
The embodiment of the application also provides electronic equipment, which comprises a processor and a memory;
the memory is used for storing programs;
the processor executes the program to implement the method as described above.
The embodiment of the application also provides a computer readable storage medium storing a program, which is executed by a processor to implement the method as described above.
Embodiments of the present application also disclose a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The computer instructions may be read from a computer-readable storage medium by a processor of a computer device, and executed by the processor, to cause the computer device to perform the foregoing method.
In some alternative embodiments, the functions/acts noted in the block diagrams may occur out of the order noted in the operational illustrations. For example, two blocks shown in succession may in fact be executed substantially concurrently or the blocks may sometimes be executed in the reverse order, depending upon the functionality/acts involved. Furthermore, the embodiments presented and described in the flowcharts of the present application are provided by way of example in order to provide a more thorough understanding of the technology. The disclosed methods are not limited to the operations and logic flows presented herein. Alternative embodiments are contemplated in which the order of various operations is changed, and in which sub-operations described as part of a larger operation are performed independently.
Furthermore, while the application is described in the context of functional modules, it should be appreciated that, unless otherwise indicated, one or more of the described functions and/or features may be integrated in a single physical device and/or software module or one or more functions and/or features may be implemented in separate physical devices or software modules. It will also be appreciated that a detailed discussion of the actual implementation of each module is not necessary to an understanding of the present application. Rather, the actual implementation of the various functional modules in the apparatus disclosed herein will be apparent to those skilled in the art from consideration of their attributes, functions and internal relationships. Accordingly, one of ordinary skill in the art can implement the application as set forth in the claims without undue experimentation. It is also to be understood that the specific concepts disclosed are merely illustrative and are not intended to be limiting upon the scope of the application, which is to be defined in the appended claims and their full scope of equivalents.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform 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, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Logic and/or steps represented in the flowcharts or otherwise described herein, e.g., a ordered listing of executable instructions for implementing logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). In addition, the computer readable medium may even be paper or other suitable medium on which the program is printed, as the program may be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.
It is to be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While embodiments of the present application have been shown and described, it will be understood by those of ordinary skill in the art that: many changes, modifications, substitutions and variations may be made to the embodiments without departing from the spirit and principles of the application, the scope of which is defined by the claims and their equivalents.
While the preferred embodiment of the present application has been described in detail, the present application is not limited to the embodiments described above, and those skilled in the art can make various equivalent modifications or substitutions without departing from the spirit of the present application, and these equivalent modifications or substitutions are included in the scope of the present application as defined in the appended claims.

Claims (5)

1. A method for displaying text content of a page, comprising:
segmenting articles to be processed to obtain segmented initial arrays;
performing cyclic traversal on the segmented initial array, and identifying each element in the initial array as a first element type or a second element type;
when the element is of a first element type, replacing the element with a first numerical value according to a first type character after the element, or replacing the element with a second numerical value according to a second type character after the element, so as to obtain a new target array;
when the element is of the second element type, adding a line feed character after the element to obtain a new target array;
after the cycle traversal is completed, rendering the new target array, and displaying a rendering result;
wherein the first element type is a space type; the second element type is a period type;
the step of performing loop traversal on the segmented initial array, and identifying each element in the initial array as a first element type or a second element type comprises the following steps:
traversing the initial array through a for function loop, and identifying space elements in the initial array;
or alternatively, the process may be performed,
traversing the initial array through a for function loop, and identifying period elements in the initial array;
when the element is of a first element type, replacing the element with a first numerical value according to a first type character after the element, or replacing the element with a second numerical value according to a second type character after the element, so as to obtain a new target array, including:
when the element is a space element:
if the element is followed by a Chinese character or a numerical character, replacing the element with a numerical value of 0;
or alternatively, the process may be performed,
if the element is followed by an English character, replacing the element with a number 1;
obtaining a new target array;
and when the element is of the second element type, adding a line feed character after the element to obtain a new target array, wherein the method comprises the following steps of:
when the element is a period element, adding a line feed symbol at the tail end of the period element to obtain a new target array;
and rendering the new target array after the cycle traversal is completed, and displaying a rendering result, wherein the method comprises the following steps:
rendering the target array through the label grammar of the WeChat applet, wherein for the element with the element type of character string type, a text label is used for rendering, and the rendering result is displayed; specifically, the number 0 is replaced with a view tag of the same width as the font size; replacing the number 1 with a view tag having a width half the font size;
or alternatively, the process may be performed,
and splicing the target array into a character string by using an array method join of javascript, and rendering the character string obtained by splicing to a page for display.
2. The method for displaying text content on a page according to claim 1, wherein the splitting the article to be processed to obtain the split initial array includes:
dividing the character string in the article to be processed into an initial array through a character string method split of javascript, wherein each element in the initial array is a character string of each word;
or alternatively, the process may be performed,
and cutting the character string in the article to be processed into an initial array by using the line-feed character as a cutting parameter through a character string method split of javascript, wherein each element in the initial array is each line of characters.
3. An apparatus for applying the page text content display method according to claim 1 or 2, comprising:
the segmentation module is used for segmenting the article to be processed to obtain an initial array after segmentation;
the traversing module is used for carrying out cyclic traversing on the segmented initial array, and identifying each element in the initial array as a first element type or a second element type;
the first replacing module is used for replacing the first type character after the element with a first numerical value or replacing the second type character after the element with a second numerical value when the element is of a first element type, so as to obtain a new target array;
the second replacing module is used for adding a line feed symbol after the element when the element is of a second element type to obtain a new target array;
and the rendering display module is used for rendering the new target array after the cyclic traversal is completed and displaying a rendering result.
4. An electronic device comprising a processor and a memory;
the memory is used for storing programs;
the processor executing the program implements the method of any one of claims 1 or 2.
5. A computer-readable storage medium, characterized in that the storage medium stores a program that is executed by a processor to implement the method of any one of claims 1 or 2.
CN202110091073.6A 2021-01-22 2021-01-22 Page text content display method, device, equipment and storage medium Active CN112765506B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110091073.6A CN112765506B (en) 2021-01-22 2021-01-22 Page text content display method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110091073.6A CN112765506B (en) 2021-01-22 2021-01-22 Page text content display method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112765506A CN112765506A (en) 2021-05-07
CN112765506B true CN112765506B (en) 2023-10-24

Family

ID=75706818

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110091073.6A Active CN112765506B (en) 2021-01-22 2021-01-22 Page text content display method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112765506B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117371446B (en) * 2023-12-07 2024-04-16 江西曼荼罗软件有限公司 Medical record text typesetting method, system, storage medium and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106874242A (en) * 2017-01-09 2017-06-20 广西英腾教育科技股份有限公司 A kind of composition method and system
CN111126010A (en) * 2019-12-20 2020-05-08 深圳前海环融联易信息科技服务有限公司 Freemarker template file repairing method and device, computer equipment and storage medium
CN111143732A (en) * 2019-12-20 2020-05-12 贝壳技术有限公司 Webpage rendering method and device
CN111222063A (en) * 2019-11-26 2020-06-02 北京达佳互联信息技术有限公司 Rich text rendering method and device, electronic equipment and storage medium
CN111241435A (en) * 2019-12-31 2020-06-05 五八有限公司 Method and device for loading picture elements
CN111290752A (en) * 2019-12-24 2020-06-16 浙江明度智控科技有限公司 Web table frame processing method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009176144A (en) * 2008-01-25 2009-08-06 Access Co Ltd System, apparatus, method and program for converting markup language document
US20180203827A1 (en) * 2017-01-16 2018-07-19 International Business Machines Corporation Lightweight tracking of substituted characters in text fields

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106874242A (en) * 2017-01-09 2017-06-20 广西英腾教育科技股份有限公司 A kind of composition method and system
CN111222063A (en) * 2019-11-26 2020-06-02 北京达佳互联信息技术有限公司 Rich text rendering method and device, electronic equipment and storage medium
CN111126010A (en) * 2019-12-20 2020-05-08 深圳前海环融联易信息科技服务有限公司 Freemarker template file repairing method and device, computer equipment and storage medium
CN111143732A (en) * 2019-12-20 2020-05-12 贝壳技术有限公司 Webpage rendering method and device
CN111290752A (en) * 2019-12-24 2020-06-16 浙江明度智控科技有限公司 Web table frame processing method and device
CN111241435A (en) * 2019-12-31 2020-06-05 五八有限公司 Method and device for loading picture elements

Also Published As

Publication number Publication date
CN112765506A (en) 2021-05-07

Similar Documents

Publication Publication Date Title
CN113807098B (en) Model training method and device, electronic equipment and storage medium
CN107291476B (en) Canvas code generation method and device, electronic equipment and storage medium
US20190243848A1 (en) Generating a structured document guiding view
WO2011072434A1 (en) System and method for web content extraction
CN106649543B (en) Method, device and terminal for recording reading progress
CN109492177B (en) web page blocking method based on web page semantic structure
CN113255652B (en) Text correction method, device, equipment and medium
CN110704719A (en) Enterprise search text word segmentation method and device
CN112765506B (en) Page text content display method, device, equipment and storage medium
CN114581926B (en) Multi-line text recognition method, device, equipment and medium
CN112738640A (en) Method and device for determining subtitles of video stream and readable storage medium
CN109815243B (en) Structured storage method and device during document interface modification
CN104516868A (en) Layout space streaming restoring method and layout space streaming restoring system
CN117371446B (en) Medical record text typesetting method, system, storage medium and electronic equipment
CN115577683B (en) HTML rich text content conversion method, device, equipment and medium
CN110633251B (en) File conversion method and equipment
CN110018863B (en) Mobile terminal text display method, storage medium, equipment and system
CN107145947B (en) Information processing method and device and electronic equipment
US9223766B2 (en) Preserving formatting of content selection through snippets
CN110532391B (en) Text part-of-speech tagging method and device
CN115796178A (en) Data processing method, device and equipment
CN113886748A (en) Method, device and equipment for generating editing information and outputting information of webpage content
CN110263303B (en) Method and device for tracing text modification history
CN115248881A (en) Webpage input information rendering method and device, electronic equipment and storage medium
CN112100977A (en) Window partial refreshing method, electronic device and storage medium

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
GR01 Patent grant
GR01 Patent grant