WO2022246834A1 - 一种交互方法、电子设备及计算机存储介质 - Google Patents
一种交互方法、电子设备及计算机存储介质 Download PDFInfo
- Publication number
- WO2022246834A1 WO2022246834A1 PCT/CN2021/096925 CN2021096925W WO2022246834A1 WO 2022246834 A1 WO2022246834 A1 WO 2022246834A1 CN 2021096925 W CN2021096925 W CN 2021096925W WO 2022246834 A1 WO2022246834 A1 WO 2022246834A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- candidate
- user
- candidate object
- selection icon
- selection
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 63
- 230000003993 interaction Effects 0.000 title claims abstract description 35
- 230000004044 response Effects 0.000 claims abstract description 83
- 238000005070 sampling Methods 0.000 claims description 60
- 230000002452 interceptive effect Effects 0.000 claims description 25
- 238000001514 detection method Methods 0.000 claims description 10
- 230000000875 corresponding effect Effects 0.000 description 98
- 238000012015 optical character recognition Methods 0.000 description 12
- 230000008569 process Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 9
- 239000000470 constituent Substances 0.000 description 6
- 238000004364 calculation method Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000010606 normalization Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 241000282326 Felis catus Species 0.000 description 2
- 235000001674 Agaricus brunnescens Nutrition 0.000 description 1
- 239000003990 capacitor Substances 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000001276 controlling effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V30/00—Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
- G06V30/10—Character recognition
- G06V30/32—Digital ink
- G06V30/36—Matching; Classification
- G06V30/387—Matching; Classification using human interaction, e.g. selection of the best displayed recognition candidate
-
- 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/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0482—Interaction with lists of selectable items, e.g. menus
-
- 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/04842—Selection of displayed objects or displayed text elements
-
- 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
- G06F3/04883—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 for inputting data by handwriting, e.g. gesture or text
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V30/00—Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
- G06V30/10—Character recognition
- G06V30/32—Digital ink
- G06V30/333—Preprocessing; Feature extraction
- G06V30/347—Sampling; Contour coding; Stroke extraction
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V30/00—Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
- G06V30/10—Character recognition
- G06V30/32—Digital ink
- G06V30/36—Matching; Classification
- G06V30/373—Matching; Classification using a special pattern or subpattern alphabet
-
- 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/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04817—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
Definitions
- This article involves but is not limited to the field of computer technology, especially an interactive method, electronic equipment and computer storage media.
- Electronic devices for paperless office and learning have gradually replaced traditional methods and become the mainstream.
- Electronic devices such as electronic whiteboards and mobile phones/tablets with touch screens provide users with the ability to use fingers or touch directly on the screen.
- Pen for writing and drawing functions are used.
- a series of operations such as search, copy, paste or insert are required to complete, which is inconvenient and inefficient.
- Embodiments of the present application provide an interaction method, electronic equipment, and a computer storage medium.
- this embodiment of the application provides an interaction method, including:
- the track point set includes at least one track point
- candidate objects according to the set of track points, where the candidate objects include: a first candidate object and a second candidate object;
- the first candidate object In response to the user's selection operation on the first selection icon, the first candidate object is displayed or the operation corresponding to the first candidate object is executed, and in response to the user's selection operation on the second selection icon, the second candidate object is displayed or the second selection icon is executed.
- the operation corresponding to the two candidates In response to the user's selection operation on the first selection icon, the first candidate object is displayed or the operation corresponding to the first candidate object is executed, and in response to the user's selection operation on the second selection icon, the second candidate object is displayed or the second selection icon is executed. The operation corresponding to the two candidates.
- the first candidate object includes a first candidate graphic
- the second candidate object includes a second candidate graphic
- the displaying the first candidate object in response to the user's selection operation on the first selection icon, and displaying the second candidate object in response to the user's selection operation on the second selection icon includes:
- the determining the candidate object according to the track point set includes:
- the first characteristic information is different from the second characteristic information.
- the first characteristic information and the second characteristic information respectively include one or more of the following:
- the first feature information or the second feature information includes one or more character features corresponding to the track;
- the extraction of the first feature information or the second feature information from the track formed by the set of track points includes:
- the acquisition of the first/second candidate graphics that successfully match the first/second feature information includes:
- the label carried by the candidate graphic is used to represent the content of the candidate graphic.
- the first feature information or the second feature information includes the original line features of the graph formed by the track;
- the acquisition of the first/second candidate graphics that successfully match the first/second feature information includes:
- the first characteristic information or the second characteristic information includes the original line characteristics of the graph formed by the trajectory
- the acquisition of the first/second candidate graphics that successfully match the first/second feature information includes:
- the subgraph contained in the candidate graph is stored corresponding to the candidate graph.
- the first feature information or the second feature information includes contour line features of the figure formed by the track;
- the acquisition of the first/second candidate graphics that successfully match the first/second feature information includes:
- the first candidate object includes a first candidate instruction
- the second candidate object includes a second candidate instruction
- the determining the candidate object according to the track point set includes:
- the trajectory formed by the set of trajectory points is identified as a standard trajectory, and different candidate instructions are obtained according to the standard trajectory as the first candidate instruction and the second candidate instruction respectively.
- the first candidate object is a third candidate graphic
- the second candidate object is a third candidate instruction
- Displaying the first candidate object in response to the user's selection operation on the first selection icon, and executing the corresponding to the second selection icon in response to the user's selection operation on the second selection icon operations including:
- the determining the candidate object according to the track point set includes:
- a trajectory formed by the set of trajectory points is identified as a standard trajectory, and the third candidate instruction is acquired according to the standard trajectory.
- the determining the candidate object according to the track point set further includes:
- the trajectory point set In response to failure to identify the trajectory formed by the trajectory point set as a standard trajectory, obtain fourth feature information according to the trajectory formed by the trajectory point set, and acquire a fourth candidate graphic that successfully matches the fourth feature information as the the second candidate object; the fourth characteristic information is different from the third characteristic information.
- the interaction method is applied to writing software; the acquisition of the track point set input by the user includes:
- the displaying a first selection icon for representing the first candidate object and a second selection icon for representing the second candidate object includes:
- displaying the first candidate object or performing an operation corresponding to the first candidate object in response to the user's selection operation on the second selection icon
- the operation, displaying the second candidate object or performing an operation corresponding to the second candidate object includes:
- the first candidate object is displayed in the input interface, or the first candidate object is executed in the writing software. corresponding operation;
- the displaying the first selection icon used to represent the first candidate object and the second selection icon used to represent the second candidate object includes:
- the first candidate object is a candidate graphic, and the thumbnail of the first candidate object is displayed as the first selection icon; or, the first candidate object is a candidate instruction, and the description information of the first candidate object is displayed as the first selection icon;
- the second candidate object is a candidate graphic, and the thumbnail of the second candidate object is displayed as the first selection icon; or, the second candidate object is a candidate instruction, and the description information of the second candidate object is displayed as the second selection icon.
- the display after displaying the first selection icon for representing the first candidate object and the second selection icon for representing the second candidate object, the display further includes:
- the displayed first selection icon is correspondingly updated; in response to the update of the second candidate object, the displayed second selection icon is correspondingly updated.
- the acquisition of the track point set input by the user includes:
- a preset control is displayed; wherein, the detection of the pause of the user's input operation refers to: the time length from the last receipt of the sampling result for the input operation reaches or exceeds the preset duration threshold;
- an embodiment of the present application provides an electronic device, including: a memory and a processor; the memory is configured to store an interactive program; the processor is configured to read and execute the interactive program, and perform the above interaction method.
- an embodiment of the present application provides a computer storage medium configured to store an interactive program; when the interactive program is executed, the above-mentioned interactive method is performed.
- the embodiment of the present application can automatically, efficiently and quickly provide a variety of candidate objects related to the trajectory for the user to choose according to the trajectory formed by the user input, and can display corresponding graphics or perform corresponding operations according to the user's selection, which greatly improves the user experience. user experience.
- FIG. 1 is a schematic flow diagram of an interaction method in an embodiment of the present application
- FIG. 2 is a schematic diagram of an electronic device according to an embodiment of the present application.
- FIG. 3 is a schematic diagram of the implementation process of Example 1;
- Example 4 is a schematic diagram of a trajectory formed by a set of trajectory points in Example 1;
- FIG. 5 is a schematic diagram showing selection icons in Example 1.
- Example 6 is a schematic diagram of the process of calculating the similarity of contour lines in Example 1;
- Fig. 7 is a schematic diagram when the graph formed by the trajectory in example 1 is similar to the candidate graph subgraph;
- Fig. 8 is a schematic diagram of candidate graphs composed of subgraphs in Example 1;
- FIG. 9 is a schematic diagram showing selection icons in Example 2.
- the terms “installed”, “connected” and “connected” should be interpreted in a broad sense unless otherwise expressly specified and limited. For example, it may be a fixed connection, or a detachable connection, or an integral connection; it may be a mechanical connection, or an electrical connection; it may be a direct connection, or an indirect connection through an intermediate piece, or an internal communication between two components. Those of ordinary skill in the art can understand the meanings of the above terms herein according to the situation.
- electrically connected includes the case where constituent elements are connected together through an element having some kind of electrical effect.
- the "element having some kind of electrical function” is not particularly limited as long as it can transmit electrical signals between connected components.
- Examples of “elements having some kind of electrical function” include not only electrodes and wirings but also switching elements such as transistors, resistors, inductors, capacitors, other elements having one or more functions, and the like.
- parallel refers to a state in which the angle formed by two straight lines is -10° to 10°, and thus may include a state in which the angle is -5° to 5°.
- perpendicular refers to a state in which the angle formed by two straight lines is 80° to 100°, and therefore, an angle of 85° to 95° may be included.
- An embodiment of the present application provides an interactive method, as shown in Figure 1, including steps S110-S140:
- S120 Determine candidate objects according to the track point set, where the candidate objects include: a first candidate object and a second candidate object;
- the interaction method of the embodiment of the present application can automatically, efficiently and quickly provide various candidate objects related to the trajectory for the user to choose according to the trajectory formed by the user input, and can display corresponding graphics or perform corresponding operations according to the user's selection, Greatly improved user experience.
- the above interaction method can be applied to electronic devices including touch screens such as electronic whiteboards, tablet computers, and smart phones;
- the touch screen can include a touch panel, a sampling unit, a display panel, and a display driver unit; wherein, the touch panel is a transparent board, which is arranged on the upper surface of the display panel;
- the user uses a finger or a stylus to perform an input operation, and the sampling unit samples the user's touch, and can obtain the finger or touch and touch
- the real-time coordinates of the track point formed by the touch position of the control board, and the real-time coordinates are sent to the display drive unit, and the track point can be displayed on the display panel corresponding to the position of the real-time coordinates;
- the user uses a finger or a stylus to touch Sliding continuously on the board to write or draw, through the continuous sampling and sending of the sampling unit,
- the display panel can display the trajectory formed by the set of track points corresponding to multiple real-time coordinates, and the user's writing or drawing on
- the above-mentioned interaction method can be applied to a system of a tablet plus a computer or to a computer equipped with a touchpad, and the input operation of the user is received through the tablet or the touchpad, and the input operation forms Track points can be displayed on a computer screen.
- the user may use a mouse or a keyboard to manipulate the movement of the cursor instead of inputting track points via a touchpad.
- a set of track points input by the user in a preset input area may be obtained; or may be Obtain a set of track points input by the user during a certain period of time (for example, between two user operation pauses).
- step S120 one or more first candidate objects and one or more second candidate objects may be determined.
- the determined candidate objects may further include a third candidate object or more candidate objects.
- first candidate objects and multiple second candidate objects there are multiple first selection icons and second selection icons, which are respectively the same as the first candidate object and the second selection icon.
- candidates correspond one-to-one.
- the category of the candidate object determined in step S120 is a graphic or an instruction corresponding to an operation; the categories of the first candidate object and the second candidate object may both be graphics, or both be instructions, or one may be Graphics and another for instructions.
- step S140 after the category of the candidate object is a graphic and the corresponding first or second selection icon is clicked, the corresponding graphic can be displayed; the category of the candidate object is an instruction and the corresponding first or second selection icon is clicked After that, the operation corresponding to the instruction can be performed.
- the first selection icon and the second selection icon displayed in step S130 are for the user to click to select the corresponding first candidate object and second candidate object.
- the forms adopted by the first and second selection icons can be determined according to the categories of the first and second candidate objects respectively; It is a control that uses the description information of the command as the icon to display the content.
- the descriptive information may be in the form of graphics or text. For example, if the first candidate object is a "undo" instruction, the first selection icon may be displayed as a counterclockwise arrow; Select the icon to display "del".
- the first selection icon and the second selection icon may be displayed at the same time, or the first selection icon and the second selection icon may be displayed in sequence; the first and second selection icons may be displayed on the in different regions.
- the order and area displayed can be in a default manner, or can be set by the user.
- step S140 the user is only allowed to select one selection icon, and in response to the user's selection operation (such as but not limited to clicking or long-pressing) on a selection icon (the first selection icon or the second selection icon) etc.), the display of the first selection icon and the second selection icon may be stopped, and the candidate object corresponding to the selection icon selected by the user may be displayed or a corresponding operation may be performed according to the corresponding candidate object. That is, the user can select a first candidate object or a second candidate object by selecting the selection icon; according to the category of the candidate object selected by the user, the candidate object is displayed correspondingly, or an operation corresponding to the candidate object is performed.
- the user's selection operation such as but not limited to clicking or long-pressing
- the user may be allowed to select two or more selection icons, and the two or more selection icons may be all first/second selection icons, or may be part of the first selection icon icon, part of which is the second choice icon.
- the user presses the "ctrl" key and selects a first selection icon and a second selection icon.
- the first and second candidate objects can be displayed at the same time, or the first and second object correspondences can be performed sequentially. , or display one candidate and perform the corresponding action on another candidate.
- step S140 when displaying the candidate object, it may be displayed at the current position of the cursor, or the candidate object may be used instead of the track formed by the set of track points for display.
- the first candidate object includes a first candidate graphic
- the second candidate object includes a second candidate graphic
- displaying the first candidate object In response to the user's selection operation on the first selection icon, displaying the first candidate object, and in response to the user's selection operation on the second selection icon, displaying the second candidate object, including:
- Determine candidate objects based on the set of track points including:
- the first characteristic information is different from the second characteristic information.
- the first and second candidate graphics may be, but not limited to, graphics in a preset graphics database; there may be one or more graphics databases, which may be set locally, on a server, in the cloud, or the like.
- the first characteristic information and the second characteristic information respectively include one or more of the following:
- the original line feature refers to the line itself formed by the track points in the track point set and used to form the graph.
- the first candidate object and the second candidate object may respectively be candidate graphics that are successfully matched with different types of feature information.
- the first candidate object is the second candidate graphic that successfully matches the character feature
- the second candidate object is the second candidate graphic that successfully matches the original line feature.
- the first feature information or the second feature information includes one or more character features corresponding to the trajectory
- Acquiring the first/second characteristic information according to the track formed by the set of track points includes:
- Obtaining the first/second candidate graphics that successfully match the first/second feature information includes:
- one or more character features corresponding to the track may be extracted, but not limited to, through OCR (Optical Character Recognition, optical character recognition).
- the character features corresponding to the trajectory can be acquired in other ways, such as extracting stroke features and stroke order features from the trajectory, and comparing them with corresponding features of different characters in the font library, so as to determine the character features corresponding to the trajectory.
- a candidate graphic may have one or more labels, and the labels may include one character or multiple characters.
- tags with the same content are searched in the graph database according to the recognized character features; if any tag of a candidate graph is the same as at least one recognized character feature, the candidate graph can be considered to be matched successfully.
- the standard for successful matching can be set by itself. It can be set that the label must be the same as all character features to be considered a successful match. For example, if the acquired character feature and label are both "umbrella", the match is successful; or It can be set that the label is the same as some character features even if the match is successful. For example, if the acquired character feature is "umbrella" and the label is "umbrella”, it can be judged as a successful match; another example is the acquired character feature is "cat" and the label is "cat”. , can be judged as a successful match.
- the candidate graphics whose labels and acquired character features are exactly the same can be preferentially selected; Select candidate graphics corresponding to labels with high correlation value or high priority.
- the correlation value can be used to indicate the degree of correlation between the candidate graphic and the label.
- the correlation value between the umbrella graphic and the label "umbrella” is 100%; the correlation value between the mushroom graphic and the label "umbrella” 20%. If multiple candidate graphics are successfully matched according to the character feature "umbrella", the umbrella graphics can be selected first.
- the first characteristic information or the second characteristic information includes the original line characteristics of the graph formed by the trajectory
- Obtaining the first/second candidate graphics that successfully match the first/second feature information includes:
- a candidate graphic whose first degree of similarity satisfies the first preset condition is selected as the first/second candidate graphic.
- the first preset condition may be that the first similarity of the candidate graphics is one of the highest N first similarities; select the candidate graphics whose first similarity satisfies the first preset condition Including: selecting the first N candidate graphics with the highest similarity.
- N is a preset positive integer, which may be the number of candidate graphics to be displayed for the user to choose.
- the first preset condition may be that the first similarity exceeds or reaches a preset first similarity threshold.
- the first similarity between a candidate graphic and the original line feature can be calculated as follows:
- the Hungarian pairing algorithm is used for pairing; if the number of sampling points in one sampling point set for pairing is less than that of the other sampling point set, the obtained sampling point pair The number is equal to the number of sampling points in the set of sampling points with a small number of sampling points;
- the distance of each pair of sampling points is calculated separately, and the first similarity between the candidate graphic and the original line feature is determined according to the sum of the distances of all pairs of sampling points.
- the first interval can be set by itself, for example, if relatively intensive sampling is required, the first interval can be set smaller.
- the distance between the calculated sampling point pairs can be, but not limited to, Euclidean distance; the smaller the distance, the greater the similarity.
- the calculation of the first similarity is not limited to the above method, and other methods can be used to determine the first similarity between the original line feature and the candidate graphics, such as calculating the cosine similarity, or calculating the similarity through fingerprint information Wait.
- the first characteristic information or the second characteristic information includes the original line characteristics of the graph formed by the trajectory
- Obtaining the first/second candidate graphics that successfully match the first/second feature information includes:
- the subgraph contained in the candidate graph is stored corresponding to the candidate graph.
- the largest similarity may be selected as the similarity with the candidate graphic.
- the second preset condition may be that the second similarity of the candidate graphics is one of the highest N second similarities; select the candidate graphics whose second similarity satisfies the second preset condition Including: selecting N candidate graphics with the second highest similarity.
- N is a preset positive integer, which may be the number of candidate graphics to be displayed for the user to choose.
- the second preset condition may be that the second similarity exceeds or reaches a preset second similarity threshold.
- the implementation details of calculating the similarity between the original line feature and the candidate graph or sub-graph may refer to the method of calculating the first similarity.
- candidate figures similar to figures formed by parts and tracks can be selected, that is, candidate figures similar to figures formed by "parts" and tracks can be selected.
- the subgraph can be stored together with the candidate graph composed of the subgraph, or the subgraph can be split from the candidate graph and stored together with the candidate graph.
- not every candidate graph has a subgraph, and only some of the candidate graphs may have subgraphs.
- the sum of the subgraphs contained in the candidate graph can be smaller than the candidate graph; the same part in the candidate graph can be used as the same subgraph; for example, if the candidate graph is a house, which includes multiple identical windows, then each window can be Use the same "subplot for windows" without the rest of the "house graphic" as a subplot.
- the first feature information or the second feature information includes the outline feature of the graph formed by the trajectory
- Obtaining the first/second candidate graphics that successfully match the first/second feature information includes:
- a candidate graphic whose third degree of similarity satisfies the third preset condition is selected as the first/second candidate graphic.
- the third preset condition may be that the third similarity of the candidate graphics is one of the highest N third similarities; select the candidate graphics whose third similarity satisfies the third preset condition Including: selecting the N candidate graphics with the third highest similarity.
- N is a preset positive integer, which may be the number of candidate graphics to be displayed for the user to choose.
- the third preset condition may be that the third similarity exceeds or reaches a preset third similarity threshold.
- the process of calculating the third similarity between a candidate figure and the outline feature may include:
- the Hungarian pairing algorithm is used for pairing; if the number of sampling points in one sampling point set for pairing is less than that of the other sampling point set, the obtained sampling point pair The number is equal to the number of sampling points in the set of sampling points with a small number of sampling points;
- the distance of each pair of sampling points is calculated separately, and the third similarity between the contour line feature and the contour line of the candidate figure is determined according to the sum of the distances of all the sampling point pairs.
- the second spacing can be set by itself, for example, if relatively intensive sampling is required, the second spacing can be set smaller.
- the calculated distance between the sampling point pairs may be, but not limited to, the Euclidean distance.
- the calculation of the third similarity is not limited to the above-mentioned method, and any method of determining the similarity between curves can be used to determine the third similarity, for example, the discrete Frescher distance and the Hausdorff distance can be used to determine the third similarity. , Pearson correlation coefficient and other methods to determine the third similarity.
- the first feature information or the second feature information includes the figure formed by the trajectory or the outline of the figure, and obtaining the first/second feature information may include:
- the graphics formed by the trajectory are scaled according to multiple preset ratios
- the degree is calculated according to the scaled graphics of different scales; for different scales, different similarities will be calculated, and the maximum value will be used as the final similarity.
- first scale IMG 1 according to the preset scaling ratios 0.5, 1, and 2 to obtain IMG 1-1 , IMG 1-2 , and IMG 1-3 .
- IMG 1-1 and IMG 2 are densely sampled at equal intervals, and then Hungarian pairing is performed on the two sampling point sets obtained, and the distance of each sampling point pair is calculated to obtain the sum of distances L 1-1 ; similarly, for IMG 1-2 and IMG 1-3 obtain the sum of distances L 1-2 and L 1-3 respectively, and determine IMG 1 and IMG 2 according to the minimum value of the three distance sums (corresponding to the maximum similarity) as the final distance The final first similarity of .
- This embodiment can alleviate the influence of the graph size on distance (or similarity) calculation.
- the preset ratio can be set to 0.1, 0.2, . . . , 9, 10.
- the first candidate object includes a first candidate instruction
- the second candidate object includes a second candidate instruction
- the determining the candidate object according to the track point set includes:
- the trajectory formed by the set of trajectory points is identified as a standard trajectory, and different candidate instructions are obtained according to the standard trajectory as the first candidate instruction and the second candidate instruction respectively.
- the trajectories can be identified as different first standard trajectories and second standard trajectories, the candidate instructions corresponding to the first standard trajectories are acquired as the first candidate instructions, and the candidate instructions corresponding to the second standard trajectories are obtained.
- Candidate instructions for the second standard instruction can be identified as different first standard trajectories and second standard trajectories, the candidate instructions corresponding to the first standard trajectories are acquired as the first candidate instructions, and the candidate instructions corresponding to the second standard trajectories are obtained.
- the trajectory may be identified as a standard trajectory, and multiple candidate instructions corresponding to the standard trajectory are obtained as first and second candidate instructions respectively.
- a variety of standard trajectories are identified, they can be sorted according to the similarity between the multiple standard trajectories and the trajectories formed by the set of trajectory points, and select the standard trajectories ranked first to obtain the first and second trajectories.
- Candidate instruction if a variety of standard trajectories are identified, they can be sorted according to the similarity between the multiple standard trajectories and the trajectories formed by the set of trajectory points, and select the standard trajectories ranked first to obtain the first and second trajectories.
- the standard track is a track with a standardized form, because the degree of personalization of the user input track is very high, even if the intention is to input the same track (for example, all want to input track "Z"), the track actually input by different users There will be differences in form, and even the trajectories input twice by the same user will have differences; in order to adapt to this differentiated input, it is necessary to first identify the trajectories input by the user as standard trajectories and then obtain candidate instructions correspondingly, that is, first A "normalized" process.
- the process of identifying the trajectory as a standard trajectory can be similar to the method of recognizing the characters input by the user in handwriting input: extracting the characteristics of the trajectory and comparing it with the characteristics of the standard trajectory to identify the trajectory as one of the preset standard trajectories . If the feature of the trajectory input by the user cannot be identified as any standard trajectory, it means that the trajectory input by the user does not have a corresponding candidate instruction, and the candidate object whose category is the candidate instruction cannot be obtained according to the trajectory input by the user.
- multiple standard tracks can be preset, and one or more candidate instructions corresponding to each standard track can be set;
- the style of the standard track can be any one or more of the following: graphics, symbols, characters.
- the trajectory input by the user may be recognized as more than one standard trajectory. For example, if the user inputs a slanted "Z", it can be recognized as a standard trajectory "Z” or as a standard trajectory "N".
- the candidate instructions corresponding to "Z” and “N” are acquired, the candidate instruction corresponding to "Z” is used as a first candidate, and the candidate instruction corresponding to "N” is used as a second candidate.
- the first and second candidate objects may be different candidate instructions corresponding to a standard trajectory.
- the standard track "Z" corresponds to two commands: delete the track and clear the dialog box. These two instructions can be used as the first and second candidates respectively.
- the first candidate object is a third candidate graphic
- the second candidate object is a third candidate instruction
- Determining candidate objects based on the set of track points includes:
- Determine candidate objects based on the set of track points including:
- a trajectory formed by the set of trajectory points is identified as a standard trajectory, and a third candidate instruction is obtained according to the standard trajectory.
- determining the candidate object according to the track point set may also include:
- the fourth feature information is obtained according to the trajectory formed by the trajectory point set, and the fourth candidate graphic that successfully matches the fourth feature information is obtained as the second candidate object; the fourth The characteristic information is different from the third characteristic information.
- one of the first and second candidate objects is a candidate graphic, and the other is a candidate command; but if the track input by the user cannot be recognized as a standard track, that is, the candidate command cannot be obtained, then the second can be adaptively The second candidate object is changed to a candidate figure that is successfully matched according to the fourth characteristic information different from the third characteristic information.
- the above-mentioned interaction method can be applied to writing software; obtaining the set of track points input by the user includes:
- Displaying a first selection icon representing a first candidate object and a second selection icon representing a second candidate object includes:
- the first candidate object In response to the user's selection operation on the first selection icon, the first candidate object is displayed or the operation corresponding to the first candidate object is executed, and in response to the user's selection operation on the second selection icon, the second candidate object is displayed or the second selection icon is executed.
- the operations corresponding to the two candidates include:
- the second candidate object is displayed in the input interface, or an operation corresponding to the second candidate object is executed in the writing software.
- displaying a first selection icon for representing a first candidate object and a second selection icon for representing a second candidate object includes:
- the first candidate object is a candidate graphic, and the thumbnail of the first candidate object is displayed as the first selection icon; or, the first candidate object is a candidate instruction, and the description information corresponding to the first candidate object is displayed as the first selection icon ;
- the second candidate object is a candidate graphic, and the thumbnail of the second candidate object is displayed as the first selection icon; or, the second candidate object is a candidate instruction, and the description information corresponding to the second candidate object is displayed as the second selection icon .
- the method further includes:
- the displayed first selection icon is correspondingly updated; in response to the update of the second candidate object, the displayed second selection icon is correspondingly updated.
- obtaining a track point set input by a user includes:
- a preset control is displayed; wherein, the detection of the pause of the user's input operation refers to: the time length from the last receipt of the sampling result for the input operation reaches or exceeds the preset duration threshold;
- a set of track points input in a specific time period (between two operation pauses) is acquired.
- a set of track points input in a predetermined input area may be acquired.
- the embodiment of the present application also provides an electronic device, as shown in FIG. 2 , including: a memory 21 and a processor 22;
- the memory 21 is configured to save the interactive program
- the processor 22 is configured to read and execute the interactive program, and perform the interactive method in any of the above-mentioned embodiments.
- the electronic device may further include:
- a touch panel configured to receive user input operations
- the real-time coordinates of the touch position are sampled by the sampling unit and sent to the display drive unit, which can be displayed on the display panel according to the user's input operation on the touch panel; among them, the display drive The unit can also display all or part of the matching candidate graphics on the display panel according to the control of the processor.
- An embodiment of the present application also provides a computer storage medium configured to store an interactive program; when the interactive program is executed, the interactive method in any of the above embodiments is performed.
- the candidate objects include: first, second, and third candidate objects, all of which are candidate graphics.
- the processor detects that the user pauses, and recognizes the set of track points formed by the user's writing or drawing to obtain candidate graphics, which are returned to the front end as a recommendation result and displayed in the form of selected icons for the user choose.
- the way to obtain candidate graphs in this example includes: obtaining three types of feature information for the trajectory formed by the trajectory point set, and matching them with the candidate graphs in the graph database; for:
- Character matching matches according to the character features corresponding to the trajectory
- contour line matching this method performs matching according to the contour line characteristics of the graphics formed by the trajectory
- graphic matching this method performs matching according to the original line characteristics of the graphics formed by the trajectory.
- the sampling unit may send the sampled real-time coordinates of the user's touch on the electronic whiteboard to the processor; the processor detects that the user pauses and triggers the start of the interactive operation.
- the detection of user pause may refer to: the time length since the last time the real-time coordinates are received from the sampling unit exceeds a preset time length threshold.
- the processor displays a dotted frame with an interactive trigger point on the display panel to send an interactive request to the user by controlling the display driving unit.
- the dotted box frames the trajectory between the last detected pause and the detected pause, as shown in Figure 4; that is, the trajectory in the dotted box is the trajectory formed by the set of acquired trajectory points, including the trajectory from the last time Multiple track points including the first track point received after the pause is detected and the last track point received before the pause is detected this time.
- the interaction trigger point is set as a dot with a certain area in the lower right corner of the dotted line box, and the trigger method is to click on the dot; during implementation, the interaction trigger point can be in other forms and located at other positions to trigger There can be various methods; for example, the interaction trigger point can be set as an icon in the menu bar, or can be set on the frame line of the dotted line box or in the area inside the dotted line box; Trigger interaction by means of double-click or long-press.
- the processor determines the user's operation according to one or more actual coordinates sampled after the sampling unit, and performs corresponding processing, including the following five situations:
- the processor does not process, records the moment of this pause and continues to monitor until the next pause.
- the processor does not process, records the moment of this pause and continues to monitor until the next pause.
- the processor changes the coordinates of the track in the dotted line box according to the user's dragging, and sends the changed coordinates to the display driver unit, so that the effect displayed on the display panel is that the track in the dotted line box follows the user's dragging. move.
- the processor changes the distance between adjacent track points in the track according to the user's dragging, keeps the coordinates of one track point in the track unchanged, and the coordinates of other track points change with the change of distance; the processor will change the The coordinates are sent to the display drive unit, so that the effect displayed on the display panel is that the track in the dotted frame scales as the user drags.
- the processor obtains three kinds of characteristic information of the trajectory in the dotted line box: character characteristics, original line characteristics and contour line characteristics of the formed graphics, connects to the local or remote graphics database, respectively according to each type of characteristic information obtained, and
- the candidate graphics contained in the graphics database are matched to obtain candidate objects corresponding to each type of feature information, that is, candidate graphics that are successfully matched according to the type of feature information.
- the processor returns all or part of the candidate graphics that are successfully matched to the front end as candidate objects for display.
- the first candidate object is a candidate graphic that is successfully matched according to the character features corresponding to the trajectory
- the second candidate object is a candidate graphic that is successfully matched according to the outline features of the graphic formed by the trajectory
- the third candidate object is a candidate graphic that is successfully matched according to the contour line features of the graphic formed by the trajectory.
- the original line features of the formed graphics match the successful candidate graphics.
- first selection icons As shown in FIG. 5 , four first selection icons, three second selection icons, and three third selection icons are displayed to the user, which are thumbnails corresponding to the first, second, and third candidate objects, respectively. In this example, the character corresponding to the trace is also displayed.
- the processor displays the corresponding candidate object in response to the user clicking on any selection icon.
- One way is to display the candidate object selected by the user in the dotted line box instead of the original track in the dotted line box.
- the candidate object can be scaled according to the size of the dotted line box; the other way is to display the candidate object selected by the user According to the original size, it is displayed at a predetermined position or at any position, which can be dragged and zoomed by the user later as needed.
- corresponding candidate objects may be displayed in response to the user's long press on any selection icon.
- the graphic recommendation area 5 may contain four sub-areas, each displaying different contents:
- the best recognition result obtained by performing OCR on the trajectory displayed in the OCR result sub-area 51 is used as the character corresponding to the trajectory.
- the Chinese character "umbrella" is taken as an example.
- the character graphic recommendation sub-area 52 displays the first selection icon of the first candidate object obtained by matching the OCR result as feature information, that is, finds the corresponding candidate graphic for recommendation according to the acquired character features.
- Displayed in the similar figure recommendation sub-area 53 is the second selection icon of the second candidate object obtained by matching according to the outline feature of the figure formed by the trajectory.
- Displayed in the graphic recommendation sub-area 54 is the third selection icon of the third candidate object obtained by matching according to the original line features of the graphic formed by the trajectory.
- each of the four sub-areas can be marked with a dotted line box; each sub-area can set an interaction trigger point, which is set at the lower right corner of the dotted line box of the sub-area in this example.
- the user clicks on the interactive trigger point that displays the OCR result sub-area 51 other alternative OCR results will be displayed in this sub-area or in a new area, such as displaying a suboptimal recognition result, which can solve the problem of the user's OCR result. Unsatisfied with the problem that the recognition result needs to be selected independently; if the user selects other OCR results, the first candidate object is reacquired according to the result, and the first selection icon is refreshed.
- selection icons of more candidate objects may be displayed in the corresponding sub-area.
- the character corresponding to the trajectory is first recognized through OCR, and the recognition result is used as the acquired character feature.
- the recognition result can be one character, or can be multiple characters, for example, the recognition result is a word.
- the characters in this example include Chinese characters, letters, etc.
- Matching is performed in the graph database according to the recognition results; the candidate graphs contained in the graph database carry labels, and the tags are used to indicate the content of the candidate graphs.
- the label is the same as at least one of the acquired character features, it is determined that the matching is successful.
- some or all of the undisplayed successful matching candidate graphics may be selected for display.
- the similar graphics referred to in this example means that the graphics have similar outlines.
- the process of recommending similar graphics includes: calculating the similarity between the outline features of the graphics formed by the trajectory and the outlines of each candidate graphic in the graphics database, and obtaining the top three similarities of the outlines.
- the candidate graphic is used as the second candidate object, and the corresponding second selection icon is displayed.
- the situation in FIG. 5 is to display the thumbnails of the candidate graphics corresponding to the 1st to 3rd similarities after the similarities are arranged from high to low.
- the candidate graphics corresponding to the 4th to 6th similarities are reacquired as the second candidate objects, and the displayed No. Two selection icon.
- the similarity calculation of contour lines includes the following steps 601-604:
- the contour line features of each candidate graph in the graph database can be extracted and saved in advance, that is, step 603 is completed in advance, so that step 604 can be directly performed after step 602 during matching to save time.
- candidate graphics in the graphics database are generally standard graphics, so normalization is not required. If they are not standard graphics, they must be normalized after extracting contour features.
- step 604 the similarity between contour lines can be calculated as follows:
- contour line features of the candidate graphics and the graphics formed by the trajectory are respectively densely sampled at equal intervals, and the sampling points in the two sampling point sets obtained by sampling are paired in pairs according to the Hungarian matching algorithm, and the distance between each sampling point pair is calculated.
- the similarity of the contour lines is determined according to the sum of the distances of all sampled point pairs.
- the calculated distance may be, but not limited to, Euclidean distance.
- the number of sampling points in the two sampling point sets is different, for example, one is M and the other is N, and N is greater than M, then the obtained sampling point pair is M pair.
- the meaning of including graphics means that the original line features of the graphics formed by the trajectory are similar to the "parts" in the candidate graphics, that is, the graphics formed by the trajectory are similar in shape to a subgraph in the candidate graphics; As shown in FIG. 7 , the figure formed by the trajectory is similar to the shape of "wings" in the sub-picture 71 of the candidate figure "bird", and the candidate figure "bird” is acquired as the third candidate object.
- the original line features of the graph formed by the trajectory and the line features in the candidate graph (or the subgraph of the candidate graph) can be densely sampled at equal intervals, and the two sampling point sets obtained by sampling
- the sampling points are paired in pairs according to the Hungarian matching algorithm, and the distance of each pair of sampling points is calculated, and the similarity of the two graphics is determined according to the sum of the distances of all pairs of sampling points.
- the calculated distance may be, but not limited to, Euclidean distance.
- the candidate graphics in the graphics database can have one or more sub-pictures, such as the situation shown in Figure 8, the candidate graphic "animated villain” can have four sub-pictures: head 81, torso 82, arms 83 (same submap for left arm and right arm), 84 for legs (same submap for left and right leg).
- head 81 the candidate graphic "animated villain” can have four sub-pictures: head 81, torso 82, arms 83 (same submap for left arm and right arm), 84 for legs (same submap for left and right leg).
- the similarity between the original line features of the graph formed by the trajectory and the original line features of the candidate graph and the subgraph can be calculated respectively, and the maximum similarity is taken among the calculated similarities as The final similarity between the candidate graph and the graph formed by the trajectory.
- the first candidate object and the second candidate object are the first candidate instruction and the second candidate instruction by default.
- the displayed first selection icon and second selection icon are descriptive information of the instruction.
- the trajectory input by the user is identified as one or more of the preset standard trajectories, and the corresponding candidate instructions are acquired as the first and second candidate objects according to the identified standard trajectories, and the corresponding selection icons are displayed, and The corresponding action is performed in response to the user clicking on the selection icon.
- the selection icon shown to the user is shown in Figure 9, and the track formed by the track point set input by the user is shown in area 91; two standard tracks can be identified for the track point set: "Z” and "Z” N".
- the candidate instruction corresponding to Z" is used as the second candidate object, and the description information "Z: delete track” corresponding to "Z” is acquired as the second selection icon 922 and displayed in the selection icon area 92 .
- the descriptive information of the candidate instruction used for selecting the icon in this example may be replaced by an illustration of the candidate instruction or the content of the candidate instruction.
- one standard trajectory can correspond to multiple candidate instructions.
- the standard track "N" corresponds to multiple candidate instructions, and the multiple candidate instructions may be obtained as different first candidate objects, and corresponding first selection icons are displayed respectively.
- one of the first and second candidate objects can be changed to a candidate graphic; all the candidate instructions corresponding to the identified standard trajectories are used as the other candidate object.
- candidate graphics as candidate objects may be selected by one or more types of feature information.
- the candidate object can be changed into a candidate graphic adaptively.
- the trajectory input by the user can only be recognized as a standard trajectory, then the candidate instruction corresponding to the standard trajectory is obtained as the first candidate object, and the feature information of the preset type is extracted from the trajectory to select candidate graphics, and obtained as the second candidate object.
- candidate graphics may be selected according to different types of feature information as the first and second candidate objects respectively.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
Claims (16)
- 一种交互方法,包括:获取用户输入的轨迹点集合,所述轨迹点集合至少包括一个轨迹点;根据所述轨迹点集合确定候选对象,所述候选对象包括:第一候选对象和第二候选对象;显示用于表示所述第一候选对象的第一选择图标和用于表示所述第二候选对象的第二选择图标;响应于用户的对所述第一选择图标的选择操作,显示所述第一候选对象或者执行所述第一候选对象所对应的操作,响应于用户的对所述第二选择图标的选择操作,显示所述第二候选对象或者执行所述第二候选对象所对应的操作。
- 如权利要求1所述的交互方法,其中,所述第一候选对象包括第一候选图形,所述第二候选对象包括第二候选图形;所述响应于用户的对所述第一选择图标的选择操作,显示所述第一候选对象,响应于用户的对所述第二选择图标的选择操作,显示所述第二候选对象,包括:响应于用户的对所述第一选择图标的选择操作,显示所述第一候选图形,响应于用户的对所述第二选择图标的选择操作,显示所述第二候选图形;所述根据轨迹点集合确定候选对象,包括:根据所述轨迹点集合所形成的轨迹获取第一特征信息,获取与所述第一特征信息匹配成功的第一候选图形,根据所述轨迹点集合所形成的轨迹获取第二特征信息,获取与所述第二特征信息匹配成功的第二候选图形;所述第一特征信息与所述第二特征信息不同。
- 如权利要求2所述的交互方法,其中,所述第一特征信息、第二特征信息分别包括以下一种或多种:所述轨迹对应的一个或多个字符特征;所述轨迹所形成的图形的原始线条特征;所述轨迹所形成的图形的轮廓线特征。
- 如权利要求3所述的交互方法,其中,所述第一特征信息或第二特征信息包括所述轨迹对应的一个或多个字符特征;所述根据轨迹点集合所形成的轨迹提取第一特征信息或第二特征信息包括:提取轨迹点集合所形成的轨迹所对应的一个或多个字符特征;所述获取与所述第一/第二特征信息匹配成功的第一/第二候选图形包括:选择所携带的标签和所述第一/第二特征信息中的字符特征至少部分相同的候选图形作为所述第一/第二候选图形;其中,候选图形所携带的标签用于表示该候选图形的内容。
- 如权利要求3所述的交互方法,其中,所述第一特征信息或所述第二特征信息包括所述轨迹所形成的图形的原始线条特征;所述获取与所述第一/第二特征信息匹配成功的第一/第二候选图形包括:分别计算每个候选图形与所述第一/第二特征信息中的原始线条特征之间的第一相似度;选择所述第一相似度满足第一预设条件的候选图形作为所述第一/第二候选图形。
- 如权利要求3所述的交互方法,其中,所述第一特征信息或第二特征信息包括所述轨迹所形成的图形的原始线条特征;所述获取与所述第一/第二特征信息匹配成功的第一/第二候选图形包括:对于每个候选图形分别进行如下操作:计算所述第一/第二候选图形中的原始线条特征与该候选图形之间的相似度,以及与该候选图形所包含的子图之间的相似度;以确定与该候选图形之间的第二相似度;选择所述第二相似度满足第二预设条件的候选图形作为所述第一/第二候选图形;其中,所述候选图形所包含的子图对应于该候选图形保存。
- 如权利要求3所述的交互方法,其中,所述第一特征信息或第二特征信息包括所述轨迹所形成的图形的轮廓线特征;所述获取与所述第一/第二特征信息匹配成功的第一/第二候选图形包括:分别计算每个候选图形的轮廓线与所述第一/第二特征信息中轮廓线特征之间的第三相似度;选择所述第三相似度满足第三预设条件的候选图形作为所述第一/第二候选图形。
- 如权利要求1所述的交互方法,其中,所述第一候选对象包括第一候选指令,所述第二候选对象包括第二候选指令;所述响应于用户的对所述第一选择图标的选择操作,执行所述第一候选对象所对应的操作,响应于用户的对所述第二选择图标的选择操作,执行所述第二候选对象所对应的操作,包括:响应于用户的对所述第一选择图标的选择操作,执行所述第一候选指令所对应的操作,响应于用户的对所述第二选择图标的选择操作,执行所述第二候选指令所对应的操作;所述根据轨迹点集合确定候选对象,包括:将所述轨迹点集合所形成的轨迹识别成标准轨迹,根据所述标准轨迹获取不同的候选指令,分别作为所述第一候选指令和第二候选指令。
- 如权利要求1所述的交互方法,其中,所述第一候选对象是第三候选图形,所述第二候选对象是第三候选指令;所述响应于用户的对所述第一选择图标的选择操作,显示所述第一候选对象,响应于用户的对所述第二选择图标的选择操作,执行所述第二候选对象所对应的操作,包括:响应于用户的对所述第一选择图标的选择操作,显示所述第三候选图形,响应于用户的对所述第二选择图标的选择操作,执行所述第三候选指令所对应的操作;所述根据轨迹点集合确定候选对象,包括:根据所述轨迹点集合所形成的轨迹获取第三特征信息,获取与所述第三特征信息匹配成功的第三候选图形;将所述轨迹点集合所形成的轨迹识别成标准轨迹,根据所述标准轨迹获取所述第三候选指令。
- 如权利要求9所述的交互方法,其中,所述根据轨迹点集合确定候选对象还包括:响应于将所述轨迹点集合形成的轨迹识别成标准轨迹失败,根据所述轨迹点集合所形成的轨迹获取第四特征信息,获取与所述第四特征信息匹配成功的第四候选图形作为所述第二候选对象;所述第四特征信息不同于所述第三特征信息。
- 如权利要求1所述的交互方法,其中,所述交互方法应用于书写软件;所述获取用户输入的轨迹点集合包括:响应于用户在所述书写软件的输入界面中的输入操作,获取用户在所述输入界面中输入的轨迹点集合;所述显示用于表示所述第一候选对象的第一选择图标和用于表示所述第二候选对象的第二选择图标包括:在所述输入界面中显示用于表示所述第一候选对象的第一选择图标和用于表示所述第二候选对象的第二选择图标;所述响应于用户的对所述第一选择图标的选择操作,显示所述第一候选对象或者执行所述第一候选对象所对应的操作,响应于用户的对所述第二选择图标的选择操作,显示所述第二候选对象或者执行所述第二候选对象所对应的操作包括:响应于用户在所述输入界面中,对所述第一选择图标的选择操作,在所述输入界面中显示所述第一候选对象,或在所述书写软件中执行所述第一候选对象所对应的操作;响应于用户在所述输入界面中,对所述第二选择图标的选择操作,在所述输入界面中显示所述第二候选对象,或在所述书写软件中执行所述第二候选对象所对应的操作。
- 如权利要求1-11中任一项所述的交互方法,其中,所述显示用于表示第一候选对象的第一选择图标和用于表示第二候选对象的第二选择图标包括:第一候选对象为候选图形,以第一候选对象的缩略图作为第一选择图标进行显示;或者,第一候选对象为候选指令,以第一候选对象的描述信息作为第一选择图标进行显示;第二候选对象为候选图形,以第二候选对象的缩略图作为第一选择图标进行显示;或者,第二候选对象为候选指令,以第二候选对象的描述信息作为第二选择图标进行显示。
- 如权利要求1-11中任一项所述的交互方法,其中,所述显示用于表示第一候选对象的第一选择图标和用于表示第二候选对象的第二选择图标后还包括:响应于用户的预定操作,更新所确定的第一候选对象和/或第二候选对象;响应于第一候选对象的更新,相应更新所显示的第一选择图标;响应于第二候选对象的更新,相应更新所显示的第二选择图标。
- 如权利要求1-11中任一项所述的交互方法,其中,所述获取用户输入的轨迹点集合包括:响应于用户的输入操作停顿,显示预设控件;其中,检测到用户的输入操作停顿是指:距离上一次收到对于输入操作的采样结果的时间长度达到或超过预设时长阈值;响应于用户对于所述预设控件的操作,获取本次检测到用户的输入操作停顿和前一次检测到用户的输入操作停顿之间,用户输入操作所对应的轨迹点,保存为所述轨迹点集合。
- 一种电子设备,包括:存储器和处理器;所述存储器设置成保存进行交互的程序;所述处理器设置成读取执行所述进行交互的程序,并进行如权利要求1-14中任一项所述的交互方法。
- 一种计算机存储介质,设置成保存进行交互的程序;所述进行交互的程序在被执行时,进行如权利要求1-14中任一项所述的交互方法。
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2021/096925 WO2022246834A1 (zh) | 2021-05-28 | 2021-05-28 | 一种交互方法、电子设备及计算机存储介质 |
US17/765,832 US20240046682A1 (en) | 2021-05-28 | 2021-05-28 | Interaction Method, Electronic Device and Computer Storage Medium |
CN202180001356.5A CN115701298A (zh) | 2021-05-28 | 2021-05-28 | 一种交互方法、电子设备及计算机存储介质 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2021/096925 WO2022246834A1 (zh) | 2021-05-28 | 2021-05-28 | 一种交互方法、电子设备及计算机存储介质 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022246834A1 true WO2022246834A1 (zh) | 2022-12-01 |
Family
ID=84228364
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/096925 WO2022246834A1 (zh) | 2021-05-28 | 2021-05-28 | 一种交互方法、电子设备及计算机存储介质 |
Country Status (3)
Country | Link |
---|---|
US (1) | US20240046682A1 (zh) |
CN (1) | CN115701298A (zh) |
WO (1) | WO2022246834A1 (zh) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101339487A (zh) * | 2008-08-29 | 2009-01-07 | 飞图科技(北京)有限公司 | 一种基于手持设备的依靠快捷图形识别调用功能的方法 |
US20090222770A1 (en) * | 2008-02-29 | 2009-09-03 | Inventec Appliances Corp. | Method of inputting control instruction and handheld device thereof |
CN101551720A (zh) * | 2008-04-02 | 2009-10-07 | 英华达股份有限公司 | 手持设备输入控制指令方法及其输入控制指令的手持设备 |
CN103246437A (zh) * | 2012-02-03 | 2013-08-14 | 宇龙计算机通信科技(深圳)有限公司 | 切换输入法的方法和终端 |
CN104077062A (zh) * | 2013-03-25 | 2014-10-01 | 联想(北京)有限公司 | 输入控制方法和装置 |
CN109213412A (zh) * | 2017-07-03 | 2019-01-15 | 北京搜狗科技发展有限公司 | 输入方法、装置和机器可读介质 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6229303B2 (ja) * | 2013-05-16 | 2017-11-15 | 富士通株式会社 | プログラム、情報処理装置および文字認識方法 |
US9898187B2 (en) * | 2013-06-09 | 2018-02-20 | Apple Inc. | Managing real-time handwriting recognition |
JP2015170150A (ja) * | 2014-03-07 | 2015-09-28 | 株式会社東芝 | 電子機器及び方法 |
JP7508766B2 (ja) * | 2018-10-15 | 2024-07-02 | 株式会社リコー | 入力装置、入力方法、プログラム、入力システム |
-
2021
- 2021-05-28 CN CN202180001356.5A patent/CN115701298A/zh active Pending
- 2021-05-28 US US17/765,832 patent/US20240046682A1/en active Pending
- 2021-05-28 WO PCT/CN2021/096925 patent/WO2022246834A1/zh active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090222770A1 (en) * | 2008-02-29 | 2009-09-03 | Inventec Appliances Corp. | Method of inputting control instruction and handheld device thereof |
CN101551720A (zh) * | 2008-04-02 | 2009-10-07 | 英华达股份有限公司 | 手持设备输入控制指令方法及其输入控制指令的手持设备 |
CN101339487A (zh) * | 2008-08-29 | 2009-01-07 | 飞图科技(北京)有限公司 | 一种基于手持设备的依靠快捷图形识别调用功能的方法 |
CN103246437A (zh) * | 2012-02-03 | 2013-08-14 | 宇龙计算机通信科技(深圳)有限公司 | 切换输入法的方法和终端 |
CN104077062A (zh) * | 2013-03-25 | 2014-10-01 | 联想(北京)有限公司 | 输入控制方法和装置 |
CN109213412A (zh) * | 2017-07-03 | 2019-01-15 | 北京搜狗科技发展有限公司 | 输入方法、装置和机器可读介质 |
Also Published As
Publication number | Publication date |
---|---|
US20240046682A1 (en) | 2024-02-08 |
CN115701298A (zh) | 2023-02-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2702270C2 (ru) | Обнаружение выбора рукописного фрагмента | |
US9665259B2 (en) | Interactive digital displays | |
US7256773B2 (en) | Detection of a dwell gesture by examining parameters associated with pen motion | |
US20110246875A1 (en) | Digital whiteboard implementation | |
WO2017185575A1 (zh) | 一种触摸屏轨迹识别方法及装置 | |
US20180067640A1 (en) | Formula inputting method and apparatus | |
KR102677199B1 (ko) | 그래픽 객체를 선택하기 위한 방법 및 대응하는 디바이스 | |
JP2003303047A (ja) | 画像入力及び表示システム、ユーザインタフェースの利用方法並びにコンピュータで使用可能な媒体を含む製品 | |
US20150123988A1 (en) | Electronic device, method and storage medium | |
CN103218160A (zh) | 人机交互方法及终端 | |
US20140270529A1 (en) | Electronic device, method, and storage medium | |
US20160147436A1 (en) | Electronic apparatus and method | |
US11144196B2 (en) | Operating visual user interface controls with ink commands | |
US11972097B2 (en) | Selecting content in ink documents using a hierarchical data structure | |
CN107977155B (zh) | 一种手写识别方法、装置、设备和存储介质 | |
US9811238B2 (en) | Methods and systems for interacting with a digital marking surface | |
WO2022246834A1 (zh) | 一种交互方法、电子设备及计算机存储介质 | |
US20240265595A1 (en) | Display device and method for displaying chart | |
JP4148867B2 (ja) | 筆跡処理装置 | |
US20150067592A1 (en) | Methods and Systems for Interacting with a Digital Marking Surface | |
CN115793923B (zh) | 一种人机界面运动轨迹识别方法、系统、设备及介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WWE | Wipo information: entry into national phase |
Ref document number: 17765832 Country of ref document: US |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21942408 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 28.03.2024) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21942408 Country of ref document: EP Kind code of ref document: A1 |