CN110221888A - Screenshot processing method, device, readable storage medium storing program for executing and smart machine - Google Patents

Screenshot processing method, device, readable storage medium storing program for executing and smart machine Download PDF

Info

Publication number
CN110221888A
CN110221888A CN201910351126.6A CN201910351126A CN110221888A CN 110221888 A CN110221888 A CN 110221888A CN 201910351126 A CN201910351126 A CN 201910351126A CN 110221888 A CN110221888 A CN 110221888A
Authority
CN
China
Prior art keywords
screenshot
area
initial
interception
interception area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910351126.6A
Other languages
Chinese (zh)
Inventor
李一华
尹文乐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhongzhi Data Group Co Ltd
Original Assignee
Zhongzhi Data Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhongzhi Data Group Co Ltd filed Critical Zhongzhi Data Group Co Ltd
Priority to CN201910351126.6A priority Critical patent/CN110221888A/en
Publication of CN110221888A publication Critical patent/CN110221888A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The present invention proposes a kind of screenshot processing method, device, readable storage medium storing program for executing and smart machine, and this method comprises the following steps: instructing, is intercepted to the object content on display interface to obtain initial screenshot in response to the screenshot of user;Judge each lateral margin of initial screenshot whether at least exist one it is rectangular can interception area, wherein can interception area be that blank is arranged, can interception area length at least equal to the bond length of initial screenshot, and can there is no pictorial elements in interception area;If determine the lateral margin of initial screenshot there are one it is rectangular can interception area, screenshot markup information can loaded in interception area, and screenshot markup information and original initial screenshot are merged to obtain a target screenshot.Screenshot method proposed by the present invention can carry out secondary editor to the figure intercepted and utilize, convenient for users.

Description

