Data conversion method and device, storage medium and touch display device

By capturing editing operations within the whiteboard application and converting them into a format recognizable by other applications, the problem of whiteboard application elements being unable to be edited a second time is solved, thus improving the user's interactive experience.

CN116340012BActive Publication Date: 2026-01-06GUANGZHOU SHIYUAN ELECTRONICS CO LTD +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202111591665.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-23
Publication Date
2026-01-06
Estimated Expiration
2041-12-23

AI Technical Summary

Technical Problem

When using the whiteboard application, edited image elements cannot be further edited in other applications, affecting the user's interactive experience.

Method used

By acquiring the editing operations of the first application, determining its format data, and converting it into format data recognizable by the second application, the user can perform secondary editing in the second application.

Benefits of technology

It enables data format conversion between different applications, allowing users to perform secondary editing operations in the first application within the second application, thus enhancing the user's interactive editing experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116340012B_ABST
    Figure CN116340012B_ABST
Patent Text Reader

Abstract

The application discloses a data conversion method and device, a storage medium and a touch display device. The method comprises the following steps: obtaining a first editing operation based on a first application program, and determining first format data corresponding to the first application program according to the first editing operation; then converting the first format data into second format data, and displaying the second format data based on a second application program. Through the data conversion of the editing interface element corresponding to the first editing operation obtained in the first application program, the user can perform secondary editing on the editing interface element corresponding to the first editing operation in the second application program, thereby meeting the interactive editing experience of the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of terminal interaction technology, and specifically relates to a data conversion method, apparatus, storage medium and touch display device. Background Technology

[0002] When using a whiteboard application, images generated by other applications are typically inserted for editing. However, because the whiteboard application cannot manipulate the elements within the image, it can negatively impact the user's editing experience. Furthermore, elements edited in the whiteboard application cannot be further edited in other applications, which also affects the user's interactive experience. Summary of the Invention

[0003] This application provides a data conversion method, apparatus, storage medium, and touch display device, the technical solutions of which are as follows:

[0004] In a first aspect, embodiments of this application provide a data conversion method, the method comprising:

[0005] The first editing operation is obtained based on the first application;

[0006] Based on the first editing operation, first format data corresponding to the first application is determined, and the first format data includes at least one editing interface element;

[0007] Convert the data in the first format to the data in the second format;

[0008] The second application displays second format data, which includes at least one editing interface element for receiving a second editing operation.

[0009] In one alternative to the first aspect, before determining the first format data corresponding to the first application based on the first editing operation, the method further includes:

[0010] Get the background corresponding to the first editing operation;

[0011] The first format data corresponding to the first application is determined based on the first editing operation, including:

[0012] The first format data corresponding to the first application is determined based on the first editing operation and the background.

[0013] In another alternative of the first aspect, the second format data includes at least one editing interface element for receiving a second editing operation and an image interface element corresponding to the background, the image interface element corresponding to the background being used to receive a third editing operation.

[0014] In another alternative to the first aspect, converting the first format data to the second format data includes:

[0015] Convert the first format data into standard format data according to the first preset rule;

[0016] Convert the standard format data into the second format data according to the second preset rule.

[0017] In another alternative to the first aspect, after converting the first format data to standard format data according to a first preset rule and before converting the standard format data to second format data according to a second preset rule, the method further includes:

[0018] Calculate the amount of data in standard format;

[0019] Convert standard format data to second format data according to the second preset rule, including:

[0020] When the amount of standard format data falls within the first preset range, the standard format data is sent to the second application in the first form based on the third application.

[0021] The second application converts standard format data into second format data according to the second preset rules.

[0022] When the amount of standard format data falls within the second preset range, the standard format data is sent to the second application in the second form based on the third application.

[0023] The second application converts standard format data into second format data according to the second preset rules.

[0024] In another alternative to the first aspect, before displaying the second format data based on the second application, the method further includes:

[0025] Obtain the target application information corresponding to the first application;

[0026] The second application is determined based on the target application information.

[0027] In another alternative to the first aspect, displaying data in a second format based on a second application includes:

[0028] The user operation is obtained in the display interface of the second application, and the reference position of the second format data is displayed based on the user operation;

[0029] When the user operation ends in the display interface of the second application, the target display position of the second format data is determined based on the reference position.

[0030] Secondly, embodiments of this application provide a data conversion apparatus, the apparatus comprising:

[0031] The first acquisition module is used to acquire the first editing operation based on the first application;

[0032] The processing module is used to determine first format data corresponding to the first application based on the first editing operation. The first format data includes at least one editing interface element.

[0033] The conversion module is used to convert data in the first format to data in the second format.

[0034] A display module is used to display second format data based on a second application. The second format data includes at least one editing interface element for receiving a second editing operation.

[0035] In one alternative embodiment of the second aspect, the device further includes:

[0036] The second acquisition module is used to acquire the background corresponding to the first editing operation before determining the first format data corresponding to the first application based on the first editing operation;

[0037] The processing module is specifically used to determine the first format data corresponding to the first application based on the first editing operation and the background.

[0038] In another alternative of the second aspect, the second format data includes at least one editing interface element for receiving a second editing operation and an image interface element corresponding to the background, the image interface element corresponding to the background being used to receive a third editing operation.

[0039] In another alternative solution to the second aspect, the conversion module includes:

[0040] The first conversion unit is used to convert the first format data into standard format data according to the first preset rule;

[0041] The second conversion unit is used to convert standard format data into second format data according to the second preset rules.

[0042] In another alternative embodiment of the second aspect, the device further includes:

[0043] The calculation module is used to calculate the amount of data in the second format after converting the first format data into standard format data according to the first preset rule and before converting the standard format data into second format data according to the second preset rule.

[0044] The second conversion unit is specifically used to send the standard format data to the second application in the first form based on the third application when the amount of standard format data is within the first preset range.

