Method and device for long screen shot annotation

文档序号:1963541 发布日期:2021-12-14 浏览:23次 中文

阅读说明:本技术 一种长截屏批注的方法及装置 (Method and device for long screen shot annotation ) 是由 杨国祥 任美平 于 2021-09-02 设计创作,主要内容包括:本发明提供一种长截屏批注的方法和装置,该方法包括:在接收到应用的启动命令的情况下,判断所述应用是否支持全局批注;在所述应用支持全局批注的情况下,调用窗口管理器进入全局批注模式,生成长截屏页面,并根据用户的输入指令生成长截屏页面中的批注内容;调用窗口管理器将所述长截屏页面与所述批注内容合成,完成长截屏批注。本发明实现了边批注边变更批注内容,批注结束后,所有批注内容全部保存在一张长截屏页面上,操作简单,提高用户体验。(The invention provides a method and a device for long screen shot annotation, wherein the method comprises the following steps: under the condition of receiving a starting command of an application, judging whether the application supports global annotation; under the condition that the application supports global annotation, a window manager is called to enter a global annotation mode to generate a long screenshot page, and annotation content in the long screenshot page is generated according to an input instruction of a user; and calling a window manager to synthesize the long screenshot page and the annotation content to finish the long screenshot annotation. The invention realizes that the annotation content is changed while the annotation is finished, and all the annotation content is stored on a long screenshot page after the annotation is finished, so the operation is simple and the user experience is improved.)

1. A method of long screenshot annotation comprising:

under the condition of receiving a starting command of an application, judging whether the application supports global annotation;

under the condition that the application supports global annotation, a window manager is called to enter a global annotation mode to generate a long screenshot page, and annotation content in the long screenshot page is generated according to an input instruction of a user;

and calling a window manager to synthesize the long screenshot page and the annotation content to finish the long screenshot annotation.

2. The method of claim 1, wherein in the case that the application supports global annotation, invoking a window manager to enter a global annotation mode comprises:

displaying a global annotation button in the case that the application supports global annotation;

and receiving the operation of the global annotation button, and calling a window manager to enter the global annotation mode.

3. The method for long screenshot annotation according to claim 1, wherein in case that said application supports global annotation, invoking a window manager to enter global annotation mode to generate a long screenshot page comprises:

calling a window manager to intercept a current display page of the application as an initial page;

performing a rolling operation on the page of the application to obtain a current page, and calling a window manager to obtain a rolling page;

and calling a window manager to splice the rolling page to the initial page to obtain a long screenshot page.

4. The method for generating annotation contents in long screenshot pages according to input instructions of a user according to the long screenshot annotation method of claim 1, wherein the method comprises the following steps:

and performing annotation operation on the long screenshot page according to the input instruction, and calling a window manager to obtain annotation content in the long screenshot page.

5. The method of claim 3, wherein the scrolling the page of the application to obtain the current page, and invoking the window manager to obtain the scrolling page comprises:

and calling a window manager to perform rolling operation on the page of the application to obtain the current page, and taking the area of the current page different from the initial page as the rolling page.

6. The method for annotating the long screenshot according to claim 4, wherein the performing the annotation operation on the long screenshot page according to the input instruction, and invoking a window manager to obtain annotation contents in the long screenshot page comprises:

performing annotation operation on the long screenshot page according to the input instruction, and calling a window manager to determine the position of the annotation operation on the long screenshot page;

and calling a window manager to acquire the annotation content based on the position on the long screenshot page, wherein the position on the long screenshot page and the annotation content are in a corresponding relationship.

7. A device for long screenshot annotation comprising:

the judging module is used for judging whether the application supports global annotation or not under the condition of receiving a starting command of the application;

the generating module is used for calling the window manager to enter a global annotation mode to generate a long screenshot page under the condition that the application supports global annotation, and generating annotation content in the long screenshot page according to an input instruction of a user;

and the synthesis module is used for calling the window manager to synthesize the long screenshot page and the annotation content to finish the long screenshot annotation.

8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program performs the steps of a method of long screenshot annotation according to any one of claims 1 to 6.

9. A non-transitory computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of a method of long screenshot annotation according to any one of claims 1 to 6.

10. A computer program product comprising a computer program, characterized in that the computer program realizes the steps of a method of long screenshot annotation according to any one of claims 1 to 6 when executed by a processor.

