Data processing method and apparatus

CN115186213BActive Publication Date: 2026-08-21HUNDSUN TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210801973.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-08
Publication Date
2026-08-21
Estimated Expiration
2042-07-08

AI Technical Summary

Benefits of technology

[0052] One embodiment of this application implements a data processing method and apparatus. The data processing method includes receiving first attribute information corresponding to a graphic component and second attribute information corresponding to a non-graphic component in a file to be processed; performing graphic rendering based on the first attribute information to generate a vector graphic corresponding to the graphic component; performing type conversion processing on the vector graphic to generate a target type graphic object; performing type conversion processing on the non-graphic component according to the second attribute information to generate a target type table object; and rendering the target type graphic object and the target type table object according to the layout information corresponding to the graphic component and the non-graphic component in the target type file to generate a target type file corresponding to the file to be processed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115186213B_ABST
    Figure CN115186213B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a data processing method and device, wherein the data processing method comprises: receiving first attribute configuration information corresponding to a graphic component in a to-be-processed file and second attribute configuration information corresponding to a non-graphic component; performing graphic rendering based on the first attribute configuration information to generate a vector graph corresponding to the graphic component; performing type conversion processing on the vector graph to generate a target type graphic object; performing type conversion processing on the non-graphic component according to the second attribute configuration information to generate a target type table object; and performing rendering on the target type graphic object and the target type table object according to layout information corresponding to the graphic component and the non-graphic component in the to-be-processed file of the target type to generate a target type file corresponding to the to-be-processed file.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a data processing method. One or more embodiments of this application also relate to a data processing apparatus, a computing device, and a computer-readable storage medium. Background Technology

[0002] Browsers are one of the most frequently used applications when users browse the internet. With the rapid development of internet technology, browsers have gradually begun to offer users increasingly richer functionalities and services. Currently, some browser engines have implemented the function of converting web pages into corresponding PDF files. Based on this, users can also download or print PDF files as needed.

[0003] Meanwhile, with the development of mobile terminal technology, some mobile terminal systems also provide the function of converting web pages into corresponding PDF files. For example, some mobile terminal systems usually provide a built-in browser. Users can use the browser installed on the terminal system to convert web pages into corresponding PDF files. Alternatively, some mobile terminal systems provide application programming interfaces (APIs) for converting web pages into corresponding PDF files. Users can use these APIs to convert web pages into corresponding PDF files. Summary of the Invention

[0004] In view of this, embodiments of this application provide a data processing method. One or more embodiments of this application also relate to a data processing apparatus, a computing device, and a computer-readable storage medium, to address the technical deficiencies existing in the prior art.

[0005] According to a first aspect of the embodiments of this application, a data processing method is provided, including:

[0006] Receive the first attribute information corresponding to the graphical components in the file to be processed, and the second attribute information corresponding to the non-graphical components;

[0007] Based on the first attribute information, a graphic rendering is performed to generate a vector graphic corresponding to the graphic component;

[0008] The vector graphic is converted to a target type graphic object, and the non-graphic component is converted to a target type table object based on the second attribute information.

[0009] Based on the layout information corresponding to the graphic components and non-graphic components in the target type file, the target type graphic object and the target type table object are rendered to generate the target type file corresponding to the file to be processed.

[0010] Optionally, the step of performing graphic rendering based on the first attribute information to generate a vector graphic corresponding to the graphic component includes:

[0011] Invoke the first type of service to launch a browser without a graphical interface;

[0012] The graphical interface-free browser is used to generate vector graphics corresponding to the graphical components by rendering graphics based on the first attribute information.

[0013] The vector image is sent to a second type of service.

[0014] Optionally, the step of generating a vector graphic corresponding to the graphic component by performing graphic rendering based on the first attribute information through the non-graphical browser includes:

[0015] The package manager of the first type of service is used to obtain the component rendering statements run by the graphical interface browser to render the graphical components.

[0016] Based on the first attribute information, the component rendering statement is executed in the non-graphical browser to perform graphic rendering and generate the vector graphic corresponding to the graphic component.

[0017] Optionally, the step of performing type conversion processing on the vector graphic to generate a target type graphic object includes:

[0018] The second type service is invoked to perform type conversion processing on the vector graphic through the target type file editing library, generating a target type graphic object.

[0019] Optionally, the step of performing type conversion processing on the non-graphical component based on the second attribute information to generate a target type table object includes:

[0020] The second type service is invoked to perform type conversion processing on the non-graphical component using the target type file editing library and the second attribute information, thereby generating a target type table object.

[0021] Optionally, the non-graphical component includes a text component;

[0022] Accordingly, the step of performing type conversion processing on the non-graphical component based on the second attribute information to generate a target type table object includes:

[0023] The text content contained in the second attribute information is divided into segments to generate at least one text segment, wherein each text segment contains at least one character;

[0024] The target text fragment is converted to a target type table object, wherein the target type table object contains a cell, and at least one text contained in the target text fragment is stored in the cell, and the target text is one of the at least one text fragment.

[0025] Optionally, the non-graphical component includes an image component;

[0026] Accordingly, the step of performing type conversion processing on the non-graphical component based on the second attribute information to generate a target type table object includes:

[0027] Based on the coordinates and pixel values ​​of each pixel in the image component contained in the second attribute information, the image component is rendered to generate a corresponding rendering result.

[0028] The rendering result is subjected to type conversion processing to generate a target type table object, wherein the target type table object contains a cell, and the rendering result is stored in the cell.

[0029] Optionally, rendering the target type graphic object and the target type table object based on the layout information corresponding to the graphic component and the non-graphic component in the target type file includes:

[0030] Based on the first layout information corresponding to the graphical components and non-graphical components in the file to be processed, determine the second layout information corresponding to the graphical components and non-graphical components in the target type file;

[0031] Based on the second layout information, the target type graphic object and the target type table object are rendered.

[0032] Optionally, determining the second layout information corresponding to the graphical components and non-graphical components in the target type file based on the first layout information corresponding to the graphical components and non-graphical components in the file to be processed includes:

[0033] The specification information of the graphic components and non-graphic components in the file to be processed is determined, as well as the first coordinate information of the reference points in the graphic components and non-graphic components, and the first coordinate information and the specification information are used as the first layout information.