[0045] The second application converts standard format data into second format data according to the second preset rules.

[0046] When the amount of standard format data falls within the second preset range, the standard format data is sent to the second application in the second form based on the third application.

[0047] The second application converts standard format data into second format data according to the second preset rules.

[0048] In another alternative embodiment of the second aspect, the device further includes:

[0049] The third acquisition module is used to acquire target application information corresponding to the first application before displaying the second format data based on the second application;

[0050] The determination module is used to determine the second application based on the target application information.

[0051] In another alternative solution of the second aspect, the display module specifically includes:

[0052] The preview unit is used to acquire user actions in the display interface of the second application and display the reference position of the second format data based on the user actions.

[0053] The determining unit is used to determine the target display position of the second format data based on a reference position when the user operation is detected to have ended in the display interface of the second application.

[0054] Thirdly, embodiments of this application provide a touch display device, including a processor and a memory;

[0055] The processor is connected to the memory;

[0056] Memory, used to store executable program code;

[0057] The processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the data conversion method provided by the first aspect or any implementation of the first aspect of the embodiments of this application.

[0058] Fourthly, embodiments of this application provide a computer storage medium storing a computer program, which includes program instructions. When executed by a processor, the program instructions can implement the data conversion method provided by the first aspect or any implementation thereof of the embodiments of this application.

[0059] In this embodiment, a first editing operation can be obtained based on a first application, and first format data corresponding to the first application can be determined according to the first editing operation; the first format data can be converted into second format data, and the second format data can be displayed based on a second application. By converting the data of the editing interface element corresponding to the first editing operation obtained in the first application, the user can perform secondary editing of the editing interface element corresponding to the first editing operation in the second application, thereby satisfying the user's interactive editing experience. Attached Figure Description

[0060] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0061] Figure 1 This is a schematic diagram of the architecture of a data conversion system provided in an embodiment of this application;

[0062] Figure 2 A flowchart illustrating a data conversion method provided in an embodiment of this application;

[0063] Figure 3 This is a schematic diagram of a data conversion scenario for an application provided in an embodiment of this application;

[0064] Figure 4 This is a schematic diagram illustrating another data conversion scenario of an application provided in an embodiment of this application;

[0065] Figure 5 A flowchart illustrating yet another data conversion method provided in an embodiment of this application;

[0066] Figure 6 A conversion correspondence list based on a first preset rule is provided for embodiments of this application;

[0067] Figure 7 A conversion correspondence list based on a second preset rule is provided for embodiments of this application;

[0068] Figure 8 This is a schematic diagram illustrating another data conversion scenario of an application provided in an embodiment of this application;

[0069] Figure 9 This is a schematic diagram of the structure of a data conversion device provided in an embodiment of this application;

[0070] Figure 10 This is a schematic diagram of the structure of a touch display device provided in an embodiment of this application. Detailed Implementation

[0071] The technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings.

[0072] The terms "first," "second," "third," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or apparatuses.

[0073] Please see Figure 1 , Figure 1 A schematic diagram of the architecture of a data conversion system provided in an embodiment of this application is shown.

[0074] like Figure 1 As shown, the data conversion system may include at least a touch display device 101, a first application 102 mounted on the touch display device 101, and a second application 103 mounted on the touch display device 101, wherein:

[0075] The touch display device 101 allows users to download a first application 102 and a second application 103 on a designated interface, and open either the first application 102 or the second application 103 as needed. For example, a user can search for and download the first application 102 and the second application 103 from the application store on the touch display device 101, and open the first application 102 by clicking its icon to perform editing operations. When a user needs to further edit the first application 102 in the second application 103, the touch display device 101 first determines the first format data based on the editing operation of the first application 102, converts the first format data into a second format data that can be further edited in the second application 103, and then the user can open the second application 103 by clicking its icon and perform further editing on the second format data in the display interface of the second application 103. It is understood that the display content corresponding to the second format data displayed on the second application 103 can be the same as the content corresponding to the editing operation displayed on the first application 102. The editing operations performed in the first application 102 can be, but are not limited to, annotation operations. For example, adding an underline to a piece of text or directly adding a wavy line to the display interface of the first application 102. The secondary editing operations performed in the second application 103 can be, but are not limited to, modification operations. For example, changing the black underline in the display interface of the second application 103 to a red underline, or beautifying the wavy line in the display interface of the second application 103.

[0076] It should be noted that when the display interface of the first application 102 includes a background in addition to the user's editing operations, the touch display device 101 can first determine the first format data based on the editing operations of the first application 102 and the background, convert the first format data into second format data that can be further edited in the second application 103, and display the second format data in the display interface of the second application 103. The display interface of the second application 103 includes the editing operations and background corresponding to those in the display interface of the first application 102. The user can perform secondary editing operations on the editing operations, such as changing the color, thickness, or shape of the editing operations. The user can also edit the image corresponding to the background, such as scaling, panning, rotating, or cropping.

[0077] The first application 102 may be, but is not limited to, an application capable of performing annotation functions, allowing annotation of the background within the first application 102. It is possible that the background in the first application 102 can be determined based on an image saved on the touch display device 101. For example, after opening the first application 102, the user can select a background image saved in a specified path and import that background image into the display interface of the first application 102. It is also possible that the background interface in the first application 102 can be determined based on the current interface of the touch display device 101. For example, when the user uses the current interface as the background, they can capture the corresponding image of the background in the display interface of the first application 102 through operations such as, but not limited to, screenshotting. It is understood that the editing operations obtained by the user based on the first application 102 can, but are not limited to, adding graphics of arbitrary shape, color, or thickness to the display interface of the first application 102.