Technical Field

The invention relates to the technical field of computer software, in particular to a method and a device for long-screenshot annotation.

Background

In the prior art, a mode of realizing annotation by global handwriting is to perform area or whole screen capture on a current page. In this mode, if annotating the contents of a list class or a long document class is troublesome, the annotated contents need to be stored after one screen is processed, and then the screen is scrolled to process the next screen content. The global handwriting annotation implementation mode is complex in operation, and the boundary of each screen page needs to be distinguished, so that the user experience is poor.

Disclosure of Invention

The invention provides a method and a device for annotating a long screenshot, which are used for realizing the change of annotation contents while annotating, and after the annotation is finished, all the annotation contents are stored on a long screenshot page, so that the operation is simple, and the user experience is improved.

In a first aspect, an embodiment of the present invention provides a method for long screenshot annotation, where the method includes:

under the condition of receiving a starting command of an application, judging whether the application supports global annotation;

under the condition that the application supports global annotation, a window manager is called to enter a global annotation mode to generate a long screenshot page, and annotation content in the long screenshot page is generated according to an input instruction of a user;

and calling a window manager to synthesize the long screenshot page and the annotation content to finish the long screenshot annotation.

According to the method for long screenshot annotation provided by the invention, when the application supports global annotation, the method for calling the window manager to enter the global annotation mode comprises the following steps:

displaying a global annotation button in the case that the application supports global annotation;

and receiving the operation of the global annotation button, and calling a window manager to enter the global annotation mode.

According to the method for long screenshot annotation provided by the invention, when the application supports global annotation, a window manager is called to enter a global annotation mode to generate a long screenshot page, and the method comprises the following steps:

calling a window manager to intercept a current display page of the application as an initial page;

performing a rolling operation on the page of the application to obtain a current page, and calling a window manager to obtain a rolling page;

and calling a window manager to splice the rolling page to the initial page to obtain a long screenshot page.

According to the method for generating the annotation in the long screenshot page, the annotation content in the long screenshot page is generated according to the input instruction of the user, and the method comprises the following steps:

and performing annotation operation on the long screenshot page according to the input instruction, and calling a window manager to obtain annotation content in the long screenshot page.

According to the method for annotating the long screenshot, the page of the application is scrolled to obtain the current page, and a window manager is called to obtain the scrolled page, and the method comprises the following steps:

and calling a window manager to perform rolling operation on the page of the application to obtain the current page, and taking the area of the current page different from the initial page as the rolling page.

According to the method for annotating the long screenshot, the annotating operation is performed on the long screenshot page according to the input instruction, and the window manager is called to obtain the annotation content in the long screenshot page, and the method comprises the following steps:

performing annotation operation on the long screenshot page according to the input instruction, and calling a window manager to determine the position of the annotation operation on the long screenshot page;

and calling a window manager to acquire the annotation content based on the position on the long screenshot page, wherein the position on the long screenshot page and the annotation content are in a corresponding relationship.

In a second aspect, an embodiment of the present invention provides an apparatus for long screenshot annotation, including: the device comprises a judging module, a generating module and a synthesizing module. The judging module is used for judging whether the application supports global annotation or not under the condition of receiving a starting command of the application; the generating module is used for calling the window manager to enter a global annotation mode to generate a long screenshot page under the condition that the application supports global annotation, and generating annotation content in the long screenshot page according to an input instruction of a user; and the synthesis module is used for calling the window manager to synthesize the long screenshot page and the annotation content to finish the long screenshot annotation.

In a third aspect, an embodiment of the present invention provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the program to implement the steps of the method for long screenshot annotation described in any one of the above.

In a fourth aspect, embodiments of the present invention provide a non-transitory computer-readable storage medium, on which a computer program is stored, the computer program, when executed by a processor, implementing the steps of a method of long screenshot annotation as described in any one of the above.

In a fifth aspect, an embodiment of the present invention provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the computer program implements the steps of the method for long screenshot annotation as described in any one of the above.

The invention provides a method and a device for annotating a long screenshot, which judge whether an application supports global annotation or not by receiving a starting command of the application, call a window manager to enter a global annotation mode under the condition that the application supports the global annotation, call the window manager to intercept the long screenshot page of the application after entering the global annotation mode, annotate the content on the long screenshot page according to an input instruction of a user to obtain annotation content, and synthesize the intercepted long screenshot page and the obtained annotation content to finish the long screenshot annotation. The annotation content can be changed while annotation is carried out, and after annotation is finished, all the annotation content is stored on a long screenshot page, so that the operation is simple, and the user experience is improved.