[0034] Determine the coordinate transformation relationship between the file to be processed and the target type file;

[0035] The first coordinate information is transformed according to the coordinate transformation relationship to generate the second coordinate information of the reference points in the graphic components and non-graphic components in the target type file, and the second coordinate information and the specification information are used as the second layout information corresponding to the graphic components and non-graphic components in the target type file.

[0036] Optionally, rendering the target type graphic object and the target type table object based on the layout information corresponding to the graphic component and the non-graphic component in the target type file includes:

[0037] The second attribute information is semantically recognized, and the business type corresponding to the file to be processed is determined based on the recognition result;

[0038] Determine the file template of the target type file corresponding to the business type, and render the target type graphic object and the target type table object according to the layout information of the graphic component and the non-graphic component in the file template.

[0039] Optionally, receiving the first attribute information corresponding to the graphical components in the file to be processed, and the second attribute information corresponding to the non-graphical components, includes:

[0040] Receive a target type file generation request sent by the client through a file type conversion interface;

[0041] The first attribute information corresponding to the graphical components in the file to be processed and the second attribute information corresponding to the non-graphical components in the file to be processed are determined in the target type file generation request.

[0042] Optionally, the file to be processed includes a visual report, and the target type file includes a PDF file.

[0043] According to a second aspect of the embodiments of this application, a data processing apparatus is provided, comprising:

[0044] The receiving module is configured to receive the first attribute information corresponding to the graphical components in the file to be processed, and the second attribute information corresponding to the non-graphical components.

[0045] The rendering module is configured to perform graphic rendering based on the first attribute information and generate a vector graphic corresponding to the graphic component.

[0046] The processing module is configured to perform type conversion processing on the vector graphic to generate a target type graphic object, and to perform type conversion processing on the non-graphic component according to the second attribute information to generate a target type table object;

[0047] The generation module is configured to render the target type graphic object and the target type table object based on the layout information corresponding to the graphic component and the non-graphic component in the target type file, and generate the target type file corresponding to the file to be processed.

[0048] According to a third aspect of the embodiments of this application, a computing device is provided, comprising:

[0049] Memory and processor;

[0050] The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions, wherein the processor executes the computer-executable instructions to implement the steps of the data processing method.

[0051] According to a fourth aspect of the embodiments of this application, a computer-readable storage medium is provided that stores computer-executable instructions, which, when executed by a processor, implement the steps of the data processing method.

[0052] One embodiment of this application implements a data processing method and apparatus. The data processing method includes receiving first attribute information corresponding to a graphic component and second attribute information corresponding to a non-graphic component in a file to be processed; performing graphic rendering based on the first attribute information to generate a vector graphic corresponding to the graphic component; performing type conversion processing on the vector graphic to generate a target type graphic object; performing type conversion processing on the non-graphic component according to the second attribute information to generate a target type table object; and rendering the target type graphic object and the target type table object according to the layout information corresponding to the graphic component and the non-graphic component in the target type file to generate a target type file corresponding to the file to be processed.

[0053] This application embodiment achieves the export of a file to be processed into a target type file at a low cost. The target type file consists of graphic objects and table objects, has high precision, and will not be distorted when zoomed in during preview. Furthermore, the target type file will not have pixel blurring when zoomed in for preview. In addition, since non-graphical components such as text and images in the file to be processed are converted into table objects when exporting the target type file, the copyability of non-graphical components in the target type file can be guaranteed, thereby improving the user experience. Attached Figure Description

[0054] Figure 1 This is a flowchart of a data processing method provided in one embodiment of this application;

[0055] Figure 2a This is a schematic diagram of a component splitting result provided in one embodiment of this application;

[0056] Figure 2b This is an interactive schematic diagram of a data processing procedure provided in one embodiment of this application;

[0057] Figure 3 This is a flowchart illustrating the process of applying the data processing method described in one embodiment of this application to a visualization report export scenario;

[0058] Figure 4 This is a schematic diagram of the structure of a data processing apparatus provided in one embodiment of this application;

[0059] Figure 5 This is a structural block diagram of a computing device provided in one embodiment of this application. Detailed Implementation

[0060] Many specific details are set forth in the following description to provide a full understanding of this application. However, this application can be implemented in many other ways different from those described herein, and those skilled in the art can make similar extensions without departing from the spirit of this application; therefore, this application is not limited to the specific embodiments disclosed below.

[0061] The terminology used in one or more embodiments of this application is for the purpose of describing particular embodiments only and is not intended to limit the scope of one or more embodiments of this application. The singular forms “a,” “the,” and “the” used in one or more embodiments of this application and in the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” used in one or more embodiments of this application refers to and includes any or all possible combinations of one or more associated listed items.

[0062] It should be understood that although the terms first, second, etc., may be used to describe various information in one or more embodiments of this application, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, first may also be referred to as second without departing from the scope of one or more embodiments of this application, and similarly, second may also be referred to as first. Depending on the context, the word "if" as used herein may be interpreted as "when," "when," or "in response to a determination."

[0063] First, the terms and concepts involved in one or more embodiments of this application will be explained.

[0064] Visual chart components: also known as visual charts, are page areas that contain a single graphic, table, or other single visual element (such as text or image). They can be further divided into graphic components, table components, text components, image components, etc.

[0065] Visualized reports: Web pages or other forms of files containing several visual charts.

[0066] npm packages: JavaScript packages that conform to certain standards and can be installed and run in web browsers and Node.js servers.

[0067] This application provides a data processing method. One or more embodiments of this application also relate to a data processing apparatus, a computing device, and a computer-readable storage medium, which will be described in detail in the following embodiments.

[0068] In the era of big data, web-based data visualization platforms have become essential tools for an increasing number of users, and visual reports have become a common form of analysis and reporting for many professionals. Along with the application of visual reports, there is a significant demand for report printing. Due to its standardized format, multi-client compatibility, and printability, PDF files have become an excellent medium for printing visual reports. However, achieving high-precision, high-fidelity batch printing of copyable PDF files has remained a challenge.

[0069] Currently, there are several main ways to export PDF files from a web visualization page:

