CN105892863A - Data repainting method and electronic equipment - Google Patents
Data repainting method and electronic equipment Download PDFInfo
- Publication number
- CN105892863A CN105892863A CN201610202069.1A CN201610202069A CN105892863A CN 105892863 A CN105892863 A CN 105892863A CN 201610202069 A CN201610202069 A CN 201610202069A CN 105892863 A CN105892863 A CN 105892863A
- Authority
- CN
- China
- Prior art keywords
- object element
- display content
- content
- sectional drawing
- redraw
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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/04845—Interaction 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 for image manipulation, e.g. dragging, rotation, expansion or change of colour
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention provides a data repainting method and electronic equipment. The method comprises the steps that first operation of a user for first display content is detected, wherein the first display content comprises at least one element; for responding to the first operation, the target element of the first display content is recognized, and the repainting element of the target element is determined; second operation of the user is detected, wherein the second operation indicates that the target element is repainted to second display content; for responding to the second operation, the target element is repainted in the second display content according to the repainting element. According to the data repainting method and the electronic equipment, the loading process of the target element is simplified.
Description
Technical field
The present invention relates to technical field of data processing, be specifically related to a kind of data and redraw method and electronic equipment.
Background technology
User can use the elements such as chart often in office, and user is when watching the file such as video, picture,
Often can find the elements such as the chart oneself liked in the file such as video, picture, at this moment user exist for by
The elements such as the chart found are loaded into the demand in office software, in order to by elements such as the charts of discovery
Handle official business.
The mode that the elements such as the chart found are loaded in office software by user at present, mainly at net
Network is searched for the element such as chart, then searches out from Search Results and be consistent with the element such as the chart found
Result and be downloaded, it is achieved the loading of the elements such as the chart found;But, this mode relates to
To operations such as the search of user, lookups, bother very much;The elements such as the easiest loading chart,
Become the problem that those skilled in the art need to consider.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of data to redraw method and electronic equipment, to realize unit
The easy that element loads.
For achieving the above object, the following technical scheme of embodiment of the present invention offer:
A kind of data redraw method, are applied to electronic equipment, and described method includes:
The detection user the first operation to the first display content, described first display content includes at least one
Element;
Respond described first operation, identify the object element of described first display content and determine described target
Element redraw key element;
Second operation of detection user, described object element is redrawn and shows second by described second operation instruction
Show content;
Respond described second operation, redraw described in described second display content according to the described key element that redraws
Object element.
Optionally, the object element in the described first display content of described identification includes:
Described first display content is carried out sectional drawing;
Based on described sectional drawing, determine the border of described object element;
Described object element is gone out according to described Boundary Extraction.
Optionally, described object element is chart;Described based on described sectional drawing, determine described object element
Border include:
Determine the lines in sectional drawing, and the joint between lines;
Crossing between consecutive border lines in lines determined by determining, and consecutive border lines
Point;
With described consecutive border lines, and the border that the joint between the lines of consecutive border is formed,
Border as chart described in sectional drawing.
Optionally, the described key element that redraws determining described object element includes:
Determine shape facility and the content information of described object element.
Optionally, redraw key element described in described basis and redraw described target element in described second display content
Element includes:
Shape facility based on described object element, shows in content described second and redraws object element phase
The shape answered;
Content information based on described object element, fills corresponding in the object element after redrawing shape
Content.
Optionally, described method also includes:
According to described redraw key element second display content in redraw described object element after, described mesh is set
Mark element be in can editing mode, and/or, arrange the form of described object element with in described second display
The form held is corresponding.
Optionally, the first operation of the first display content is included by described detection user:
The detection user pressing operation to described first display content;
Judge whether the force value that described pressing operation is corresponding reaches setting value;
If so, determine that user has carried out the first operation to the first display content.
Optionally, described method also includes:
Show sectional drawing or the sectional drawing of object element of the first display content;
Second operation of described detection user includes:
Detection user is to the described first sectional drawing showing content or the drag operation of the sectional drawing of object element, institute
The final position stating drag operation is corresponding to described second display content.
The embodiment of the present invention also provides for a kind of electronic equipment, including:
First operation detection module, for detecting the user's the first operation to the first display content, described the
One display content includes at least one element;
Object element identification module, is used for responding described first operation, identifies described first display content
Object element;
Redraw key element and determine module, redraw key element for determine described object element;
Second operation detection module, for detecting second operation of user, described second operation instruction is by institute
State object element to redraw in the second display content;
Redraw module, be used for responding described second operation, show described second according to the described key element that redraws
Content redraws described object element.
Optionally, described object element identification module includes:
Sectional drawing unit, for carrying out sectional drawing to described first display content;
Border determines unit, for based on described sectional drawing, determines the border of described object element;
Object element extraction unit, for going out described object element according to described Boundary Extraction.
Optionally, redraw key element described in and determine that module includes:
Factor content determines unit, for determining shape facility and the content information of described object element;
The described module that redraws includes:
Redraw performance element, for shape facility based on described object element, in described second display
Appearance redraws the corresponding shape of object element;Content information based on described object element, is redrawing shape
After object element in fill corresponding content.
Optionally, described first operation detection module includes:
Pressing operation detector unit, for detecting user's pressing operation to described first display content;
Force value judging unit, for judging whether the force value that described pressing operation is corresponding reaches setting value;
If so, first operation determination unit, for determining that user has carried out the first behaviour to the first display content
Make.
Optionally, described electronic equipment also includes:
Display module, for showing sectional drawing or the sectional drawing of object element of the first display content;
Described second operation detection module includes:
Drag detector unit, for detecting user to the described first display sectional drawing of content or object element
The drag operation of sectional drawing, the final position of described drag operation is corresponding to described second display content.
Based on technique scheme, the data that the embodiment of the present invention provides redraw method and include: detection user
The first operation to the first display content, described first display content includes at least one element;Response institute
State the first operation, identify the object element of described first display content and determine redrawing of described object element
Key element;Second operation of detection user, described object element is redrawn second by described second operation instruction
Display content;Respond described second operation, show weight in content according to the described key element that redraws described second
Paint described object element.It can be seen that the embodiment of the present invention can be by the first behaviour to the first display content
Make, identify the object element in the first display content and determine the key element that redraws of object element, thus base
In second operation of user, so that object element can be based on the described key element that redraws in the second display content
Redraw, it is achieved object element easy in the second display content loads, and removes user from and searches in a network
Rope expectation uses object element the process downloaded, the easy loading procedure of object element.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to reality
Execute the required accompanying drawing used in example or description of the prior art to be briefly described, it should be apparent that below,
Accompanying drawing in description is only embodiments of the invention, for those of ordinary skill in the art, not
On the premise of paying creative work, it is also possible to obtain other accompanying drawing according to the accompanying drawing provided.
Fig. 1 redraws the flow chart of method for the data that the embodiment of the present invention provides;
Fig. 2 shows the method flow of the object element in content for the identification first that the embodiment of the present invention provides
Figure;
The method flow diagram on the border determining object element from sectional drawing that Fig. 3 provides for the embodiment of the present invention;
Fig. 4 is the schematic diagram identifying chart border from sectional drawing;
Fig. 5 is the schematic diagram redrawing key element of chart;
Fig. 6 redraws another flow chart of method for the data that the embodiment of the present invention provides;
Fig. 7 detects user's method to the first operation of the first display content for what the embodiment of the present invention provided
Flow chart;
Fig. 8 redraws another flow chart of method for the data that the embodiment of the present invention provides;
The structured flowchart of the electronic equipment that Fig. 9 provides for the embodiment of the present invention;
The structured flowchart of the object element identification module that Figure 10 provides for the embodiment of the present invention;
The key element that redraws that Figure 11 provides for the embodiment of the present invention determines the structured flowchart of module;
Another structured flowchart of the electronic equipment that Figure 12 provides for the embodiment of the present invention;
Another structured flowchart of the electronic equipment that Figure 13 provides for the embodiment of the present invention;
The structured flowchart of the first operation detection module that Figure 14 provides for the embodiment of the present invention;
The another structured flowchart of the electronic equipment that Figure 15 provides for the embodiment of the present invention;
The structured flowchart of the second operation detection module that Figure 16 provides for the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out
Clearly and completely describe, it is clear that described embodiment is only a part of embodiment of the present invention, and
It is not all, of embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art are not doing
Go out the every other embodiment obtained under creative work premise, broadly fall into the scope of protection of the invention.
Fig. 1 redraws the flow chart of method for the data that the embodiment of the present invention provides, and the method can be applicable to electronics
Equipment;The data using the embodiment of the present invention to provide redraw method, can be by user at video, picture etc. the
The elements such as the chart seen in one display content, redraw in the desired second display content of user, it is achieved
The user's convenient loading to elements such as the charts that expectation uses, removes user from and searches for expectation use in a network
The element such as chart and the process downloaded;
With reference to Fig. 1, the data that the embodiment of the present invention provides redraw method and may include that
Step S100, the detection user the first operation to the first display content, described first display content bag
Include at least one element;
First display content can be user watch video, picture, show on the electronic equipment such as webpage
Display content;First display content can be made up of at least one element, when user shows content first
In be found to have the element such as chart that expectation uses (user expect that the element used claims in embodiments of the present invention
For object element), the first display content can be carried out the first operation, with triggering following flow process;
Optionally, the first display content can also be only the display content that object element is corresponding.
Step S110, respond described first operation, identify the object element really of described first display content
That determines described object element redraws key element;
First operation is the operation for identifying object element from the first display content set, for difference
In the existing operation having arranged function command, the first operation can be user-defined be different from existing
The operation of function command is set;
Optionally, as a example by mouse action, the first operation can be that right click first shows content, transfers the
The actions menu of one display content, and from actions menu, click the operation of the option identifying object element;
As a example by touch screen operation, the first operation can be performed for more than setup pressure value to the first display content
Pressing operation (as 3Dtouch operate), to first display content many fingers manipulation operation etc.;
Obviously, the mode of the first operation can self-defined set, however it is not limited to exemplified above;
After identifying object element, what the embodiment of the present invention need to determine object element redraws key element, in order to
In user's desired display content (the referred to as second display content), object element is redrawn in follow-up so that
User can use and redraw rear object element;Redrawing key element is to redraw information necessary to object element, such as mesh
The mark shape of element, content etc..
Step S120, second operation of detection user, described second operation instruction is by described object element weight
It is painted on the second display content;
Obtain object element redraw key element after, the embodiment of the present invention can user desired second display
Carrying out redrawing of object element in content, in order to make electronic equipment understand, user wishes to redraw the second of place
Display content, the embodiment of the present invention can use second operation instruction of user to be redrawn by described object element
Second display content.
Step S130, respond described second operation, according to described redraw key element described second show content
In redraw described object element.
The data that the embodiment of the present invention provides redraw method and include: detection user to the first display content the
One operation, described first display content includes at least one element;Respond described first operation, identify institute
State the object element of the first display content and determine described object element redraw key element;The of detection user
Two operations, described object element is redrawn and shows content second by described second operation instruction;Response is described
Second operation, redraws described object element according to the described key element that redraws in described second display content.Can
To find out, the embodiment of the present invention can identify the first display by the first operation to the first display content
Object element in content also determines the key element that redraws of object element, thus the second operation based on user,
So that object element can redraw in the second display content based on the described key element that redraws, it is achieved object element
Easy in the second display content loads, and removes user from and searches for expectation use object element in a network
And the process downloaded, the easy loading procedure of object element.
Optionally, the first display content and the second display content likely show on same electronic equipment,
It is also possible on different electronic equipments display;
If the first display content and the second display content show on same electronic equipment, then electronic equipment
The second operation can be responded, in the second display content, redraw described object element according to the described key element that redraws;
Optionally, the second operation can be the file address of the second display content that user inputs;Second behaviour
Make it is also possible that the drag operation of user (can drag the sectional drawing of the first display content, or object element
Sectional drawing), the second display content of the final position correspondence electronic equipment of dragging.
If the first display content and the second display content do not show on same electronic equipment, then first shows
Show the electronic equipment corresponding to content, need to have data ditch with the electronic equipment corresponding to the second display content
Logical ability (as connected by the short haul connection such as bluetooth, wifi, it is also possible to pass through network service), the
Object element can be redrawn key element by one display electronic equipment corresponding to content, is transferred in the second display
Hold corresponding electronic equipment, in order to electronic equipment weight in the second display content that the second display content is corresponding
Paint object element;Optionally, in first display electronic equipment corresponding to content may further indicate that the second display
Hold corresponding electronic equipment, the position that object element should redraw in the electronic equipment that the second display content is corresponding
Putting, this position redrawn can also be preset by the electronic equipment that the second display content is corresponding;
Accordingly, the second operation may indicate that the mark of electronic equipment corresponding to the second display content, and the
Two display contents position in corresponding electronic equipment.
Optionally, the embodiment of the present invention can be by object element border in the first display content, from the
One display content identifies object element;
Fig. 2 shows the method that the identification first that the embodiment of the present invention provides shows the object element in content
Flow chart, with reference to Fig. 2, the method may include that
Step S200, to first display content carry out sectional drawing;
Step S210, based on described sectional drawing, determine the border of described object element;
Optionally, object element can be the elements such as the chart that is desirable for of the user pre-seted, the present invention
The predeterminable object element corresponding boundary characteristic information of putting of embodiment, thus border based on object element is special
Reference ceases, and the embodiment of the present invention can determine the border of object element from the sectional drawing of the first display content;
As a example by object element is as chart, chart is to be lived certain region by the most crisscross lines frame,
It it is then the content of chart in region;Therefore the boundary characteristic information of chart is clearly, it is believed that be
The border lines of chart and the joint of border lines;I.e. the embodiment of the present invention can by border lines and
The joint of border lines determines the border of chart.
Step S220, go out described object element according to described Boundary Extraction.
After determining the border of object element, then can intercept border pair from the sectional drawing of the first display content
The region sectional drawing answered, extracts object element.
In embodiments of the present invention, if the user while during the first display content such as viewing picture, video etc., send out
Existing desired object element, then can perform the first operation, triggers and the first display content is carried out sectional drawing,
Thus from sectional drawing, determine the border of object element, based on determined by border from sectional drawing, extract target
Element.
As a example by object element is as chart, then from sectional drawing, determine that the implementation on the border of object element can
With as it is shown on figure 3, include:
Step S300, the lines determined in sectional drawing, and the joint between lines;
The embodiment of the present invention can identify each lines, and lines based on pattern recognition technique from sectional drawing
And the joint between lines.
Step S310, determine determined by consecutive border lines in lines, and consecutive boundary line
Joint between bar;
Owing to the border of chart should be continuous print, therefore the embodiment of the present invention can from determined by lines are known
Joint between the border lines mutually not continued, and consecutive border lines;Then this consecutive limit
The border that joint between boundary line bar, and these consecutive border lines is formed, can scheme as in sectional drawing
The border of table.
Step S320, with described consecutive border lines, and the joint between the lines of consecutive border
The border formed, as the border of chart in sectional drawing.
Fig. 4 shows the corresponding schematic diagram identifying chart border from sectional drawing, can refer to;As shown in Figure 4,
Sectional drawing A exists the joint (joint represents with stain) between a plurality of lines and lines, but meets
(the friendship between consecutive border lines, and consecutive border lines in lines of chart border characteristic information
Meeting point) lines be B1, B2, B3 and B4, as added shown in heavy black, their joint is b1, b2,
B3 and b4;Then the border of chart in sectional drawing A, is by the lines of B1, B2, B3 and B4, and b1, b2,
B3 and b4 joint is formed;The lines of B1, B2, B3 and B4, and b1, b2, b3 and b4 joint institute is right
The screenshot area answered is then chart region.
After identifying object element in the sectional drawing from the first display content, object element is still graphic form,
User also cannot use, and what therefore the embodiment of the present invention need to determine object element redraws key element, with based on weight
Paint key element and redraw object element so that object element is in spendable state (as can editing mode);
Accordingly, the embodiment of the present invention can carry out Figure recognition and Text region to object element, determines
The shape facility of object element and content information, shape facility can be used for carrying out the shape of object element and redraws,
Content information can be used for the object element after shape redraws and carries out the filling of content;I.e. optional, the present invention
In embodiment, the key element that redraws of object element may include that shape facility and the content information of object element;
It is understood that what the boundary characteristic of object element represented is the limit of shape facility of object element
Interior shape feature in boundary's shape, the boundary characteristic of object element and border institute enclosing region, is just constituted
The shape facility of object element;
Cross with Fig. 5 example shown, boundary B 1, the lines of B2, B3 and B4, and b1, b2, b3 and b4
Point is the boundary shape feature of object element shape facility, and the lines of inside and joint are then target element
The interior shape feature of element shape facility;The i.e. shape facility of object element may include that object element
Boundary shape feature (i.e. boundary characteristic), and the interior shape feature of object element;
The content information of object element can be the interior content filled of object element, as shown in Figure 5 in chart
The character content such as " 1 ", " 2 ".
Determine object element redraw key element after, if redraw place second display content corresponding
Electronic equipment, identical with the first display electronic equipment corresponding to content, then the embodiment of the present invention can be based on the
Two operations determine that object element carries out redrawing the second display content at place at this electronic equipment;As first shows
Showing that content can be the webpage that electronic equipment shows, video etc., the second display content can be that this electronics sets
The office software document (such as word document, excel document etc.) of standby display;
Then the embodiment of the present invention is it is believed that redrawing of object element is shown, by first, the electronic equipment that content is corresponding
Performing, the embodiment of the present invention can show content based on the shape facility of described object element described second
In redraw the corresponding shape of object element;Content information based on described object element, after redrawing shape
Object element in fill corresponding content.
Determine object element redraw key element after, if redraw place second display content corresponding
Electronic equipment, differs with the first display electronic equipment corresponding to content, then the embodiment of the present invention can claim the
One display electronic equipment corresponding to content is the first electronic equipment, the electronic equipment that the second display content is corresponding
It it is the second electronic equipment;
First electronic equipment operates the first of the first display content primarily responsive to user, identifies the first display
Object element in content and determine object element redraw key element, be simultaneously based on second operation of user,
Key element will be redrawn and be transferred to the second electronic equipment, the second electronic equipment complete redrawing of object element;
Optionally, the first electronic equipment the second operation based on user (can indicate the mark of the second electronic equipment
Know, and for redrawing the display position of the second display content of object element in the second electronic equipment), will
The key element that redraws of object element is transferred to the second electronic equipment, and indicates the second electronic equipment to show at it
Second display content redraws;The webpage that first display content can be shown such as the first electronic equipment,
Video etc., the office software document that the second display content can show such as the second electronic equipment;
Accordingly, second electronic equipment receive object element redraw key element after, can be based on described target element
The shape facility of element, shows in content described second and redraws the corresponding shape of object element;Based on described
The content information of object element, fills corresponding content in the object element after redrawing shape.
Optionally, as a example by object element is as chart, the object element after redrawing shape is filled corresponding
Content may be considered, in the chart corresponding with object element shape redrawn in such as excel document,
According to contents such as the words identified in object element, the content in object element is filled up to one by one excel literary composition
In the chart corresponding with object element shape redrawn in Dang, thus realize object element in excel document
Shape and the redrawing of content.
Optionally, either by the electronic equipment that the first display content is corresponding, or by the second display content
Corresponding electronic equipment carries out redrawing of object element, and the embodiment of the present invention exists redrawing key element described in basis
Second display content in redraw described object element after, can arrange described object element be in can editing mode,
And/or, the form arranging described object element is corresponding to the form of described second display content;
Arrange redraw after object element be in can editing mode so that user can use after redrawing
Object element;The form and second arranging object element shows that the form of content is corresponding, can make target
The content format that the content format of element and the second display content require is corresponding, removes the content format of user from
Adjustment action;
As a example by object element is as chart, chart is being redrawn after the office software documents such as excel document,
The embodiment of the present invention can arrange chart be in excel document can editing mode so that user can use
The chart redrawn in excel document is operated;
It is corresponding to the form of excel document that figure tableau format is set, content and the excel literary composition of chart can be made
The content format match of shelves, removes user from and adjusts the work of the chart content form after redrawing.
Optionally, as a example by the redrawing and performed by the first display electronic equipment corresponding to content of object element,
Fig. 6 shows that the data that the embodiment of the present invention provides redraw another flow chart of method, with reference to Fig. 6, the party
Method may include that
Step S400, the detection user the first operation to the first display content, described first display content bag
Include at least one element;
Step S410, respond described first operation, to described first display content carry out sectional drawing, based on institute
State sectional drawing, determine the border of described object element, go out described object element according to described Boundary Extraction;
Step S420, the shape facility determining described object element and content information;
Step S430, second operation of detection user, described second operation instruction is by described object element weight
It is painted on the second display content;
Step S440, shape facility based on described object element, show in content described second and redraw
The corresponding shape of object element;Content information based on described object element, the target after redrawing shape
Element is filled corresponding content;
Step S450, arrange described object element be in can editing mode, and/or, described target element is set
The form of element is corresponding to the form of described second display content.
Optionally, the embodiment of the present invention can utilize more than the pressing operation of setup pressure value (such as 3Dtouch
Operation) as the first operation, thus by the first display content is carried out 3Dtouch operation, trigger from
First display content identifies object element and determines and redraw key element;
The 3Dtouch operation of embodiment of the present invention indication is different from common pressing operation, but by drawing
Enter Z axis (X, Y-axis are plane coordinates, and Z axis is pressure coordinates), coordinate multiple linear motor, use
Family is in the case of persistently pressing to screen, by force value (the i.e. Z of different seismaesthesia identification now screens
Axial coordinate), thus when the pressure of pressing reaches setting value, i.e. think that user has carried out 3Dtouch behaviour
Make, can trigger and from the first display content, identify object element and determine and redraw key element;
The 3DTouch that i.e. embodiment of the present invention is used can capture user's pressure at short notice and carry out not
With vibrational feedback, with long (3DTouch is the shortest, and presses the most at the beginning by entirely different
Power reaches setting value, advances to 3Dtouch pattern, and directly shielding is long (follow-up can be straight by identifying
Connect and carry out Z axis coordinate according to pressure and move), so will not be misidentified as long by operation);
Accordingly, Fig. 7 shows detection user that the embodiment of the present invention provides the to the first display content
The method flow diagram of one operation, with reference to Fig. 7, the method may include that
Step S500, the detection user pressing operation to described first display content;
Step S510, judge whether the force value that described pressing operation is corresponding reaches setting value;
Step S520, if so, determine user to first display content carried out first operation.
The i.e. embodiment of the present invention can carry out pressing operation, and pressing operation pair user to the first display content
When the force value answered reaches setting value, it is believed that user has carried out the first operation to the first display content;Now,
Recognizable first shows the object element in content and redraws key element;
If showing the object element in content, the then present invention by the sectional drawing identification first of the first display content
Embodiment can identify object element and determine object element redraw key element after, show first display
The sectional drawing of content or the sectional drawing of object element;User can be to the first display sectional drawing of content or object element
Sectional drawing carries out drag operation, and the final position of drag operation is corresponding to described second display content;Then this
Bright embodiment can realize the detection to the second operation, by the end of drag operation by detecting this drag operation
Put display content corresponding to position as the second display content;
Optionally, drag operation can be carried out under the pressing operation of 3DTouch, i.e. user can maintain pressing,
And under pressed state, perform drag operation;Accordingly, the embodiment of the present invention can identify object element
And determine object element redraw key element after, show the first display sectional drawing of content or sectional drawing of object element,
And then detection user under pressing operation (3DTouch pattern) to described first display content sectional drawing or
The drag operation of the sectional drawing of object element, the final position of described drag operation and described second display content
Accordingly;Then the embodiment of the present invention can be realized the second operation by the drag operation under detection pressing operation
Detection, using display content corresponding for the final position of drag operation as second display content;
Optionally, if showing that the sectional drawing of the first display content is so that user is carried out under 3DTouch pattern
Drag operation, then show the opportunity of the sectional drawing of the first display content, can be to carry out the first display content
After first operation;Meanwhile, the drag operation that detection user is carried out under 3DTouch pattern, and identify institute
State the object element in the first display content and determine that the process redrawing key element of described object element can be also
OK;
Obviously, the opportunity of the sectional drawing of the first display content is shown, it is also possible to be to identify described first display
Object element in content, or determine described object element redraw key element after.
Optionally, if showing that the sectional drawing of object element is so that user drags under 3DTouch pattern
Operation, then show the opportunity of the sectional drawing of object element, can identify in described first display content
Object element, or determine described object element redraw key element after.
Preferably, Fig. 8 shows that the data that the embodiment of the present invention provides redraw another flow chart of method,
With reference to Fig. 8, the method may include that
Step S600, the detection user pressing operation to described first display content, described pressing operation pair
The force value answered reaches setting value, and described first display content includes at least one element;
Step S610, respond described pressing operation, described first display content is carried out sectional drawing, based on institute
State sectional drawing, determine the border of described object element, go out described object element according to described Boundary Extraction;
Step S620, the shape facility determining described object element and content information;
Step S630, the sectional drawing of displaying object element;
By showing the sectional drawing of object element, user can be made to judge, and electronic equipment is from the first electronic equipment
The object element extracted is the most desired to user corresponding;And so that user can be by drag target unit
The sectional drawing of element, it is achieved the input of the second operation.
Step S640, detection user drag operation to described sectional drawing under described pressing operation, described in drag
The final position of dynamic operation is corresponding to the second display content;
Step S650, shape facility based on described object element, show in content described second and redraw
The corresponding shape of object element;Content information based on described object element, the target after redrawing shape
Element is filled corresponding content;
Step S660, arrange described object element be in can editing mode, and/or, described target element is set
The form of element is corresponding to the form of described second display content.
The application process of the embodiment of the present invention can be such that
When user watches video on mobile phone, when seeing, from video content, the chart being desirable for, to screen
Curtain carries out pressing operation, and strengthen to screen by surging so that the force value of pressing operation reaches to set
Definite value, now enters 3DTouch pattern;
Handset identity is to user's pressing operation to screen, and when the force value of pressing reaches setting value, and can
So that current video content is carried out sectional drawing;
Mobile phone can identify the border of chart from sectional drawing, and extracts the screenshot area of chart from sectional drawing,
Be simultaneously based on that the sectional drawing of chart identifies chart redraws key element;
Mobile phone shows the sectional drawing of this chart, now 3DTouch mould at user's area pressed that display screen is corresponding
Formula maintains, and user, when seeing the sectional drawing of this chart, can drag the sectional drawing of this chart extremely under pressed state
Another is in the excel document of running status;
Mobile phone detects that the sectional drawing of chart is dragged in excel document, can exist according to the key element that redraws of chart
Excel document redraws chart, and arrange the chart after redrawing be in can editing mode, and the content of chart
Form is corresponding to the form of excel document;So far, user can use this chart in excel document.
The data that the embodiment of the present invention provides redraw method, can remove user from and search for expectation use in a network
Object element the process downloaded, the easy loading procedure of object element.
The electronic equipment provided the embodiment of the present invention below is introduced, and electronic equipment described below can
Method is redrawn mutually to should refer to above-described data.
The structured flowchart of the electronic equipment that Fig. 9 provides for the embodiment of the present invention, with reference to Fig. 9, this electronic equipment
May include that
First operation detection module 100, for detecting the user's the first operation to the first display content, described
First display content includes at least one element;
Object element identification module 200, is used for responding described first operation, identifies described first display content
Object element;
Redraw key element and determine module 300, redraw key element for determine described object element;
Second operation detection module 400, for detecting second operation of user, described second operation instruction will
Described object element redraws and shows content second;
Redraw module 500, be used for responding described second operation, show described second according to the described key element that redraws
Show and content redraws described object element.
Optionally, Figure 10 shows the structural frames of object element identification module 200 that the embodiment of the present invention provides
Figure, with reference to Figure 10, object element identification module 200 may include that
Sectional drawing unit 210, for carrying out sectional drawing to described first display content;
Border determines unit 220, for based on described sectional drawing, determines the border of described object element;
Object element extraction unit 230, for going out described object element according to described Boundary Extraction.
Optionally, if object element is chart, then border determines that unit 220 is particularly used in, and determines and cuts
Lines in figure, and the joint between lines;Consecutive border lines in lines determined by determining,
And the joint between the lines of consecutive border;With described consecutive border lines, and consecutive limit
The border that joint between boundary line bar is formed, as the border of chart in sectional drawing.
Optionally, Figure 11 shows that the key element that redraws that the embodiment of the present invention provides determines the optional of module 300
Structure, with reference to Figure 11, redraws key element and determines that module 300 may include that
Factor content determines unit 310, for determining shape facility and the content information of described object element.
Optionally, if object element redraw by other equipment that (the i.e. second display electronics corresponding to content sets
Standby, the electronic equipment corresponding from the first display content is different) perform, the most described electronic equipment can will redraw
Key element is sent to the electronic equipment that the second display content is corresponding, in order to the second display electronics corresponding to content sets
Redraw key element described in standby basis and redraw described object element in the second display content;
If redrawing of object element is performed by described electronic equipment (electronic equipment shown in Fig. 9), optionally,
Figure 12 shows the optional structure redrawing module 500, with reference to Figure 12, redraws module 500 and may include that
Redraw performance element 510, for shape facility based on described object element, show described second
Content redraws the corresponding shape of object element;Content information based on described object element, is redrawing shape
Object element after shape is filled corresponding content.
Optionally, Figure 13 shows another structured flowchart of the electronic equipment that the embodiment of the present invention provides, ginseng
According to Figure 13, this electronic equipment can also include:
Editing mode arranges module 600, redraws institute for redrawing key element described in basis in the second display content
After stating object element, arranging that described object element is in can editing mode;
Form arranges module 700, for arranging the form of described object element and described second display content
Form is corresponding.
Optionally, editing mode arranges module 600 and form arranges module 700 and can select one at electronic equipment
Middle setting, it is possible to simultaneously arrange.
Optionally, Figure 14 shows the optional of the first operation detection module 100 that the embodiment of the present invention provides
Structure, with reference to Figure 14, the first operation detection module 100 may include that
Pressing operation detector unit 110, for detecting user's pressing operation to described first display content;
Force value judging unit 120, for judging whether the force value that described pressing operation is corresponding reaches to set
Value;
If so, first operation determination unit 130, for determining that user has carried out first to the first display content
Operation.
Optionally, Figure 15 shows the another structured flowchart of the electronic equipment that the embodiment of the present invention provides, ginseng
According to Figure 15, this electronic equipment can also include:
Display module 800, for showing sectional drawing or the sectional drawing of object element of the first display content;
Accordingly, Figure 16 shows the optional knot of the second operation detection module 400 that the embodiment of the present invention provides
Structure, with reference to Figure 16, the second operation detection module 400 may include that
Drag detector unit 410, for detecting user to the described first sectional drawing showing content or object element
The drag operation of sectional drawing, the final position of described drag operation is corresponding to described second display content.
Optionally, described drag operation can perform under described pressing operation;I.e. user can press in maintenance
Drag operation is performed under the state of pressure.
The electronic equipment that the embodiment of the present invention provides, can remove user from and search for expectation use target in a network
Element the process downloaded, the easy loading procedure of object element.
In this specification, each embodiment uses the mode gone forward one by one to describe, and each embodiment stresses
Being the difference with other embodiments, between each embodiment, identical similar portion sees mutually.
For device disclosed in embodiment, owing to it corresponds to the method disclosed in Example, so describing
Fairly simple, relevant part sees method part and illustrates.
Professional further appreciates that, respectively shows in conjunction with what the embodiments described herein described
The unit of example and algorithm steps, it is possible to electronic hardware, computer software or the two be implemented in combination in,
In order to clearly demonstrate the interchangeability of hardware and software, the most general according to function
Describe composition and the step of each example.These functions perform with hardware or software mode actually,
Depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can be to each specific
Should be used for use different methods to realize described function, but this realization is it is not considered that beyond this
The scope of invention.
The method described in conjunction with the embodiments described herein or the step of algorithm can directly use hardware,
The software module that processor performs, or the combination of the two implements.Software module can be placed in and deposit at random
Reservoir (RAM), internal memory, read only memory (ROM), electrically programmable ROM, electric erasable can
Well known in programming ROM, depositor, hard disk, moveable magnetic disc, CD-ROM or technical field
In any other form of storage medium.
Described above to the disclosed embodiments, makes professional and technical personnel in the field be capable of or uses
The present invention.Multiple amendment to these embodiments will be aobvious and easy for those skilled in the art
See, generic principles defined herein can without departing from the spirit or scope of the present invention,
Realize in other embodiments.Therefore, the present invention is not intended to be limited to the embodiments shown herein,
And it is to fit to the widest scope consistent with principles disclosed herein and features of novelty.
Claims (13)
1. data redraw method, it is characterised in that be applied to electronic equipment, and described method includes:
The detection user the first operation to the first display content, described first display content includes at least one
Element;
Respond described first operation, identify the object element of described first display content and determine described target
Element redraw key element;
Second operation of detection user, described object element is redrawn and shows second by described second operation instruction
Show content;
Respond described second operation, redraw described in described second display content according to the described key element that redraws
Object element.
Data the most according to claim 1 redraw method, it is characterised in that described identification described
Object element in one display content includes:
Described first display content is carried out sectional drawing;
Based on described sectional drawing, determine the border of described object element;
Described object element is gone out according to described Boundary Extraction.
Data the most according to claim 2 redraw method, it is characterised in that described object element is
Chart;Described based on described sectional drawing, determine that the border of described object element includes:
Determine the lines in sectional drawing, and the joint between lines;
Crossing between consecutive border lines in lines determined by determining, and consecutive border lines
Point;
With described consecutive border lines, and the border that the joint between the lines of consecutive border is formed,
Border as chart described in sectional drawing.
4. redraw method according to the data described in Claims 2 or 3, it is characterised in that described determine institute
The key element that redraws stating object element includes:
Determine shape facility and the content information of described object element.
Data the most according to claim 4 redraw method, it is characterised in that described according to described heavy
Paint key element and show that redrawing described object element in content includes described second:
Shape facility based on described object element, shows in content described second and redraws object element phase
The shape answered;
Content information based on described object element, fills corresponding in the object element after redrawing shape
Content.
Data the most according to claim 1 redraw method, it is characterised in that described method also includes:
According to described redraw key element second display content in redraw described object element after, described mesh is set
Mark element be in can editing mode, and/or, arrange the form of described object element with in described second display
The form held is corresponding.
Data the most according to claim 1 redraw method, it is characterised in that described detection user couple
First operation of the first display content includes:
The detection user pressing operation to described first display content;
Judge whether the force value that described pressing operation is corresponding reaches setting value;
If so, determine that user has carried out the first operation to the first display content.
Data the most according to claim 7 redraw method, it is characterised in that described method also includes:
Show sectional drawing or the sectional drawing of object element of the first display content;
Second operation of described detection user includes:
Detection user is to the described first sectional drawing showing content or the drag operation of the sectional drawing of object element, institute
The final position stating drag operation is corresponding to described second display content.
9. an electronic equipment, it is characterised in that including:
First operation detection module, for detecting the user's the first operation to the first display content, described the
One display content includes at least one element;
Object element identification module, is used for responding described first operation, identifies described first display content
Object element;
Redraw key element and determine module, redraw key element for determine described object element;
Second operation detection module, for detecting second operation of user, described second operation instruction is by institute
State object element to redraw in the second display content;
Redraw module, be used for responding described second operation, show described second according to the described key element that redraws
Content redraws described object element.
Electronic equipment the most according to claim 9, it is characterised in that described object element identification
Module includes:
Sectional drawing unit, for carrying out sectional drawing to described first display content;
Border determines unit, for based on described sectional drawing, determines the border of described object element;
Object element extraction unit, for going out described object element according to described Boundary Extraction.
11. electronic equipments according to claim 9, it is characterised in that described in redraw key element and determine
Module includes:
Factor content determines unit, for determining shape facility and the content information of described object element;
The described module that redraws includes:
Redraw performance element, for shape facility based on described object element, in described second display
Appearance redraws the corresponding shape of object element;Content information based on described object element, is redrawing shape
After object element in fill corresponding content.
12. electronic equipments according to claim 9, it is characterised in that described first operation detection
Module includes:
Pressing operation detector unit, for detecting user's pressing operation to described first display content;
Force value judging unit, for judging whether the force value that described pressing operation is corresponding reaches setting value;
If so, first operation determination unit, for determining that user has carried out the first behaviour to the first display content
Make.
13. electronic equipments according to claim 12, it is characterised in that described electronic equipment also wraps
Include:
Display module, for showing sectional drawing or the sectional drawing of object element of the first display content;
Described second operation detection module includes:
Drag detector unit, for detecting user to the described first display sectional drawing of content or object element
The drag operation of sectional drawing, the final position of described drag operation is corresponding to described second display content.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610202069.1A CN105892863A (en) | 2016-03-31 | 2016-03-31 | Data repainting method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610202069.1A CN105892863A (en) | 2016-03-31 | 2016-03-31 | Data repainting method and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105892863A true CN105892863A (en) | 2016-08-24 |
Family
ID=57012517
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610202069.1A Pending CN105892863A (en) | 2016-03-31 | 2016-03-31 | Data repainting method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105892863A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112614209A (en) * | 2020-12-30 | 2021-04-06 | 凌云光技术股份有限公司 | Element redrawing method and system during flow chart refreshing |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060230056A1 (en) * | 2005-04-06 | 2006-10-12 | Nokia Corporation | Method and a device for visual management of metadata |
CN102929524A (en) * | 2012-09-20 | 2013-02-13 | 东莞宇龙通信科技有限公司 | Page content selecting method and device |
CN104252296A (en) * | 2014-08-28 | 2014-12-31 | 广州三星通信技术研究有限公司 | Method and device for applying pictures to electronic terminal |
CN104898880A (en) * | 2015-05-18 | 2015-09-09 | 联想(北京)有限公司 | Control method and electronic equipment |
CN104932773A (en) * | 2015-06-12 | 2015-09-23 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN104932774A (en) * | 2015-06-12 | 2015-09-23 | 联想(北京)有限公司 | Information processing method and electronic equipment |
-
2016
- 2016-03-31 CN CN201610202069.1A patent/CN105892863A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060230056A1 (en) * | 2005-04-06 | 2006-10-12 | Nokia Corporation | Method and a device for visual management of metadata |
CN102929524A (en) * | 2012-09-20 | 2013-02-13 | 东莞宇龙通信科技有限公司 | Page content selecting method and device |
CN104252296A (en) * | 2014-08-28 | 2014-12-31 | 广州三星通信技术研究有限公司 | Method and device for applying pictures to electronic terminal |
CN104898880A (en) * | 2015-05-18 | 2015-09-09 | 联想(北京)有限公司 | Control method and electronic equipment |
CN104932773A (en) * | 2015-06-12 | 2015-09-23 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN104932774A (en) * | 2015-06-12 | 2015-09-23 | 联想(北京)有限公司 | Information processing method and electronic equipment |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112614209A (en) * | 2020-12-30 | 2021-04-06 | 凌云光技术股份有限公司 | Element redrawing method and system during flow chart refreshing |
CN112614209B (en) * | 2020-12-30 | 2024-02-20 | 凌云光技术股份有限公司 | Element redrawing method and system during flow chart refreshing |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5681150B2 (en) | Terminal device and search service providing method | |
CN102880393B (en) | Icon Dynamic Announce on a small screen | |
CN104898952A (en) | Terminal screen splitting implementing method and terminal | |
DE102014006318A1 (en) | Physical object detection and touchscreen interaction | |
US20180181288A1 (en) | Method for displaying information, and terminal equipment | |
CN104978180B (en) | Unprocessed event prompting method and device and mobile terminal | |
CN112817676B (en) | Information processing method and electronic device | |
US11144276B2 (en) | Communication terminal, management system, communication system, and display method | |
CN102819386B (en) | The method and apparatus of picture in a kind of display web page | |
CN106598410B (en) | Display methods, device and the terminal device of e-book | |
CN105045823A (en) | Method and device for generating demo file of mobile terminal based on screen capture | |
CN113721808B (en) | Control method and device | |
CN105094647A (en) | Interface control method and mobile terminal | |
KR102049141B1 (en) | Tethered selection handle | |
CN104978114A (en) | Method and device for displaying chart | |
US11112938B2 (en) | Method and apparatus for filtering object by using pressure | |
CN108762626B (en) | Split-screen display method based on touch all-in-one machine and touch all-in-one machine | |
CN105892863A (en) | Data repainting method and electronic equipment | |
CN105577518A (en) | Method and electronic device for displaying website corresponding information in instant messaging | |
US20160357359A1 (en) | View port resolution independent network pages | |
CN108292187A (en) | Context commands column | |
KR20160136726A (en) | Electronic apparatus and the controlling method thereof | |
CN109675312B (en) | Game item list display method and device | |
CN104238888A (en) | Mobile terminal as well as method and device for globally viewing pictures of mobile terminal | |
CN109960562A (en) | A kind of information displaying method, device and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160824 |
|
RJ01 | Rejection of invention patent application after publication |