Drawings

In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.

FIG. 1 is a schematic flow chart of a method for long screenshot annotation provided by an embodiment of the present invention;

fig. 2 is a schematic diagram of performing long-screen shot annotation on a currently displayed page when entering a global annotation mode according to an embodiment of the present invention;

FIG. 3 is a schematic flow chart of generating a long screenshot page according to an embodiment of the present invention;

FIG. 4 is a schematic diagram of a process for intercepting long screenshot content provided by an embodiment of the present invention;

FIG. 5 is a diagram illustrating a current page obtained after scrolling according to an embodiment of the present invention;

FIG. 6 is a schematic diagram of a long screenshot page provided by an embodiment of the present invention;

FIG. 7 is a flowchart of a process for multi-subject interactive long screenshot annotation provided by an embodiment of the present invention;

FIG. 8 is a device for long screenshot annotation according to an embodiment of the present invention;

fig. 9 is a schematic structural diagram of an electronic device provided by the present invention.

Detailed Description

In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

In the embodiment of the invention, the disclosed implementation method can be applied to various mobile devices, terminal devices and the like. The mobile device and the terminal device may be tablet Pad, smart phone, smart PDA, electronic book, etc., as generally understood by those skilled in the art.

Referring to fig. 1, a schematic flow chart of a method for long screenshot annotation provided in an embodiment of the present invention includes:

and 110, under the condition that a starting command of the application is received, judging whether the application supports global annotation.

In this step, the application refers to software installed in a mobile device or a terminal device scenario to implement a specific function, and may be used by a single user or multiple users. When the operating system is used, different applications can be added or deleted according to the requirements of users.

The start command may be a single/double click mouse operation on the application by the user, a shortcut key operation, or a command line operation, etc. The launching type may include a visualization interface (Activity) launching manner, a system Service (Service) launching manner, a broadcast launching manner, a data Provider (Content Provider) launching manner, and the like.

The global annotation refers to a function in an application, and the application can have the function of global annotation by adding a mode of entering a global annotation mode interface to the application.

Correspondingly, judging whether the application supports the global annotation can be realized by adding an interface for judging whether the application supports the global annotation to the application, and it can be understood that the mode for judging whether the application supports the global annotation can be set by a person skilled in the art autonomously according to actual needs or application scenes.

And 120, under the condition that the application supports global annotation, calling the window manager to enter a global annotation mode to generate a long screenshot page, and generating annotation content in the long screenshot page according to an input instruction of a user.

In this step, in the case where the application supports global annotation, it means that the application has an interface to enter the global annotation mode.

The long screenshot page refers to a page which is formed by sliding the current page from top to bottom after a user opens an application, starting to slide the current displayed page until the sliding is finished at the last moment, and adding the sliding change to the current displayed page. The screen capture operation lasts for a while because the content that the user needs to capture cannot be completed on the screen of the application only through the currently displayed page. The content displayed on the screen may differ at different times during this time.

The input instruction of the user may be an operation of annotating the content in the generated long screenshot page. The user's way of inputting instructions may be by single/double click operation of a mouse, by shortcut key operation, or by command line operation.

The annotation content refers to specific content of the annotation operation, and may be various types of annotations such as marking, checking, paragraph dividing, annotation, synopsis, and comment on the content in the generated long screenshot page.

And 130, calling a window manager to synthesize the long screenshot page and the annotation content to finish the long screenshot annotation.

In the step, the generated long screenshot page and annotation contents obtained by various types of annotations such as marking, checking, paragraph dividing, annotation, synopsis, and endorsement performed on the long screenshot page are synthesized to complete the long screenshot annotation.

Specifically, this step is further illustrated by way of example. Referring to fig. 2, a schematic diagram of performing long-screenshot annotation on a currently displayed page when entering a global annotation mode according to an embodiment of the present invention is provided, where Title and Bottom in the diagram are fixed parts of an application, Item may change continuously as the page of the application is scrolled, when a page on a screen of the application is screenshot and a long-screenshot page is generated, an annotation operation is performed on Item2, and the annotation operation in fig. 2 is to frame Item2, combine the page with a frame of Item2, and indicate that the long-screenshot annotation is completed.