[0070] 1. Export the PDF file directly using the browser's print function.

[0071] The problems with this method are that it exports the entire web page, which is insufficient if only a portion of the page is exported. Additionally, pagination is controlled by the browser, making precise control over page positions impossible, and batch export is not supported. Furthermore, other style-related issues also exist.

[0072] 2. The browser uses html2canvas to convert HTML into images and insert them into PDF files.

[0073] This method essentially converts an HTML webpage into an image and inserts it into a PDF file. The problem with this approach is that the PDF file becomes blurry when zoomed in, and the text within the file cannot be selected or copied.

[0074] 3. The backend embeds a browser to generate PDF files.

[0075] Both of the above methods require a front-end browser and cannot be directly used for API printing. To support batch printing via API, the back-end service needs to support exporting PDF files. This method essentially converts the HTML page format, requiring the web page to be rendered as a static HTML file before generating the PDF. However, visualization charts are often dynamically generated using JavaScript and lack static HTML output capabilities. Furthermore, this method also suffers from issues like blurred images when zoomed in and the inability to select or copy text.

[0076] Based on this, the embodiments of this application receive first attribute information corresponding to graphic components and second attribute information corresponding to non-graphic components in the file to be processed, perform graphic rendering based on the first attribute information to generate vector graphics corresponding to the graphic components, perform type conversion processing on the vector graphics to generate target type graphic objects, and perform type conversion processing on the non-graphic components according to the second attribute information to generate target type table objects, and render the target type graphic objects and the target type table objects according to the layout information corresponding to the graphic components and non-graphic components in the target type file to generate the target type file corresponding to the file to be processed.

[0077] This application embodiment achieves the export of a file to be processed into a target type file at a low cost. The target type file consists of graphic objects and table objects, and its precision is high. Therefore, when the target type file is previewed, scaling will not cause distortion, and pixel blurring will not occur when the target type file is enlarged for preview. In addition, since non-graphical components such as text and images in the file to be processed are converted into table objects when exporting the target type file, the reproducibility of non-graphical components in the target type file can be guaranteed.

[0078] See Figure 1 , Figure 1 A flowchart of a data processing method according to an embodiment of this application is shown, including the following steps:

[0079] Step 102: Receive the first attribute information corresponding to the graphic components in the file to be processed, and the second attribute information corresponding to the non-graphic components.

[0080] Specifically, graphic components are vector graphics composed of outer contour lines, including but not limited to drawn straight lines, circles, rectangles, curves, charts, and other components; non-graphical components are other components in the file to be processed besides graphic components, including but not limited to table components, text components, and image components.

[0081] The first attribute information refers to the attribute information corresponding to the graphic component. For example, if the graphic component is a rectangle, the first attribute information can be the length and width of the rectangle; if the graphic component is a circle, the first attribute information can be the coordinates of the center of the circle and the radius.

[0082] The second attribute information refers to the attribute information corresponding to non-graphical components. For example, if the non-graphical component is a table component, the second attribute information can be the number of rows and columns of the table, as well as the content information contained in each cell of the table; if the non-graphical component is an image component, the second attribute information can be the position information and pixel value of each pixel in the image component.

[0083] The data processing method provided in this application embodiment is applied to a client. When it is necessary to export the file to be processed into a target type file through the client, the client can first receive the first attribute information corresponding to the graphic component in the file to be processed and the second attribute information corresponding to the non-graphic component, so as to render the corresponding graphic component and non-graphic component based on the first attribute information and the second attribute information.

[0084] In practical applications, the files to be processed include visual reports, specifically visual reports from front-end web pages, and the target file type includes PDF files. Therefore, the files to be processed are exported as target file types, specifically, the visual reports from web pages are exported as PDF files.

[0085] In specific implementation, the system receives first attribute information corresponding to the graphical components in the file to be processed, and second attribute information corresponding to the non-graphical components, including:

[0086] Receive a target type file generation request sent by the client through a file type conversion interface;

[0087] The first attribute information corresponding to the graphical components in the file to be processed and the second attribute information corresponding to the non-graphical components in the file to be processed are determined in the target type file generation request.

[0088] Specifically, when a user needs to export a file to be processed into a target type file, the client can call the file type conversion interface provided by the backend service process and send a target type file generation request through the file type conversion interface. At the same time, the client can submit the first attribute information corresponding to the graphic components and the second attribute information corresponding to the non-graphic components in the file to be processed through the file type conversion interface. After receiving the target type file generation request, the client can determine the first attribute information corresponding to the graphic components and the second attribute information corresponding to the non-graphic components in the file to be processed carried in the target type file generation request, and generate the target type file corresponding to the file to be processed based on the first attribute information and the second attribute information.

[0089] By providing users with a file type conversion interface, it is possible to receive batch requests for generating target type files through the file type conversion interface, thereby enabling the batch export of target type files.

[0090] Step 104: Based on the first attribute information, perform graphic rendering to generate a vector graphic corresponding to the graphic component.

[0091] Specifically, after receiving the first attribute information corresponding to the graphic component, a vector graphic corresponding to the graphic component can be generated based on the first attribute information.

[0092] Vector graphics, also known as object-oriented images or drawing images, are mathematically defined as a series of points connected by lines. Their characteristics include infinite scalability; scaling, rotating, or transforming the graphics does not produce jagged edges; and high-resolution printing is possible. Therefore, generating target type files based on vector graphics can guarantee high precision and high definition of the graphic components in the target type files.

[0093] In specific implementation, graphic rendering is performed based on the first attribute information to generate a vector graphic corresponding to the graphic component, including:

[0094] Invoke the first type of service to launch a browser without a graphical interface;

[0095] The graphical interface-free browser is used to generate vector graphics corresponding to the graphical components by rendering graphics based on the first attribute information.

[0096] The vector image is sent to a second type of service.

[0097] Furthermore, through the graphical interface-less browser and based on the first attribute information, graphic rendering is performed to generate vector graphics corresponding to the graphic components, including:

[0098] The package manager of the first type of service is used to obtain the component rendering statements run by the graphical interface browser to render the graphical components.

[0099] Based on the first attribute information, the component rendering statement is executed in the non-graphical browser to perform graphic rendering and generate the vector graphic corresponding to the graphic component.

