Annotation processing method and device for multiple operating systems, electronic equipment and medium
By sharing and calling annotation information in a multi-operating system environment, the problem of users need to manually switch the system to view the annotation content is solved, and the annotation content is called between systems is realized, reducing operational complexity and learning costs.
Patent Information
- Application Number
- CN202311169303.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-11
- Publication Date
- 2025-03-11
AI Technical Summary
When using multiple operating systems on the conference tablet, users need to manually switch the system to view the annotation content, which is complex and has high learning costs.
By sharing annotation information between the first operating system and the second operating system, using image compression and associated information storage, annotation content calls between systems are realized. The specific steps include determining and storing the annotated image and information under the first operating system, storing the compressed image under the second operating system, and calling the corresponding annotated content based on the associated information.
This avoids the need for users to manually switch the system to view the annotated content, and realizes the mutual call of the annotated content between the systems, saving learning costs during customer operations and use.
Smart Images

Figure CN119597494A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a method, device, electronic equipment and medium for processing annotations in multiple operating systems. Background Art
[0002] Conference tablets usually carry two operating systems, an Android operating system and an OPS (Open Pluggable Specification) device operating system. The OPS device can be selectively plugged into the conference tablet. If the conference tablet is not plugged into the OPS box, it is a single system, that is, only the Android system. If the OPS box is plugged in, it is a dual system.
[0003] The annotation function is often used when using conference tablets. For example, when explaining PPT, you will annotate the PPT content. After annotating, you can save the annotation content, and you may also re-edit the previous annotation. However, the annotation content of the current conference tablet is saved on the storage device of the Android system. If you make annotations in the OPS system, you need to manually switch from the OPS device back to the Android system to view the annotations again next time. Then find the annotations in the specified path. The operation is complicated and the learning cost is high during use. Summary of the invention
[0004] The present invention provides a method, device, electronic device and medium for processing annotations of multiple operating systems to solve the problem that users need to manually switch systems to view annotation contents, and to enable systems to call each other's annotation contents.
[0005] According to one aspect of the present invention, a method for processing annotations in multiple operating systems is provided, wherein a first operating system and a second operating system share the same device for interface display, and the method comprises:
[0006] When in the first operating system, determining a first image for annotation;
[0007] Determining a first batch of annotation information on a first image and determining a second image after compressing the first image including the first batch of annotation information;
[0008] Storing the first image, the first batch of annotation information, and annotation association information in a storage space under the first operating system, and storing the second image in a storage space under the second operating system, wherein the annotation association information is used to record an association relationship between the first image, the second image, and the first batch of annotation information;
[0009] When in the second operating system, based on the second image stored in the second operating system, the corresponding first image and the first batch of annotation information are called from the storage space in the first operating system according to the annotation association information.
[0010] According to another aspect of the present invention, a multi-operating system annotation processing device is provided, the device comprising:
[0011] A first image determination module, used to determine a first image for annotation when in a first operating system;
[0012] A second image determination module, used to determine the first batch of annotation information on the first image and determine a second image obtained by compressing the first image including the first batch of annotation information;
[0013] a storage module, configured to store the first image, the first batch of annotation information, and annotation association information in a storage space under the first operating system, and to store the second image in a storage space under the second operating system, wherein the annotation association information is used to record an association relationship between the first image, the second image, and the first batch of annotation information;
[0014] The calling module is used to call the corresponding first image and the first batch of annotation information from the storage space under the first operating system according to the annotation association information based on the second image stored in the second operating system when in the second operating system.
[0015] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0016] at least one processor; and
[0017] a memory communicatively connected to the at least one processor; wherein,
[0018] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the annotation processing method for multiple operating systems described in any embodiment of the present invention.
[0019] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the annotation processing method for multiple operating systems described in any embodiment of the present invention when executed.
[0020] The technical solution of the embodiment of the present invention, when in a first operating system, determines a first image for annotation, determines the first batch of annotation information on the first image, and determines a second image after compressing the first image containing the first batch of annotation information, further stores the first image, the first batch of annotation information and the annotation association information in the storage space under the first operating system, and stores the second image in the storage space under the second operating system. This storage form avoids repeated storage of annotation information and saves storage space. Further, when in the second operating system, based on the second image stored in the second operating system, the corresponding first image and the first batch of annotation information are called from the storage space under the first operating system according to the annotation association information, thereby avoiding the user switching to the first operating system to view the corresponding first image and the first batch of annotation information, solving the problem that the user needs to manually switch the system to view the annotation content, and realizing that the systems can call each other's system's annotation content, saving the customer's operation and learning costs during use.
[0021] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0023] Figure 1 is a flowchart of a method for processing annotations in multiple operating systems according to an embodiment of the present invention;
[0024] Figure 2 is a schematic diagram of a device display interface applicable to an embodiment of the present invention;
[0025] Figure 3 is a flowchart of a method for processing annotations in multiple operating systems according to an embodiment of the present invention;
[0026] Figure 4 is a structural schematic diagram of a multi-operating system annotation processing device provided according to an embodiment of the present invention;
[0027] Figure 5 It is a structural schematic diagram of an electronic device implementing the annotation processing method of multiple operating systems according to an embodiment of the present invention. DETAILED DESCRIPTION
[0028] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0029] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0030] Figure 1 This is a flowchart of a method for processing annotations of multiple operating systems provided by an embodiment of the present invention. This embodiment is applicable to the case of calling and storing annotations of multiple operating systems. The method can be executed by an annotation processing device for multiple operating systems. The annotation processing device for multiple operating systems can be implemented in the form of hardware and / or software. The annotation processing device for multiple operating systems can be configured in any electronic device with network communication function. Figure 1 As shown, the method includes:
[0031] S110 . In a first operating system, determine a first image for annotation.
[0032] In this application, the first operating system and the second operating system share the same device for interface display, such as the display interface of a conference tablet (such as Figure 2 ), conference tablets usually carry two operating systems, one is the Android operating system, and the other is the operating system carried by the OPS device. When the first operating system is the Android operating system, the second operating system is the operating system carried by the OPS device; when the first operating system is the operating system carried by the OPS device, the second operating system is the Android operating system.
[0033] Specifically, when in the first operating system, the display interface in the first operating system is adjusted to the interface that needs to be annotated, and then the interface is screenshotted as the first image. The specific process is: in response to the annotation mode start operation in the first operating system, the display interface in the first operating system is screenshotted to obtain the first image, and the first image is configured as the background image for annotation.
[0034] by Figure 2 For example, Figure 2 It is the application interface of the conference tablet, which includes OPS. <ops>The button serves as the entrance for the conference tablet to switch from the Android system (first operating system) to the Windows operating system (second operating system) carried by the OPS device. The same button entrance also includes the bottom navigation bar-input source-OPS. The bottom navigation bar and the sidebar belong to the user visual operation interface (launchers) application, which can be displayed under any system, that is, it can be displayed under the Android system and the operating system carried by the OPS device. Under the Android system and the operating system carried by the OPS device, you can click the <Annotation> button from the sidebar to enter the annotation application. When the first operating system of this application is the Android system, the annotation mode startup operation is to click the <Annotation> button from the sidebar to enter the annotation application. In response to the annotation mode startup operation under the first operating system, the background takes a screenshot of the current display interface, and the screenshot of this annotation is recorded as the first image, and the first image is used as the background image of the annotation.
[0035] S120, determining a first batch of annotation information on a first image and determining a second image obtained by compressing the first image including the first batch of annotation information.
[0036] Specifically, in order to enable systems to call each other's annotation content without manually switching systems to view the annotation content, it is necessary to accurately determine the first batch of annotation information on the first image and determine the second image after compressing the first image containing the first batch of annotation information.
[0037] First, determining the first batch of annotation information on the first image may include: after the first image is displayed on a display interface under the first operating system, obtaining the first batch of annotation information formed by performing a first batch of annotation operations on the first image, and then generating the first batch of annotation information on the first image based on the first batch of annotation information. The first batch of annotation operations include writing and erasing, and the first batch of annotation information is represented in the form of drawn handwriting.
[0038] For example, after the first image is displayed, the writing module can be called to perform the first batch of annotation operations such as writing and erasing on the first image. When the handwriting content operation such as writing or erasing is detected, the drawing program draws the handwriting operation (writing / erasing) in real time, and the drawing program saves the drawn handwriting content as a separate handwriting file, that is, the first batch of annotation information.
[0039] Secondly, determining the second image after compressing the first image containing the first batch of annotation information can be: determining a third image corresponding to the first image, wherein the third image is a screenshot formed by adding the first batch of annotation information formed by performing the first batch of annotation operations on the first image, that is, after annotating the first image, a screenshot of the image displayed after the annotation is taken to obtain the third image, and the first batch of annotation information is represented in the form of drawn handwriting; then compressing the third image to obtain the second image, and deleting the third image after obtaining the second image, wherein the image resolution of the second image is smaller than the image resolution of the third image, and the second image is used as a thumbnail displayed for the annotation when viewing the annotation.
[0040] For example, the third image is an image formed by merging the first image and the first batch of annotation information, so the resolution is usually the screen display resolution. For example, the display resolution of most conference tablets is 4K (3840*2160), and high resolution occupies a large storage space. Therefore, after obtaining the third image, the third image will be scaled and used as the second image, such as scaling to a lower resolution such as 480P. After the scaling is completed, the third image can be deleted to avoid occupying storage resources. The second image is mainly used as a thumbnail of the annotation display when viewing annotations in the file manager under the Android system and in the folder of the operating system carried by the OPS device.
[0041] S130: Storing the first image, the first batch of annotation information, and the annotation-associated information in a storage space under the first operating system, and storing the second image in a storage space under the second operating system.
[0042] The annotation association information is used to record the association between the first image, the second image and the first batch of annotation information. The annotation association information is established to facilitate the calling of annotation information between systems.
[0043] Specifically, after the annotation operation under the first operating system is completed, the first image, the first batch of annotation information and the annotation associated information are stored in the storage space under the first operating system, and the second image is stored in the storage space under the second operating system, so that the second operating system can use the second image to call the annotation information.
[0044] For example, after determining the first image, the first batch of annotation information, the second image and annotation associated information, click a button with a save function in the display interface of the first operating system, and the first operating system automatically stores the first image, the first batch of annotation information and the annotation associated information in the storage space under the first operating system; at the same time, after determining the annotation associated information under the first operating system, the second image is transmitted to the storage space under the second operating system through the device interface of the second operating system (the device to which the second operating system belongs is mounted on the device to which the first operating system belongs) for storage. This saving method avoids repeated saving of the first image, the first batch of annotation information, the second image and annotation associated information, and effectively saves storage resources.
[0045] S140. When in the second operating system, based on the second image stored in the second operating system, call the corresponding first image and the first batch of annotation information from the storage space in the first operating system according to the annotation association information.
[0046] Specifically, when in the second operating system, the first image and the first batch of annotation information are saved in the first operating system, but the present application does not need to switch the system to the first operating system to view the first image and the first batch of annotation information. Instead, the information of the second image can be fed back to the first operating system, so that the first operating system calls the corresponding first image and the first batch of annotation information based on the annotation association information, and sends it to the second operating system, making user operation more convenient.
[0047] In a feasible embodiment, optionally, when the first operating system is in operation, when the first image and the first batch of annotation information are called, one method is to directly view and call the first image and the first batch of annotation information in the stored folder, and another calling method may include steps A1-A2:
[0048] Step A1: storing the second image in a storage space under the first operating system.
[0049] Step A2: when in the first operating system, based on the second image stored in the first operating system, call the corresponding first image and the first batch of annotation information according to the annotation association information.
[0050] Specifically, in response to a first call operation on a second image stored in a first operating system, a first call request for the second image stored in the first operating system is sent to the first operating system, and a call response is made to the first call result returned by the first operating system, wherein the first call result is determined by querying the first image and the first batch of annotation information returned based on the second image stored in the first operating system according to the annotation association information. For example, in the first operating system, the second image is clicked to query the annotation association information, the corresponding first image and the first batch of annotation information are found, and the first batch of annotation information is displayed on the first image to complete the call of the first image and the first batch of annotation information.
[0051] The present technical solution, when in the first operating system, utilizes different methods to call the first image and the first batch of annotation information, so that the user can call the annotation information according to needs. Moreover, when in the first operating system, based on the second image stored in the first operating system, the corresponding first image and the first batch of annotation information are called according to the annotation association information, thereby realizing automatic and rapid calling of the annotation information.
[0052] The technical solution of the embodiment of the present invention, when in a first operating system, determines a first image for annotation, determines the first batch of annotation information on the first image, and determines a second image after compressing the first image containing the first batch of annotation information, further stores the first image, the first batch of annotation information and the annotation association information in the storage space under the first operating system, and stores the second image in the storage space under the second operating system. This storage form avoids repeated storage of annotation information and saves storage space. Further, when in the second operating system, based on the second image stored in the second operating system, the corresponding first image and the first batch of annotation information are called from the storage space under the first operating system according to the annotation association information, thereby avoiding the user switching to the first operating system to view the corresponding first image and the first batch of annotation information, solving the problem that the user needs to manually switch the system to view the annotation content, and realizing that the systems can call each other's system's annotation content, saving the customer's operation and learning costs during use.
[0053] Figure 2 A flowchart of a method for processing annotations in multiple operating systems is provided in an embodiment of the present invention. The technical solution of this embodiment further optimizes the process S140 in the aforementioned embodiment on the basis of the aforementioned embodiment. This embodiment can be combined with various optional solutions in one or more of the aforementioned embodiments.
[0054] like Figure 2 As shown, the annotation processing method of the multi-operating system includes:
[0055] S210: When in the first operating system, determine a first image for annotation, a first batch of annotation information on the first image, and a second image obtained by compressing the first image including the first batch of annotation information.
[0056] S220: Storing the first image, the first batch of annotation information, and the annotation associated information in a storage space under the first operating system, and storing the second image in a storage space under the second operating system.
[0057] S230: In response to a second calling operation on a second image stored in the second operating system, send a second calling request for the second image stored in the second operating system from the second operating system to the first operating system.
[0058] Among them, the second calling operation can be an operation of clicking to open the second image, and the second calling request can be an instruction to call the first image and the first batch of annotation information. The calling includes viewing or obtaining, such as an instruction containing image information of the second image and the second calling operation content.
[0059] For example, when viewing the contents of the first batch of annotation information in a specified folder of the second operating system, click on the operation to open the second image. After receiving the instruction to open the second image, the second operating system sends information such as the image name and operation content to the first operating system through the OPS interface.
[0060] S240, calling a response to a second calling result returned by the first operating system, wherein the second calling result is determined by querying the first image and the first batch of annotation information returned by the first operating system based on the second image stored in the second operating system according to the annotation association information.
[0061] Specifically, according to the difference of the second calling request, the operation of calling response to the second calling result returned by the first operating system is also different. Specifically, there are at least two situations as follows:
[0062] The first type: the second call request is a request for viewing the annotation content corresponding to the second image; a call response is made to the second call result returned by the first operating system, including steps B1-B2:
[0063] Step B1: receiving a first image and a first batch of annotation information returned by the first operating system to the second operating system according to the annotation association information.
[0064] Specifically, the first operating system searches for the first image and the first batch of annotation information corresponding to the second image according to the annotation information, and returns the first image and the first batch of annotation information to the second operating system through the OPS interface. The second operating system receives the first image and the first batch of annotation information so that the second operating system can display the received information on the display interface.
[0065] Step B2: The returned first image and the first batch of annotation information are combined and displayed on the display interface of the second operating system, wherein the first image is presented on the display interface of the second operating system, and the first batch of annotation information is presented on the first image.
[0066] Specifically, the returned first image is displayed on the display interface under the second operating system, and the first batch of annotation information is displayed on the first image, thereby completing the viewing of the annotation content under the second operating system, and realizing the display of the annotation content in the second operating system without the user's perception, which greatly reduces the user's usage cost and education cost.
[0067] Optionally, after the returned first image and the first batch of annotation information are combined and displayed on the display interface of the second operating system, if the user needs to modify the first batch of annotation information, the following operations need to be performed:
[0068] If the first batch of annotation information is edited under the second operating system, the specific process is: in response to the editing operation on the first batch of annotation information displayed under the second operating system, the first batch of annotation information displayed on the display interface under the second operating system is adjusted to the second annotation information; based on the adjusted second annotation information, the annotation-associated information and the second image after compressing the first image containing the first batch of annotation information are updated; then the first image, the second annotation information and the updated annotation-associated information are stored in the storage space under the first operating system, and the updated second image is stored in the storage space under the second operating system, and only the updated second image is stored in the second operating system, and the original second image is deleted, so as to avoid waste of resources caused by storage of duplicate information and effectively save storage resources.
[0069] If the first batch of annotation information is edited under the first operating system, the specific process is: in response to the editing operation on the first batch of annotation information displayed under the first operating system, the first batch of annotation information displayed on the display interface under the first operating system is adjusted to the third annotation information; based on the adjusted third annotation information, the annotation associated information and the second image after compressing the first image containing the first batch of annotation information are updated; then the first image, the third annotation information and the updated annotation associated information are stored in the storage space under the first operating system, and the updated second image is stored in the storage space under the second operating system, and the original second image is deleted to reasonably allocate the storage information and avoid waste of storage resources.
[0070] The second type: the second call request is a request for obtaining the annotation content corresponding to the second image triggered by the acquisition operation of the second image stored in the second operating system, that is, the user needs to export the annotation content, and the call response to the second call result returned by the first operating system specifically includes:
[0071] A fourth image formed by merging the first image queried according to the annotation associated information and the first batch of annotation information is received, and under the second operating system, the received fourth image is stored in the storage space indicated by the second call request.
[0072] For example, under the second operating system, the user needs to export and copy the annotation content to a USB flash drive for sharing or archiving, etc., then the second operating system sends a second call request to the first operating system, and then the first operating system queries the first image and the first batch of annotation information according to the annotation associated information, and sends a fourth image formed by merging the first image and the first batch of annotation information to the second operating system. After the second operating system receives the fourth image, it stores the received fourth image in the storage space indicated by the second call request, such as sending it to a designated USB flash drive, and after the fourth image is stored in the storage space indicated by the second call request, the fourth image in the second operating system is deleted to avoid occupying storage resources.
[0073] The technical solution of an embodiment of the present invention is to determine a first image for annotation, a first batch of annotation information on the first image, and a second image after compressing the first image containing the first batch of annotation information when in a first operating system, and then store the first image, the first batch of annotation information and the annotation associated information in the storage space under the first operating system, and store the second image in the storage space under the second operating system. This storage form avoids repeated storage of annotation information and saves storage space. Further, when in a second operating system, in response to a second call operation on the second image stored in the second operating system, a second call request for the second image stored in the second operating system is sent from the second operating system to the first operating system, and then the second operating system calls the second call result returned by the first operating system in response, thereby avoiding the user switching to the first operating system to view the corresponding first image and the first batch of annotation information, solving the problem that the user needs to manually switch the system to view the annotation content, and realizing that the systems can call each other's system's annotation content, saving the customer's operation and learning costs during use.
[0074] Figure 4 A structural schematic diagram of an annotation processing device for multiple operating systems provided in an embodiment of the present invention. This embodiment is applicable to the situation where annotations of multiple operating systems are called and stored. The annotation processing device for multiple operating systems can be implemented in the form of hardware and / or software. The annotation processing device for multiple operating systems can be configured in any electronic device with network communication function.
[0075] like Figure 4 As shown, the annotation processing device of the multi-operating system includes:
[0076] A first image determination module 310, used to determine a first image for annotation when in the first operating system;
[0077] A second image determination module 320, configured to determine the first batch of annotation information on the first image and determine a second image obtained by compressing the first image including the first batch of annotation information;
[0078] A storage module 330, configured to store the first image, the first batch of annotation information, and annotation association information in a storage space under the first operating system, and to store the second image in a storage space under the second operating system, wherein the annotation association information is used to record an association relationship between the first image, the second image, and the first batch of annotation information;
[0079] The calling module 340 is used to call the corresponding first image and the first batch of annotation information from the storage space under the first operating system according to the annotation association information based on the second image stored under the second operating system when in the second operating system.
[0080] Optionally, the first image determination module is used to:
[0081] In response to the annotation mode start operation under the first operating system, a first image is obtained by taking a screenshot of the display interface under the first operating system, and the first image is configured as a background image for annotation.
[0082] Optionally, the second image determination module includes a first batch annotation information determination unit, configured to:
[0083] After the first image is displayed on the display interface under the first operating system, first batch of annotation information formed by performing first batch of annotation operations on the first image is obtained, the first batch of annotation operations including writing and erasing, and the first batch of annotation information is represented in the form of drawn handwriting.
[0084] Optionally, the second image determination module includes a compression unit, configured to:
[0085] Determine a third image corresponding to the first image, wherein the third image is a screenshot formed by adding first batch annotation information formed by performing the first batch annotation operation on the first image to the first image, wherein the first batch annotation information is represented in the form of drawn handwriting;
[0086] The third image is compressed to obtain a second image, and the third image is deleted after obtaining the second image. The image resolution of the second image is smaller than the image resolution of the third image. The second image is used as a thumbnail displayed as an annotation when viewing the annotation.
[0087] Optional, storage module for:
[0088] After determining the annotation association information under the first operating system, the second image is transmitted to the storage space under the second operating system through the device interface of the device to which the second operating system belongs for storage, and the device to which the second operating system belongs is mounted on the device to which the first operating system belongs.
[0089] Optionally, the calling module includes:
[0090] a calling request sending unit, configured to send, from the second operating system to the first operating system, a second calling request for the second image stored in the second operating system in response to a second calling operation for the second image stored in the second operating system;
[0091] A response unit is used to call a response to a second call result returned by the first operating system, wherein the second call result is determined by querying the first image and the first batch of annotation information returned by the first operating system based on the second image stored in the second operating system according to the annotation association information.
[0092] Optionally, the second calling request is a request for viewing the annotation content corresponding to the second image;
[0093] Response unit, comprising:
[0094] A receiving unit, configured to receive the first image and the first batch of annotation information returned by the first operating system to the second operating system according to the annotation association information;
[0095] The merging unit is used to merge the returned first image and the first batch of annotation information on the display interface of the second operating system for display, wherein the first image is presented on the display interface of the second operating system, and the first batch of annotation information is presented on the first image.
[0096] Optionally, the merging unit also includes an editing and updating unit for
[0097] In response to an editing operation on the first batch of annotation information displayed under the second operating system, adjusting the first batch of annotation information displayed on the display interface under the second operating system to second annotation information;
[0098] updating the annotation associated information and the second image obtained by compressing the first image including the first annotation information based on the adjusted second annotation information;
[0099] The first image, the second annotation information and the updated annotation associated information are stored in a storage space under the first operating system, and the updated second image is stored in a storage space under the second operating system.
[0100] Optionally, the second calling request is a request for acquiring annotation content corresponding to the second image, triggered by triggering an acquisition operation on the second image stored in the second operating system;
[0101] The response unit includes an export unit for:
[0102] Receiving a fourth image formed by combining the first image queried according to the annotation associated information and the first batch of annotation information through the first operating system;
[0103] Under the second operating system, the received fourth image is stored in the storage space indicated by the second calling request.
[0104] Optionally, the device further comprises:
[0105] An image storage unit, used for storing the second image in a storage space under the first operating system;
[0106] The reference calling unit is used to call the corresponding first image and the first batch of annotation information according to the annotation association information based on the second image stored in the first operating system when in the first operating system.
[0107] Optionally, refer to the call unit for:
[0108] In response to a first calling operation on a second image stored in the first operating system, sending a first calling request for the second image stored in the first operating system to the first operating system;
[0109] A call response is made to a first call result returned by the first operating system, wherein the first call result is determined under the first operating system based on the first image stored under the first operating system and the first batch of annotation information returned by the query according to the annotation association information.
[0110] The annotation processing device for multiple operating systems provided in the embodiments of the present invention can execute the annotation processing method for multiple operating systems provided in any of the above-mentioned embodiments of the present invention, and has the corresponding functions and beneficial effects of executing the annotation processing method for multiple operating systems. For detailed processes, please refer to the relevant operations of the annotation processing method for multiple operating systems in the above-mentioned embodiments.
[0111] Figure 5 A schematic diagram of the structure of an electronic device that can be used to implement the annotation processing method of multiple operating systems of an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0112] like Figure 5 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0113] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0114] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the annotation processing method for multiple operating systems.
[0115] In some embodiments, the annotation processing method for multiple operating systems may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the annotation processing method for multiple operating systems described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the annotation processing method for multiple operating systems in any other appropriate manner (e.g., by means of firmware).
[0116] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0117] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0118] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0119] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0120] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0121] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0122] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0123] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.< / ops>
Claims
1. A method for processing annotations in multiple operating systems, characterized in that: The first operating system and the second operating system share the same device for interface display, and the method includes: When in the first operating system, determining a first image for annotation; Determining a first batch of annotation information on a first image and determining a second image after compressing the first image including the first batch of annotation information; Storing the first image, the first batch of annotation information, and annotation association information in a storage space under the first operating system, and storing the second image in a storage space under the second operating system, wherein the annotation association information is used to record an association relationship between the first image, the second image, and the first batch of annotation information; When in the second operating system, based on the second image stored in the second operating system, the corresponding first image and the first batch of annotation information are called from the storage space in the first operating system according to the annotation association information.
2. The method according to claim 1, characterized in that Determining a first image for annotation includes: In response to the annotation mode start operation under the first operating system, a first image is obtained by taking a screenshot of the display interface under the first operating system, wherein the first image is configured as a background image for annotation; The step of determining the first batch of annotation information on the first image includes: After the first image is displayed on the display interface under the first operating system, first batch of annotation information formed by performing first batch of annotation operations on the first image is obtained, the first batch of annotation operations including writing and erasing, and the first batch of annotation information is represented in the form of drawn handwriting.
3. The method according to claim 1, characterized in that Determining a second image after compressing the first image containing the first batch of annotation information includes: Determine a third image corresponding to the first image, wherein the third image is a screenshot formed by adding first batch annotation information formed by performing the first batch annotation operation on the first image to the first image, wherein the first batch annotation information is represented in the form of drawn handwriting; The third image is compressed to obtain a second image, and the third image is deleted after obtaining the second image. The image resolution of the second image is smaller than the image resolution of the third image. The second image is used as a thumbnail displayed as an annotation when viewing the annotation.
4. The method according to claim 1, characterized in that: Storing the second image in a storage space under the second operating system includes: After determining the annotation association information under the first operating system, the second image is transmitted to the storage space under the second operating system through the device interface of the device to which the second operating system belongs for storage, and the device to which the second operating system belongs is mounted on the device to which the first operating system belongs.
5. The method according to claim 1, characterized in that Based on the second image stored in the second operating system, calling the corresponding first image and the first batch of annotation information from the storage space in the first operating system according to the annotation association information, including: In response to a second calling operation on a second image stored in the second operating system, sending a second calling request for the second image stored in the second operating system from the second operating system to the first operating system; A call response is made to a second call result returned by the first operating system, wherein the second call result is determined by querying the first image and the first batch of annotation information returned by the first operating system based on the second image stored in the second operating system according to the annotation association information.
6. The method according to claim 5, characterized in that The second calling request is a request for viewing the annotation content corresponding to the second image; Calling and responding to the second calling result returned by the first operating system includes: receiving the first image and the first batch of annotation information returned by the first operating system to the second operating system according to the annotation association information; The returned first image and the first batch of annotation information are combined and displayed on a display interface under the second operating system, the first image is presented on the display interface under the second operating system, and the first batch of annotation information is presented on the first image.
7. The method according to claim 6, characterized in that After combining and displaying the returned first image and the first batch of annotation information on a display interface under the second operating system, the method further includes: In response to an editing operation on the first batch of annotation information displayed under the second operating system, adjusting the first batch of annotation information displayed on the display interface under the second operating system to second annotation information; updating the annotation associated information and the second image obtained by compressing the first image including the first annotation information based on the adjusted second annotation information; The first image, the second annotation information and the updated annotation association information are stored in a storage space under the first operating system, and the updated second image is stored in a storage space under the second operating system.
8. The method according to claim 5, characterized in that The second calling request is a request for acquiring annotation content corresponding to the second image, triggered by triggering an acquisition operation on the second image stored in the second operating system; Calling and responding to the second calling result returned by the first operating system includes: Receiving a fourth image formed by combining the first image queried according to the annotation associated information and the first batch of annotation information through the first operating system; Under the second operating system, the received fourth image is stored in the storage space indicated by the second calling request.
9. The method according to claim 1, characterized in that: The method further comprises: storing the second image in a storage space under the first operating system; When in the first operating system, based on the second image stored in the first operating system, calling the corresponding first image and the first batch of annotation information according to the annotation association information; Wherein, based on the second image stored in the first operating system, calling the corresponding first image and the first batch of annotation information according to the annotation association information includes: In response to a first calling operation on a second image stored in the first operating system, sending a first calling request for the second image stored in the first operating system to the first operating system; A call response is made to a first call result returned by the first operating system, wherein the first call result is determined under the first operating system based on the first image stored under the first operating system and the first batch of annotation information returned by the query according to the annotation association information.
10. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the annotation processing method for multiple operating systems according to any one of claims 1 to 9.