The invention provides a method for annotating a long screenshot, which judges whether an application supports global annotation or not by receiving a starting command of the application, calls a window manager to enter a global annotation mode under the condition that the application supports the global annotation, calls the window manager to intercept the long screenshot page of the application after entering the global annotation mode, annotates the content on the long screenshot page according to an input instruction of a user to obtain annotation content, and synthesizes the intercepted long screenshot page and the obtained annotation content to finish the long screenshot annotation. The annotation content can be changed while annotation is carried out, and after annotation is finished, all the annotation content is stored on a long screenshot page, so that the operation is simple, and the user experience is improved.

Based on any of the embodiments described above, in step 120, when the application supports global annotation, the process of calling the window manager to enter the global annotation mode specifically includes the following steps S121 to S122:

and step S121, displaying a global annotation button under the condition that the application supports global annotation.

In this step, in a case that the application supports global annotation, that is, the application has an interface for entering the global annotation mode, a global annotation button for entering the global annotation mode is correspondingly displayed. The global annotation button is used for bearing the operation of entering a global annotation mode from a current application end mode, and the specific expression form of the global annotation button can be a floating ball, a floating ball or a floating window and the like with a marking function.

And step S122, receiving the operation of the global annotation button, and calling the window manager to enter a global annotation mode.

Correspondingly, the operation may be various, for example, the user may perform a single-click/double-click operation on the global annotation button to enter the global annotation mode.

In the embodiment, the global annotation mode can be more conveniently entered by setting the shortcut for entering the global annotation mode through the global annotation button, so that the user experience is improved.

Based on any of the above embodiments, an embodiment of the present invention provides a schematic flow chart of generating a long screenshot page, which is shown in fig. 3 and includes:

the call window manager intercepts the currently displayed page of the application as an initial page 310.

In this step, the window manager is the main graphic management module of the user in the system. The primary goal of the windows manager is to manage the windows, control the appearance, location, window hierarchy of the windows and provide a way for users to manipulate these window programs. When the window manager starts to operate, the interaction between the server and the client is redirected to the window manager. Whenever a new window is to be displayed, the request is redirected to the window manager, which determines the initial position of the window and its window level. Common Window manager implementations, such as DWM Window manager in Windows, X Window in Linux, Wayland, etc.

The initial page is generated by the window manager intercepting the page currently displayed on the screen by the application.

The interception refers to a screen capture operation performed on a page displayed on a screen opened by an application.

Specifically, referring to fig. 4, a schematic diagram of a process for intercepting a long screenshot content provided in this embodiment is shown, where Title and Bottom are fixed parts of an application, and Item is a change area of the application. Title may represent the Title bar of the application, located at the top of the application window. The current application program name, file name, and the like are displayed, and icons and the like having functions of the application may be included in windows of many applications. Bottom can represent a navigation bar of the application, which is shown in the form of an icon or a text, and the user clicks the corresponding navigation switchable page content. The Item may represent an edit bar of an application on which the user may perform a scrolling operation.

The left part of the figure shows screen content, the right part shows long screenshot content, the current left screen content shows Title, Item1, Item2, Item3 and Bottom, the current left screen content is subjected to screenshot to obtain long screenshot content, namely Title, Item1, Item2, Item3 and Bottom, and the current long screenshot content is used as an initial page.

And 320, performing a rolling operation on the page of the application to obtain a current page, and calling a window manager to obtain the rolling page.

Specifically, the user may scroll the page of the application downward with one or two fingers to obtain the current page of the application after scrolling, and at this time, the page of the application changes, and the window manager is invoked to respond to the change to obtain the scrolling page.

Correspondingly, referring to fig. 5, a schematic diagram of a current page obtained after scrolling provided in this embodiment is shown. The left part of the drawing shows screen content before scrolling, the right part shows screen content after scrolling, the screen content before scrolling shows Title, Item1, Item2, Item3 and Bottom, the page of the application is scrolled, at the moment, Title, Item2, Item3, Item4 and Bottom are displayed on the screen, and Item4 obtained at the moment is called a scroll page.

And 330, calling a window manager to splice the rolling page to the initial page to obtain a long screenshot page.