[0078] The second application 103 may be, but is not limited to, an application capable of executing a canvas function, and can perform secondary editing operations on the second-format data displayed in the canvas interface of the second application 103. Possibly, this secondary editing operation may involve modifying the second-format data in the canvas interface of the second application, such as changing its color, shape, or thickness. Possibly, this secondary editing operation may involve enhancing the second-format data in the canvas interface of the second application, such as adding images to the second-format data to meet specific requirements. Possibly, this secondary editing operation may also involve scaling, rotating, translating, or cropping the second-format data in the canvas interface of the second application. It is understood that after the user completes the secondary editing operation on the second-format data in the second application 103, the edited display content can be saved as an image or sent to other applications; this embodiment is not limited to this.

[0079] It is understood that the touch display device 101 can also obtain editing operations based on the second application 103, determine the second format data corresponding to the second application 103 according to the editing operation, convert the second format data into a first format data that can be edited in the first application 102, and then display the first format data in the first application 102 for the user to perform secondary editing operations.

[0080] It should be noted that when the annotation operations obtained by the first application 102 are placed in the second application 103 for secondary editing, the first format data determined by the annotation operations of the first application 102 is directly displayed in the display interface of the second application 103 as an image. Users can only edit the image as a whole in the display interface of the second application 103, and cannot edit the annotation operations included in the first format data.

[0081] The touch display device 101 involved in this embodiment may be a smart touch display screen, tablet computer, desktop computer, laptop computer, notebook computer, ultra-mobile personal computer (UMPC), handheld computer, PC device, personal digital assistant (PDA), virtual reality device, etc.

[0082] Next, this application will use a touch display device as the execution entity to further explain the data conversion method.

[0083] Please see Figure 2 , Figure 2 A flowchart illustrating a data conversion method provided in an embodiment of this application is shown.

[0084] like Figure 2 As shown, this data transformation method may include at least the following steps:

[0085] Step 202: Obtain the first editing operation based on the first application.

[0086] Specifically, the touch display device can obtain the user's first editing operation on the display interface of the first application, wherein the display interface of the first application can be equipped with multiple controls to facilitate the user's quick execution of the first editing operation. Here, we take an application capable of executing a drawing board function as an example; see reference [link to relevant documentation]. Figure 3 The illustration shown is a schematic diagram of the interface of a first application provided in an embodiment of this application. For example... Figure 3 As shown, the application "Quick Whiteboard" with whiteboard functionality is opened in the main interface 301 of the touch display device. After the application "Quick Whiteboard" is opened, a blank interface 302 is displayed so that the user can perform editing operations on the blank interface 302.

[0087] A first editing box 303 may be provided within the blank interface 302. This first editing box 303 includes a selection control, a writing control, an eraser control, more controls, and an undo control. The selection control allows the user to choose and perform other operations after selection, such as, but not limited to, closing the application "Quick Whiteboard" or saving existing editing operations in the blank interface 302 of the "Quick Whiteboard" application. The writing control allows the user to start or continue editing operations in the blank interface 302 of the "Quick Whiteboard" application after selection. This editing operation allows the user to add one or more shapes of arbitrary shape at any position in the blank interface 302. The added shape can be an irregular shape drawn arbitrarily by the user or a regular shape selected from a shape template. It is understood that the user can also select the font, line color, or line thickness before adding the editing operation to ensure that the added editing operation meets the user's editing needs. It should also be noted that this embodiment is not limited to the writing type control mentioned here; for example, it can also be a drawing type control. The user can select the control type corresponding to the writing control, but is not limited to this. The eraser control allows users to select an edit operation they've added on the blank interface 302 of the "Quick Whiteboard" application, based on their needs. After selection, the user can erase the existing edit operation to ensure it meets their requirements. More controls allow users to choose controls with additional functions, such as font, line color, or line thickness. For example, selecting more controls might bring up a selection box for choosing font, line color, or line thickness, providing a more comprehensive editing experience. The undo control allows users to undo the currently added edit operation, enabling quick modifications.

[0088] A second editing box 304 may also be provided within the blank interface 302. This second editing box 304 includes a menu control, a share control, and a list control. The menu control can provide the user with multiple other functional controls after selection, such as, but not limited to, save or insert controls. For example, if the user selects the menu control and then further selects the save control, the user can choose to save the editing operation currently added in the blank interface 302 of the "Quick Whiteboard" application, and the saved format can be selected by the user. The share control can provide the user with multiple sharing methods after selection, allowing the user to share the editing operation currently added in the blank interface 302 of the "Quick Whiteboard" application through the selected sharing method. For example, the user can share a link corresponding to the editing operation added in the blank interface 302 of the "Quick Whiteboard" application to WeChat, so that the user can view the editing operation added in the blank interface 302 of the "Quick Whiteboard" application on WeChat. The list control can provide the user with documents corresponding to other editing operations already added in the blank interface 302 of the "Quick Whiteboard" application after the user makes a selection, so that the user can quickly access some existing editing operations. It can be understood that the documents here can be documents that already exist in the default path of the touch display device, and these documents are all editing operations added and saved in the blank interface 302 of the "Quick Whiteboard" application.

[0089] It is also understandable that the interface of the blank interface 302 can also be equipped with controls for adding blank pages, so that users can add multiple different editing operations on multiple blank pages.

[0090] It should be noted that the first application in the embodiment may also be an application capable of executing annotation functions, but this application is not limited to this.

[0091] Step 204: Determine the first format data corresponding to the first application based on the first editing operation.

[0092] Specifically, after obtaining the user's first editing operation based on the first application, the touch display device can also determine the first format data corresponding to the first application based on the user's first editing operation. The first editing operation can be one or more graphics of arbitrary shape, color, or thickness added by the user. Each graphic can be considered an editing interface element, and each editing interface element corresponds to its own first format data in the first application.