Screenshot processing method, device, readable storage medium storing program for executing and smart machine
Technical field
The present invention relates to graph processing technique field, in particular to a kind of screenshot processing method, device, readable storage medium storing program for executing And smart machine.
Background technique
With the rapid development of development of Mobile Internet technology, mobile Internet number of users is increasing, and mobile device is gradually Become the primary terminal that user carries out internet behavior instead of PC.The web page access behavior of user is from the original browsing based on PC Device access is gradually transformed into mobile device-based browser access.
It, may be to picture, the text etc. in webpage when user carries out web page access using browser on the mobile apparatus Static Web page element generates interest, it is desirable to save it in mobile device and locally be checked at any time with facilitating, thus just produce and cut Figure demand.In addition, sometimes for picture carry out in further detail mark explanation, it will usually screenshot itself addition illustrate and The related text or two dimensional code of mark.
However, such method for directly adding mark in screenshot itself, destroys the integrality of screenshot, it has not been convenient to screenshot Carry out secondary use.
Summary of the invention
In view of the above situation, it is necessary to solve in the prior art, the method for directly adding mark in screenshot itself destroys The integrality of screenshot, it is not easy to the problem of secondary use is carried out to screenshot.
The embodiment of the invention provides a kind of screenshot processing methods, wherein described method includes following steps:
In response to the screenshot instruction of user, the object content on display interface is intercepted to obtain initial screenshot;
Judge each lateral margin of the initial screenshot whether at least exist one it is rectangular can interception area, wherein described can intercept Region be blank setting, it is described can interception area length at least equal to the initial screenshot bond length, and it is described can Pictorial element is not present in interception area;
If determine the lateral margin of the initial screenshot there are one it is rectangular it is described can interception area, intercept area described Screenshot markup information is loaded in domain, and the screenshot markup information and the original initial screenshot are merged to obtain one Target screenshot, wherein the screenshot markup information includes label character object or two dimensional code mark object.
Screenshot processing method proposed by the present invention, instructs according to screenshot first, carries out to the object content on display interface Interception obtains an initial screenshot, to obtained initial screenshot, analyzes in the initial screenshot and rectangular intercepts with the presence or absence of one Region, and if it exists, then screenshot markup information can be loaded in interception area at this, then by screenshot markup information and it is original just Beginning screenshot merges to obtain a target screenshot, realizes explanation and mark to the initial screenshot intercepted.In the present invention, by Being documented in above-mentioned screenshot markup information can be in interception area, and this can not include design element in interception area, work as user When needing to carry out secondary use to the screenshot, directly by it is above-mentioned can interception area carry out cutting division, can realize and be intercepted The secondary use of picture, it is convenient and efficient, improve user experience.
The screenshot processing method, wherein rectangular described cut if determining the lateral margin of the initial screenshot there are one Region is taken, then is included the following steps: in the method that can load screenshot markup information in interception area
Described in judgement can the area of interception area whether be greater than required area when loading the screenshot markup information;
If so, described the screenshot markup information can be loaded in interception area.
The screenshot processing method, wherein it is described can interception area include multiple continuously arranged cells to be marked, institute State described in judgement can the area of interception area whether be greater than the method for required area when loading the screenshot markup information and include Following steps:
When quantity of the quantity greater than the label character object to be loaded for determining the cell to be marked, then sentence It is fixed described can the area of interception area be greater than area required when loading the label character object;
When determine maximum width that multiple cells to be marked are surrounded and maximum length be respectively greater than to The two dimensional code corresponding width of mark object and length of load, then determine described in can the area of interception area be greater than load Required area when the two dimensional code mark object.
The screenshot processing method, wherein when determine in the initial screenshot there is no it is described can interception area when, institute State method further include:
A rectangular tab area is added in an at least lateral margin for the initial screenshot, and judges the face of the tab area Whether product is greater than area required when loading the screenshot markup information;
If so, loading the screenshot markup information in the tab area.
The screenshot processing method, wherein before a rectangular tab area is added in a lateral margin of the initial screenshot, The described method includes:
It calculates the initial screenshot after adding the tab area and is not added with described initial section of the tab area Length ratio between figure, and judge the length than whether being greater than preset length ratio;
If it is not, then adding a rectangular tab area in a lateral margin of the initial screenshot.
The screenshot processing method, wherein the method also includes:
To the initial screenshot for being not added with the tab area side, amplified according to the length ratio;
The amplified initial screenshot and the tab area after the load screenshot markup information are merged, To obtain the target screenshot.
The screenshot processing method, wherein the method also includes:
Instruction is disassembled in response to the figure of user, pattern analysis is carried out to the target screenshot of synthesis, and described in judgement Whether can interception area comprising described in target screenshot;
If it is not, the target screenshot is then split into the initial screenshot and the tab area.
The present invention also proposes a kind of screenshot device, wherein described device includes:
Picture interception module intercepts the object content on display interface for the screenshot instruction in response to user To obtain initial screenshot;
Picture analyzing module rectangular intercepts area for judging whether each lateral margin of the initial screenshot at least has one Domain, wherein it is described can interception area be that blank is arranged, it is described can interception area length it is short at least equal to the initial screenshot Edge lengths, and pictorial element can be not present in interception area described;
Picture labeling module, if lateral margin for determining the initial screenshot there are one it is rectangular described in can intercept area Domain then can load screenshot markup information in interception area described, and by the screenshot markup information and original described initial Screenshot is merged to obtain a target screenshot, wherein the screenshot markup information includes label character object or two dimensional code mark Object.
The present invention also proposes a kind of readable storage medium storing program for executing, is stored thereon with computer program, wherein described program is processed Device realizes screenshot processing method as described above when executing.
The present invention also proposes a kind of smart machine, including memory, processor and storage on a memory and can located The computer program run on reason device, wherein the processor realizes screenshot processing side as described above when executing described program Method.
Additional aspect and advantage of the invention will be set forth in part in the description, and will partially become from the following description Obviously, or embodiment through the invention is recognized.
Detailed description of the invention
Fig. 1 is the flow chart for the screenshot processing method that first embodiment of the invention proposes;
Fig. 2 is the flow chart for the screenshot processing method that second embodiment of the invention proposes;
Fig. 3 is the structural schematic diagram of initial screenshot in second embodiment of the invention;
Fig. 4 is by the schematic diagram of the initial screenshot intercepted in second embodiment of the invention;
Fig. 5 is the flow chart for the screenshot processing method that third embodiment of the invention proposes;
Fig. 6 is the flow chart for the screenshot processing method that fourth embodiment of the invention proposes;
Fig. 7 is the structural schematic diagram for the screenshot device that fifth embodiment of the invention proposes.
Primary symbols explanation:
Initial screenshot 11 It can not interception area 111
It can interception area 112 Cell to be marked 1121
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, and for explaining only the invention, and is not considered as limiting the invention.
Referring to following description and drawings, it will be clear that these and other aspects of the embodiment of the present invention.In these descriptions In attached drawing, some particular implementations in the embodiment of the present invention are specifically disclosed, to indicate to implement implementation of the invention Some modes of the principle of example, but it is to be understood that the scope of embodiments of the invention is not limited.On the contrary, of the invention Embodiment includes all changes, modification and the equivalent fallen within the scope of the spirit and intension of attached claims.
It, may be to picture, the text etc. in webpage when user carries out web page access using browser on the mobile apparatus Static Web page element generates interest, it is desirable to save it in mobile device and locally be checked at any time with facilitating, thus just produce and cut Figure demand.In addition, sometimes for picture carry out in further detail mark explanation, it will usually screenshot itself addition illustrate and The related text or two dimensional code of mark.
However, such method for directly adding mark in screenshot itself, destroys the integrality of screenshot, it has not been convenient to screenshot Carry out secondary use.
In order to solve this technical problem, the present invention proposes a kind of screenshot processing method, referring to Fig. 1, for the present invention The screenshot processing method that first embodiment proposes, this method comprises the following steps:
S101 is instructed in response to the screenshot of user, is intercepted the object content on display interface initially to be cut Figure.
In the present invention, it is specifically described by taking mobile phone screenshot as an example.For each mobile phone, system is both provided with correspondence Screenshot instruction, when user press corresponding screenshot instruction after, the object content on display interface of mobile phone can intercept To initial screenshot.
S102, judge each lateral margin of the initial screenshot whether at least exist one it is rectangular can interception area, wherein described Can interception area be blank setting, it is described can interception area length at least equal to the initial screenshot bond length, and It is described pictorial element to be not present in interception area.
For the obtained initial screenshot of interception, since there may be skies for the initial screenshot that in a practical situation, is intercepted White region, namely it is not related to the design element of picture in the white space.In the present invention, which is referred to as can Interception area namely the white space can be divided from the initial screenshot intercepted.
It should be noted that it is above-mentioned can be for interception area, it is necessary to for through entire initially screenshot long side or The rectangular region of short side.For example, on top margin, bottom edge, the left side or the right of rectangular initial screenshot.When needs are cut to initial When figure is split, can by it is above-mentioned can interception area isolate coming, the secondary use without influencing picture.In addition, In the present invention, it can need to ensure that there is no any pictorial element, namely there is no any relevant to figure in interception area Design element.Specifically, in the present embodiment, can interception area determination method include the following steps: it is rectangular by one first Frame carries out frame choosing at the edge of initial screenshot.Wherein frame choosing can be carried out in the long side or short side direction of initial screenshot, and can intercepted The length in region is small identical as the length of the long side of initial screenshot or short side.
After carrying out frame choosing to initial screenshot using square box, it whether there is pictorial element in the region of decision block choosing. If pictorial element is not present in the region of frame choosing, it may determine that the region of frame choosing for can interception area.
In this step, it after having got initial screenshot, needs to judge rectangular with the presence or absence of one in the initial screenshot Can interception area, then carry out next step picture processing operation.
S103, if determine the lateral margin of the initial screenshot there are one it is rectangular it is described can interception area, it is described can Load screenshot markup information in interception area, and by the screenshot markup information and the original initial screenshot merge with A target screenshot is obtained, wherein the screenshot markup information includes label character object or two dimensional code mark object.
In this step, if determine in the initial screenshot there are one it is rectangular can interception area, can be by corresponding section The load of figure markup information can be in interception area, namely in the above-mentioned mark that can carry out information in interception area at this.Work as needs When carrying out secondary use to the picture, directly can interception area cut, remaining part is completely picture element Photo.
You need to add is that, in this step, above-mentioned screenshot markup information not only can be label character object herein (including text and symbol) can also mark object for two dimensional code.
Screenshot processing method proposed by the present invention, instructs according to screenshot first, carries out to the object content on display interface Interception obtains an initial screenshot, to obtained initial screenshot, analyzes in the initial screenshot and rectangular intercepts with the presence or absence of one Region, and if it exists, then screenshot markup information can be loaded in interception area at this, then by screenshot markup information and it is original just Beginning screenshot merges to obtain a target screenshot, realizes explanation and mark to the initial screenshot intercepted.In the present invention, by Being documented in above-mentioned screenshot markup information can be in interception area, and this can not include design element in interception area, work as user When needing to carry out secondary use to the screenshot, directly by it is above-mentioned can interception area carry out cutting division, can realize and be intercepted The secondary use of picture, it is convenient and efficient, improve user experience.
Please see Fig. 2 to Fig. 4, the screenshot method proposed for second embodiment of the invention, specifically comprises the following steps:
S201 is instructed in response to the screenshot of user, is intercepted the object content on display interface initially to be cut Figure.
Likewise, being specifically described by taking mobile phone screenshot as an example.For each mobile phone, system is both provided with corresponding section Figure instruction can intercept the object content on display interface of mobile phone to obtain just after user presses the instruction of corresponding screenshot Beginning screenshot 11.
S202, whether at least exist in initial screenshot one it is rectangular can interception area.
For the obtained initial screenshot 11 of interception, due to the initial screenshot that in a practical situation, is intercepted there may be White space, namely it is not related to the design element of picture in the white space.In the present invention, which is referred to as Can interception area namely the white space can divide from the initial screenshot intercepted.As shown in figure 3, what is intercepted is first Beginning screenshot 11, including can interception area 112 and can not interception area 111.Wherein, can not be related in interception area 111 It is picture element, and can not be then related to picture element in interception area 112.
S203, judgement can the area of interception area required areas when whether being greater than load screenshot markup information.
As described in above-mentioned steps S202, when determine in initial screenshot there are one can interception area after, due to that can cut Take in region addition screenshot markup information, need to guarantee this can interception area can accommodate screenshot markup information.Therefore in this step In rapid, need to judge this can the area of interception area whether be greater than area required when load screenshot markup information.
Wherein, it is above-mentioned can interception area 112 include multiple continuously arranged cells 1121 to be marked.Specifically, In this step, judgement can the area of interception area required area when whether being greater than load screenshot markup information method it is specific Are as follows:
(1) when quantity of the quantity greater than label character object to be loaded for determining cell 1121 to be marked, then sentence It surely can the area of interception area 112 required area when being greater than load label character object.
In the present embodiment, only allow to accommodate a character in each cell to be marked 1121, which can be text The range no more than each cell 1121 to be marked is subject in word or symbol, the setting of font size.
(2) when determining maximum width that multiple cells to be marked 1121 are surrounded and maximum length is respectively greater than The corresponding width of to be loaded two dimensional code mark object and length, then determine can the area of interception area 112 be greater than load two Tie up area required when code mark object.
It should be understood that working as multiple cells 1121 to be marked since two dimensional code mark object is generally square The maximum width and maximum length surrounded equally can determine that when being all larger than the two dimensional code mark corresponding size of object as symbol It closes and requires.
S204 can load screenshot markup information in interception area, and by screenshot markup information and original initial screenshot It merges to obtain a target screenshot.
Further, as described in above-mentioned steps S203, when determine can the area of interception area whether be greater than load screenshot When markup information after required area, screenshot markup information can be being loaded in interception area.As shown in figure 4, in initial screenshot Top margin position be added to label character object " skyscraper, be located at China, built up in 2016, height 285 meters ".This section of text Word is labeled in above-mentioned cell to be marked, it is achieved that the mark operation of intercepted picture.At the same time, in needs pair The target screenshot carry out secondary use when, by do not go out target screenshot top margin can interception area carry out cutting deletion, obtain lower section The figure comprising picture element, to carry out secondary use.
Referring to Fig. 5, specifically comprising the following steps: for the screenshot method that third embodiment of the invention proposes
S301 is instructed in response to the screenshot of user, is intercepted the object content on display interface initially to be cut Figure.
It is specifically described by taking mobile phone screenshot as an example.For each mobile phone, system is both provided with corresponding screenshot instruction, After user presses the instruction of corresponding screenshot, the object content on display interface of mobile phone can be intercepted to obtain initial screenshot.
S302, whether at least exist in initial screenshot one it is rectangular can interception area.
For the obtained initial screenshot of interception, since there may be skies for the initial screenshot that in a practical situation, is intercepted White region, namely it is not related to the design element of picture in the white space.In the present invention, which is referred to as can Interception area namely the white space can be divided from the initial screenshot intercepted.In the present invention, can in interception area, It need to ensure that there is no any pictorial element, namely any design element relevant to figure is not present.
S303 calculates the length between the initial screenshot after adding tab area and the initial screenshot for being not added with tab area Than.
When determine in the initial screenshot being truncated to there is no can interception area after, in order to realize the mark function of picture Energy.In the present embodiment, it needs in addition to add a tab area on initial screenshot.In this step, it is being labeled region Before addition, need first to calculate the length between the initial screenshot after adding tab area and the initial screenshot for being not added with tab area Than.For example, the length of initial screenshot is 10cm, width 5cm.In the top margin position of the initial screenshot, it is by one length of addition 2.5cm, width be 5cm tab area, then add after the corresponding length of initial screenshot be 12.5cm, and width there is no Variation.Corresponding length ratio is 1.25:1 at this time.
S304 judges length than whether being greater than preset length ratio.
It should be understood that considering for factors such as aesthetics, length is than needing to be arranged in a certain range.At this In embodiment, preset length ratio is 1.3.It is known that above-mentioned length is not more than preset length than 1.25 than 1.3.
S305 adds a rectangular tab area in a lateral margin of initial screenshot.
If determining length ratio no more than preset length ratio, a rectangular marked area can be added in the lateral margin of initial screenshot Domain.Specifically, the length of above-mentioned tab area is 2.5cm, width 5cm.
S306 amplifies the initial screenshot for being not added with tab area side according to length ratio.
Since the long axis direction to initial screenshot is elongated, for the total tune of picture.In this step, root According to above-mentioned length ratio 1.25:1, the short-axis direction of initial screenshot is elongated namely 1.25*5=6.25cm.It is understood that , the screenshot of amplification, whole length is 12.5cm, width 6.25cm.
S307 merges amplified initial screenshot and the tab area after load screenshot markup information, to obtain Target screenshot.
Referring to Fig. 6, specifically comprising the following steps: for the screenshot method that fourth embodiment of the invention proposes
S401, disassembles instruction in response to the figure of user, carries out pattern analysis to the target screenshot of synthesis.
After having synthesized target screenshot, when user needs to disassemble to carry out secondary use target screenshot, need Pattern analysis first is carried out to the target screenshot of synthesis.
Whether S402 judges in target screenshot comprising can interception area.
Specifically, when carrying out pattern analysis to target screenshot, whether judge in target screenshot comprising can interception area.
Target screenshot is split into initial screenshot and tab area by S403.
If in above-mentioned target screenshot do not include can interception area, target screenshot is split into initial screenshot and mark Region.Similarly, if in above-mentioned target screenshot comprising can interception area, by target screenshot can interception area cut Separation, obtains the available photo comprising picture element.
Referring to Fig. 7, for fourth embodiment of the invention propose a kind of screenshot device, wherein described device include according to Picture interception module 100, picture analyzing module 200 and the picture labeling module 300 of secondary connection;
Wherein the picture interception module 100 is specifically used for:
In response to the screenshot instruction of user, the object content on display interface is intercepted to obtain initial screenshot;
The picture analyzing module 200 is specifically used for:
Judge each lateral margin of the initial screenshot whether at least exist one it is rectangular can interception area, wherein described can intercept Region is blank setting, it is described can interception area length at least equal to the bond length of the initial screenshot, and described cut It takes and pictorial element is not present in region;
The picture labeling module 300 is specifically used for:
If determine the lateral margin of the initial screenshot there are one it is rectangular it is described can interception area, intercept area described Screenshot markup information is loaded in domain, and the screenshot markup information and the original initial screenshot are merged to obtain one Target screenshot, wherein the screenshot markup information includes label character object or two dimensional code mark object.
The present invention also proposes a kind of readable storage medium storing program for executing, is stored thereon with computer program, wherein described program is processed Device realizes screenshot processing method as described above when executing.
The present invention also proposes a kind of smart machine, including memory, processor and storage on a memory and can located The computer program run on reason device, wherein the processor realizes screenshot processing side as described above when executing described program Method.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment It sets.
The more specific example (non-exhaustive list) of computer-readable medium include the following: there are one or more wirings Electrical connection section (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any One or more embodiment or examples in can be combined in any suitable manner.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously Limitations on the scope of the patent of the present invention therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to guarantor of the invention Protect range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.

Claims (10)

1. a kind of screenshot processing method, which is characterized in that described method includes following steps:
In response to the screenshot instruction of user, the object content on display interface is intercepted to obtain initial screenshot;
Judge each lateral margin of the initial screenshot whether at least exist one it is rectangular can interception area, wherein described can interception area For blank setting, it is described can interception area length at least equal to the bond length of the initial screenshot, and intercepted described Pictorial element is not present in region;
If determine the lateral margin of the initial screenshot there are one it is rectangular it is described can interception area, it is described can be in interception area Screenshot markup information is loaded, and the screenshot markup information and the original initial screenshot are merged to obtain a target Screenshot, wherein the screenshot markup information includes label character object or two dimensional code mark object.
2. screenshot processing method according to claim 1, which is characterized in that if the lateral margin for determining the initial screenshot is deposited One it is rectangular described in can interception area, then include following step in the method that can load screenshot markup information in interception area It is rapid:
Described in judgement can the area of interception area whether be greater than required area when loading the screenshot markup information;
If so, described the screenshot markup information can be loaded in interception area.
3. screenshot processing method according to claim 2, which is characterized in that it is described can interception area include multiple continuous rows The cell to be marked of column, described in the judgement can the area of interception area whether be greater than the load screenshot markup information when institute The method of the area needed includes the following steps:
When quantity of the quantity greater than the label character object to be loaded for determining the cell to be marked, then institute is determined State can the area of interception area be greater than required area when loading the label character object;
When determining maximum width that multiple cells to be marked are surrounded and maximum length is respectively greater than to be loaded The two dimensional code corresponding width of mark object and length, then determine described in can the area of interception area be greater than described in load Two dimensional code marks area required when object.
4. screenshot processing method according to claim 1, which is characterized in that be not present when determining in the initial screenshot It is described can interception area when, the method also includes:
A rectangular tab area is added in an at least lateral margin for the initial screenshot, and judges that the area of the tab area is It is no to be greater than area required when loading the screenshot markup information;
If so, loading the screenshot markup information in the tab area.
5. screenshot processing method according to claim 4, which is characterized in that add one in a lateral margin of the initial screenshot Before rectangular tab area, which comprises
Calculate the initial screenshot after adding the tab area be not added with the tab area the initial screenshot it Between length ratio, and judge the length than whether being greater than preset length ratio;
If it is not, then adding a rectangular tab area in a lateral margin of the initial screenshot.
6. screenshot processing method according to claim 5, which is characterized in that the method also includes:
To the initial screenshot for being not added with the tab area side, amplified according to the length ratio;
The amplified initial screenshot and the tab area after the load screenshot markup information are merged, with To the target screenshot.
7. screenshot processing method according to claim 4, which is characterized in that the method also includes:
Instruction is disassembled in response to the figure of user, pattern analysis is carried out to the target screenshot of synthesis, and judge the target Whether can interception area comprising described in screenshot;
If it is not, the target screenshot is then split into the initial screenshot and the tab area.
8. a kind of screenshot device, which is characterized in that described device includes:
Picture interception module intercepts to obtain the object content on display interface for the screenshot instruction in response to user To initial screenshot;
Picture analyzing module, for judge each lateral margin of the initial screenshot whether at least exist one it is rectangular can interception area, Wherein it is described can interception area be that blank is arranged, it is described can interception area length it is long at least equal to the short side of the initial screenshot Degree, and pictorial element can be not present in interception area described;
Picture labeling module, if lateral margin for determining the initial screenshot there are one it is rectangular described in can interception area, Screenshot markup information can be loaded in interception area described, and by the screenshot markup information and the original initial screenshot into Row merges to obtain a target screenshot, wherein the screenshot markup information includes label character object or two dimensional code mark object.
9. a kind of readable storage medium storing program for executing, is stored thereon with computer program, which is characterized in that when described program is executed by processor Realize screenshot processing method described in 1 to 7 any one of the claims.
10. a kind of smart machine including memory, processor and stores the meter that can be run on a memory and on a processor Calculation machine program, which is characterized in that the processor is realized described in 1 to 7 any one of the claims when executing described program Screenshot processing method.
CN201910351126.6A 2019-04-28 2019-04-28 Screenshot processing method, device, readable storage medium storing program for executing and smart machine Pending CN110221888A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910351126.6A CN110221888A (en) 2019-04-28 2019-04-28 Screenshot processing method, device, readable storage medium storing program for executing and smart machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910351126.6A CN110221888A (en) 2019-04-28 2019-04-28 Screenshot processing method, device, readable storage medium storing program for executing and smart machine

Publications (1)

Publication Number Publication Date
CN110221888A true CN110221888A (en) 2019-09-10

Family

ID=67820174

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910351126.6A Pending CN110221888A (en) 2019-04-28 2019-04-28 Screenshot processing method, device, readable storage medium storing program for executing and smart machine

Country Status (1)

Country Link
CN (1) CN110221888A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110889072A (en) * 2019-11-21 2020-03-17 深圳前海环融联易信息科技服务有限公司 Screenshot method and device for removing webpage advertisements, computer equipment and storage medium
CN111986088A (en) * 2020-08-28 2020-11-24 网易(杭州)网络有限公司 Image processing method, image processing device, storage medium and terminal equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102663792A (en) * 2012-03-28 2012-09-12 上海量明科技发展有限公司 Method and system for deleting redundant area in screenshot
CN109144363A (en) * 2018-07-24 2019-01-04 联想(北京)有限公司 A kind of information processing method and electronic equipment
WO2019041527A1 (en) * 2017-08-31 2019-03-07 平安科技(深圳)有限公司 Method of extracting chart in document, electronic device and computer-readable storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102663792A (en) * 2012-03-28 2012-09-12 上海量明科技发展有限公司 Method and system for deleting redundant area in screenshot
WO2019041527A1 (en) * 2017-08-31 2019-03-07 平安科技(深圳)有限公司 Method of extracting chart in document, electronic device and computer-readable storage medium
CN109144363A (en) * 2018-07-24 2019-01-04 联想(北京)有限公司 A kind of information processing method and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
罗晓琳: "设置图片", 《EXCEL图表/公式/函数/数据分析从新手到高手》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110889072A (en) * 2019-11-21 2020-03-17 深圳前海环融联易信息科技服务有限公司 Screenshot method and device for removing webpage advertisements, computer equipment and storage medium
CN110889072B (en) * 2019-11-21 2023-09-26 深圳前海环融联易信息科技服务有限公司 Screenshot method and device for removing webpage advertisements, computer equipment and storage medium
CN111986088A (en) * 2020-08-28 2020-11-24 网易(杭州)网络有限公司 Image processing method, image processing device, storage medium and terminal equipment
CN111986088B (en) * 2020-08-28 2023-06-30 网易(杭州)网络有限公司 Image processing method, device, storage medium and terminal equipment

Similar Documents

Publication Publication Date Title
CN110221888A (en) Screenshot processing method, device, readable storage medium storing program for executing and smart machine
CN105095160B (en) A kind of document conversion reading method and system
CN102368245A (en) Determination and display of relevant websites
CN105320734A (en) Web page core content extraction method
CN102047248A (en) Target-alignment-and-drop control for editing electronic documents
CN101825987A (en) Chart display control unit and program
CN103336690A (en) HTML (Hypertext Markup Language) 5-based text-element drawing method and device
CN104537005A (en) Data processing method and device for webpage crawling
CN109710771A (en) Form data extracting method, device and storage medium
KR101712592B1 (en) Program
CN105094622A (en) Method and equipment for regulating column width of table
CN103491116A (en) Method and device for processing text-related structural data
US9619700B2 (en) Image processing device, image processing method, program, and information storage medium
CN103970723A (en) Electronic document screen display method based on image detecting and cutting
US8839182B2 (en) System and method for checking signal transmission line
CN103838709B (en) Composition method and typesetting engine
CN105183730A (en) Method and device for processing webpage information
CN102592108B (en) Picture label information extracting method and device
CN112312189B (en) Video generation method and video generation system
CN113962193A (en) Table typesetting method and device, electronic equipment and storage medium
CN103971326A (en) Personalized cache method and device of map tiles
CN101877024A (en) Graphical simulation analytical method of high-speed railway vehicular equipment
CN109389554A (en) Screenshot method and device
CN105677267B (en) A kind of page display method and device
CN103235819A (en) WEB interface multi-zone data display method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190910