Specifically, referring to fig. 6, a schematic diagram of a long screenshot page provided in this embodiment is shown, where a left portion of the diagram shows long screenshot content before scrolling, a right portion of the diagram shows long screenshot content spliced after scrolling, the long screenshot content before scrolling shows Title, Item1, Item2, Item3, and Bottom, after scrolling changes, Item4 is displayed on an application page, and newly displayed Item4 is spliced to the page of the long screenshot content before scrolling, so as to obtain the long screenshot content after scrolling, Item1, Item2, Item3, Item4, and Bottom.

Based on any of the above embodiments, in step 120, generating annotation content in the long screenshot page according to the input instruction of the user includes:

and carrying out annotation operation on the long screenshot page according to the input instruction, and calling a window manager to obtain annotation content in the long screenshot page.

Specifically, an input instruction is obtained through single/double click operation of a mouse or other operation modes, one or more annotations of marking, checking, paragraph dividing, annotation, synopsis, endorsement and the like are performed on the long screenshot page, and window management is invoked to obtain the made annotations, namely annotation content is obtained.

Based on any of the above embodiments, in step 320, performing a scrolling operation on the applied page to obtain a current page, and invoking the window manager to obtain a scrolling page includes:

and calling a window manager to perform rolling operation on the page of the application to obtain a current page, and taking the area of the current page different from the initial page as a rolling page.

Specifically, referring to fig. 5, the screen content before scrolling shows Title, Item1, Item2, Item3, and Bottom, and the page at this time is defined as an initial page, the screen content after scrolling shows Title, Item2, Item3, Item4, and Bottom, the page at this time is defined as a current page, and Item4 is seen to be changed, and then an area, i.e., Item4, where the current page is different from the initial page is defined as a scrolling page.

Based on any of the above embodiments, an embodiment of the present invention provides a method for performing annotation operation on a long screenshot page according to an input instruction, and invoking a window manager to obtain annotation content in the long screenshot page, including:

and performing annotation operation on the long screenshot page according to the input instruction, and calling a window manager to determine the position of the annotation operation on the long screenshot page.

In this step, the annotation operation is performed on the long screenshot page, but since only the currently displayed page can be displayed on the screen of the application and the currently displayed page changes as the page of the application is scrolled, the position of the annotation operation on the long screenshot page is determined in the global annotation mode.

And calling a window manager to acquire the annotation content based on the position on the long screenshot page, wherein the position on the long screenshot page and the annotation content are in a corresponding relation.

In this step, annotation content for operating the long screenshot page can be acquired based on the position on the long screenshot page, and one annotation content corresponds to one position in the long screenshot page.

Further, the implementation of the present disclosure is further explained in an additional way: referring specifically to fig. 7, fig. 7 is a flowchart of a procedure of a multi-agent interactive long screenshot annotation, which is described from three aspects of a user, an application and a window manager.

1. And the user starts the application and generates a corresponding starting command.

2. And under the condition that the application receives the starting command, judging whether the application supports global annotation.

3. Calling a window manager to display a global annotation button under the condition that the application supports global annotation;

4. the user operates the global annotation button, and the operation action can be single click/double click.

5. And calling a window manager to enter a global annotation mode, and intercepting the currently displayed page of the application in the global annotation mode.

6. A user obtains a currently displayed page of an application intercepted by a window manager as an initial page;

7. after the initial page is obtained, calling a window manager to judge whether the operation is a single-finger operation or a double-finger operation, carrying out annotation operation under the condition of the single-finger operation, and calling the window manager to obtain annotation content; under the condition of double-finger operation, a window manager generates a sliding event, converts the sliding event into a rolling event and sends the rolling event to an application, the application performs rolling operation on a page, the currently displayed page changes, the changed area is defined as a rolling page, the application feeds the rolling page back to the window manager, and the window manager splices the rolling page to an initial page to obtain a long screenshot page.

8. The user click is complete.

9. And calling a window manager to synthesize the long screenshot page and the annotation content.

10. A long screenshot page with annotation content is displayed on the screen of the application.

Based on any one of the above embodiments, referring to fig. 8, the device for long screenshot annotation provided by the embodiment of the present invention includes: a judging module 810, a generating module 820 and a synthesizing module 830. The determining module 810 is configured to determine whether the application supports global annotation when receiving a start command of the application; the generating module 820 is configured to, in a case that the application supports global annotation, invoke the window manager to enter a global annotation mode, generate a long screenshot page, and generate annotation content in the long screenshot page according to an input instruction of a user; and the synthesis module 830 is configured to invoke the window manager to synthesize the long screenshot page and the annotation content, so as to complete the long screenshot annotation.

The invention provides a long screenshot annotating device, which judges whether an application supports global annotation or not by receiving a starting command of the application, calls a window manager to enter a global annotation mode under the condition that the application supports the global annotation, calls the window manager to intercept a long screenshot page of the application after entering the global annotation mode, annotates the content on the long screenshot page according to an input instruction of a user to obtain annotation content, and synthesizes the intercepted long screenshot page and the obtained annotation content to finish the long screenshot annotation. The annotation content can be changed while annotation is carried out, and after annotation is finished, all the annotation content is stored on a long screenshot page, so that the operation is simple, and the user experience is improved.

Based on any of the above embodiments, the generating module 820 in the apparatus includes:

the display unit is used for displaying a global annotation button under the condition that the application supports global annotation;

and the receiving unit is used for receiving the operation of the global annotation button and calling the window manager to enter a global annotation mode.

Based on any of the above embodiments, the generating module 820 includes:

the calling unit is used for calling the window manager to intercept the current display page of the application as an initial page;

the scrolling unit is used for performing scrolling operation on the page of the application to obtain a current page and calling the window manager to obtain a scrolling page;

and the splicing unit is used for calling the window manager to splice the rolling page to the initial page to obtain the long screenshot page.

Based on any of the above embodiments, the generating module 820 further includes:

and the acquisition unit is used for performing annotation operation on the long screenshot page according to the input instruction and calling the window manager to acquire annotation content in the long screenshot page.

Based on any of the above embodiments, the scrolling unit in the apparatus is specifically configured to:

and calling a window manager to perform rolling operation on the page of the application to obtain a current page, and taking the area of the current page different from the initial page as a rolling page.

Based on any of the above embodiments, the obtaining unit in the apparatus is specifically configured to:

performing annotation operation on the long screenshot page according to the input instruction, and calling a window manager to determine the position of the annotation operation on the long screenshot page;

and calling a window manager to acquire the annotation content based on the position on the long screenshot page, wherein the position on the long screenshot page and the annotation content are in a corresponding relation.

Fig. 9 illustrates a physical structure diagram of an electronic device, and as shown in fig. 9, the electronic device may include: a processor (processor)910, a communication Interface (Communications Interface)920, a memory (memory)930, and a communication bus 940, wherein the processor 910, the communication Interface 920, and the memory 930 communicate with each other via the communication bus 940. Processor 910 may invoke logic instructions in memory 930 to perform a method of long screenshot annotation, the method comprising: under the condition of receiving a starting command of an application, judging whether the application supports global annotation; under the condition that the application supports global annotation, a window manager is called to enter a global annotation mode to generate a long screenshot page, and annotation content in the long screenshot page is generated according to an input instruction of a user; and calling a window manager to synthesize the long screenshot page and the annotation content to finish the long screenshot annotation.

Furthermore, the logic instructions in the memory 930 may be implemented in software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.

In another aspect, the present invention also provides a computer program product, the computer program product comprising a computer program, the computer program being storable on a non-transitory computer-readable storage medium, the computer program, when executed by a processor, being capable of executing a method of long screenshot annotation provided by the above methods, the method comprising: under the condition of receiving a starting command of an application, judging whether the application supports global annotation; under the condition that the application supports global annotation, a window manager is called to enter a global annotation mode to generate a long screenshot page, and annotation content in the long screenshot page is generated according to an input instruction of a user; and calling a window manager to synthesize the long screenshot page and the annotation content to finish the long screenshot annotation.

In yet another aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method for performing a long screenshot annotation provided by the above methods, the method comprising: under the condition of receiving a starting command of an application, judging whether the application supports global annotation; under the condition that the application supports global annotation, a window manager is called to enter a global annotation mode to generate a long screenshot page, and annotation content in the long screenshot page is generated according to an input instruction of a user; and calling a window manager to synthesize the long screenshot page and the annotation content to finish the long screenshot annotation.

The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.

Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.

Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

16页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:Linux系统中应用窗口背景模糊处理方法及装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!