[0093] Understandably, when a touch display device displays an editing operation corresponding to data in a first format in the first application, it can edit or modify one or more editing interface elements of that editing operation, such as, but not limited to, changing a red wavy line to a yellow wavy line. When a touch display device displays data in other formats in the first application, it cannot edit or modify one or more elements of the editing operation corresponding to that other format data; it can only edit or modify the entire editing operation corresponding to that other format data.

[0094] Step 206: Convert the first format data to the second format data.

[0095] Specifically, after determining the first format data corresponding to the first editing operation in the first application, the touch display device can convert the first format data into second format data corresponding to the second application. The second format data has a different data format than the first format data, and can be used in the second application to perform editing operations on elements. It is understood that the process of converting the first format data to the second format data can also be performed in a third application. For example, the touch display device can send the first format data corresponding to the first editing operation obtained from the first application to the third application, and the third application, after converting the first format data to the second format data, will send the second format data to the second application corresponding to the second format data.

[0096] It should be noted that, possibly, the second-format data can be displayed on the first application, but the user cannot edit the elements corresponding to the second-format data. For example, the user cannot modify the yellow wavy line corresponding to the second-format data; they can only edit the element as a whole, such as rotating, translating, or cropping it. It is also possible that the second-format data cannot be displayed on the first application. For instance, after the touch display device converts the first-format data to the second-format data, if the user mistakenly opens the first application, the first application's interface can display a prompt indicating that the data cannot be recognized, and it can also remind the user to open the second application corresponding to the current second-format data.

[0097] Step 208: Display the second format data based on the second application.

[0098] Specifically, after converting the first format data into the second format data, the touch display device can display the second format data in the interface of the second application corresponding to the second format data, so that the user can perform secondary editing operations on the elements corresponding to the second format data in the second application. It is understood that the elements displayed in the first application with the first format data are the same as the elements displayed in the second application with the second format data, and the user can edit the elements corresponding to the first format data in the first application, and the user can perform secondary editing operations on the elements corresponding to the second format data in the second application.

[0099] See here. Figure 4 The illustration shows a data conversion scenario of another application provided by an embodiment of this application. For example... Figure 4 As shown in Figure 4a, a schematic diagram of the interface of a first application capable of performing whiteboard functions is presented. The interface of this first application includes a first editing operation by the user, which can be specifically represented by two curve elements. After adding the first editing operation in the blank interface of the first application, the user can select all elements corresponding to the first editing operation and choose an export control. It is understood that, after the user selects all elements corresponding to the first editing operation in the blank interface of the first application, the first application may pop up an edit box containing an export control in the blank interface, allowing the user to select the export control to export the first editing operation as data in a first format. Alternatively, after selecting all elements corresponding to the first editing operation in the blank interface of the first application, the user may select other edit boxes in the first application to pop up edit boxes containing export controls. For example, but not limited to, the user may select more controls in the blank interface of the first application to pop up edit boxes including color controls, beautification controls, search controls, flip controls, pin controls, export controls, and delete controls, and then select the export control to export the first editing operation as data in a first format.

[0100] After the user selects to export the first editing operation as data in a first format, the touch display device can convert this first format data into second format data and display the two curve elements corresponding to the second format data in the interface of the second application. It is understood that the user can first select a background interface in the second application interface. Referring to diagram 4b, which illustrates an interface diagram of a second application capable of performing annotation functions, the current interface of this second application displays a folder named "File Browser," containing multiple files with different names and formats. The two curve elements corresponding to the second format data are added to this current interface. It should be noted that after selecting a background interface in the second application interface, the user can import the second format data into the second application interface. The import method can be, but is not limited to, selecting the paste control set in the second application interface to paste the two curve elements corresponding to the second format data into the second application interface, and the user can then edit these two curve elements.

[0101] It should also be noted that when the user selects to set the paste content control in the interface of the second application, the paste content control is not limited to being set in a single location in the interface of the second application. For example, as shown in 4b, the paste content control can be set in an edit box that includes a red pen control, a green brush control, a clear screen control, a share control, an upload control, and a close control. This embodiment is not limited to this.

[0102] In this embodiment of the application, by performing data conversion on the editing interface element corresponding to the first editing operation obtained in the first application, the user can perform secondary editing on the editing interface element corresponding to the first editing operation in the second application, thereby satisfying the user's interactive editing experience.

[0103] As a preferred embodiment, before determining the first format data corresponding to the first application based on the first editing operation, the method further includes:

[0104] Get the background corresponding to the first editing operation;

[0105] The first format data corresponding to the first application is determined based on the first editing operation, including:

[0106] The first format data corresponding to the first application is determined based on the first editing operation and the background.

[0107] Specifically, when the first application of the touch display device corresponds to an application capable of executing annotation functions, the background targeted by the first editing operation can be obtained before determining the first format data corresponding to the first application based on the first editing operation. This background may be determined based on an image saved on the touch display device; for example, after opening the first application, the user can select a background image saved in a specified path and import that image into the display interface of the first application as a background. Alternatively, the background may also be determined based on the current interface of the touch display device; for example, after the user uses the current display interface as the background, they can capture the image corresponding to the background in the display interface of the first application through operations such as screenshots, but not limited to screenshots.

[0108] Furthermore, once the user selects the background in the first application, the first format data corresponding to the first application can be determined based on the background and the first editing operation added by the user in the interface of the first application. This first format data may include the editing interface elements corresponding to the first editing operation and the image interface elements corresponding to the background.

[0109] It is understood that the touch display device can convert the aforementioned first format data into second format data that can be displayed in the second application. The second format data includes at least one editing interface element for receiving a second editing operation and an image interface element corresponding to the background. The image interface element corresponding to the background can be used to receive a third editing operation.