[0100] Specifically, the first type of service can be a Node.js service, and the second type of service can be a Java service; a browser without a graphical interface, i.e., a headless browser, is a browser without a user graphical interface (GUI).

[0101] The package manager, npm (node ​​package manager), and the code statements used (component rendering statements), are packages. The package manager allows users to download and install command-line programs written by other users from the NPM server to use locally.

[0102] Therefore, in the case where it is necessary to render and generate a vector graphic corresponding to a graphic component based on the first attribute information, the embodiments of this application can first start the Java service and the Node.js service in the form of processes. The service processes of the Java service and the Node.js service are the backend service processes. Then, the headless browser is started through the service process of the Node.js service. Then, the component rendering statement used by the graphical interface browser to render the graphic component is obtained through the npm of the Node.js service. Based on the first attribute information, the component rendering statement is run in the headless browser to perform graphic rendering and generate the vector graphic corresponding to the graphic component. Then, the vector graphic is sent to the service process of the Java service.

[0103] This application embodiment renders the graphical components by running the component rendering statements of the graphical interface browser in the headless browser of the backend service process, which helps to ensure the consistency between the generated rendering result and the rendering result of the graphical component in the graphical interface browser.

[0104] Step 106: Perform type conversion processing on the vector graphic to generate a target type graphic object, and perform type conversion processing on the non-graphic component according to the second attribute information to generate a target type table object.

[0105] In specific implementation, the vector graphic is subjected to type conversion processing to generate a target type graphic object, including:

[0106] The second type service is invoked to perform type conversion processing on the vector graphic through the target type file editing library, generating a target type graphic object.

[0107] Furthermore, the step of performing type conversion processing on the non-graphical component based on the second attribute information to generate a target type table object includes:

[0108] The second type service is invoked to perform type conversion processing on the non-graphical component using the target type file editing library and the second attribute information, thereby generating a target type table object.

[0109] Specifically, as mentioned earlier, the second type of service can be a Java service, while the target type of file editing library can be OpenPDF, an open-source Java library for creating and editing PDF files.

[0110] After the Node.js service process sends the rendered vector image to the Java service, the Java service process can then use OpenPDF to perform type conversion on the vector image and generate a target type graphic object, namely a PDF graphic object.

[0111] Similarly, after receiving the second attribute information corresponding to the non-graphical component in the file to be processed, the service process of the Java service can be called to perform type conversion processing on the non-graphical component through OpenPDF and the second attribute information to generate a target type table object, namely a PDF table object.

[0112] In practical applications, the non-graphical components include text components;

[0113] Accordingly, the step of performing type conversion processing on the non-graphical component based on the second attribute information to generate a target type table object includes:

[0114] The text content contained in the second attribute information is divided into segments to generate at least one text segment, wherein each text segment contains at least one character;

[0115] The target text fragment is converted to a target type table object, wherein the target type table object contains a cell, and at least one text contained in the target text fragment is stored in the cell, and the target text is one of the at least one text fragment.

[0116] Specifically, when the non-graphical component includes a text component, the second attribute information corresponding to the non-graphical component may include the text content information, text color information, and text font information contained in the text component.

[0117] Therefore, when it is necessary to convert non-graphical components into target type table objects, the text content contained in the second attribute information can be divided into segments to generate at least one text segment. Each text segment contains at least one character. Then, each text segment is converted to a target type table object, i.e., a PDF table object, corresponding to each text segment. Each PDF table object corresponding to each text segment contains only one virtual cell, and at least one character contained in each text segment is stored in the virtual cell contained in its corresponding PDF table object.

[0118] In this embodiment of the application, since the text components in the file to be processed are converted into table objects when the target type file is exported, the copyability of the text content in the target type file can be guaranteed, thereby improving the user experience.

[0119] Alternatively, the non-graphical component may include an image component;

[0120] Accordingly, the step of performing type conversion processing on the non-graphical component based on the second attribute information to generate a target type table object includes:

[0121] Based on the coordinates and pixel values ​​of each pixel in the image component contained in the second attribute information, the image component is rendered to generate a corresponding rendering result.

[0122] The rendering result is subjected to type conversion processing to generate a target type table object, wherein the target type table object contains a cell, and the rendering result is stored in the cell.

[0123] Specifically, when the non-graphical component includes an image component, the second attribute information corresponding to the non-graphical component can include the coordinate information and pixel value of each pixel in the image component.

[0124] Therefore, when it is necessary to convert a non-graphical component into a target type table object, the image component can be rendered first based on the coordinate information and pixel value of each pixel in the image component contained in the second attribute information to generate the corresponding rendering result; then the rendering result is converted to generate the target type table object, namely a PDF table object. Each PDF table object corresponding to each image component contains only one virtual cell, and the rendering result of each image component is stored in the virtual cell contained in its corresponding PDF table object.

[0125] In this embodiment, since the image component in the file to be processed is converted into a table object when the target type file is exported, the copyability of the image content in the target type file can be guaranteed, thereby improving the user experience.

[0126] Step 108: Render the target type graphic object and the target type table object according to the layout information corresponding to the graphic component and the non-graphic component in the target type file to generate the target type file corresponding to the file to be processed.

[0127] Specifically, layout information refers to the location information of graphical and non-graphical components in the target type file.

[0128] After obtaining the target type graphic object corresponding to the graphic component based on the first attribute information, and obtaining the target type table object corresponding to the non-graphic component based on the second attribute information, the target type graphic object and the target type table object can be rendered according to the layout information of the graphic component and the non-graphic component in the target type file, and the target type file corresponding to the file to be processed can be generated.

[0129] In specific implementation, based on the layout information corresponding to the graphic components and non-graphic components in the target type file, the target type graphic object and the target type table object are rendered, including:

[0130] Based on the first layout information corresponding to the graphical components and non-graphical components in the file to be processed, determine the second layout information corresponding to the graphical components and non-graphical components in the target type file;

[0131] Based on the second layout information, the target type graphic object and the target type table object are rendered.

[0132] Further, based on the first layout information corresponding to the graphical components and non-graphical components in the file to be processed, the second layout information corresponding to the graphical components and non-graphical components in the target type file is determined, including:

