Detailed Description
The invention will be described in further detail with reference to the drawings and the detailed description. Other advantages and technical effects of the present invention will be fully apparent to those skilled in the art from the present disclosure. The invention may be practiced or carried out in different embodiments, and details in this description may be applied from different points of view, without departing from the general inventive concept. It should be noted that the following embodiments and features in the embodiments may be combined with each other without conflict. The following exemplary embodiments of the present invention may be embodied in many different forms and should not be construed as limited to the specific embodiments set forth herein. It should be appreciated that these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the technical solution of these exemplary embodiments to those skilled in the art.
Example 1
As shown in fig. 1, the information input system of the present embodiment includes:
operated body: the input device is composed of a plurality of monomers, is used for receiving input operation of an inputter for inputting information, and is the smallest unit capable of identifying whether the input operation from the inputter is received or not;
and a recording module: recording operation information of an input operation of an input person on the operated body, wherein the operation information at least comprises operated monomers and corresponding operation moments;
a first determination module: an operation point for determining an input operation applied by an inputter to the operated body according to the operation information;
a second determination unit: the method comprises the steps of judging whether the operation point is a real operation point of an inputter according to at least one of the static characteristic, the dynamic characteristic and the input content of the operation point;
an information generation module: and the input information of the inputter is generated according to the operation information corresponding to the real operation point.
The operated body herein generally refers to a device, such as a touch screen, that can receive an input operation (such as a finger touch, a dedicated stylus, etc.) from an input person. The object is generally composed of a plurality of individual units, and the input operation is performed by the user by receiving the input operation from the user by the plurality of individual units at any time.
Example two
The present embodiment describes the operation principle of the first determination module on the basis of the first embodiment.
The first determining module defines a single body corresponding to the input operation at the same operation time as a first single body, and determines an operation point corresponding to the input operation time according to the position information of the first single body. The concrete implementation method comprises the following two modes:
in the mode 1, a first determining module performs cluster analysis on the position information of the first monomer, outputs at least one monomer group, and takes a set of the first monomer in each monomer group as an operation point;
and 2, the first determining module determines the operation point according to the distance between the first monomers.
In mode 2, for a given first monomer, if at least one other first monomer is present for the given first monomer and the distance between the given first monomer and the second monomer is less than a threshold, the set of the given first monomer and the other first monomer is taken as the same operating point. Preferably, the threshold is greater than a maximum distance between any two adjacent monomers constituting the operated body.
Example III
The present embodiment will be described with respect to the operation principle of the second determination unit on the basis of the foregoing embodiments.
A second determination unit: and the method is used for judging whether the operation point is the real operation point of the inputter according to at least one of the static characteristic, the dynamic characteristic and the input content of the operation point.
The static feature includes at least one of an area of the operating point, a number of first cells corresponding to the same operating point, a dot pattern formed by the first cells corresponding to the same operating point, or a dot pattern formed by all cells within a peripheral outline of the first cells corresponding to the same operating point, and an outline shape of the peripheral outline.
The dynamic characteristics include at least one of a moving speed, a moving amplitude of the operating point, and a change in appearance and disappearance of the operating point.
The input content refers to a moving track corresponding to the same operation point or the meaning of input information corresponding to the moving track.
The second determination unit determines the peripheral outline of all the first monomers constituting the same operation point as follows:
a1, determining a reference point;
a2, respectively calculating the distance between each first monomer and the reference point;
step A3, taking the first monomer corresponding to the maximum distance as a selected first monomer;
step A4, selecting a first monomer which is adjacent to the selected first monomer and farthest from the central point from all unselected first monomers as a current selected first monomer;
step A5, judging whether a first monomer which is adjacent to the selected first monomer and is not selected exists, if so, returning to the step A4, otherwise, entering the next step;
step A6, sequentially connecting the selected first monomers according to the sequence selected as the selected first monomers, simultaneously connecting the first selected first monomer and the last selected first monomer, thereby forming a closed contour line, and taking the contour line as the peripheral contour of all the first monomers forming the same operation point.
Specifically, step A1 determines the reference point as follows:
mode 1, taking one of all first monomers constituting the same operation point as a reference point;
mode 2, calculating the coordinate mean value of all the first monomers constituting the same operation point, and taking the point corresponding to the mean value coordinate as the middle point.
If the second determining module judges whether the operation point is a real operation point according to the quantity of the first monomers corresponding to the same operation point. For a given operation point, the second determining module firstly determines each first monomer corresponding to the operation point, then counts the number of the first monomers, and then when the counted number of the first monomers meets the preset condition, the operation point is considered as the real operation point of the inputter, otherwise, the operation point is considered as the non-real operation point of the inputter. The preset conditions here may not exceed a number of lower limits, minimum values, or upper limits, maximum values, or may simultaneously satisfy interval limits, i.e. lie between maximum and minimum values.
If the second determining module determines whether the operation point is the real operation point of the inputter according to the dot pattern formed by the first monomer corresponding to the same operation point or the dot pattern formed by all the monomers in the peripheral outline of the first monomer corresponding to the same operation point, the method comprises the following steps:
step B1, determining a dot pattern according to an operation point;
step B2, comparing the dot patterns with preset standard patterns respectively, and outputting the similarity of the dot patterns corresponding to the standard patterns;
step B3, selecting the maximum similarity from the similarities;
and B4, judging whether the maximum similarity exceeds a threshold value, if so, taking the operation point as a real operation point, otherwise, taking the operation point as a non-real operation point.
Step B2 further comprises:
step B21, determining characteristic elements of each preset standard pattern;
step B22, extracting all possible characteristic elements from the dot pattern;
step B23, matching the characteristic elements of the dot pattern with the characteristic elements of the standard pattern; or step B23, the number of the characteristic elements in the maximum intersection of the characteristic elements of the dot pattern and the characteristic elements of the standard pattern is used as the similarity between the dot pattern and the standard pattern.
And step B24, taking the highest matching degree in the matching result as the similarity between the dot pattern and the standard pattern.
Step B23 further comprises:
step B231, determining a matching index calculation method of the characteristic elements of the standard pattern;
step B232, calculating the matching indexes of all possible combinations of the characteristic elements of the dot pattern and the characteristic elements of the standard pattern by using the matching index calculation method;
and step B233, taking the maximum value of all the matching indexes corresponding to a certain point pattern or the sum of all the matching indexes as the similarity of the point pattern and the standard pattern.
If the second determining module determines whether the operation point is the real operation point of the inputter according to the contour line shape of the peripheral contour, the method comprises the following steps:
step D1, identifying contour line shape characteristics of a peripheral contour corresponding to a given operation point;
step D2, comparing the contour line shape characteristics with preset contour line shape characteristics, and outputting the ratio of the contour line shape characteristics consistent with the preset contour line shape characteristics to the total characteristic quantity;
and D3, judging whether the ratio exceeds a threshold value, if so, taking the operating point as a real operating point, otherwise, taking the operating point as a non-real operating point.
Contour shape characteristics are one or more of the number of line segments, the length of line segments, the order of connection, the angle of the intersecting lines, and the radian.
If the second determining module determines whether the operation point is a real operation point according to the area of the operation point, for a given operation point, the second determining module first calculates the area of the operation point (for example, calculates the area in the contour line or the product obtained by multiplying the area of a single monomer by the statistical result of the number of the first monomer), and then determines the operation point as the real operation point of the inputter if the area of the operation point meets the preset condition, otherwise determines the operation point as the non-real operation point of the inputter. The preset conditions here may not exceed a number of lower limits, minimum values, or upper limits, maximum values, or may simultaneously satisfy interval limits, i.e. lie between maximum and minimum values.
The above is a judgment based on static properties, and the following is a judgment based on dynamic properties.
Because of the dynamic nature, it is necessary to utilize at least two different moments of operation information. In order to obtain accurate dynamic properties, the recording periods of the recording units, i.e. adjacent pairsThe maximum time interval T between sub-recordings should not exceed the threshold T0 . Threshold T0 The maximum moving distance when the inputter performs the moving operation at the fastest speed (i.e., moves the operation point while keeping touching the screen) should not exceed a distance threshold value, which is preferably the length of k monomers aligned in a straight line, where k is a natural number of 1 or more, although an upper limit value such as 100 may be further set.
The second determining unit determines whether the operation point is the real operation point of the inputter according to the dynamic characteristics of the operation point, and the method comprises the following steps:
step C1, determining a first moment and a second moment different from the first moment, wherein the first moment and the second moment enable the maximum linear distance between the positions of the operation points corresponding to the first moment and the second moment not to exceed a threshold value;
step C2, determining the positions of the operating points in the first moment and the second moment;
step C3, determining the change condition of the selected dynamic feature between the first moment and the second moment according to the positions of the operating point at the first moment and the second moment, wherein the moving feature comprises the moving speed or the moving amplitude of the operating point;
and C4, judging whether the change condition meets a preset condition, if so, judging that the change condition is a real operation point, and if not, judging that the change condition is a non-real operation point.
The step C2 further includes:
step C21, judging whether the first moment and the second moment are adjacent recording moments, if so, taking the straight line distance between the positions of the operation points corresponding to the first moment and the second moment respectively as the moving distance of the operation points in the first moment and the second moment, turning to step C25, otherwise, entering the next step;
step C22, determining the sequence or time of the operated monomers according to the position information of the operated monomers when the operation point moves between the first time and the second time by using the first time, the second time and the record information corresponding to the time between the first time and the second time;
step C23, generating a moving track of the operating point between a first moment and a second moment according to the operated sequence or moment of the operated monomer and the position information thereof;
step C24, determining the length of the moving track and taking the length of the moving track as the moving distance of the operating point between the first moment and the second moment;
and step C25, ending.
Wherein steps C22 to C24 can solve the problems faced when the first moment and the second moment are not adjacent recording moments, i.e. are further separated by at least one other recording moment. If the movement of the user between the two recording moments turns, the distance calculates the straight line distance of the operating point at the two moments, so that the length of the movement track is different from the calculated distance, at this time, it is necessary to verify whether the movement track between the two recording moments is straight line or not, which can be verified according to the position information of the monomer where the movement track is located, that is, firstly, determining each monomer where the movement track is located and the order in which the front end of the track passes through each monomer, and then judging whether the movement turning occurs according to the coordinate change of the adjacent three monomers.
When the operating point is a combination of several monomers, how to determine the position of the operating point becomes another problem. For this problem, any one of the monomers constituting the operation point may be selected as the position of the operation point, and then the distance between the positions of the operation point at different times may be calculated using the positions of the selected monomer at different times. However, during the movement of the operating point (actually, the movement while the user is touching) the operating point, because some interference factors (such as different pressing forces of the fingers may cause the monomers constituting the operating body to be different at different times, such as different contact areas of the fingers under different pressures) cause the monomers and/or the number of monomers constituting the operating body to be changed. Therefore, when any one of the monomers constituting the operation point is selected as the position of the operation point, the position determination of the operation point cannot be achieved if the selected monomer is changed from the constituent monomer that is the operation point to the constituent monomer that is not the operation point. To solve this difficulty, the step C2 takes, as the position of the operation point, the average of the coordinates of all the monomers constituting the operation point, or the average of the maximum and minimum abscissas, or the position corresponding to the median of the abscissas of all the monomers and the median of the ordinates of all the monomers.
When there are a plurality of operation points at the same recording time, how to determine the correspondence between the actual operation point and the recognition result becomes a problem. It is assumed that at time k, the first determining unit determines the operating point a and the operating point B, and at time k ', the first determining unit determines the operating point a ' and the operating point B '. Obviously, during the period from the time k to the time k ', coexisting at 2 actual operating points (a and B), the first determining unit outputs 4 recognition results, two of which correspond to the same actual operating point, such that for the operating point a, the recognition results may be a and a ' or a and B ' (actually, the actual operating point corresponding to the recognition result a is defined as the operating point a); for the operation point B, the identification result may be B and B ', or B and a'.
For this purpose, the first determination module determines the correspondence between the recorded information corresponding to the different moments and the operation point in any one of the following ways:
mode 1, determining a corresponding relation between recorded information and an operation point according to a minimum movement distance between the operation point at a first moment and the operation point at a second moment;
specifically, the distances between a and a 'and B' are calculated (the distance calculation method in the distance calculation method problem 1 is also the same), if the distance between a and a 'is smaller than the distance between a and B', the recognition results a and a 'are recognized as simultaneously corresponding to the actual operation point a, otherwise, the recognition results a and B' are recognized as simultaneously corresponding to the actual operation point a. The same method can be adopted for determining the corresponding relation of the actual operation point b.
And 2, determining the corresponding relation between the record information and the operation point according to the maximum shared monomer formed by the monomers contained in the operation point at the first moment and the operation point at the second moment.
Determining the monomer contained in the identification result A, the identification result A 'and the identification result B' respectively; calculating the intersection of the monomer in the identification result A and the monomer in the identification result A ' and obtaining a first shared monomer shared by the monomer in the identification result A and the monomer in the identification result B ', and obtaining a second shared monomer shared by the monomer in the identification result A and the monomer in the identification result B '; and if the number of the first sharing monomers is larger than that of the second sharing monomers, the identification results A and A 'are identified to be corresponding to the actual operation point a at the same time, otherwise, the identification results A and B' are identified to be corresponding to the actual operation point a at the same time.
For both approaches, the time interval between time k and time k' should be as follows: the distance of movement of the inputter during this time interval is smaller than the distance between the actual operating points. Otherwise, the judgment result is wrong.
When the dynamic characteristic is the movement amplitude, the step C3 determines the movement track of the operation point between the first moment and the second moment according to the recorded operation information, then determines the turning point according to the movement track estimation, then determines the track length between two adjacent turning points, and the step C4 takes the operation point corresponding to the track with longer length as the real operation point. When the finger touch input is performed by the main pointer, if the palm carelessly touches the screen, the movement amplitude of the finger is larger than that of the palm.
When the dynamic characteristic is the change of the appearance and the disappearance of the operation point, the second determining unit judges which operation point is identified as the real operation point by utilizing the corresponding relation between the appearance and the disappearance of the operation point and the starting time and the ending time of the input operation. In the input operation process, the real operation point of the user is continuously touched to the screen until the user inputs the user, and the operation point generated by no touch is the phenomenon that the user disappears in the middle in the input process (such as the palm virtually touches the screen), or even the non-real operation point still exists after the real input process is finished.
When the dynamic characteristic is the input content of the operation point, the second determining unit determines whether the operation point is a real operation point of the inputter according to whether the combination of the input content corresponding to the operated monomer corresponding to the movement track has reasonable semantics. Reasonable semantics refer to meaningful content (e.g., characters, words, patterns, regular line segments or curves, etc.), whereas content that is input by an importer by mistake (e.g., palm) due to negligence, etc., generally does not have understandable content or the input results are ugly and unaesthetic (e.g., movement track distortion).
Example IV
The present embodiment provides an elevator including the information input system of the foregoing embodiment.
The present invention has been described in detail by way of specific embodiments and examples, but these should not be construed as limiting the invention. Many variations and modifications may be made by one skilled in the art without departing from the principles of the invention, which is also considered to be within the scope of the invention.