[0110] In other words, when the second application displays the second format data, the displayed content may include the editing interface elements corresponding to the first editing operation added in the first application and the image interface elements corresponding to the background of the first application. The user can perform a second editing operation on the editing interface elements corresponding to the first editing operation, such as, but not limited to, changing color, shape, enhancement, or thickness. The operation can target all editing interface elements corresponding to the first editing operation. The user can also perform a third editing operation on the image interface elements corresponding to the background. This third editing operation differs from the second editing operation, such as, but not limited to, scaling, rotating, translating, or cropping the image interface elements corresponding to the background.

[0111] In this embodiment of the application, when the first application is an application capable of executing annotation functions, the user can perform editing operations on the editing operations and background added in the first application in the second application. Moreover, the types of editing operations corresponding to the editing operations and background are different, which can satisfy the user to achieve a more functional editing experience in the second application and enhance the overall editing effect.

[0112] Please see Figure 5 , Figure 5 A flowchart illustrating another data conversion method provided in an embodiment of this application is shown.

[0113] like Figure 5 As shown, this data transformation method may include at least the following steps:

[0114] Step 502: Obtain the first editing operation based on the first application.

[0115] Specifically, step 502 is the same as step 202, and will not be elaborated further here.

[0116] Step 504: Determine the first format data corresponding to the first application based on the first editing operation.

[0117] Specifically, step 504 is the same as step 204, and will not be elaborated further here.

[0118] Step 506: Convert the first format data into standard format data according to the first preset rule.

[0119] Specifically, after determining the first format data corresponding to the first application based on the first editing operation, the touch display device can first convert the first format data into standard format data according to a first preset rule. The first preset rule can be understood as a drawing protocol, which may include, but is not limited to, conversion methods such as naming conventions, element types, and element attributes. The touch display device can convert the first format data into standard format data according to this drawing protocol, so that it can be converted into other formats of data.

[0120] See here. Figure 6 The illustrated embodiment of this application provides a conversion correspondence list based on a first preset rule. For example... Figure 6 As shown, when the name of the first format data is represented as a1, the touch display device can convert the name a1 to A1 based on the first preset rule, and use the name A1 as the name of the standard format data. When the element type of the first format data is represented as b1, the touch display device can convert the element type b1 to B1 based on the first preset rule, and use the element type B1 as the element type of the standard format data. When the element attribute of the first format data is represented as c1, the touch display device can convert the element attribute c1 to C1 based on the first preset rule, and use the element attribute C1 as the element attribute of the standard format data. Of course, this embodiment is not limited to the conversion methods mentioned above, and will not be elaborated further here.

[0121] It is understandable that after the touch display device determines the first format data corresponding to the first application based on the first editing operation, it can also send the first format data to other applications, so that the other applications can convert the first format data into standard format data according to the pre-stored first preset rules, and then send the standard format data to the second application, and the second application can convert the standard format data into second format data based on the second application.

[0122] Preferably, the first preset rule in this embodiment can be a Scalable Vector Graphics (SVG) protocol, that is, the touch display device can convert the first format data into SVG format data, or convert the SVG format data into the first format data.

[0123] Step 508: Convert the standard format data into the second format data according to the second preset rule.

[0124] Specifically, after converting the first format data into standard format data according to a first preset rule, the touch display device can then convert the standard format data into second format data according to a second preset rule. The second preset rule can also be understood as a drawing protocol, which may include, but is not limited to, conversion methods such as naming conventions, element types, and element attributes. The touch display device can convert the standard format data into second format data according to this drawing protocol, so that the touch display device can display the second format data on the corresponding second application.

[0125] See here. Figure 7 The illustrated embodiment of this application provides a conversion correspondence list based on a second preset rule. For example... Figure 7 As shown, when the naming name of the standard format data is represented as A1, the touch display device can convert the naming name A1 to x1 based on the second preset rule, and use the naming name x1 as the naming name of the second format data. When the element type of the standard format data is represented as B1, the touch display device can convert the element type B1 to y1 based on the second preset rule, and use the element type y1 as the element type of the second format data. When the element attribute of the standard format data is represented as C1, the touch display device can convert the element attribute C1 to z1 based on the second preset rule, and use the element attribute z1 as the element attribute of the second format data. Of course, this embodiment is not limited to the conversion methods mentioned above, and will not be elaborated further here.

[0126] The aforementioned first-format data and second-format data can use a unified drawing protocol. That is, the first-format data can be converted to standard-format data according to a first preset rule, and the second-format data can be converted to standard-format data according to a second preset rule. Furthermore, standard-format data can also be converted to first-format data according to the first preset rule or vice versa. It is understood that in this embodiment, when the second application receives an editing operation, the first application can convert the received standard-format data into first-format data according to the first preset rule and display it. When the first application receives an editing operation, the second application can convert the received standard-format data into second-format data according to the second preset rule and display it.

[0127] Preferably, the second preset rule in this embodiment can also be a Scalable Vector Graphics (SVG) protocol, that is, the touch display device can convert the second format data into SVG format data, or convert SVG format data into the second format data.

[0128] Step 510: Display the second format data based on the second application.

[0129] Specifically, step 510 is the same as step 208, so I will not go into details here.

[0130] In this embodiment of the application, by first converting the first format data into standard format data and then converting the standard format data into the second format data, it is possible to effectively ensure that the interface elements corresponding to the second format data displayed in the second application can be edited by the user, thereby satisfying the user's editing experience for data conversion.

[0131] As a preferred embodiment, after converting the first format data into standard format data according to the first preset rule and before converting the standard format data into second format data according to the second preset rule, the method further includes:

[0132] Calculate the amount of data in standard format;

[0133] Convert standard format data to second format data according to the second preset rule, including:

[0134] When the amount of standard format data falls within the first preset range, the standard format data is sent to the second application in the first form based on the third application.

[0135] The second application converts standard format data into second format data according to the second preset rules.

[0136] When the amount of standard format data falls within the second preset range, the standard format data is sent to the second application in the second form based on the third application.