[0133] The specification information of the graphic components and non-graphic components in the file to be processed is determined, as well as the first coordinate information of the reference points in the graphic components and non-graphic components, and the first coordinate information and the specification information are used as the first layout information.

[0134] Determine the coordinate transformation relationship between the file to be processed and the target type file;

[0135] The first coordinate information is transformed according to the coordinate transformation relationship to generate the second coordinate information of the reference points in the graphic components and non-graphic components in the target type file, and the second coordinate information and the specification information are used as the second layout information corresponding to the graphic components and non-graphic components in the target type file.

[0136] Specifically, since this application embodiment requires exporting the file to be processed into a target type file, in order to ensure that the layout of the graphic components and non-graphic components in the exported target type file is consistent with its layout in the file to be processed, the second layout information corresponding to the graphic components and non-graphic components in the target type file can be determined according to the first layout information corresponding to the graphic components and non-graphic components in the file to be processed. Then, the target type graphic object and the target type table object are rendered according to the second layout information to generate the target type file corresponding to the file to be processed.

[0137] The first layout information, namely the position information of the graphic components and non-graphic components in the file to be processed, may include the specification information of the graphic components or non-graphic components, and the first coordinate information of the reference point in the graphic components or non-graphic components in the file to be processed. The specification information includes, but is not limited to, the shape, side length or perimeter of the graphic components or non-graphic components.

[0138] The second layout information, namely the position information of the graphic components and non-graphic components in the target type file, may include the specification information of the graphic components or non-graphic components, as well as the second coordinate information of the reference points in the graphic components or non-graphic components in the target type file.

[0139] In practical applications, if the file to be processed is a visual report of a front-end web page, when determining the first layout information corresponding to the graphical and non-graphical components in the file to be processed, the display area of ​​the visual report on the front-end web page can be componentized into preview components and chart components. The chart components can be further divided into graphical components and non-graphical components (such as tables, text, and images). A schematic diagram of the component decomposition result provided in this application embodiment is shown below. Figure 2a As shown.

[0140] Figure 2a In this layout, the visualization report display area is the preview component display area, and all chart components are contained within the preview component display area. A Cartesian coordinate system is established with the top-left corner of the preview component as the origin, and the horizontal and vertical directions as the x-axis and y-axis, respectively. Then, the top-left corner of each chart component is used as a reference point, and the coordinates of the reference point in the Cartesian coordinate system, as well as the width and height of each chart component in the Cartesian coordinate system, together with the coordinates of the reference point and the width and height of the chart component, constitute the first layout information.

[0141] In addition, since the preview components of the target type file and the preview components of the file to be processed may have different specifications, i.e., their width and / or height, or the origin positions of the Cartesian coordinate system in the target type file and the Cartesian coordinate system in the file to be processed may differ, the coordinate transformation relationship between the file to be processed and the target type file can be determined first when determining the second layout information based on the first layout information. This coordinate transformation relationship can be determined based on the coordinate transformation relationship between the first coordinate of the same point in the coordinate system of the file to be processed and its second coordinate in the coordinate system of the target type file.

[0142] After determining the coordinate transformation relationship, the first coordinate information can be transformed according to this relationship to generate the second coordinate information of the reference points in the graphic components and non-graphic components of the target type file. Then, the second coordinate information and specification information can be used as the second layout information corresponding to the graphic components and non-graphic components in the target type file. Next, the target type graphic object and target type table object can be rendered according to the second layout information. Specifically, a virtual table template corresponding to the target type file can be generated first according to the second layout information. That is, according to the coordinate information and specification information of each component in the second layout information, the size and position of the cells used to display different components in the target type file are determined. Then, cells with different positions and different sizes together constitute the virtual table template corresponding to the target type file. Then, when rendering the target type graphic object and target type table object, the target type graphic object and target type table object can be added to the corresponding cells in the virtual table template.

[0143] In addition, based on the layout information corresponding to the graphic components and non-graphic components in the target type file, the target type graphic object and the target type table object are rendered, including:

[0144] The second attribute information is semantically recognized, and the business type corresponding to the file to be processed is determined based on the recognition result;

[0145] Determine the file template of the target type file corresponding to the business type, and render the target type graphic object and the target type table object according to the layout information of the graphic component and the non-graphic component in the file template.

[0146] Specifically, when exporting target type files in batches for a certain business, in order to ensure the consistency of the layout information of the exported target type files, this application embodiment can render the target type graphic objects and target type table objects according to the layout information corresponding to the graphic components and non-graphic components in the file template of the target type files.

[0147] In practical applications, the business types corresponding to the files to be processed include, but are not limited to, financial management, sales, and recruitment. Since the file templates of the target type files may differ for different business types, before rendering the target type graphic objects and target type table objects, the second attribute information can be semantically recognized. Specifically, the text content contained in the second attribute information can be semantically recognized first, and the business type corresponding to the file to be processed can be determined based on the recognition results. Then, the file template of the target type file corresponding to the business type can be determined, and the target type graphic objects and target type table objects can be rendered based on the layout information of the graphic components and non-graphic components in the file template to generate the target type file corresponding to the file to be processed.

[0148] An interactive schematic diagram of a data processing procedure provided in this application embodiment is shown below. Figure 2b As shown, the specific steps include:

[0149] Step 201: The browser or third-party application sends a PDF file export request for the visualization report to the service process of the Java service in the backend service process.

[0150] Specifically, the export request carries the layout information and component configuration information of the graphical and non-graphical components in the visualization report.

[0151] Step 202: The Java service process sends the component configuration information of the graphics component to the Node.js service.

[0152] Step 203, layout generation.

[0153] Specifically, based on the first layout information of the graphical and non-graphical components in the visualization report, the second layout information of the graphical and non-graphical components in the PDF file is generated.

[0154] Step 204: The Java service process converts non-graphical components into table objects using OpenPDF.

[0155] Launch a headless browser using a Node.js service.

[0156] Step 205: The Node.js service process renders the graphical components by running the npm package in the headless browser, generating vector graphics corresponding to the graphical components.

[0157] Step 206: The Node.js service sends the vector graphics to the Java service's service process.

[0158] Step 207: The Java service process converts the graphic components into graphic objects (images) using OpenPDF based on the vector graphics.

[0159] Step 208, layout backfilling.

[0160] Specifically, based on the second layout information, table objects and graphic objects are filled into the corresponding positions in the PDF template file to generate a PDF file.

[0161] Step 209: Send the PDF file to a browser or third-party application.

[0162] This application embodiment splits the web visualization report configuration into a preview component and a chart component. The preview component records the relative position of the chart component, and the chart component records the chart visualization attributes. The web client and backend service processes use the same npm package to render the chart component, ensuring the consistency of the rendering results. The chart component is further divided into a graphic component and a non-graphic component. The non-graphic component is converted into a PDF table object by the Java service. The graphic component is rendered into a vector graphic by the Node.js service process using a headless browser and sent to the Java service process. The Java service process then converts it into a PDF graphic object. The Java service process then fills the converted PDF table object and PDF graphic object back into the layout to form the final PDF file. This allows high-precision graphics and tables to be exported simultaneously without scaling distortion. The text exported from the table and text components can be copied, and batch export is possible through the communication interface.

[0163] One embodiment of this application implements a data processing method and apparatus. The data processing method includes receiving first attribute information corresponding to a graphic component and second attribute information corresponding to a non-graphic component in a file to be processed; performing graphic rendering based on the first attribute information to generate a vector graphic corresponding to the graphic component; performing type conversion processing on the vector graphic to generate a target type graphic object; performing type conversion processing on the non-graphic component according to the second attribute information to generate a target type table object; and rendering the target type graphic object and the target type table object according to the layout information corresponding to the graphic component and the non-graphic component in the target type file to generate a target type file corresponding to the file to be processed.

[0164] This application embodiment achieves the export of a file to be processed into a target type file at a low cost. The target type file consists of graphic objects and table objects, has high precision, and will not be distorted when zoomed in during preview. Furthermore, the target type file will not have pixel blurring when zoomed in for preview. In addition, since non-graphical components such as text and images in the file to be processed are converted into table objects when exporting the target type file, the copyability of non-graphical components in the target type file can be guaranteed, thereby improving the user experience.

[0165] See Figure 3 Taking the application of the data processing method provided in the embodiments of this application in a visualization report export scenario as an example, the data processing method will be further explained. Among them, Figure 3 This paper illustrates a flowchart of a data processing method provided in an embodiment of this application, applied to a visualization report export scenario. The method specifically includes the following steps:

[0166] Step 302: Receive the PDF file generation request sent by the client through the file type conversion interface.

[0167] Step 304: Determine the first attribute information corresponding to the graphical components in the visualization report and the second attribute information corresponding to the non-graphical components carried in the PDF file generation request.

[0168] Step 306: The service process of the Node.js service is invoked to start the headless browser, and the npm package used by the npm of the Node.js service to render the graphics components of the web page is obtained.

[0169] Step 308: Based on the first attribute information, run the npm package in the headless browser to perform graphics rendering, generate vector graphics corresponding to the graphics components, and send the vector graphics to the service process of the Java service.

[0170] Step 310: The service process that calls the Java service performs type conversion on the vector graphic using openPDF to generate a PDF graphic object.

[0171] Step 312: The service process that calls the Java service performs type conversion on the non-graphical component using openPDF and the second attribute information to generate a PDF table object.

[0172] Step 314: Based on the first layout information corresponding to the graphic components and non-graphic components in the visualization report, determine the second layout information corresponding to the graphic components and non-graphic components in the PDF file.

[0173] Step 316: Render the PDF graphic object and PDF table object according to the second layout information to generate the PDF file corresponding to the visualization report.

[0174] This application embodiment achieves the export of visual reports as PDF files at a low cost. The PDF file consists of graphic objects and table objects, has high precision, and does not deform when zoomed in during preview. Furthermore, the PDF file does not exhibit pixel blurring when enlarged during preview. In addition, since non-graphical components such as text and images in the visual report are converted into table objects when exporting the PDF file, the copyability of non-graphical components in the PDF file can be guaranteed, thereby improving the user experience.

[0175] Corresponding to the above method embodiments, this application also provides data processing apparatus embodiments. Figure 4 A schematic diagram of the structure of a data processing apparatus according to an embodiment of this application is shown. Figure 4 As shown, the device includes:

[0176] The receiving module 402 is configured to receive first attribute information corresponding to the graphic components in the file to be processed, and second attribute information corresponding to the non-graphic components.

[0177] Rendering module 404 is configured to perform graphic rendering based on the first attribute information and generate a vector graphic corresponding to the graphic component.

[0178] The processing module 406 is configured to perform type conversion processing on the vector graphic to generate a target type graphic object, and to perform type conversion processing on the non-graphic component according to the second attribute information to generate a target type table object;

[0179] The generation module 408 is configured to render the target type graphic object and the target type table object according to the layout information corresponding to the graphic component and the non-graphic component in the target type file, and generate the target type file corresponding to the file to be processed.

[0180] Optionally, the rendering module 404 is further configured to:

[0181] Invoke the first type of service to launch a browser without a graphical interface;

[0182] The graphical interface-free browser is used to generate vector graphics corresponding to the graphical components by rendering graphics based on the first attribute information.

[0183] The vector image is sent to a second type of service.

[0184] Optionally, the rendering module 404 is further configured to:

[0185] The package manager of the first type of service is used to obtain the component rendering statements run by the graphical interface browser to render the graphical components.

[0186] Based on the first attribute information, the component rendering statement is executed in the non-graphical browser to perform graphic rendering and generate the vector graphic corresponding to the graphic component.

[0187] Optionally, the processing module 406 is further configured to:

[0188] The second type service is invoked to perform type conversion processing on the vector graphic through the target type file editing module, generating a target type graphic object.

[0189] Optionally, the processing module 406 is further configured to:

[0190] The second type service is invoked to perform type conversion processing on the non-graphical component through the target type file editing module and the second attribute information, generating a target type table object.

[0191] Optionally, the processing module 406 is further configured to:

[0192] The text content contained in the second attribute information is divided into segments to generate at least one text segment, wherein each text segment contains at least one character;

