CN108153470A - Enclose determining method, apparatus, electronic equipment and the storage medium of favored area - Google Patents

Enclose determining method, apparatus, electronic equipment and the storage medium of favored area Download PDF

Info

Publication number
CN108153470A
CN108153470A CN201711418556.2A CN201711418556A CN108153470A CN 108153470 A CN108153470 A CN 108153470A CN 201711418556 A CN201711418556 A CN 201711418556A CN 108153470 A CN108153470 A CN 108153470A
Authority
CN
China
Prior art keywords
favored area
click location
circle
area
clicking operation
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
Application number
CN201711418556.2A
Other languages
Chinese (zh)
Other versions
CN108153470B (en
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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics 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 Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201711418556.2A priority Critical patent/CN108153470B/en
Publication of CN108153470A publication Critical patent/CN108153470A/en
Application granted granted Critical
Publication of CN108153470B publication Critical patent/CN108153470B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/106Display of layout of documents; Previewing

Abstract

The embodiment of the invention discloses determining method, apparatus, electronic equipment and the storage mediums of an Artenkreis favored area.This method includes:The clicking operation that detection screen area occurs after the circle choosing instruction of receiving area;It obtains the corresponding click location of each clicking operation and counts the total number of click location got;If the total number is more than predetermined number when receiving circle favored area determine instruction, circle favored area is determined according to the click location.Method provided in an embodiment of the present invention according to click location by determining circle favored area, it realizes during the circle choosing of region without user's Continued depression screen, and so that the shape of circle favored area is not constrained by fixed shape, improve the efficiency and accuracy of circle selection operation.

Description

Enclose determining method, apparatus, electronic equipment and the storage medium of favored area
Technical field
The present embodiments relate to electronic apparatus application technology more particularly to enclose the determining method, apparatus of favored area, electronics Equipment and storage medium.
Background technology
With the continuous development of science and technology, the application function of electronic equipment is increasingly abundanter.User is set using electronics It is for future reference local word often to be chosen when seeing document, the operations such as the word chosen is sheared or be replicated.
At present, for the electronic equipment with touch function, generally by user in the character area for needing to choose Long-press operation is carried out to there is selected areas, and can selected areas be adjusted by the boundary cursor of mobile selected areas, to choose Different words.However the shape of the selected areas in the method is fixed, and can not accurately choose the word selected needed for user, and User's Continued depression screen is needed during moving boundary cursor until reaching final checked position, leads to user's operation not Just;Alternatively, by detecting the sliding trace of user on the screen, the word determined by sliding trace in closed area is determined For the word chosen, but this method also needs user's Continued depression screen until sliding trace forms closed area, leads Family of applying is inconvenient.
Invention content
The embodiment of the present invention provides determining method, apparatus, electronic equipment and the storage medium of an Artenkreis favored area, to realize The circle choosing in region is rapidly and accurately carried out, improves the efficiency and accuracy of circle selection operation.
In a first aspect, an embodiment of the present invention provides the determining method of an Artenkreis favored area, this method includes:
The clicking operation that detection screen area occurs after the circle choosing instruction of receiving area;
It obtains the corresponding click location of each clicking operation and counts the total number of click location got;
If the total number is more than predetermined number when receiving circle favored area determine instruction, true according to the click location Surely favored area is enclosed.
Second aspect, the embodiment of the present invention additionally provide determining for an Artenkreis favored area, which includes:
Clicking operation detection module encloses the clicking operation of detection screen area generation after choosing instruction for receiving area;
Click location acquisition module, for obtaining the corresponding click location of each clicking operation and counting the click got The total number of position;
Favored area determining module is enclosed, if the total number is more than default when enclosing favored area determine instruction for receiving Number then determines circle favored area according to the click location.
The third aspect, the embodiment of the present invention additionally provide a kind of electronic equipment, which includes:
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are performed by one or more of processors so that one or more of processing Device realizes the determining method for the circle favored area that any embodiment of the present invention provides.
Fourth aspect, the embodiment of the present invention additionally provide a kind of computer readable storage medium, are stored thereon with computer Program realizes the determining method of circle favored area that any embodiment of the present invention provides when the program is executed by processor.
The present embodiment encloses the clicking operation of detection screen area generation after choosing instruction by receiving area;It obtains and clicks every time It operates corresponding click location and counts the total number of click location got;If it receives total during circle favored area determine instruction Number is more than predetermined number, then determines circle favored area according to click location, solve in user carries out region circle selection process, by Lead to not the region for enclosing choosing needed for user accurately is carried out circle choosing and due to needing Continued depression in circle favored area shape fixation The problem of inconvenient caused by screen, is realized and determines circle favored area according to click location, and then during the circle choosing of region Without user's Continued depression screen, and so that the shape of circle favored area is not constrained by fixed shape, improve circle selection operation Efficiency and accuracy.
Description of the drawings
Fig. 1 is the flow chart of the determining method of the Artenkreis favored area in the embodiment of the present invention one;
Fig. 2 is a kind of schematic diagram of clicking operation in the embodiment of the present invention one;
Fig. 3 is the schematic diagram of the Artenkreis favored area in the embodiment of the present invention one;
Fig. 4 is the flow chart of the determining method of the Artenkreis favored area in the embodiment of the present invention two;
Fig. 5 is a kind of schematic diagram that clicking operation three times is detected in screen area in the embodiment of the present invention two;
Fig. 6 is a kind of schematic diagram that four clicking operations are detected in screen area in the embodiment of the present invention two;
Fig. 7 is a kind of schematic diagram that drag operation is carried out to click location in the embodiment of the present invention two;
Fig. 8 is a kind of schematic diagram that drag operation is carried out to boundary in the embodiment of the present invention two;
Fig. 9 is a kind of schematic diagram that drag operation is carried out to boundary in the embodiment of the present invention two;
Figure 10 is the structure diagram of the determining device of the Artenkreis favored area in the embodiment of the present invention three;
Figure 11 is the structure diagram of a kind of electronic equipment in the embodiment of the present invention four.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limitation of the invention.It also should be noted that in order to just Part related to the present invention rather than entire infrastructure are illustrated only in description, attached drawing.
Embodiment one
Fig. 1 is the flow chart of the determining method of an Artenkreis favored area that the embodiment of the present invention one provides, and the present embodiment can fit For that need to carry out the situation of region circle choosing, this method can be performed by the determining device of circle favored area, which can be by software With or hardware composition, which is generally integrated in terminal.Referring to Fig. 1, method provided in this embodiment specifically includes following step Suddenly:
The clicking operation that detection screen area occurs after step 110, receiving area circle choosing instruction.
Illustratively, region circle option is may be provided in display interface, when user, which need to carry out region circle, to be selected, can be clicked Option is enclosed in region, then after user's click on area circle option, confirmation receives region circle choosing instruction.Region circle choosing instruction Can detect preset touch trajectory in the predeterminated position of screen area, confirmation receives region circle choosing instruction.
After the circle choosing instruction of receiving area, then the clicking operation occurred in screen area is detected.
Step 120 obtains the corresponding click location of each clicking operation and counts the total number of click location got.
Preferably, clicking operation occurs in screen area if detecting, obtains the corresponding click position of each clicking operation Put and count the total number of the click location got.
Optionally, the corresponding click location of each clicking operation is obtained to include:Obtain and show that each clicking operation corresponds to Click location and obtain and show boundary that the corresponding click location of adjacent clicking operation twice is formed so that user is real-time Determine whether click location is accurate.
Optionally, if user determines do not have after clicking operation is carried out, by the click location shown by screen or boundary Accurately the position of required click is clicked, then can cancel option by click cancels newest clicking operation.
Preferably, if receiving area circle choosing instruction again, detects the clicking operation occurred in screen area again.
Fig. 2 is a kind of schematic diagram of clicking operation provided in this embodiment.If it as shown in Fig. 2, is shown in display interface Two parts word in rectangular area and elliptical region, then when user, which need to carry out elliptical region on circle, to be selected, user can be After click on area circle option, clicking operation is carried out around the boundary of elliptical region, such as according to click sequence, each clicking operation Corresponding click location is followed successively by position A, position B, position C, position D, position E, position F, position G and position H, then display is each Click location and the straight border being made of the corresponding click location of adjacent clicking operation twice.
If step 130, receive circle favored area determine instruction when total number be more than predetermined number, it is true according to click location Surely favored area is enclosed.
Preferably, user can enclose favored area by click and determine that option determines to complete clicking operation, then clicks and enclose in user After favored area determines option, confirmation receives circle favored area determine instruction.
After receiving circle favored area determine instruction, it is determined that whether the total number of click location is more than predetermined number, however, it is determined that More than predetermined number, then circle favored area is determined according to click location, and stop detecting the clicking operation occurred in screen area.
Illustratively, determine that circle favored area includes according to click location:Obtain and show newest clicking operation with it is initial The boundary that forms of the corresponding click location of clicking operation, will be by the boundary and by the corresponding click of adjacent clicking operation twice The closed area that the boundary that position is formed is formed is determined as enclosing favored area.
Illustratively, however, it is determined that no more than predetermined number, then can popping up dialog box prompting user, to click number insufficient, need to be after It is continuous to carry out circle choosing or pop-up dialog box asks the user whether to continue circle choosing, if user, which confirms, continues circle choosing, continue detection screen The clicking operation occurred in curtain region if user, which confirms, does not continue circle choosing, stops detecting the click behaviour occurred in screen area Make, and delete click location and the boundary of acquisition, and the total number that will click on position is initialized as 0.
Illustratively, predetermined number can be 3,4 or 5.
Fig. 3 is the schematic diagram of Artenkreis favored area provided in this embodiment.If as shown in figure 3, predetermined number be 3, On the basis of clicking operation shown in Fig. 2, if receiving circle favored area determine instruction, obtain and show that newest click is grasped Make the boundary that corresponding click location H click location A corresponding with initial clicking operation is formed, and will be made of each boundary Closed area is determined as enclosing favored area.
Preferably, it negates that option determines to cancel all clicking operations that user can enclose favored area by click, then in user's point After hitting circle favored area negative option, confirmation receives circle favored area and ignores instruction.
After reception circle favored area is ignored instruction, then stop detecting the clicking operation occurred in screen area, and delete acquisition Click location and boundary, and the total number that will click on position is initialized as 0.
Preferably, after circle favored area is determined according to click location, if the anti-option of user's click on area, receives area Domain is counter to select instruction, and receiving area is counter select instruction after, circle favored area is updated to the envelope being made of in display interface each boundary Region except closed region.
As a result, when user need to carry out circle selection operation, it is only necessary to which carrying out clicking operation in screen area can be to required circle The region of choosing carries out circle choosing, especially right without, to screen area progress Continued depression, simplifying circle selection operation in circle selection process In the terminal that screen size is larger, such as the interactive intelligence terminal in teaching or conference scenario, when need to enclose the region of choosing compared with When big, if carrying out region circle choosing by slide, leading to user, movement is very inconvenient when progress region circle selects, and this The method that embodiment provides can easily facilitate user's movement, in addition, the present embodiment encloses favored area by being determined according to click location, So that the shape of circle favored area is related to click location, without being constrained by fixed shape, therefore, user can be arbitrarily to required circle The region of choosing carries out circle choosing, substantially increases the accuracy of circle selection operation.
Preferably, after circle favored area is determined according to click location, the word in circle favored area can be highlighted, for User confirms the word covered in circle favored area.
Preferably, after circle favored area is determined according to click location, user can enclose favored area by click and change option It modifies to circle favored area, then after user clicks circle favored area modification option, confirmation receives circle favored area modification instruction, And after circle favored area modification instruction is received, on the basis of the clicking operation having detected that, continue to detect in screen area and send out Raw clicking operation with to circle favored area modify.
Preferably, after circle favored area is determined according to click location, edit instruction can be also received, and according to edit instruction To enclosing the word in favored area into edlin.Wherein, edit instruction may include dragging, font color change, font size change, The instructions such as duplication and shearing.If detecting that the starting of drag operation pulls position and is located in circle favored area, then dragging is received Instruction, and circle favored area and the word enclosed in favored area are dragged according to the dragging track of drag operation;If user exists After a certain color is selected in font color list, then font color change directive is received, the word of word that will be enclosed in favored area Body color is changed to the selected color of user;If detecting, the starting of drag operation pulls the side that position is located at circle favored area Boundary then receives font size change directive, and to circle favored area and is enclosed in favored area according to the dragging track of drag operation Word zoom in and out;If user selects to replicate or shear option in edit menu, duplication or shearing instruction are received, then Word in circle favored area is replicated or sheared.
The present embodiment encloses the clicking operation of detection screen area generation after choosing instruction by receiving area;It obtains and clicks every time It operates corresponding click location and counts the total number of click location got;If it receives total during circle favored area determine instruction Number is more than predetermined number, then determines circle favored area according to click location, solve in user carries out region circle selection process, by Lead to not the region for enclosing choosing needed for user accurately is carried out circle choosing and due to needing Continued depression in circle favored area shape fixation The problem of inconvenient caused by screen, is realized and determines circle favored area according to click location, and then during the circle choosing of region Without user's Continued depression screen, and so that the shape of circle favored area is not constrained by fixed shape, improve circle selection operation Efficiency and accuracy.
Embodiment two
Fig. 4 be Artenkreis favored area provided by Embodiment 2 of the present invention determining method flow chart, the present embodiment be It is advanced optimized on the basis of above-described embodiment.The corresponding click location of each clicking operation will be obtained in the present embodiment simultaneously The total number of click location got is counted, is optimized for:Obtain and show the corresponding click location of each clicking operation and The boundary that the corresponding click location of adjacent clicking operation twice is formed;If the total number of click location is shown newest more than 2 The boundary that forms of corresponding with the initial clicking operation click location of clicking operation;If will receive favored area determine instruction When total number be more than predetermined number, then according to click location determine circle favored area, be optimized for:If it receives circle favored area to determine to refer to Total number is more than predetermined number when enabling, then the closed area formed according to boundary determines circle favored area;The method is optimized for It further includes:If corresponding click location or tune are moved according to drag operation to drag operation in click location or border detection The radian of integral boundary;If will receive favored area determine instruction when total number be more than predetermined number, it is true according to click location Surely it encloses after favored area, is optimized for further including:The display elements type in circle favored area is shown in lists, in favored area is enclosed Highlight the corresponding object element type of selection instruction that list reception arrives;The display in circle favored area will be shown in lists Element type, after the corresponding object element type of selection instruction that list reception arrives is highlighted in enclosing favored area, optimization To further include:If receiving editor's activation instruction, edit instruction menu corresponding with object element type is shown;Referred to according to editor Enable the edit instruction that confirms in menu to object element type into edlin.
Referring to Fig. 4, method provided in this embodiment specifically comprises the following steps:
The clicking operation that detection screen area occurs after step 210, receiving area circle choosing instruction.
Step 220, obtain and show the corresponding click location of each clicking operation and adjacent clicking operation twice correspond to Click location form boundary.
If step 230, the total number of click location more than 2, show that newest clicking operation is grasped with initial click Make the boundary that corresponding click location is formed.
Preferably, if detecting, clicking operation occurs for screen area, obtains and shows the corresponding point of each clicking operation Hit position and boundary that the corresponding click location of adjacent clicking operation twice is formed, and determine click location total number whether More than 2, however, it is determined that more than 2, then obtain and show newest clicking operation click position corresponding with initial clicking operation The boundary of composition is put, closed area, the circle choosing currently chosen convenient for user's judgement determined by click location with real-time display Whether range and the target zone for wanting to choose are corresponding.
Fig. 5 is the schematic diagram provided in this embodiment that clicking operation three times is detected in screen area.As shown in figure 5, According to click sequence, the corresponding click location of clicking operation is followed successively by position A, position B and position C three times, then when detecting Three times during clicking operation, since the total number of click location is more than 2, then display location A, position B and position C and by position Three straight borders that A and position B, position B and position C and position C and position A are formed.
Fig. 6 is the schematic diagram provided in this embodiment that four clicking operations are detected in screen area.As shown in fig. 6, On the basis of clicking operation shown in Fig. 5, if user carries out clicking operation at the D of position, the 4th click is being detected After operation, since the total number of click location is more than 2, then display location A, position B, position C and position D and by position A Four straight borders formed with position B, position B and position C, position C and position D and position D and position A.
If step 240, in click location or border detection to drag operation, corresponding click is moved according to drag operation Position or the radian for adjusting boundary.
Fig. 7 is the schematic diagram provided in this embodiment that drag operation is carried out to click location.It is as shown in fig. 7, shown in Fig. 6 Clicking operation on the basis of, if drag operation starting pull position be located at position D, it is corresponding in the 4th clicking operation Click location detects drag operation, then moves the 4th corresponding click location of clicking operation according to drag operation.Such as according to Prefixed time interval (such as 0.2 second or 0.5 second) obtains the current of drag operation and pulls position M ', and by the 4th clicking operation pair The click location answered, which is moved to, current pulls position M ', while will be formed by position C and position D and by position D and position A Boundary difference real-time update is by position C and position M ' and the boundary being made of position M ' and position A, until drag operation knot Beam.
Fig. 8 is the schematic diagram provided in this embodiment that drag operation is carried out to boundary.As shown in figure 8, point shown in Fig. 6 Hit on the basis of operation, be located on the boundary being made of position B and position C if the starting of drag operation pulls position M, by The border detection that position B and position C is formed is to drag operation, then the side being made of according to drag operation adjustment position B and position C The radian on boundary.Such as the current of drag operation is obtained according to prefixed time interval (such as 0.2 second or 0.5 second) pull position M ', and obtain It takes by currently pulling the line segment that position M ' and position B is formed and the line segment formed by currently pulling position M ' and position C, with two The intersection point of the perpendicular bisector of line segment for the center of circle and with the intersection point and position B, position C or current pull position M ' away from From for radius, obtaining by position B, position C and the current circular arc for pulling position M ', the boundary tune that position B and position C is formed Whole is the circular arc, until drag operation terminates.
Fig. 9 is another schematic diagram that drag operation is carried out to boundary provided in this embodiment.As shown in figure 9, in Fig. 6 institutes On the basis of the clicking operation shown, if by the border detection that position B and position C are formed to drag operation, it can be according to default Time interval (such as 0.2 second or 0.5 second) obtains the current of drag operation and pulls position M ', and pull position M according to starting and work as Preceding dragging position M ', which is obtained, pulls distance and drag direction, obtains the position B and position C mobile institutes in the drag direction respectively Position B ' and position C ' after pulling distance are stated, then the corresponding click location of second of clicking operation is moved to position B ', it will The corresponding click location of third time clicking operation be moved to position C ' and will by position A and position B, position B and position C with And the boundary difference real-time update that position C and position D is formed is by position A and position B ', position B ' and position C ' and position The boundary that C ' and position D is formed, until drag operation terminates.
If step 250, receive circle favored area determine instruction when total number be more than predetermined number, according to boundary form Closed area determines circle favored area.
It illustratively, can be on the side for showing newest clicking operation click location composition corresponding with initial clicking operation After boundary, determine that option and circle select in the corresponding click location of newest clicking operation or other predeterminated positions display circle favored area Region negates option, if user clicks circle, favored area determines option, receives circle favored area determine instruction, then will be by each boundary The closed area of composition is determined as enclosing favored area, and stops detecting the clicking operation occurred in screen area, if user clicks circle Favored area negates option, then receives circle favored area and ignore instruction, then stops detecting the clicking operation occurred in screen area, and The click location obtained and boundary are deleted, and the total number that will click on position is initialized as 0.
Step 260 shows the display elements type enclosed in favored area in lists, and list is highlighted in favored area is enclosed The corresponding object element type of selection instruction received.
Preferably, after circle favored area is determined, then the list of the display elements type in circle favored area is shown in pop-up, In, display elements type includes at least word and picture, if any display elements type in user's selective listing, is selected in circle The corresponding object element type of selection instruction that list reception arrives is highlighted in region.
If the display elements type that user selects in lists is word, then can be highlighted with a default background color Enclose the word in favored area;If the display elements type that user selects in lists is picture, with another default background color Highlight the picture in circle favored area.
It should be noted that for the application that the display elements type in favored area is enclosed is a fixed display elements type It, then, can be straight after circle favored area is determined according to click location if display elements type is fixed as word or picture under scene It is connected in circle favored area and highlights the display elements type, without showing list.
If step 270 receives editor's activation instruction, edit instruction menu corresponding with object element type is shown.
Step 280, according to the edit instruction confirmed in edit instruction menu to object element type into edlin.
Preferably, if user clicks editor's activation option, confirmation receives editor's activation instruction, and swashs receiving editor After instruction living, show edit instruction menu corresponding with object element type, referred to according to the editor confirmed in edit instruction menu It enables to object element type into edlin.If object element type is word, then copy editor's command menu is shown, word is compiled Collecting may include there are the instructions such as dragging, font color change, font size change, duplication and shearing in command menu, if user exists Any instruction is selected in copy editor's command menu, then according to the instruction to enclosing the word in favored area into edlin;If target Element type is picture, then shows picture editor's command menu, may include thering is virtualization, cutting, rotation in picture editor's command menu Turn and scaling etc. instructions, if user selects any instruction in picture editor's command menu, according to the instruction to enclose favored area In picture into edlin.
The present embodiment is by obtaining and showing the corresponding click location of each clicking operation and adjacent clicking operation twice The boundary that corresponding click location is formed;If the total number of click location more than 2, show newest clicking operation with it is initial The boundary that forms of the corresponding click location of clicking operation, realize the closed area that real-time display is determined according to click location;It is logical If crossing in click location or border detection to drag operation, corresponding click location or adjustment boundary are moved according to drag operation Radian, realize that user can facilitate click location and boundary are modified, and then circle favored area is modified;By The display elements type in circle favored area is shown in list, the selection instruction pair that list reception arrives is highlighted in favored area is enclosed The object element type answered is realized and selects the required object element type chosen in circle favored area by list;If by receiving To editor's activation instruction, edit instruction menu corresponding with object element type is shown;According to what is confirmed in edit instruction menu Edit instruction into edlin, realizes through edit instruction list to the object element type in circle favored area object element type Into edlin.
Embodiment three
Figure 10 is the structure diagram of the determining device for the Artenkreis favored area that the embodiment of the present invention three provides.The device can be by Software and or hardware composition, which is generally integrated in terminal.Referring to Figure 10, device provided in this embodiment includes:It clicks Detection module 310, click location acquisition module 320 and circle favored area determining module 330 are operated, wherein,
Clicking operation detection module 310 encloses the clicking operation of detection screen area generation after choosing instruction for receiving area;
Click location acquisition module 320, for obtaining the corresponding click location of each clicking operation and counting what is got The total number of click location;
Favored area determining module 330 is enclosed, if the total number is more than default when enclosing favored area determine instruction for receiving Number then determines circle favored area according to the click location.
The present embodiment encloses the click of detection screen area generation after choosing instruction by clicking operation detection module receiving area Operation, click location acquisition module obtain the total of the click location that the corresponding click location of each clicking operation and statistics are got Number, if total number is more than predetermined number when circle favored area determining module receives circle favored area determine instruction, according to click Location determination circle favored area is solved in user carries out region circle selection process, since circle favored area shape fixation leads to not The region that choosing is enclosed needed for user is accurately subjected to circle choosing and due to needing the problem of inconvenient caused by Continued depression screen, it is real Circle favored area is now determined according to click location, and then without user's Continued depression screen during the circle choosing of region, and caused The shape for enclosing favored area is not constrained by fixed shape, improves the efficiency and accuracy of circle selection operation.
In said program, optionally, the click location acquisition module, including:
First boundary acquiring unit, for obtain and show the corresponding click location of each clicking operation and it is adjacent twice The boundary that the corresponding click location of clicking operation is formed;
The second boundary acquiring unit, if for the click location total number more than 2, show it is newest click behaviour Make the boundary that click location corresponding with initial clicking operation is formed;
The circle favored area module, is specifically used for:
If the total number is more than predetermined number when receiving circle favored area determine instruction, formed according to the boundary Closed area determines circle favored area.
In said program, optionally, described device further includes:
Adjust module, if in the click location or border detection to drag operation, according to the drag operation Mobile corresponding click location or the radian on the adjustment boundary.
In said program, optionally, described device further includes:Object element type display module, in lists It shows the display elements type in the circle favored area, the selection that the list reception arrives is highlighted in the circle favored area Instruct corresponding object element type.
In said program, optionally, described device further includes:Edit instruction menu display module, in lists It shows the display elements type in the circle favored area, the selection that the list reception arrives is highlighted in the circle favored area After instructing corresponding object element type, if receiving editor's activation instruction, display is corresponding with the object element type Edit instruction menu;
Object element type editor module, for according to the edit instruction confirmed in the edit instruction menu to the mesh Element type is marked into edlin.
Example IV
Figure 11 is the structure diagram of a kind of electronic equipment that the embodiment of the present invention four provides, as shown in figure 11, the electronics Equipment includes processor 410, memory 420, input unit 430 and output device 440;The number of processor 410 in electronic equipment Amount can be one or more, in Figure 11 by taking a processor 410 as an example;Processor 410, memory 420 in electronic equipment, Input unit 430 can be connected with output device 440 by bus or other modes, in Figure 11 for being connected by bus.
Memory 420 is used as a kind of computer readable storage medium, and journey is can perform available for storage software program, computer Sequence and module, as the circle favored area in any embodiment of the present invention the corresponding program instruction/module of determining method (for example, Clicking operation detection module 310, click location acquisition module 320 and the circle favored area enclosed in the determining device of favored area determine mould Block 330).Processor 410 is stored in software program, instruction and module in memory 420 by operation, so as to perform electronics The above-mentioned operation for electronic equipment is realized in the various function application of equipment and data processing.
Memory 420 can mainly include storing program area and storage data field, wherein, storing program area can store operation system Application program needed for system, at least one function;Storage data field can be stored uses created data according to electronic equipment Deng.In addition, memory 420 can include high-speed random access memory, nonvolatile memory can also be included, for example, at least One disk memory, flush memory device or other non-volatile solid state memory parts.In some instances, memory 420 can Further comprise that, relative to the remotely located memory of processor 410, these remote memories can pass through network connection to electricity Sub- equipment.The example of above-mentioned network includes but not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
Input unit 430 can be used for receiving the number inputted or character information and the user of generation and electronic equipment sets It puts and the input of key signals that function control is related.Output device 440 may include that display screen etc. shows equipment.
Embodiment five
The embodiment of the present invention five also provides a kind of storage medium for including computer executable instructions, is stored thereon with calculating Machine program realizes the circle favored area determining module method that any embodiment of the present invention provides when the program is executed by processor.
By the description above with respect to embodiment, it is apparent to those skilled in the art that, the present invention It can be realized by software and required common hardware, naturally it is also possible to which by hardware realization, but the former is more in many cases Good embodiment.Based on such understanding, what technical scheme of the present invention substantially in other words contributed to the prior art Part can be embodied in the form of software product, which can be stored in computer readable storage medium In, floppy disk, read-only memory (Read-Only Memory, ROM), random access memory (Random such as computer Access Memory, RAM), flash memory (FLASH), hard disk or CD etc., including some instructions with so that a computer is set Standby (can be personal computer, server or the network equipment etc.) performs the method described in any embodiment of the present invention.
It is worth noting that, in the embodiment of above-mentioned circle favored area determining module device, included each unit and mould Block is only divided, but be not limited to above-mentioned division according to function logic, as long as corresponding function can be realized i.e. It can;In addition, the specific name of each functional unit is also only to facilitate mutually distinguish, the protection model being not intended to restrict the invention It encloses.
Above device can perform the method that any embodiment of the present invention is provided, and has and performs the corresponding function of the above method Module and advantageous effect.The not technical detail of detailed description in the present embodiment, reference can be made to any embodiment of the present invention is provided Method.
Note that it above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The present invention is not limited to specific embodiment described here, can carry out for a person skilled in the art various apparent variations, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also It can include other more equivalent embodiments, and the scope of the present invention is determined by scope of the appended claims.

Claims (10)

1. the determining method of an Artenkreis favored area, which is characterized in that including:
The clicking operation that detection screen area occurs after the circle choosing instruction of receiving area;
It obtains the corresponding click location of each clicking operation and counts the total number of click location got;
If the total number is more than predetermined number when receiving circle favored area determine instruction, determine to enclose according to the click location Favored area.
2. it according to the method described in claim 1, it is characterized in that, obtains the corresponding click location of each clicking operation and counts The total number of the click location got, including:
It obtains and shows the corresponding click location of each clicking operation and the corresponding click location structure of adjacent clicking operation twice Into boundary;
If the total number of the click location more than 2, shows that newest clicking operation is corresponding with initial clicking operation The boundary that click location is formed;
If it is described receive circle favored area determine instruction when the total number be more than predetermined number, it is true according to the click location Surely favored area is enclosed, specially:
If the total number is more than predetermined number when receiving circle favored area determine instruction, according to the closing of boundary composition Region determines circle favored area.
3. according to the method described in claim 2, it is characterized in that, the method further includes:
If corresponding click location is moved according to the drag operation to drag operation in the click location or border detection Or the radian on the adjustment boundary.
If 4. according to the method described in claim 1, it is characterized in that, it is described receive it is described total during circle favored area determine instruction Number is more than predetermined number, then after determining circle favored area according to the click location, further includes:
The display elements type in the circle favored area is shown in lists, and the list is highlighted in the circle favored area The corresponding object element type of selection instruction received.
5. the according to the method described in claim 4, it is characterized in that, display shown in lists in the circle favored area Element type, highlighted in the circle favored area the corresponding object element type of selection instruction that the list reception arrives it Afterwards, it further includes:
If receiving editor's activation instruction, edit instruction menu corresponding with the object element type is shown;
According to the edit instruction confirmed in the edit instruction menu to the object element type into edlin.
6. the determining device of an Artenkreis favored area, which is characterized in that including:
Clicking operation detection module encloses the clicking operation of detection screen area generation after choosing instruction for receiving area;
Click location acquisition module, for obtaining the corresponding click location of each clicking operation and counting the click location got Total number;
Favored area determining module is enclosed, if the total number is more than predetermined number when enclosing favored area determine instruction for receiving, Circle favored area is determined according to the click location.
7. device according to claim 6, which is characterized in that the click location acquisition module, including:
First boundary acquiring unit, for obtaining and showing the corresponding click location of each clicking operation and adjacent click twice Operate the boundary that corresponding click location is formed;
The second boundary acquiring unit, if for the click location total number more than 2, show newest clicking operation with The boundary that the corresponding click location of initial clicking operation is formed;
The circle favored area module, is specifically used for:
If the total number is more than predetermined number when receiving circle favored area determine instruction, according to the closing of boundary composition Region determines circle favored area.
8. device according to claim 7, which is characterized in that described device further includes:
Module is adjusted, if for, to drag operation, being moved in the click location or border detection according to the drag operation Corresponding click location or the radian on the adjustment boundary.
9. a kind of electronic equipment, which is characterized in that the equipment includes:
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are performed by one or more of processors so that one or more of processors are real The now determining method of the circle favored area as described in claim 1-5 is any.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor The determining method of the circle favored area as described in claim 1-5 is any is realized during execution.
CN201711418556.2A 2017-12-25 2017-12-25 Method and device for determining circled area, electronic equipment and storage medium Active CN108153470B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711418556.2A CN108153470B (en) 2017-12-25 2017-12-25 Method and device for determining circled area, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711418556.2A CN108153470B (en) 2017-12-25 2017-12-25 Method and device for determining circled area, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108153470A true CN108153470A (en) 2018-06-12
CN108153470B CN108153470B (en) 2021-05-11

Family

ID=62464568

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711418556.2A Active CN108153470B (en) 2017-12-25 2017-12-25 Method and device for determining circled area, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108153470B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090192703A1 (en) * 2007-11-22 2009-07-30 Steffen Hess Method and device for providing information about points of interest using a navigation system
CN104516860A (en) * 2013-09-26 2015-04-15 国际商业机器公司 Methods and systems for selecting text within a displayed document
CN107193901A (en) * 2017-05-11 2017-09-22 长威信息科技发展股份有限公司 A kind of resource visualizes the method and system of fast selecting

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090192703A1 (en) * 2007-11-22 2009-07-30 Steffen Hess Method and device for providing information about points of interest using a navigation system
CN104516860A (en) * 2013-09-26 2015-04-15 国际商业机器公司 Methods and systems for selecting text within a displayed document
CN107193901A (en) * 2017-05-11 2017-09-22 长威信息科技发展股份有限公司 A kind of resource visualizes the method and system of fast selecting

Also Published As

Publication number Publication date
CN108153470B (en) 2021-05-11

Similar Documents

Publication Publication Date Title
CN102523346B (en) Cross-device file transmission method, device, transit server and device
US8977077B2 (en) Techniques for presenting user adjustments to a digital image
CN110618970A (en) File transmission method and electronic equipment
CN104246678A (en) Device, method, and graphical user interface for sharing a content object in a document
CN108415706A (en) Visualize method, system, equipment and the storage medium of auto-building html files
CN110515510A (en) Data processing method, device, equipment and storage medium
CN103324674B (en) Web page contents choosing method and device
CN106575291A (en) Detecting selection of digital ink
DK201670755A9 (en) User Interface for Camera Effects
CN109753215B (en) Window split-screen display method, device and equipment
CN103616982A (en) Touch screen device and method of creating new folders on touch screen device
CN105144058A (en) Deferred placement prompt
CN111080170A (en) Workflow modeling method and device, electronic equipment and storage medium
CN110007800A (en) A kind of control method, device, equipment and the storage medium of touch operation mode
CN105912101B (en) Projection control method and electronic equipment
JPH08328795A (en) Method for setting tool button and editing device
CN108132745A (en) Exchange method, device, equipment and storage medium
CN111694501A (en) Touch gestures for stream connection in a flow simulator
WO2019218622A1 (en) Element control method, apparatus, and device, and storage medium
CN108815843B (en) Control method and device of virtual rocker
CN114415886A (en) Application icon management method and electronic equipment
CN108153470A (en) Enclose determining method, apparatus, electronic equipment and the storage medium of favored area
CN112578959B (en) Content publishing method and device
CN106033349A (en) Object position adjusting method and device
CN109492747A (en) A kind of the network structure generation method and device of neural network

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