[0137] The second application converts standard format data into second format data according to the second preset rules.

[0138] Specifically, after converting the first format data into standard format data according to the first preset rule, the touch display device can also calculate the data volume of the standard format data to quickly determine the data transmission method based on the data volume. It is understood that the touch display device can send the first format data to a third application, which will then convert the first format data into standard format data according to the pre-stored first preset rule. This method can reduce the operating pressure and memory usage of the touch display device.

[0139] Furthermore, when the amount of standard format data falls within the first preset range, it indicates that the amount of standard format data is relatively small. The third application can directly send the standard format data to the second application as a string, so that the second application can convert the standard format data into second format data according to the second preset rule. When the amount of standard format data falls within the second preset range, it indicates that the amount of standard format data is relatively large. The third application can first save the standard format data as a file in a preset path on the touch display device, and the touch display device can then send the preset path to the second application. This allows the second application to obtain the standard format data according to the preset path and then convert the standard format data into second format data according to the second preset rule.

[0140] Understandably, the touch display device can also obtain a second editing operation based on the second application and determine the second format data corresponding to the second application based on the second editing operation. Furthermore, after converting the second format data into standard format data according to the second preset rule, the touch display device can first calculate the data volume of the standard format data to quickly determine the data transmission method based on the data volume. When the data volume of the standard format data falls within the first preset range, it indicates that the data volume of the standard format data is small, and the third application can directly send the standard format data to the first application in the form of a string, so that the first application can convert the standard format data into first format data according to the first preset rule. When the data volume of the standard format data falls within the second preset range, it indicates that the data volume of the standard format data is large, and the third application can first save the standard format data as a file in the preset path of the touch display device, and the touch display device can send the preset path to the first application, so that the first application can obtain the standard format data according to the preset path and then convert the standard format data into first format data according to the first preset rule.

[0141] As another preferred embodiment, before displaying the second format data based on the second application, the method further includes:

[0142] Obtain the target application information corresponding to the first application;

[0143] The second application is determined based on the target application information.

[0144] Specifically, after obtaining the user's first editing operation based on the first application, the touch display device can obtain target application information corresponding to the first application. This target application information may include, but is not limited to, the name of the target application. The target application shares a drawing protocol with the first application; that is, the format data corresponding to the target application can be converted into a certain format data, and this certain format data can be converted into a first format data corresponding to the first application. The touch display device can obtain the target application information corresponding to the first application in a manner that is not limited to retrieving the target application information carried in the first format data during the process of converting the first format data into second format data, and determining the second application based on this target application information.

[0145] Understandably, the touch display device can also acquire target application information corresponding to the first application during the conversion of the first format data. Specifically, the touch display device can determine whether the first format data belongs to a format data in the preset rules, wherein the preset rules may include at least two different types of format data that can be converted. When the first format data belongs to any one of the format data in the preset rules, the touch display device can determine another type of format data corresponding to the first format data according to the preset rules, and determine the target application information corresponding to the first application based on the other type of format data. When the first format data does not belong to any one of the format data in the preset rules, it indicates that the interface elements acquired in the first application cannot be edited in other applications.

[0146] Taking the example of a first application that performs a whiteboard function and a second application that performs an annotation function, when the user selects the interface element corresponding to the first editing operation in the first application, the first application can pop up an editing box with an export control. The user can click the export control to export the interface element corresponding to the first editing operation. At this time, the touch display device can obtain the target application information corresponding to the first application, determine the second application based on the target application information, and automatically open the second application. The user can select an editing box with a paste content control in the interface of the second application, and display the interface element corresponding to the first editing operation on the interface of the second application by clicking the paste content control. It can be understood that the second application can also display the interface element corresponding to the obtained editing operation in the first application, and the paste content control in the second application can be switched to an import control when the second application obtains the editing operation, so that the touch display device can open the corresponding first application when the user clicks the import control.

[0147] As another preferred embodiment of this application, displaying data in a second format based on a second application includes:

[0148] The user operation is obtained in the display interface of the second application, and the reference position of the second format data is displayed based on the user operation;

[0149] When the user operation ends in the display interface of the second application, the target display position of the second format data is determined based on the reference position.

[0150] Specifically, after converting the first format data into the second format data, the touch display device can first obtain the user operation in the display interface of the second application. Based on the reference position of the user operation in the display interface of the second application, a preview effect of the second format data corresponding to the reference position in the display interface of the second application is presented. The user operation can be, but is not limited to, a press or click operation. When the user operation is at a certain position in the display interface of the second application, a preview effect of the second format data at the corresponding position can be presented in the display interface of the second application. Furthermore, as the position of the user operation in the display interface of the second application moves, the preview effect of the second format data presented in the display interface of the second application changes accordingly to the position corresponding to the user operation.

[0151] Furthermore, when the user operation ends in the display interface of the second application, the reference position where the user operation last stopped in the display interface of the second application can be used as the target display position, and the second format data can be displayed at the target display position.

[0152] See here. Figure 8 The illustration shows a data conversion scenario of another application provided by an embodiment of this application. For example... Figure 8 As shown, taking a whiteboard-enabled application as an example, user operation can be a pressing and moving action of the finger on the second application interface. When the pressing and moving action is first applied to the left side of the second application interface, a preview of the second format data will be displayed at the corresponding position. Here, the second format data can correspond to two curved interface elements. When the user moves their finger horizontally to the right side of the second application interface, a preview of the second format data will be displayed at the corresponding position. That is to say, whenever the user moves their finger to any position on the second application interface, a preview of the second format data will be displayed at the corresponding position. It can be understood that when the user removes their finger from the display interface of the second application during the finger movement, the final target display position of the second format data on the display interface can be determined based on the position the finger was pressed on before leaving the display interface.

[0153] Please see Figure 9 , Figure 9 A schematic diagram of the structure of a data conversion device provided in an embodiment of this application is shown.