[0193] The target text fragment is converted to a target type table object, wherein the target type table object contains a cell, and at least one text contained in the target text fragment is stored in the cell, and the target text is one of the at least one text fragment.

[0194] Optionally, the non-graphical component includes an image component;

[0195] Accordingly, the processing module 406 is further configured to:

[0196] Based on the coordinates and pixel values ​​of each pixel in the image component contained in the second attribute information, the image component is rendered to generate a corresponding rendering result.

[0197] The rendering result is subjected to type conversion processing to generate a target type table object, wherein the target type table object contains a cell, and the rendering result is stored in the cell.

[0198] Optionally, the generation module 408 is further configured to:

[0199] Based on the first layout information corresponding to the graphical components and non-graphical components in the file to be processed, determine the second layout information corresponding to the graphical components and non-graphical components in the target type file;

[0200] Based on the second layout information, the target type graphic object and the target type table object are rendered.

[0201] Optionally, the generation module 408 is further configured to:

[0202] The specification information of the graphic components and non-graphic components in the file to be processed is determined, as well as the first coordinate information of the reference points in the graphic components and non-graphic components, and the first coordinate information and the specification information are used as the first layout information.

[0203] Determine the coordinate transformation relationship between the file to be processed and the target type file;

[0204] The first coordinate information is transformed according to the coordinate transformation relationship to generate the second coordinate information of the reference points in the graphic components and non-graphic components in the target type file, and the second coordinate information and the specification information are used as the second layout information corresponding to the graphic components and non-graphic components in the target type file.

[0205] Optionally, the generation module 408 is further configured to:

[0206] The second attribute information is semantically recognized, and the business type corresponding to the file to be processed is determined based on the recognition result;

[0207] Determine the file template of the target type file corresponding to the business type, and render the target type graphic object and the target type table object according to the layout information of the graphic component and the non-graphic component in the file template.

[0208] Optionally, the receiving module 402 is further configured to:

[0209] Receive a target type file generation request sent by the client through a file type conversion interface;

[0210] The first attribute information corresponding to the graphical components in the file to be processed and the second attribute information corresponding to the non-graphical components in the file to be processed are determined in the target type file generation request.

[0211] Optionally, the file to be processed includes a visual report, and the target type file includes a PDF file.

[0212] The above is an illustrative scheme of a data processing apparatus according to this embodiment. It should be noted that the technical solution of this data processing apparatus and the technical solution of the data processing method described above belong to the same concept. For details not described in detail in the technical solution of the data processing apparatus, please refer to the description of the technical solution of the data processing method described above.

[0213] Figure 5A structural block diagram of a computing device 500 according to an embodiment of this application is shown. The components of the computing device 500 include, but are not limited to, a memory 510 and a processor 520. The processor 520 is connected to the memory 510 via a bus 530, and a database 550 is used to store data.

[0214] The computing device 500 also includes an access device 540, which enables the computing device 500 to communicate via one or more networks 560. Examples of these networks include a Public Switched Telephone Network (PSTN), a Local Area Network (LAN), a Wide Area Network (WAN), a Personal Area Network (PAN), or a combination of communication networks such as the Internet. The access device 540 may include one or more of any type of wired or wireless network interface (e.g., a Network Interface Card (NIC)), such as an IEEE 802.11 Wireless Local Area Network (WLAN) interface, a Wi-MAX interface, an Ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a Bluetooth interface, a Near Field Communication (NFC) interface, and so on.

[0215] In one embodiment of this application, the aforementioned components of the computing device 500 and Figure 5 Other components, not shown, can also be connected to each other, for example, via a bus. It should be understood that... Figure 5 The block diagram of the computing device shown is for illustrative purposes only and is not intended to limit the scope of this application. Those skilled in the art can add or replace other components as needed.

[0216] The computing device 500 can be any type of stationary or mobile computing device, including mobile computers or mobile computing devices (e.g., tablet computers, personal digital assistants, laptop computers, notebook computers, netbooks, etc.), mobile phones (e.g., smartphones), wearable computing devices (e.g., smartwatches, smart glasses, etc.) or other types of mobile devices, or stationary computing devices such as desktop computers or PCs. The computing device 500 can also be a mobile or stationary server.

[0217] The processor 520 is configured to execute the following computer-executable instructions, wherein the processor executes the computer-executable instructions to implement the steps of the data processing method.

[0218] The above is an illustrative scheme of a computing device according to this embodiment. It should be noted that the technical solution of this computing device and the technical solution of the data processing method described above belong to the same concept. For details not described in detail in the technical solution of the computing device, please refer to the description of the technical solution of the data processing method described above.

[0219] An embodiment of this application also provides a computer-readable storage medium storing computer-executable instructions that, when executed by a processor, implement the steps of the data processing method.

[0220] The above is an illustrative scheme of a computer-readable storage medium according to this embodiment. It should be noted that the technical solution of this storage medium and the technical solution of the data processing method described above belong to the same concept. For details not described in detail in the technical solution of the storage medium, please refer to the description of the technical solution of the data processing method described above.

[0221] The foregoing has described specific embodiments of this application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired results. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0222] The computer instructions include computer program code, which may be in the form of source code, object code, executable file, or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording media, USB flash drive, portable hard drive, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content included in the computer-readable medium may be appropriately added to or subtracted according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media may not include electrical carrier signals and telecommunication signals.

[0223] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that the embodiments of this application are not limited to the described order of actions, because according to the embodiments of this application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily essential to the embodiments of this application.

[0224] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0225] The preferred embodiments disclosed above are merely illustrative of this application. The optional embodiments do not exhaustively describe all details, nor do they limit the invention to the specific implementations described. Clearly, many modifications and variations can be made based on the embodiments of this application. These embodiments are selected and specifically described in this application to better explain the principles and practical applications of the embodiments of this application, thereby enabling those skilled in the art to better understand and utilize this application. This application is limited only by the claims and their full scope and equivalents.

Claims

