CN107463534A - A kind of object marking method, mobile terminal and computer-readable recording medium - Google Patents
A kind of object marking method, mobile terminal and computer-readable recording medium Download PDFInfo
- Publication number
- CN107463534A CN107463534A CN201710623560.6A CN201710623560A CN107463534A CN 107463534 A CN107463534 A CN 107463534A CN 201710623560 A CN201710623560 A CN 201710623560A CN 107463534 A CN107463534 A CN 107463534A
- Authority
- CN
- China
- Prior art keywords
- mark
- track
- display content
- mark track
- ratio value
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/103—Formatting, i.e. changing of presentation of documents
- G06F40/106—Display of layout of documents; Previewing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/103—Formatting, i.e. changing of presentation of documents
- G06F40/117—Tagging; Marking up; Designating a block; Setting of attributes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
- G06F40/169—Annotation, e.g. comment data or footnotes
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a kind of object marking method, mobile terminal and computer-readable recording medium, its method includes:Obtain mark pattern when being labeled to destination object;Obtain the first mark track of the display content of shelter target object in mark pattern;If display content is blocked more than the first preset ratio value in the first mark track, the mark of adjustment first track is to block second mark track of the display content less than the second preset ratio value.The first mark track when the present invention is marked by obtaining in the display content of destination object, and when detecting that display content is blocked in the first mark track, the mark of adjustment first track is the second mark track for avoiding blocking display content, to avoid user when being labeled, because display content is blocked in mark track, the problem of original contents can not be known and influence to read, while random user's mark and validity is ensured, avoid blocking display content, effectively increase Consumer's Experience.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of object marking method, mobile terminal and computer-readable
Storage medium.
Background technology
With the popularization of electronic reading, increasing user is accustomed to online reading.People read article, books or its
During his electron reading, often segment word therein or image are labeled, and the page after mark is shared with other
User.But when being labeled, may block original text word or image because mark person's handwriting is excessively thick or the randomness of mark,
When being shared with after other users or reading again, the content that mark blocks can not be determined.As shown in figure 1, mark track is (in such as figure
Dash area) it is excessively thick, segment word information has been blocked, has influenceed to read.
The content of the invention
Scale storage medium is calculated the embodiments of the invention provide a kind of object marking method, mobile terminal and family to solve
Exist in the mask method of prior art and block display content, the problem of original contents can not be known and influence to read.
In a first aspect, the embodiments of the invention provide a kind of object marking method, including:
Obtain mark pattern when being labeled to destination object;
Obtain the first mark track of the display content of shelter target object in mark pattern;
If display content is blocked more than the first preset ratio value in the first mark track, the mark of adjustment first track is to block
Display content is less than the second mark track of the second preset ratio value, and the first preset ratio value is more than the described second default ratio
Example value.
Second aspect, the embodiment of the present invention additionally provide a kind of mobile terminal, including:
First acquisition module, for obtaining mark pattern when being labeled to destination object;
Second acquisition module, the first mark track of the display content of shelter target object in pattern is marked for obtaining;
Adjusting module, for when display content is blocked more than the first preset ratio value in the first mark track, adjusting first
Mark track is to block second mark track of the display content less than the second preset ratio value, and the first preset ratio value is more than
The second preset ratio value.
The third aspect, the embodiment of the present invention additionally provide a kind of mobile terminal, and mobile terminal includes processor, memory,
It is stored in the computer program that can be run on memory and on a processor, realizes as above institute during computing device computer program
The step of object marking method stated.
Fourth aspect, the embodiment of the present invention additionally provide a kind of computer-readable recording medium, computer-readable storage medium
Computer program is stored with matter, the step of object marking method as described above is realized when computer program is executed by processor
Suddenly.
So in the embodiment of the present invention, the first mark rail when being marked by obtaining in the display content of destination object
Mark, and when detecting that display content is blocked in the first mark track, the mark of adjustment first track is to avoid blocking display content
Second mark track, and destination object is labeled using the second mark track.So, user can be avoided to be labeled
When, because display content is blocked in mark track, the problem of can not knowing original contents and influence to read, ensure user's mark with
While meaning property and validity, avoid blocking display content, effectively increase Consumer's Experience.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention
The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention
Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these accompanying drawings
Obtain other accompanying drawings.
Fig. 1 represents display effect schematic diagram during label target object in the prior art;
Fig. 2 represents the flow chart of object marking method in the embodiment of the present invention;
Fig. 3 represents the display effect schematic diagram one during label target object in the embodiment of the present invention;
Fig. 4 represents the display effect schematic diagram two during label target object in the embodiment of the present invention;
Fig. 5 represents the display effect schematic diagram three during label target object in the embodiment of the present invention;
Fig. 6 represents one of structural representation of mobile terminal of the embodiment of the present invention;
Fig. 7 represents the two of the structural representation of the mobile terminal of the embodiment of the present invention;
Fig. 8 represents the mobile terminal block diagram of the embodiment of the present invention;
Fig. 9 represents the mobile terminal block diagram of the embodiment of the present invention.
Embodiment
The exemplary embodiment of the present invention is more fully described below with reference to accompanying drawings.Although the present invention is shown in accompanying drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the present invention without should be by embodiments set forth here
Limited.Conversely, there is provided these embodiments are to be able to be best understood from the present invention, and can be by the scope of the present invention
Completely it is communicated to those skilled in the art.
As shown in Fig. 2 the embodiment provides a kind of object marking method, this method specifically includes:
Step 201:Obtain mark pattern when being labeled to destination object.
Wherein, it is the mark pattern pre-defined in system or application program to mark pattern, can be straight line, curve or its
His lines pattern, and the color, the thickness that mark pattern can independently be selected by user.
Step 202:Obtain the first mark track of the display content of shelter target object in mark pattern.
Although the line weight of the first mark pattern can have a variety of, user can select the lines of different thicknesses as needed
It is labeled, but when the display content on destination object is finer, the most thin lines of use still may be to target pair
The display content of elephant is produced and blocked, and influences to read.In order to solve the problem, when detecting the of mark pattern on destination object
During the display content of one mark track shelter target object, following steps 203 are performed.
Step 203:If display content is blocked more than the first preset ratio value, the mark rail of adjustment first in the first mark track
Mark is to block second mark track of the display content less than the second preset ratio value, and the first preset ratio value is more than described the
Two preset ratio values.
Mobile terminal can adjust automatically first to mark track be the second mark track for avoiding blocking display content, so both
It can ensure that display content is not marked track and blocked, ensure to read correctness, the randomness of user annotation can be ensured again, and
The problem of being blocked and arbitrarily can not being labeled to it without having to worry about display content.
Further, destination object includes text and/or image file, wherein, text includes text information
Or pictorial information of insertion text etc., image file includes image information, video information or text information of insertion etc..Its
In, it is worthy of note that, the text information in text can be all text informations that the first mark pattern is related to, also
It can be each text information that the first mark pattern is related in text information.Embedded text information can be with pattern file
It is identified by optical character identification (OCR, Optical Character Recognition) technology.
Display content is blocked because the second mark track can not block or reduce, therefore using the second mark track to mesh
Mark object is labeled while ensureing to mark validity, limited to blocking for display content, is avoided because blocking in display
Caused by appearance the problem of reading difficulty, poor user experience.
Further, after step 202, the object marking method also includes:The first mark track is obtained in display
Coverage rate in appearance;Coverage rate is detected whether more than the first preset ratio value;If coverage rate is more than the first preset ratio value, really
Display content is blocked more than the first preset ratio value in fixed first mark track.
Wherein, obtain the first mark track includes in the step of coverage rate in the display content of destination object:Showing
The periphery of content forms a rectangular area for surrounding display content;Obtain coverage rate of the first mark track on rectangular area.
Specifically, by taking text as an example, in order to ensure to mark the accuracy of pattern adjustment, by each word extension in text
Certain distance forms a rectangular area, obtains the area coverage and the ratio of the rectangular area area of the first mark track, the ratio
It is worth the coverage rate in display content for the first mark track.By taking image file as an example, the display content of image file is picture
When, by judging page edge color, and judge whether there be the part different from page edge color in the middle part of the page, by the part
Extension certain distance forms a rectangular area, obtains the area coverage and the ratio of the rectangular area area of the first mark track,
The ratio is coverage rate of the first mark track in display content.When the display content of image file is word, pass through OCR
With the presence or absence of recognizable word in the technology identification page, when recognizable word be present, by recognizable word extension certain distance
A rectangular area is formed, obtains the area coverage and the ratio of the rectangular area area of the first mark track, the ratio is first
Mark coverage rate of the track in display content.
Further, if coverage rate exceedes given threshold, it is determined that in the display of the first mark track shelter target object
Appearance includes more than the step of the first preset ratio value:If coverage rate reaches the first preset percentage of rectangular area corresponding area,
Then determine the display content ratio default more than first of mark track shelter target object of the first mark track on destination object
Example value.Wherein, the first preset percentage can be set based on experience value, typically may be configured as 50%, i.e., when destination object is text
During file, when the ratio for the rectangular area area that the area coverage of the first mark track is epitaxially formed with some word exceedes
50%, it is determined that blocked the display content of destination object in the first mark track.When destination object is image file, when first
The ratio for the rectangular area area that the area coverage of mark track is epitaxially formed with some Picture section or some recognizable word
More than 50%, it is determined that blocked the display content of destination object in the first mark track.
When it is determined that the first mark track has blocked the display content of destination object, it is necessary to which the mark of adjust automatically first track is
Avoid blocking or reduce block display content second mark track.Specifically, pattern can be labeled in the following manner
Adjust automatically.
Mode one:Downsizing processing is carried out to the first mark track, until the first mark track is blocked to display content
Less than the second preset ratio value;The mark track handled through downsizing is defined as the second mark track.
Specifically, when the coverage rate of the first mark track reaches 50%, it is necessary to the first mark rail in display content
Mark carries out downsizing processing, reaches mark pattern in 50% display content in particular for being marked pattern area coverage
Carry out downsizing processing.Specifically, downsizing processing can be that the thickness for marking lines is adjusted, until mark lines pair
The area coverage of display content is less than the second preset percentage.Wherein, the second preset percentage can be set based on experience value, typically
30% is may be configured as, wherein, the first preset percentage and the second preset percentage can be adjusted according to actual conditions, Yong Huyi
Can independently it be selected, the corresponding first preset ratio value of the first preset percentage, the corresponding second default ratio of the second preset percentage
Example value.As shown in figure 3, the area ratio that " color " " star " " phase " that detects in " Black Friday " is marked lines covering reaches
More than 50%, then lines micronization processes are done into the region of the corresponding word of mark, the mark lines on " color " " star " " phase "
Area coverage is less than 30%.So, by the way that mark lines are carried out into micronization processes, realize to the first mark rail in display content
Mark carries out downsizing processing, and the mark track handled through downsizing is defined as into the second mark track, can avoid display content quilt
The problem of mark pattern blocks and influences to read, and ensure the continuity of person's handwriting, carry out area with the lines of other non-marked patterns
Point.
Mode two:The transparency of the first mark track in display content is improved, until mark track is to display content
Block and be less than the second preset ratio value;The mark track for blocking display content is avoided to be defined as the second mark after enhancing the transparency
Track.
Specifically, when the coverage rate of the first mark track reaches 50%, it is necessary to automatically adjust first in display content
Mark the transparency of track.Specifically, regulation transparency can improve the transparency of mark pattern, to avoid blocking in display
Hold.As shown in figure 4, the area ratio that " color " " star " " phase " that detects in " Black Friday " is marked lines covering reaches
More than 50%, then the region of the corresponding word of mark is enhanced the transparency, specifically, the lines for marking pattern can be carried out transparent
Degree regulation, transparency can be adjusted according to actual conditions, the transparency of such as 50% transparency~100%, when regulation to
During 100% transparency, the word that is excessively covered will not be marked pattern completely and cover.So, the lines for marking pattern are thick
Carefully it is consistent, is easy to make a distinction with the lines of the lines of other mark patterns or non-marked pattern.When transparency is 100%
When, i.e. " color ", " star ", " phase " is not blocked, i.e. the second preset ratio value is 0%.
Mode three:The extension track of the first mark track in display content is adjusted, until mark track is to display content
Block less than the second preset ratio value;The mark track for blocking display content is avoided to be defined as second after adjustment is extended into track
Mark track.
Specifically, when first mark pattern coverage rate reach 50% when, can adjust automatically mark pattern extension track,
Especially mark the extension track of pattern lines.As shown in figure 5, detect that " color " " star " " phase " in " Black Friday " is marked
The area ratio of note lines covering reaches more than 50%, then is adjusted the lines extension track of corresponding literal mark pattern
It is whole, to avoid the region that word is excessively covered.So, can be completely not covered by capped word, avoid similar word
Structure on minute differences to cause word to be easily mistaken for, influence reading effect and speed.When the second mark of adjustment as described in Figure 5
Track, the second preset ratio value are 0%.
In the object marking method of the embodiment of the present invention, when being marked by obtaining in the display content of destination object the
One mark track, and when detecting that display content is blocked in the first mark track, the mark track of adjustment first is aobvious to avoid blocking
Show the second mark track of content, and destination object is labeled using the second mark track.So, user can be avoided to enter
When rower is noted, because display content is blocked in the mark track for marking pattern, the problem of original contents can not be known and influence to read,
While random user's mark and validity is ensured, avoid blocking display content, effectively increase Consumer's Experience.
Above example describes the object marking method under different scenes in detail respectively, below in conjunction with Fig. 6 and Fig. 7 couples
Corresponding mobile terminal is described further.
As shown in fig. 6, the mobile terminal 600 of the embodiment of the present invention, can realize in above-described embodiment and obtain to destination object
Mark pattern when being labeled;Obtain the first mark track of the display content of shelter target object in mark pattern;If the
Display content is blocked more than the first preset ratio value in one mark track, then adjusts the first mark track and be less than to block display content
The details of second mark track approach of the second preset ratio value, and reach identical effect, the mobile terminal 600 specifically includes
Following functions module:
First acquisition module 610, for obtaining mark pattern when being labeled to destination object;
Second acquisition module 620, the first mark rail of the display content of shelter target object in pattern is marked for obtaining
Mark;
Adjusting module 630, for when display content is blocked more than the first preset ratio value in the first mark track, adjustment the
One mark track is to block second mark track of the display content less than the second preset ratio value, and the first preset ratio value is big
In the second preset ratio value.
Wherein, as shown in fig. 7, mobile terminal 600 also includes:
3rd acquisition module 640, for obtaining coverage rate of the first mark track in display content;
Detection module 650, for whether detecting coverage rate more than the first preset ratio value;
Determining module 660, for when coverage rate is more than the first preset ratio value, determining that display is blocked in the first mark track
Content is more than the first preset ratio value.
Wherein, the 3rd acquisition module 640 includes:
First processing units 641, for forming a rectangular area for surrounding display content in the periphery of display content;
Acquiring unit 642, for obtaining coverage rate of the first mark track on rectangular area.
Wherein, adjusting module 630 includes:
First adjustment unit 631, for carrying out downsizing processing to the first mark track, until mark track is in display
That holds blocks less than the second preset ratio value;
Second processing unit 632, for the mark handled through downsizing track to be defined as into the second mark track.
Wherein, adjusting module 630 also includes:
Second adjustment unit 633, for improving the transparency of the first mark track in display content, until mark track
To blocking less than the second preset ratio value for display content;
3rd processing unit 634, it is defined as the second mark track for the mark track after enhancing the transparency.
Wherein, adjusting module 630 also includes:
3rd adjustment unit 635, for adjusting the extension track of the first mark track in display content, until mark rail
Mark is blocked less than the second preset ratio value to display content;
Fourth processing unit 636, for the mark track adjusted after extending track to be defined as into the second mark track.
Wherein, destination object includes:Text and/or image file.
It is worthy of note that the mobile terminal of the embodiment of the present invention is corresponding with above-mentioned object marking method mobile whole
End, the embodiment of the above method and the technique effect of realization are suitable for the embodiment of the mobile terminal.Wherein, the movement
Mark pattern when terminal is marked by obtaining in the display content of destination object, and detecting the first mark of mark pattern
When display content is blocked in note track, the mark of adjustment first track is the second mark track for avoiding blocking display content, and is used
Second mark track is labeled to destination object.So, user can be avoided when being labeled, due to mark pattern block it is aobvious
Show content, the problem of original contents can not be known and influence to read, while random user's mark and validity is ensured, keep away
Exempt to block display content, effectively increase Consumer's Experience.
In order to be better achieved above-mentioned purpose, the embodiment of the present invention additionally provides a kind of mobile terminal, including processor, deposits
Reservoir and the computer program that can be run on memory and on a processor is stored in, it is real during computing device computer program
The now step in object marking method as described above.The embodiment of the present invention additionally provides a kind of computer-readable recording medium,
Computer program is stored with computer-readable recording medium, it is as described above right to be realized when computer program is executed by processor
As the step of mask method.
Specifically, Fig. 8 is the block diagram of the mobile terminal 800 of another embodiment of the present invention, mobile terminal as shown in Figure 8
Including:At least one processor 801, memory 802, network interface 803 and user interface 804.It is each in mobile terminal 800
Component is coupled by bus system 805.It is understood that bus system 805 is used to realize that the connection between these components is led to
Letter.Bus system 805 is in addition to including data/address bus, in addition to power bus, controlling bus and status signal bus in addition.But it is
For the sake of clear explanation, in fig. 8 various buses are all designated as bus system 805.
Or each component of the above can also partly or entirely pass through field programmable gate array (Field
Programmable Gate Array, abbreviation FPGA) form be embedded on some chip of the terminal to realize.And it
Can be implemented separately, can also integrate.
Wherein, user interface 804 is respectively used to the interface circuit for connecting ancillary equipment or being connected with ancillary equipment.It can wrap
Include the interface of the equipment such as display, keyboard or pointing device, such as mouse, trace ball (trackball), touch-sensitive plate or tactile
Touch the interface of the equipment such as screen.
Can be general processor it is appreciated that processor 801, such as CPU, it can also be and be configured to more than implementation
One or more integrated circuits of method, such as:One or more specific integrated circuit (Application Specific
Integrated Circuit, abbreviation ASIC), or, one or more microprocessors (digital signal processor,
Abbreviation DSP), or, one or more field programmable gate array (Field Programmable Gate Array, abbreviation
FPGA) etc..Memory element can be the general designation of a storage device or multiple memory elements.
Memory 802 in the embodiment of the present invention can be volatile memory or nonvolatile memory, or may include
Both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read-Only
Memory, ROM), programmable read only memory (Programmable ROM, PROM), Erasable Programmable Read Only Memory EPROM
(Erasable PROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM, EEPROM) dodge
Deposit.Volatile memory can be random access memory (Random Access Memory, RAM), and it is used as outside high speed
Caching.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM
(Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory
(Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate
SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links
Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct
Rambus RAM, DRRAM).The memory 802 of system and method described herein be intended to including but not limited to these and it is any its
It is adapted to the memory of type.
In some embodiments, memory 802 stores following element, can perform module or data structure, or
Their subset of person, or their superset:Operating system 8021 and application program 8022.
Wherein, operating system 8021, comprising various system programs, such as ccf layer, core library layer, driving layer etc., it is used for
Realize various basic businesses and the hardware based task of processing.Application program 8022, include various application programs, such as media
Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention
The program of method may be embodied in application program 8022.
In an embodiment of the present invention, mobile terminal 800 also includes:It is stored on memory 802 and can be in processor 801
The computer program of upper operation, can be the computer program in application program 8022, computer program is by processor specifically
801 realize following steps when performing:Obtain mark pattern when being labeled to destination object;Obtain in mark pattern and block mesh
Mark the first mark track of the display content of object;If display content is blocked more than the first preset ratio value in the first mark track,
Then the mark of adjustment first track is to block second mark track of the display content less than the second preset ratio value, and described first is default
Ratio value is more than the second preset ratio value.
The method that the embodiments of the present invention disclose can apply in processor 801, or be realized by processor 801.
Processor 801 is probably a kind of IC chip, has the disposal ability of signal.In implementation process, the above method it is each
Step can be completed by the integrated logic circuit of the hardware in processor 801 or the instruction of software form.Above-mentioned processing
Device 801 can be general processor, digital signal processor (Digital Signal Processor, DSP), special integrated electricity
Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field
Programmable Gate Array, FPGA) either other PLDs, discrete gate or transistor logic,
Discrete hardware components.It can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general
Processor can be microprocessor or the processor can also be any conventional processor etc..With reference to institute of the embodiment of the present invention
The step of disclosed method, can be embodied directly in hardware decoding processor and perform completion, or with the hardware in decoding processor
And software module combination performs completion.Software module can be located at random access memory, flash memory, read-only storage, may be programmed read-only
In the ripe storage medium in this area such as memory or electrically erasable programmable memory, register.The storage medium is located at
Memory 802, processor 801 read the information in memory 802, with reference to the step of its hardware completion above method.
It is understood that embodiments described herein can use hardware, software, firmware, middleware, microcode or its
Combine to realize.Realized for hardware, processing unit can be realized in one or more application specific integrated circuit (Application
Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing,
DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic
Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor,
In controller, microcontroller, microprocessor, other electronic units for performing herein described function or its combination.
Realize, can be realized herein by performing the module (such as process, function etc.) of function described herein for software
Described technology.Software code is storable in memory and passes through computing device.Memory can within a processor or
Realized outside processor.
Specifically, following steps can be also realized when computer program is performed by processor 801:The first mark track is obtained to exist
Coverage rate in display content;Whether verification and measurement ratio is more than the first preset ratio value;If the coverage rate is more than the first preset ratio
Value, it is determined that block display content more than the first preset ratio value in the first mark track.
Specifically, following steps can be also realized when computer program is performed by processor 801:In the peripheral shape of display content
The rectangular area for surrounding display content into one;Obtain coverage rate of the first mark track on rectangular area.
Specifically, following steps can be also realized when computer program is performed by processor 801:First mark track is carried out
Downsizing is handled, until mark track blocking less than the second preset ratio value to display content;The mark that will be handled through downsizing
Note track is defined as the second mark track.
Further, following steps can be also realized when computer program is performed by processor 801:Improve in display content
The transparency of first mark track, until mark track blocking less than the second preset ratio value to display content;It will improve saturating
Mark track after lightness is defined as the second mark track.
Wherein, following steps can be also realized when computer program is performed by processor 801:Adjust first in display content
The extension track of track is marked, until mark track blocking less than the second preset ratio value to display content;Adjustment is extended
Mark track behind track is defined as the second mark track.
Wherein, destination object includes:Text and/or image file.
The mobile terminal 800 of the embodiment of the present invention, mark when being marked by obtaining in the display content of destination object
Pattern, and when detect mark pattern first marks track and block display content, the mark of adjustment first track is to avoid hiding
The second mark track of display content is kept off, and destination object is labeled using the second mark track.So, user can be avoided
When being labeled, because mark pattern blocks display content, the problem of original contents can not be known and influence to read, ensureing
While user's mark randomness and validity, avoid blocking display content, effectively increase Consumer's Experience.
Fig. 9 is another structural representation of the mobile terminal of the embodiment of the present invention.Specifically, the mobile terminal in Fig. 9
900 can be mobile phone, tablet personal computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle mounted electric
Brain etc..
Mobile terminal 900 in Fig. 9 includes power supply 910, memory 920, input block 930, display unit 940, processing
Device 950, WIFI (Wireless Fidelity) module 960, voicefrequency circuit 970 and RF circuits 980.
Wherein, input block 930 can be used for the information for receiving user's input, and produce the user with mobile terminal 900
Set and function control it is relevant signal input.Specifically, in the embodiment of the present invention, the input block 930 can include touching
Control panel 931.Contact panel 931, also referred to as touch-screen, collect touch operation (such as user of the user on or near it
Use the operation of any suitable object such as finger, stylus or annex on contact panel 931), and according to journey set in advance
Formula drives corresponding attachment means.Optionally, contact panel 931 may include two portions of touch detecting apparatus and touch controller
Point.Wherein, the touch orientation of touch detecting apparatus detection user, and the signal that touch operation is brought is detected, transmit a signal to
Touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives
The processor 950, and the order sent of reception processing device 950 and can be performed.Furthermore, it is possible to using resistance-type, condenser type,
The polytype such as infrared ray and surface acoustic wave realizes contact panel 931.Except contact panel 931, input block 930 can be with
Including other input equipments 932, other input equipments 932 can include but is not limited to physical keyboard, function key (such as volume control
Button processed, switch key etc.), trace ball, mouse, the one or more in action bars etc..
Wherein, display unit 940 can be used for display by the information of user's input or be supplied to information and the movement of user
The various menu interfaces of terminal.Display unit 940 may include display panel 941, optionally, can use LCD or organic light emission
The forms such as diode (Organic Light-Emitting Diode, OLED) configure display panel 941.
It should be noted that contact panel 931 can cover display panel 941, touch display screen is formed, when the touch display screen is examined
After measuring the touch operation on or near it, processor 950 is sent to determine the type of touch event, is followed by subsequent processing device
950 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and conventional control viewing area.The Application Program Interface viewing area
And arrangement mode of the conventional control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious
Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with
The interface element such as the icon comprising at least one application program and/or widget desktop controls.The Application Program Interface viewing area
It can also be the empty interface not comprising any content.The conventional control viewing area is used to show the higher control of utilization rate, for example,
Application icons such as settings button, interface numbering, scroll bar, phone directory icon etc..
Wherein processor 950 is the control centre of mobile terminal, utilizes each of various interfaces and connection whole mobile phone
Individual part, by running or performing the software program and/or module that are stored in first memory 921, and call and be stored in
Data in second memory 922, the various functions and processing data of mobile terminal are performed, it is overall so as to be carried out to mobile terminal
Monitoring.Optionally, processor 950 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 921 in software program and/or module and/
To the data in second memory 922, it is specifically used for:Obtain mark pattern when being labeled to destination object;Obtain mark
First mark track of the display content of shelter target object in pattern;If display content is blocked more than first in the first mark track
Preset ratio value, then it is to block second mark track of the display content less than the second preset ratio value to adjust the first mark track,
The first preset ratio value is more than the second preset ratio value.
Specifically, processor 950 is additionally operable to:Obtain coverage rate of the first mark track in display content;Verification and measurement ratio is
It is no more than the first preset ratio value;If the coverage rate is more than the first preset ratio value, it is determined that blocks aobvious in the first mark track
Show content more than the first preset ratio value.
Further, processor 950 is additionally operable to:A rectangle region for surrounding display content is formed in the periphery of display content
Domain;Obtain coverage rate of the first mark track on rectangular area.
Wherein, processor 950 is additionally operable to:Downsizing processing is carried out to the first mark track, until mark track is to display
Content is blocked less than the second preset ratio value;The mark track handled through downsizing is defined as the second mark track.
Wherein, processor 950 is additionally operable to:The transparency of the first mark track in display content is improved, until mark rail
Mark is blocked less than the second preset ratio value to display content;Mark track after enhancing the transparency is defined as the second mark rail
Mark.
Wherein, processor 950 is additionally operable to:The extension track of the first mark track in display content is adjusted, until mark
Blocked to display content less than the second preset ratio value track;The mark track adjusted after extending track is defined as the second mark
Note track.
Wherein, destination object includes:Text and/or image file.
The mobile terminal 900 of the embodiment of the present invention, mark when being marked by obtaining in the display content of destination object
Pattern, and when detect mark pattern first marks track and block display content, the mark of adjustment first track is to avoid hiding
The second mark track of display content is kept off, and destination object is labeled using the second mark track.So, user can be avoided
When being labeled, because mark pattern blocks display content, the problem of original contents can not be known and influence to read, ensureing
While user's mark randomness and validity, avoid blocking display content, effectively increase Consumer's Experience.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Member and algorithm steps, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
Performed with hardware or software mode, application-specific and design constraint depending on technical scheme.Professional and technical personnel
Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed
The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, others can be passed through
Mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, is only
A kind of division of logic function, can there is an other dividing mode when actually realizing, for example, multiple units or component can combine or
Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual
Between coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, device or unit
Connect, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can be with
It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words
The part to be contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some instructions are causing a computer equipment (can be
People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the present invention.
And foregoing storage medium includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes
Medium.
Above-described is the preferred embodiment of the present invention, it should be pointed out that is come for the ordinary person of the art
Say, some improvements and modifications can also be made under the premise of principle of the present invention is not departed from, and these improvements and modifications also exist
In protection scope of the present invention.
Claims (16)
- A kind of 1. object marking method, it is characterised in that including:Obtain mark pattern when being labeled to destination object;Obtain the first mark track of the display content that the destination object is blocked in the mark pattern;If the display content is blocked more than the first preset ratio value in the first mark track, the first mark rail is adjusted Mark is to block second mark track of the display content less than the second preset ratio value, and the first preset ratio value is more than institute State the second preset ratio value.
- 2. object marking method according to claim 1, it is characterised in that described obtain in the mark pattern blocks institute After the step of stating the first mark track of the display content of destination object, in addition to:Obtain coverage rate of the first mark track in the display content;The coverage rate is detected whether more than the first preset ratio value;If the coverage rate exceedes the first preset ratio value, it is determined that blocks the display content in the first mark track More than the first preset ratio value.
- 3. object marking method according to claim 2, it is characterised in that described to obtain the first mark track in institute The step of stating the coverage rate in display content, including:A rectangular area for surrounding the display content is formed in the periphery of the display content;Obtain coverage rate of the first mark track on the rectangular area.
- 4. object marking method according to claim 1, it is characterised in that adjustment the first mark track is blocks The step of second of display content less than the second preset ratio value marks track is stated, including:Downsizing processing is carried out to the described first mark track, until mark track blocking less than second to the display content Preset ratio value;The mark track handled through downsizing is defined as the second mark track.
- 5. object marking method according to claim 1, it is characterised in that the adjustment first mark track is screening The step of second of the display content less than the second preset ratio value marks track is kept off, including:The transparency of the first mark track in the display content is improved, until mark track is blocked to the display content Less than the second preset ratio value;Mark track after enhancing the transparency is defined as the second mark track.
- 6. object marking method according to claim 1, it is characterised in that the adjustment first mark track is screening The step of second of the display content less than the second preset ratio value marks track is kept off, including:The extension track of the first mark track in the display content is adjusted, until screening of the mark track to the display content Gear is less than the second preset ratio value;The mark track adjusted after extending track is defined as the second mark track.
- 7. object marking method according to claim 1, it is characterised in that the destination object includes:Text and/ Or image file.
- A kind of 8. mobile terminal, it is characterised in that including:First acquisition module, for obtaining mark pattern when being labeled to destination object;Second acquisition module, for obtaining the first mark rail of the display content that the destination object is blocked in the mark pattern Mark;Adjusting module, for when the display content is blocked more than the first preset ratio value in the described first mark track, adjusting The first mark track is to block second mark track of the display content less than the second preset ratio value, and described first is pre- If ratio value is more than the second preset ratio value.
- 9. mobile terminal according to claim 8, it is characterised in that the mobile terminal also includes:3rd acquisition module, for obtaining coverage rate of the first mark track in the display content;Detection module, for whether detecting the coverage rate more than the first preset ratio value;Determining module, for when the coverage rate exceedes the first preset ratio value, determining that the first mark track hides The display content is kept off more than the first preset ratio value.
- 10. mobile terminal according to claim 9, it is characterised in that the 3rd acquisition module includes:First processing units, for forming a rectangular area for surrounding the display content in the periphery of the display content;Acquiring unit, for obtaining coverage rate of the first mark track on the rectangular area.
- 11. mobile terminal according to claim 8, it is characterised in that the adjusting module includes:First adjustment unit, for carrying out downsizing processing to the described first mark track, until mark track is to the display Content is blocked less than the second preset ratio value;Second processing unit, for the mark handled through downsizing track to be defined as into the second mark track.
- 12. mobile terminal according to claim 8, it is characterised in that the adjusting module also includes:Second adjustment unit, for improving the transparency of the first mark track in the display content, until mark track pair The display content is blocked less than the second preset ratio value;3rd processing unit, it is defined as the second mark track for the mark track after enhancing the transparency.
- 13. mobile terminal according to claim 8, it is characterised in that the adjusting module also includes:3rd adjustment unit, for adjusting the extension track of the first mark track in the display content, until mark track To blocking less than the second preset ratio value for the display content;Fourth processing unit, for the mark track adjusted after extending track to be defined as into the second mark track.
- 14. mobile terminal according to claim 8, it is characterised in that the destination object includes:Text and/or Image file.
- 15. a kind of mobile terminal, it is characterised in that the mobile terminal includes processor, memory, is stored in the memory Computer program that is upper and can running on the processor, realizes such as right during computer program described in the computing device It is required that the step of object marking method described in 1 to 7 any one.
- 16. a kind of computer-readable recording medium, it is characterised in that be stored with computer on the computer-readable recording medium Program, the object marking method as described in any one of claim 1 to 7 is realized when the computer program is executed by processor Step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710623560.6A CN107463534B (en) | 2017-07-27 | 2017-07-27 | Object labeling method, mobile terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710623560.6A CN107463534B (en) | 2017-07-27 | 2017-07-27 | Object labeling method, mobile terminal and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107463534A true CN107463534A (en) | 2017-12-12 |
CN107463534B CN107463534B (en) | 2020-03-20 |
Family
ID=60547548
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710623560.6A Active CN107463534B (en) | 2017-07-27 | 2017-07-27 | Object labeling method, mobile terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107463534B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110162286A (en) * | 2019-05-17 | 2019-08-23 | 维沃移动通信有限公司 | A kind of image display method and terminal |
CN110781796A (en) * | 2019-10-22 | 2020-02-11 | 杭州宇泛智能科技有限公司 | Labeling method and device and electronic equipment |
CN111881647A (en) * | 2020-06-09 | 2020-11-03 | 维沃移动通信有限公司 | Identification display method and device and electronic equipment |
CN112100981A (en) * | 2020-09-24 | 2020-12-18 | 维沃移动通信有限公司 | Document display method and device and electronic equipment |
CN112540715A (en) * | 2020-12-04 | 2021-03-23 | 掌阅科技股份有限公司 | Note content pasting method, terminal and computer storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101813985A (en) * | 2009-02-20 | 2010-08-25 | 致伸科技股份有限公司 | Mouse with marking function |
CN105723187A (en) * | 2013-11-14 | 2016-06-29 | 微软技术许可有限责任公司 | Presenting markup in a scene using transparency |
US20160253456A1 (en) * | 2015-02-27 | 2016-09-01 | Xifin, Inc. | Processing, aggregating, annotating, and/or organizing data |
-
2017
- 2017-07-27 CN CN201710623560.6A patent/CN107463534B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101813985A (en) * | 2009-02-20 | 2010-08-25 | 致伸科技股份有限公司 | Mouse with marking function |
CN105723187A (en) * | 2013-11-14 | 2016-06-29 | 微软技术许可有限责任公司 | Presenting markup in a scene using transparency |
US20160253456A1 (en) * | 2015-02-27 | 2016-09-01 | Xifin, Inc. | Processing, aggregating, annotating, and/or organizing data |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110162286A (en) * | 2019-05-17 | 2019-08-23 | 维沃移动通信有限公司 | A kind of image display method and terminal |
CN110781796A (en) * | 2019-10-22 | 2020-02-11 | 杭州宇泛智能科技有限公司 | Labeling method and device and electronic equipment |
CN110781796B (en) * | 2019-10-22 | 2022-03-25 | 杭州宇泛智能科技有限公司 | Labeling method and device and electronic equipment |
CN111881647A (en) * | 2020-06-09 | 2020-11-03 | 维沃移动通信有限公司 | Identification display method and device and electronic equipment |
CN112100981A (en) * | 2020-09-24 | 2020-12-18 | 维沃移动通信有限公司 | Document display method and device and electronic equipment |
CN112540715A (en) * | 2020-12-04 | 2021-03-23 | 掌阅科技股份有限公司 | Note content pasting method, terminal and computer storage medium |
CN112540715B (en) * | 2020-12-04 | 2022-05-20 | 掌阅科技股份有限公司 | Pasting method of note content, terminal and computer storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107463534B (en) | 2020-03-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107463534A (en) | A kind of object marking method, mobile terminal and computer-readable recording medium | |
CN111353408B (en) | Registration and fingerprint sensing system using composite fingerprint image | |
US8896544B2 (en) | Information processing apparatus, information processing method, program, and information processing system | |
CN106778183A (en) | A kind of Terminal fingerprints know method for distinguishing and mobile terminal | |
CN106020613A (en) | Operation method and mobile terminal for unread messages | |
CN106485164A (en) | A kind of image processing method and mobile terminal | |
CN107657591A (en) | A kind of image processing method and mobile terminal | |
CN107678644A (en) | A kind of image processing method and mobile terminal | |
CN107678666A (en) | A kind of virtual key display methods, mobile terminal and computer-readable recording medium | |
CN102804117A (en) | Gesture on touch sensitive input devices for closing a window or an application | |
CN106484303A (en) | A kind of method preventing maloperation and electronic equipment | |
CN106445235A (en) | Touch starting position identification method and mobile terminal | |
CN103064627A (en) | Application management method and device | |
CN107643912A (en) | A kind of information sharing method and mobile terminal | |
CN106527906A (en) | Picture capture method and mobile terminal | |
US9417717B2 (en) | Methods for interacting with an electronic device by using a stylus comprising body having conductive portion and systems utilizing the same | |
CN106126108A (en) | A kind of breviary map generalization method and mobile terminal | |
CN107734156A (en) | A kind of image pickup method and mobile terminal | |
CN106406708A (en) | A display method and a mobile terminal | |
CN107508936A (en) | A kind of information display control method and mobile terminal | |
CN107492079A (en) | A kind of image mill skin method and mobile terminal | |
CN106599246B (en) | Display content interception method, mobile terminal and control server | |
CN107483821A (en) | A kind of image processing method and mobile terminal | |
CN106648426A (en) | Method for adjusting video playing progress and mobile terminal | |
CN107632854A (en) | A kind of screenshotss processing method and mobile terminal |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |