CN111243044A - PDF transcoding method and storage medium for webpage containing picture - Google Patents
PDF transcoding method and storage medium for webpage containing picture Download PDFInfo
- Publication number
- CN111243044A CN111243044A CN202010009240.3A CN202010009240A CN111243044A CN 111243044 A CN111243044 A CN 111243044A CN 202010009240 A CN202010009240 A CN 202010009240A CN 111243044 A CN111243044 A CN 111243044A
- Authority
- CN
- China
- Prior art keywords
- thread
- sub
- picture
- remote
- transcoding
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T9/00—Image coding
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
- G06F16/9574—Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5011—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
- G06F9/5016—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Abstract
The invention provides a PDF transcoding method and a storage medium of a webpage containing a picture, wherein the method comprises the following steps: traversing all img labels in a page by a main thread, and if the src attribute of the currently traversed img label corresponds to a remote address, creating a corresponding sub-thread; after the sub-thread is started, the corresponding remote address is obtained from the main thread; the sub thread loads a corresponding remote picture according to the acquired remote address and carries out base64 coding on the remote picture; the sub thread sends the coding result to the main thread; and the master thread modifies the src attribute of the img label corresponding to the slave thread into the encoding result. The invention can not only obviously improve the transcoding performance, shorten the time required by transcoding and optimize the user experience; the transcoding result can be ensured to be synchronous with the current webpage information, and the effectiveness of transcoding is improved; furthermore, the method has the advantages of simple interface, less code change, less occupied memory and the like, so that the practicability is high.
Description
Technical Field
The invention relates to the field of browser page transcoding, in particular to a PDF transcoding method and a storage medium for a webpage containing a picture.
Background
The main flow of exporting a web page as a PDF in the current industry is to draw the web page into a canvas, export the canvas as a picture, and finally save the picture as a PDF.
When there are pictures in a web page, it cannot be exported as PDF by default. The reason is that when the web page is drawn to the canvas, the canvas cannot draw the remotely loaded picture, and can only draw the picture (coded picture of base64) cached locally. Therefore, in the web page with PDF export requirement, it is common practice to write the picture code (base64) into the code in advance, and this has several disadvantages: 1. the base64 code containing pictures in the code causes the volume of the webpage to be too large, especially when one page has a plurality of pictures or a single picture is very large; 2. if the picture has updates, the code must be recompiled and released, resulting in code cache failures and too high release costs.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: the PDF transcoding method and the storage medium of the webpage containing the picture are provided, the transcoding performance is improved, and the user experience is optimized.
In order to solve the technical problems, the invention adopts the technical scheme that:
the PDF transcoding method of the webpage containing the picture comprises the following steps:
traversing all img labels in a page by a main thread, and if the src attribute of the currently traversed img label corresponds to a remote address, creating a corresponding sub-thread;
after the sub-thread is started, the corresponding remote address is obtained from the main thread;
the sub thread loads a corresponding remote picture according to the acquired remote address and carries out base64 coding on the remote picture;
the sub thread sends the coding result to the main thread;
and the master thread modifies the src attribute of the img label corresponding to the slave thread into the encoding result.
The invention provides another technical scheme as follows:
a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, is capable of implementing the steps included in the above PDF transcoding method for a picture-containing web page.
The invention has the beneficial effects that: based on multi-thread asynchronous execution, the PDF exporting performance can be obviously improved; the interface is simple, and the adjustment to the original code is small; the pictures do not need to be coded in advance and are written in codes, so that the memory occupation is obviously reduced; the remote picture acquisition and the coding are carried out synchronously, even if the picture is updated, the effectiveness of the transcoding result can be ensured, the processes of recompiling and releasing the code are omitted, the user experience is optimized, and a large amount of cost is saved.
Drawings
Fig. 1 is a schematic flowchart of a PDF transcoding method of a web page containing a picture according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a second traversal process according to an embodiment of the present invention;
FIG. 3 is an interaction diagram of a main thread and a sub thread in a process of executing a remote loading and encoding task according to a second embodiment of the present invention.
Detailed Description
In order to explain technical contents, achieved objects, and effects of the present invention in detail, the following description is made with reference to the accompanying drawings in combination with the embodiments.
The most key concept of the invention is as follows: based on multithreading, the coding task of each picture is asynchronously executed, so that the transcoding efficiency is obviously improved; the remote picture is acquired and coded synchronously, and the effectiveness of a transcoding result is guaranteed.
The technical terms related to the invention are explained as follows:
referring to fig. 1, the present invention provides a PDF transcoding method of a web page containing a picture, including:
traversing all img labels in a page by a main thread, and if the src attribute of the currently traversed img label corresponds to a remote address, creating a corresponding sub-thread;
after the sub-thread is started, the corresponding remote address is obtained from the main thread;
the sub thread loads a corresponding remote picture according to the acquired remote address and carries out base64 coding on the remote picture;
the sub thread sends the coding result to the main thread;
and the master thread modifies the src attribute of the img label corresponding to the slave thread into the encoding result.
Further, after the sub-thread is started, the corresponding remote address is acquired from the main thread, specifically:
after the sub-thread is started, sending a message for completing initialization to the main thread;
and the main thread sends a conversion task to the sub-thread, wherein the conversion task comprises the remote address of the img label corresponding to the sub-thread.
According to the description, after the sub-thread is started, the corresponding coding task can be acquired and executed through interaction with the main thread, and the multi-thread asynchronous execution task is adopted, so that the coding efficiency is obviously improved, and the time consumed by transcoding all pictures on the page is greatly shortened.
Further, the child thread loads a corresponding remote picture according to the obtained remote address, and performs base64 encoding on the remote picture, specifically:
after receiving the conversion task, the sub-thread creates a loader to load a remote picture corresponding to a remote address in the conversion task;
if the sub-thread monitors a loading error event of the loader, sending a loading failure message to the main thread and finishing the conversion task;
if the child thread listens to the loader for a successful loading event, a reader is created to base64 encode the loaded remote picture.
As can be seen from the above description, the sub-thread performs remote picture loading through the loader, and if the sub-thread succeeds in creating the reader for encoding, the sub-thread directly ends the task after failing. Not only can resources be saved, but also the task can be executed efficiently.
Further, still include:
the main thread creates a queue;
adding the created child thread and the img label and remote address corresponding to the child thread into the queue;
and after the main thread receives the coding result, acquiring the img label and the remote address corresponding to the sub-thread according to the queue.
As can be seen from the above description, by storing the encoding tasks of the respective pictures in the form of a queue, each task can be ensured to be executed, which is more beneficial to management.
Further, the main thread modifies the src attribute of the img tag corresponding to the sub-thread into the encoding result, and then the method further includes:
the main thread destroys the sub-thread which sends the coding result;
and the main thread deletes the sub-thread and the corresponding img label and the remote address thereof in the queue.
According to the description, after the task is completed, the sub-thread is destroyed to release the memory, so that the memory occupation is reduced; meanwhile, the related information of the sub-thread in the queue is deleted, and the corresponding picture is identified to be successfully coded.
Further, still include:
the main thread judges whether the queue is empty;
if yes, executing transcoding operation;
if not, waiting for the sub-thread message.
According to the description, whether all the pictures of the webpage are successfully coded is confirmed through the queue, all the pictures in the webpage can be correctly displayed at the corresponding positions of the transcoded PDFs, and the accuracy of the transcoding result is improved.
Further, after creating the child thread, the method further includes: the child thread is initialized.
According to the description, the sub-thread can be started after being created, the encoding task is executed asynchronously with the main thread, and the webpage transcoding efficiency is obviously improved.
It should be understood by those skilled in the art that all or part of the processes in the above technical solutions may be implemented by instructing the related hardware through a computer program, where the program may be stored in a computer-readable storage medium, and when executed, the program may include the processes of the above methods.
The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
Namely, a computer readable storage medium is also provided, on which a computer program is stored, which when executed by a processor, is capable of implementing the following steps included in the PDF transcoding method including a picture web page:
traversing all img labels in a page by a main thread, and if the src attribute of the currently traversed img label corresponds to a remote address, creating a corresponding sub-thread;
after the sub-thread is started, the corresponding remote address is obtained from the main thread;
the sub thread loads a corresponding remote picture according to the acquired remote address and carries out base64 coding on the remote picture;
the sub thread sends the coding result to the main thread;
and the master thread modifies the src attribute of the img label corresponding to the slave thread into the encoding result.
Further, after the sub-thread is started, the corresponding remote address is acquired from the main thread, specifically:
after the sub-thread is started, sending a message for completing initialization to the main thread;
and the main thread sends a conversion task to the sub-thread, wherein the conversion task comprises the remote address of the img label corresponding to the sub-thread.
Further, the child thread loads a corresponding remote picture according to the obtained remote address, and performs base64 encoding on the remote picture, specifically:
after receiving the conversion task, the sub-thread creates a loader to load a remote picture corresponding to a remote address in the conversion task;
if the sub-thread monitors a loading error event of the loader, sending a loading failure message to the main thread and finishing the conversion task;
if the child thread listens to the loader for a successful loading event, a reader is created to base64 encode the loaded remote picture.
Further, still include:
the main thread creates a queue;
adding the created child thread and the img label and remote address corresponding to the child thread into the queue;
and after the main thread receives the coding result, acquiring the img label and the remote address corresponding to the sub-thread according to the queue.
Further, the main thread modifies the src attribute of the img tag corresponding to the sub-thread into the encoding result, and then the method further includes:
the main thread destroys the sub-thread which sends the coding result;
and the main thread deletes the sub-thread and the corresponding img label and the remote address thereof in the queue.
Further, still include:
the main thread judges whether the queue is empty;
if yes, executing transcoding operation;
if not, waiting for the sub-thread message.
Further, after creating the child thread, the method further includes: the child thread is initialized.
Example one
The embodiment provides a PDF transcoding method for a webpage containing pictures, which mainly comprises a main thread process and sub-thread processes corresponding to the number of the pictures.
The method comprises the following steps:
s1: after a user triggers and exports a PDF instruction, a main thread creates a queue;
s2: the main thread traverses all img labels in the page, and judges whether the sr attribute of each img label records a remote address or a base64 code;
if the src attribute of the traversed img label corresponds to the remote address, creating a sub-thread corresponding to the img label, and adding the sub-thread instance, the img label and the remote address recorded by the src attribute as an encoding task to a queue; that is, one sub-thread corresponds to the encoding task of one remote picture.
And if the src attribute of the traversed img label corresponds to a remote address, continuing the traversal.
S3: the sub-thread can be started after being created, and the corresponding remote address is obtained from the main thread;
specifically, after the sub-thread is created and started, a message of completing initialization is sent to the main thread; and the main thread sends a conversion task to the sub-thread according to the information corresponding to the sub-thread in the queue, wherein the conversion task comprises the remote address of the img label corresponding to the sub-thread and is used for informing the main thread that a corresponding remote picture needs to be loaded and encoding is completed.
S4: the sub thread loads a corresponding remote picture according to the acquired remote address and carries out base64 coding on the remote picture;
specifically, after receiving the conversion task, the child thread creates a loader to load a remote graph corresponding to a remote address in the conversion task, and monitors an event of the loader;
if the sub-thread monitors a loading error event of the loader, sending a loading failure message to the main thread and finishing the conversion task;
if the child thread listens to the loader for a successful loading event, a reader is created to base64 encode the loaded remote picture.
S5: the sub thread sends the coding result to the main thread;
s6: and after the main thread receives the coding result, acquiring the img label and the remote address corresponding to the sub-thread according to the queue, and modifying the src attribute of the img label into the received coding result.
S7: the main thread destroys the sub-thread which sends the coding result successfully;
s8: and the main thread deletes the relevant information of the destroyed sub-thread in the queue.
S9: the main thread judges whether the queue is empty;
if yes, transcoding the webpage, namely transcoding the current webpage into PDF;
if not, waiting for receiving the message sent by the sub thread.
Example two
Referring to fig. 1 and fig. 2, the present embodiment is further defined on the basis of the first embodiment:
the method comprises the following steps:
1. initializing a page in a main thread;
due to the variability of the demand, some pages do not derive the PDF demand from the beginning. To achieve minimal modification to such applications, it is desirable to make the downward compatibility. Therefore, during the page initialization process, the embodiment does not make any modification, that is, the img tag of the previous page does not need to be modified.
2. The user triggers and exports PDF interaction;
3. the main thread creates a wait queue (waitQueue), and the data stored in the queue comprises: each sub-thread instance and its corresponding remote picture address and corresponding img tag. (one thread is responsible for one img tag and its corresponding picture url address);
4. the main thread traverses all img tags in the page, and judges whether src of the img tags is a remote address or base64 code;
if the src attribute of the traversed img tag is the remote address, creating a child thread (worker), adding the img tag, the remote address and the child thread instance to a wait queue (waitQueue), and then continuing the traversal;
if the src attribute of the traversed img tag is not a remote address, continuing the traversal;
if the waitQueue length is 0 after the loop is finished, the page has no picture, the step 10 is directly skipped to, and if not, the next step is carried out;
5. as shown in fig. 2, since the sub-thread is asynchronous to the main thread, the sub-thread can be started after being created, and after the start is successful, a message named child initready is sent to the main thread;
6. and after receiving the childInitRread message, the main thread sends a message doTask to the sub-thread, wherein the message content is the remote picture address needing to be converted by the sub-thread. That is, the child thread can understand the task message by receiving this message to clarify its own task.
7. After receiving the doTask message, the child thread starts the following work:
① creating a loader using the browser native interface (XMLHttpRequest);
② listening for loader load success and load error events;
③ when capturing the loading error, the sub-thread sends the child EncodeError message to the main thread to inform the main thread of the loading failure and ends the task of the current sub-thread;
④ when "load successful" is captured, a reader is created using the browser native interface (FileReader), performing the following:
A. base64 encoding the remote picture which is loaded to the local through the readAsDataURL interface of the reader;
B. the child thread sends a child EncodeReady message to the main thread, and the message content is encoded by base 64;
C. the current child thread task ends.
8. After the main thread receives the child EncodeError message, all the sub-threads in waitQueue are destroyed, and the conversion is failed;
9. after receiving the childEncodeReady message, the main thread executes the following contents:
①, searching information corresponding to the thread from the message in waitQueue, including img label, picture address, sub-thread instance;
② modifies the value of the src attribute of the img tag to encode the received base 64;
③ destroying the child thread to release memory;
④ delete the task (the child thread and its associated information) from waitQueue;
⑤, judging whether waitQueue is empty, if not, continuing to wait for the results of other sub-threads, if so, executing step 10;
10. and converting the page into a picture by using an html2Canvas library, and exporting the picture as a PDF file through a js2PDF library.
The embodiment has the following advantages:
(1) the performance of PDF derivation is better based on a multi-thread scheme;
(2) the interface is simple, and the original code is adjusted slightly;
(3) the occupied memory is smaller;
(4) the remote picture display and the encoding are performed synchronously, and better user experience is provided.
EXAMPLE III
This embodiment corresponds to the first or second embodiment, and provides a specific application scenario:
assuming there is one web page, the content is as follows:
<html>
<body>
<img id=”i1”src=”http://www.abc.com/a.png”/>
<img id=”i2”src=”data:image/png;base64,safjpai1238jf0a832014”/>
<img id=”i3”src=”http://www.abc.com/b.png”/>
</body>
</html>
then the following steps are performed based on embodiment one or embodiment two:
1. the user triggers and exports PDF interaction;
2. the main thread creates a wait queue: waitQueue ═ new Array ();
3. traversing all img labels;
① the first id is img tag of i 1;
confirm src is a remote address;
creating a child thread t 1;
add a record at waitQueue: { thread: t1, picture address: http:// www.abc.com/a. png, img tag: i1 };
continuing to circulate;
② img tag with a second id of i 2;
confirm that src is not a remote address;
continuing to circulate;
③ third img tag with id i 3;
confirm src is a remote address;
creating a child thread t 2;
add a record at waitQueue: { thread: t2, picture address: http:// www.abc.com/b.png, img tag: i3 };
continue to circulate
4. The main thread receives the childInitReady message;
judging which thread sends the message;
sending the remote address of the img label corresponding to the thread through the doTask according to the record of the waitQueue;
5. the child thread receives the doTask message;
loading a remote picture and performing base64 encoding;
sending a childEncodesucces message to a parent thread, wherein the content is the content behind base64 (all codes are assumed to be successful in demo);
6. a parent thread receives a child Encodesucces message from a child thread;
setting the src attribute of the img label corresponding to the current sub-thread as base64 according to the record of waitQueue;
deleting the task data corresponding to the current thread from waitQueue;
judging whether tasks still exist in waitQeue;
if yes, continuing to wait for the message;
if not, indicating that all conversion is completed, and executing the next step;
7. the html2Canvas is used to convert the content under the body into pictures, and the pictures are converted into PDF through js2 PDf.
Example four
Corresponding to the first to third embodiments, this embodiment provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when being executed by a processor, can implement the steps included in the PDF transcoding method including a picture webpage according to any one of the first to third embodiments. The detailed steps are not repeated here, and refer to the descriptions of the first to third embodiments for details.
In conclusion, the PDF transcoding method and the storage medium for the webpage containing the picture, provided by the invention, not only can obviously improve the transcoding performance, shorten the time required by transcoding and optimize the user experience; the transcoding result can be ensured to be synchronous with the current webpage information, and the effectiveness of transcoding is improved; furthermore, the method has the advantages of simple interface, less code change, less occupied memory and the like, so that the practicability is high.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all equivalent changes made by using the contents of the present specification and the drawings, or applied directly or indirectly to the related technical fields, are included in the scope of the present invention.
Claims (8)
1. The PDF transcoding method of the webpage containing the picture is characterized by comprising the following steps:
traversing all img labels in a page by a main thread, and if the src attribute of the currently traversed img label corresponds to a remote address, creating a corresponding sub-thread;
after the sub-thread is started, the corresponding remote address is obtained from the main thread;
the sub thread loads a corresponding remote picture according to the acquired remote address and carries out base64 coding on the remote picture;
the sub thread sends the coding result to the main thread;
and the master thread modifies the src attribute of the img label corresponding to the slave thread into the encoding result.
2. The PDF transcoding method of a web page containing a picture according to claim 1, wherein after the sub-thread is started, the corresponding remote address is obtained from the main thread, which specifically is:
after the sub-thread is started, sending a message for completing initialization to the main thread;
and the main thread sends a conversion task to the sub-thread, wherein the conversion task comprises the remote address of the img label corresponding to the sub-thread.
3. The PDF transcoding method of the picture-containing web page as claimed in claim 2, wherein said child thread loads the corresponding remote picture according to the obtained remote address and performs base64 encoding on it, specifically:
after receiving the conversion task, the sub-thread creates a loader to load a remote picture corresponding to a remote address in the conversion task;
if the sub-thread monitors a loading error event of the loader, sending a loading failure message to the main thread and finishing the conversion task;
if the child thread listens to the loader for a successful loading event, a reader is created to base64 encode the loaded remote picture.
4. The PDF transcoding method of a web page containing pictures of claim 1, further comprising:
the main thread creates a queue;
adding the created child thread and the img label and remote address corresponding to the child thread into the queue;
and after the main thread receives the coding result, acquiring the img label and the remote address corresponding to the sub-thread according to the queue.
5. The method for PDF transcoding of a web page containing a picture according to claim 4, wherein said main thread modifies src attribute of img tag corresponding to sub-thread to said encoding result, and thereafter, further comprising:
the main thread destroys the sub-thread which sends the coding result;
and the main thread deletes the sub-thread and the corresponding img label and the remote address thereof in the queue.
6. The method of PDF transcoding of a web page containing a picture according to claim 4 further comprising:
the main thread judges whether the queue is empty;
if yes, executing transcoding operation;
if not, waiting for the sub-thread message.
7. The method of PDF transcoding of a web page containing a picture according to claim 1 wherein after creating a child thread, further comprising: the child thread is initialized.
8. A computer-readable storage medium, on which a computer program is stored, wherein the program is capable of implementing the steps included in the PDF transcoding method of the web page containing pictures according to any of the above claims 1 to 7 when being executed by a processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010009240.3A CN111243044B (en) | 2020-01-06 | 2020-01-06 | PDF transcoding method and storage medium for webpage containing picture |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010009240.3A CN111243044B (en) | 2020-01-06 | 2020-01-06 | PDF transcoding method and storage medium for webpage containing picture |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111243044A true CN111243044A (en) | 2020-06-05 |
CN111243044B CN111243044B (en) | 2023-04-18 |
Family
ID=70866168
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010009240.3A Active CN111243044B (en) | 2020-01-06 | 2020-01-06 | PDF transcoding method and storage medium for webpage containing picture |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111243044B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102033778A (en) * | 2010-12-16 | 2011-04-27 | 电子科技大学 | Thread processing method for control, analysis and composition of embedded browser |
CN104834544A (en) * | 2015-05-04 | 2015-08-12 | 广州杰赛科技股份有限公司 | Data loading method and device |
CN105162863A (en) * | 2015-09-01 | 2015-12-16 | 北京皮尔布莱尼软件有限公司 | Picture uploading device and method and computing equipment |
WO2016034089A1 (en) * | 2014-09-03 | 2016-03-10 | 优视科技有限公司 | Image rendering method and apparatus, mobile terminal and machine-readable storage medium |
CN105938440A (en) * | 2015-12-28 | 2016-09-14 | 乐视移动智能信息技术(北京)有限公司 | Picture display method and system for mobile terminal |
CN108984801A (en) * | 2018-08-22 | 2018-12-11 | 百卓网络科技有限公司 | A kind of search engine optimization method identifying asynchronous loading content based on html tag |
CN110008195A (en) * | 2019-04-11 | 2019-07-12 | 重庆猪八戒知识产权服务有限公司 | A kind of dynamic configuration html turns the method, apparatus and system of pdf |
-
2020
- 2020-01-06 CN CN202010009240.3A patent/CN111243044B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102033778A (en) * | 2010-12-16 | 2011-04-27 | 电子科技大学 | Thread processing method for control, analysis and composition of embedded browser |
WO2016034089A1 (en) * | 2014-09-03 | 2016-03-10 | 优视科技有限公司 | Image rendering method and apparatus, mobile terminal and machine-readable storage medium |
CN104834544A (en) * | 2015-05-04 | 2015-08-12 | 广州杰赛科技股份有限公司 | Data loading method and device |
CN105162863A (en) * | 2015-09-01 | 2015-12-16 | 北京皮尔布莱尼软件有限公司 | Picture uploading device and method and computing equipment |
CN105938440A (en) * | 2015-12-28 | 2016-09-14 | 乐视移动智能信息技术(北京)有限公司 | Picture display method and system for mobile terminal |
CN108984801A (en) * | 2018-08-22 | 2018-12-11 | 百卓网络科技有限公司 | A kind of search engine optimization method identifying asynchronous loading content based on html tag |
CN110008195A (en) * | 2019-04-11 | 2019-07-12 | 重庆猪八戒知识产权服务有限公司 | A kind of dynamic configuration html turns the method, apparatus and system of pdf |
Also Published As
Publication number | Publication date |
---|---|
CN111243044B (en) | 2023-04-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9098505B2 (en) | Framework for media presentation playback | |
CN111767254B (en) | Multi-file reading device and method based on format data stream file technology | |
US8046737B2 (en) | XML application framework | |
US8793649B2 (en) | XML application framework | |
US8156137B2 (en) | Data processing systems and methods | |
JPH02284196A (en) | Method,equipment,system and form making method for merge of character data and digital image | |
CN109254773A (en) | Skeleton page generation method, device, equipment and storage medium | |
US20080177800A1 (en) | Synchronizing undo/redo operations between different document views | |
CN111241793B (en) | Method, system and medium for resolving rich text editor content to render to native client | |
CN109445775B (en) | One-key active embedded code method, device and computer readable storage medium | |
CN105589959A (en) | Form processing method and form processing system | |
US11729248B2 (en) | Web application component migration to a cloud computing system | |
CN113553033B (en) | Object serialization and deserialization method, device and computer readable storage medium | |
CN111243044B (en) | PDF transcoding method and storage medium for webpage containing picture | |
US8667390B2 (en) | Asynchronous access to structured data | |
CN114861103B (en) | Page backtracking method and device, medium and electronic equipment | |
CN115830184A (en) | General file and picture annotation method, system and medium | |
US6952802B2 (en) | User controllable document converter and methods thereof | |
CN112417827B (en) | Method, device, electronic equipment and storage medium for on-line document editing and displaying | |
CN115170695A (en) | Method and device for generating chart picture, electronic equipment and storage medium | |
CN113468050A (en) | Canvas-based testing method and device, computer equipment and storage medium | |
CN102567460B (en) | Method for image asynchronous decoding in document loading | |
CN108228182A (en) | A kind of page assembling of Component- Based Development and operation method | |
CN115858081B (en) | UI (user interface) media resource display method, device, equipment and storage medium | |
CN118012694A (en) | Form data management method and device, electronic equipment 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 |