1. A data processing method, characterized in that, include: Receive first attribute information corresponding to graphic components and second attribute information corresponding to non-graphic components in the file to be processed, wherein the non-graphic components include text components and image components; The package manager obtains the component rendering statements run by the graphical interface browser to render the graphical component, and runs the component rendering statements without a graphical interface browser to perform graphic rendering based on the first attribute information and generate the vector graphic corresponding to the graphical component. The vector graphic is converted to a target type graphic object, and the text content of the text component in the second attribute information is divided into segments to generate text segments. The image component is rendered according to the second attribute information to generate a rendering result. The text segments and the rendering result are converted to a target type table object. Based on the layout information corresponding to the graphic components and non-graphic components in the target type file, the target type graphic object and the target type table object are rendered to generate the target type file corresponding to the file to be processed.

2. The data processing method according to claim 1, characterized in that, The step of obtaining the component rendering statements used by the graphical interface browser to render the graphical component through the package manager, and running the component rendering statements without a graphical interface browser to perform graphic rendering based on the first attribute information and generate the vector graphic corresponding to the graphical component includes: Invoke the first type of service to launch a browser without a graphical interface; The graphical interface-free browser is used to generate vector graphics corresponding to the graphical components by rendering graphics based on the first attribute information. The vector image is sent to a second type of service.

3. The data processing method according to claim 2, characterized in that, The step of generating a vector graphic corresponding to the graphic component by rendering graphics based on the first attribute information using the non-graphical browser includes: The package manager of the first type of service is used to obtain the component rendering statements run by the graphical interface browser to render the graphical components. Based on the first attribute information, the component rendering statement is executed in the non-graphical browser to perform graphic rendering and generate the vector graphic corresponding to the graphic component.

4. The data processing method according to claim 2 or 3, characterized in that, The step of performing type conversion processing on the vector graphic to generate a target type graphic object includes: The second type service is invoked to perform type conversion processing on the vector graphic through the target type file editing library, generating a target type graphic object.

5. The data processing method according to claim 2 or 3, characterized in that, Also includes: The second type service is invoked to perform type conversion processing on the non-graphical component using the target type file editing library and the second attribute information, thereby generating a target type table object.

6. The data processing method according to claim 1, characterized in that, The step of segmenting the text content of the text component in the second attribute information to generate text fragments includes: The text content contained in the second attribute information is divided into segments to generate at least one text segment, wherein each text segment contains at least one character; The type conversion process for the text fragment includes: The target text fragment is subjected to type conversion processing, wherein the target type table object contains a cell, at least one character contained in the target text fragment is stored in the cell, and the target text fragment is one of the at least one text fragment.

7. The data processing method according to claim 1, characterized in that, The step of rendering the image component based on the second attribute information to generate a rendering result includes: Based on the coordinates and pixel values ​​of each pixel in the image component contained in the second attribute information, the image component is rendered to generate a corresponding rendering result. The target type table object contains a cell, and the rendering result is stored in the cell.

8. The data processing method according to claim 1, characterized in that, The step of rendering the target type graphic object and the target type table object based on the layout information corresponding to the graphic component and the non-graphic component in the target type file includes: Based on the first layout information corresponding to the graphical components and non-graphical components in the file to be processed, determine the second layout information corresponding to the graphical components and non-graphical components in the target type file; Based on the second layout information, the target type graphic object and the target type table object are rendered.

9. The data processing method according to claim 8, characterized in that, The step of determining the second layout information corresponding to the graphical components and non-graphical components in the target type file based on the first layout information corresponding to the graphical components and non-graphical components in the file to be processed includes: The specification information of the graphic components and non-graphic components in the file to be processed is determined, as well as the first coordinate information of the reference points in the graphic components and non-graphic components, and the first coordinate information and the specification information are used as the first layout information. Determine the coordinate transformation relationship between the file to be processed and the target type file; The first coordinate information is transformed according to the coordinate transformation relationship to generate the second coordinate information of the reference points in the graphic components and non-graphic components in the target type file, and the second coordinate information and the specification information are used as the second layout information corresponding to the graphic components and non-graphic components in the target type file.

10. The data processing method according to claim 1, characterized in that, The step of rendering the target type graphic object and the target type table object based on the layout information corresponding to the graphic component and the non-graphic component in the target type file includes: The second attribute information is semantically recognized, and the business type corresponding to the file to be processed is determined based on the recognition result; Determine the file template of the target type file corresponding to the business type, and render the target type graphic object and the target type table object according to the layout information of the graphic component and the non-graphic component in the file template.

11. The data processing method according to claim 1, characterized in that, The step of receiving the first attribute information corresponding to the graphical components in the file to be processed, and the second attribute information corresponding to the non-graphical components, includes: Receive a target type file generation request sent by the client through a file type conversion interface; The first attribute information corresponding to the graphical components in the file to be processed and the second attribute information corresponding to the non-graphical components in the file to be processed are determined in the target type file generation request.

12. The data processing method according to claim 1, characterized in that, The files to be processed include visual reports, and the target type files include PDF files.

13. A data processing apparatus, characterized in that, include: The receiving module is configured to receive first attribute information corresponding to graphic components and second attribute information corresponding to non-graphic components in the file to be processed, wherein the non-graphic components include text components and image components. The rendering module is configured to obtain the component rendering statements run by the graphical interface browser for rendering the graphical component through the package manager, and run the component rendering statements without a graphical interface browser to perform graphic rendering based on the first attribute information and generate the vector graphic corresponding to the graphical component. The processing module is configured to perform type conversion processing on the vector graphic to generate a target type graphic object, and to divide the text content of the text component in the second attribute information into fragments to generate text fragments, and to render the image component according to the second attribute information to generate a rendering result, and to perform type conversion processing on the text fragments and the rendering result to generate a target type table object; The generation module is configured to render the target type graphic object and the target type table object based on the layout information corresponding to the graphic component and the non-graphic component in the target type file, and generate the target type file corresponding to the file to be processed.

14. A computing device, characterized in that, include: Memory and processor; The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions, wherein when the processor executes the computer-executable instructions, it implements the steps of the data processing method according to any one of claims 1-12.

15. A computer-readable storage medium, characterized in that, It stores computer instructions that, when executed by a processor, implement the steps of the data processing method according to any one of claims 1-12.

Citation Information

Patent Citations

  • Information processing method, information processing device and terminal equipment

    CN111159594A

  • Webpage screen sharing method and system

    CN113868575A