[0154] like Figure 9As shown, the data conversion device may include at least a first acquisition module 901, a processing module 902, a conversion module 903, and a display module 904, wherein:

[0155] The first acquisition module 901 is used to acquire the first editing operation based on the first application;

[0156] Processing module 902 is used to determine first format data corresponding to the first application based on the first editing operation, the first format data including at least one editing interface element;

[0157] The conversion module 903 is used to convert data in the first format to data in the second format.

[0158] Display module 904 is used to display second format data based on a second application, the second format data including at least one editing interface element for receiving a second editing operation.

[0159] In some possible embodiments, the apparatus further includes:

[0160] The second acquisition module is used to acquire the background corresponding to the first editing operation before determining the first format data corresponding to the first application based on the first editing operation;

[0161] The processing module is specifically used to determine the first format data corresponding to the first application based on the first editing operation and the background.

[0162] In some possible embodiments, the second format data includes at least one editing interface element for receiving a second editing operation and an image interface element corresponding to the background, wherein the image interface element corresponding to the background is used to receive a third editing operation.

[0163] In some possible embodiments, the conversion module 903 includes:

[0164] The first conversion unit is used to convert the first format data into standard format data according to the first preset rule;

[0165] The second conversion unit is used to convert standard format data into second format data according to the second preset rules.

[0166] In some possible embodiments, the apparatus further includes:

[0167] The calculation module is used to calculate the amount of data in the second format after converting the first format data into standard format data according to the first preset rule and before converting the standard format data into second format data according to the second preset rule.

[0168] The second conversion unit is specifically used to send the standard format data to the second application in the first form based on the third application when the amount of standard format data is within the first preset range.

[0169] The second application converts standard format data into second format data according to the second preset rules.

[0170] When the amount of standard format data falls within the second preset range, the standard format data is sent to the second application in the second form based on the third application.

[0171] The second application converts standard format data into second format data according to the second preset rules.

[0172] In some possible embodiments, the apparatus further includes:

[0173] The third acquisition module is used to acquire target application information corresponding to the first application before displaying the second format data based on the second application;

[0174] The determination module is used to determine the second application based on the target application information.

[0175] In some possible embodiments, the display module 904 specifically includes:

[0176] The preview unit is used to acquire user actions in the display interface of the second application and display the reference position of the second format data based on the user actions.

[0177] The determining unit is used to determine the target display position of the second format data based on a reference position when the user operation is detected to have ended in the display interface of the second application.

[0178] Please see Figure 10 , Figure 10 A schematic diagram of the structure of a touch display device provided in an embodiment of this application is shown.

[0179] like Figure 10 As shown, the touch display device 1000 may include: at least one processor 1001, at least one network interface 1004, user interface 1003, memory 1005, display screen 1006, and at least one communication bus 1002.

[0180] The communication bus 1002 can be used to realize the connection and communication of the above components.

[0181] The user interface 1003 may include buttons, and the optional user interface may also include a standard wired interface or a wireless interface.

[0182] The network interface 1004 may include, but is not limited to, Bluetooth modules, NFC modules, Wi-Fi modules, etc.

[0183] The display screen 1006 may, but is not limited to, receiving user operations in the interface of a first application and displaying second format data in the interface of a second application.

[0184] The processor 1001 may include one or more processing cores. The processor 1001 connects to various parts within the electronic device 1000 using various interfaces and lines. It executes instructions, programs, code sets, or instruction sets stored in the memory 1005, and calls data stored in the memory 1005 to perform various functions and process data within the routing device 1000. Optionally, the processor 1001 may be implemented using at least one hardware form of DSP, FPGA, or PLA. The processor 1001 may integrate one or more of the following: CPU, GPU, and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the content required for display; and the modem handles wireless communication. It is understood that the modem may also not be integrated into the processor 1001 and may be implemented as a separate chip.

[0185] The memory 1005 may include RAM or ROM. Optionally, the memory 1005 may include a non-transitory computer-readable medium. The memory 1005 may be used to store instructions, programs, code, code sets, or instruction sets. The memory 1005 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the above-described method embodiments, etc.; the data storage area may store data involved in the above-described method embodiments, etc. Optionally, the memory 1005 may also be at least one storage device located remotely from the aforementioned processor 1001. Figure 10 As shown, the memory 1005, which serves as a computer storage medium, may include an operating system, a network communication module, a user interface module, and a screen sharing output control application.

[0186] Specifically, the processor 1001 can be used to call the screen output control application stored in the memory 1005, and specifically perform the following operations:

[0187] The first editing operation is obtained based on the first application;

[0188] Based on the first editing operation, first format data corresponding to the first application is determined, and the first format data includes at least one editing interface element;

[0189] Convert the data in the first format to the data in the second format;

[0190] The second application displays second format data, which includes at least one editing interface element for receiving a second editing operation.

[0191] In some possible embodiments, before the processor 1001 determines the first format data corresponding to the first application based on the first editing operation, it is further configured to perform:

[0192] Get the background corresponding to the first editing operation;

[0193] The first format data corresponding to the first application is determined based on the first editing operation, including:

[0194] The first format data corresponding to the first application is determined based on the first editing operation and the background.

[0195] In some possible embodiments, the second format data includes at least one editing interface element for receiving a second editing operation and an image interface element corresponding to the background, wherein the image interface element corresponding to the background is used to receive a third editing operation.

[0196] In some possible embodiments, when processor 1001 converts data in the first format to data in the second format, it specifically performs the following:

[0197] Convert the first format data into standard format data according to the first preset rule;

[0198] Convert the standard format data into the second format data according to the second preset rule.

[0199] In some possible embodiments, after the processor 1001 converts the first format data into standard format data according to a first preset rule, and before converting the standard format data into second format data according to a second preset rule, it is further configured to perform:

[0200] Calculate the amount of data in standard format;

[0201] When processor 1001 converts standard format data into second format data according to the second preset rule, it specifically performs the following:

[0202] When the amount of standard format data falls within the first preset range, the standard format data is sent to the second application in the first form based on the third application.

[0203] The second application converts standard format data into second format data according to the second preset rules.

[0204] When the amount of standard format data falls within the second preset range, the standard format data is sent to the second application in the second form based on the third application.

[0205] The second application converts standard format data into second format data according to the second preset rules.

[0206] In some possible embodiments, before the processor 1001 displays the second format data based on the second application, it is also used to perform:

[0207] Obtain the target application information corresponding to the first application;

[0208] The second application is determined based on the target application information.

[0209] In some possible embodiments, when the processor 1001 displays data in a second format based on a second application, it is specifically used to perform:

[0210] The user operation is obtained in the display interface of the second application, and the reference position of the second format data is displayed based on the user operation;

[0211] When the user operation ends in the display interface of the second application, the target display position of the second format data is determined based on the reference position.

[0212] This application also provides a computer-readable storage medium storing instructions that, when executed on a computer or processor, cause the computer or processor to perform the above-described instructions. Figure 2 or Figure 5 One or more steps in the illustrated embodiment. If the various components of the aforementioned screen sharing device and display device are implemented as software functional units and sold or used as independent products, they can be stored in the computer-readable storage medium.

[0213] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially as a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted through the computer-readable storage medium. The computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available media may be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., digital versatile discs (DVDs)), or semiconductor media (e.g., solid-state drives (SSDs)).

[0214] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the methods described above. The aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks. Unless otherwise specified, the technical features of this embodiment and its implementation can be combined arbitrarily.

[0215] The embodiments described above are merely preferred embodiments of this application and are not intended to limit the scope of this application. Any modifications and improvements made by those skilled in the art to the technical solutions of this application without departing from the spirit of this application should fall within the protection scope defined by the claims of this application.

Claims

1. A data conversion method characterized by, The method comprises: obtaining a first editing operation based on a first application program; obtaining a background corresponding to the first editing operation; determining first format data corresponding to the first application program according to the first editing operation and the background, the first format data comprising at least one editing interface element and a picture interface element corresponding to the background; converting the first format data into second format data, the second format data comprising at least one editing interface element for receiving a second editing operation and a picture interface element corresponding to the background for receiving a third editing operation; displaying the second format data based on a second application program, wherein the second application program is an application program for performing a secondary editing operation on the second format data in a drawing board interface, the secondary editing operation can comprise a zooming, rotating, translating or cropping operation on the second format data in the drawing board interface of the second application program, and elements displayed by the first format data in the first application program are the same as elements displayed by the second format data in the second application program.

2. The method of claim 1, wherein, The conversion of the first format data into the second format data comprises: converting the first format data into standard format data according to a first preset rule; and converting the standard format data into the second format data according to a second preset rule.

3. The method of claim 2, wherein, After the conversion of the first format data into the standard format data according to the first preset rule, before the conversion of the standard format data into the second format data according to the second preset rule, the method further comprises: calculating a data amount of the standard format data; and the conversion of the standard format data into the second format data according to the second preset rule comprises: when the data amount of the standard format data belongs to a first preset interval, sending the standard format data to the second application program in a first form based on a third application program; converting the standard format data into the second format data according to the second preset rule based on the second application program; and when the data amount of the standard format data belongs to a second preset interval, sending the standard format data to the second application program in a second form based on the third application program. The conversion of the standard format data into the second format data according to the second preset rule based on the second application program.

4. The method of claim 3, wherein, Before the displaying of the second format data based on the second application program, the method further comprises: obtaining target application information corresponding to the first application program; and determining the second application program according to the target application information.

5. The method of claim 1, wherein, The displaying of the second format data based on the second application program comprises: obtaining a user operation in a display interface of the second application program and displaying a reference position of the second format data based on the user operation; and when the user operation ends is detected in the display interface of the second application program, determining a target display position of the second format data according to the reference position.

6. A data conversion apparatus characterized by comprising: The method comprises: a first obtaining module configured to obtain a first editing operation based on a first application program; a second obtaining module configured to obtain a background corresponding to the first editing operation; and a determining module configured to determine first format data corresponding to the first application program according to the first editing operation and the background, the first format data comprising at least one editing interface element and a picture interface element corresponding to the background. The processing module is configured to determine first format data corresponding to the first application according to the first editing operation and the background, the first format data including at least one editing interface element and a picture interface element corresponding to the background; The conversion module is configured to convert the first format data into second format data, the second format data including at least one editing interface element for receiving a second editing operation and a picture interface element corresponding to the background for receiving a third editing operation; The display module is configured to display the second format data based on a second application, the second application being an application for performing a secondary editing operation on the second format data in a drawing board interface, the secondary editing operation including scaling, rotating, translating or cropping the second format data in the drawing board interface of the second application, the elements displayed in the first format data in the first application being the same as the elements displayed in the second format data in the second application.

7. A touch display device, comprising: The computer program product comprises a processor and a memory; The processor is connected to the memory; The memory is configured to store executable program codes; The processor is configured to run a program corresponding to the executable program codes by reading the executable program codes stored in the memory, so as to execute the method according to any one of claims 1-5.

8. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the method according to any one of claims 1-5.

Citation Information

Patent Citations

  • Simple object access protocol (SOAP)-based reliable cross-domain data transmission component and method

    CN102118395A

  • Document format conversion method and apparatus

    CN108647305A

  • Picture format conversion method, device, apparatus, and storage medium

    CN109146991A

  • Interface switching method and device, terminal equipment and storage medium

    CN112486602A

  • Extendible graphics context symbolic system and realizing method thereof

    CN1570913A