CN111158507B - Specified content determining method and electronic equipment - Google Patents

Specified content determining method and electronic equipment Download PDF

Info

Publication number
CN111158507B
CN111158507B CN201910996282.8A CN201910996282A CN111158507B CN 111158507 B CN111158507 B CN 111158507B CN 201910996282 A CN201910996282 A CN 201910996282A CN 111158507 B CN111158507 B CN 111158507B
Authority
CN
China
Prior art keywords
virtual
target
painting
determining
content
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910996282.8A
Other languages
Chinese (zh)
Other versions
CN111158507A (en
Inventor
魏誉荧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201910996282.8A priority Critical patent/CN111158507B/en
Publication of CN111158507A publication Critical patent/CN111158507A/en
Application granted granted Critical
Publication of CN111158507B publication Critical patent/CN111158507B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • G06F3/03547Touch pads, in which fingers can move on a surface
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction 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/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention relates to the technical field of education, and discloses a method for determining appointed content and electronic equipment, wherein the method comprises the following steps: when detecting that the touch position of the appointed object in the page is a blank area, acquiring an abscissa of the touch position; determining the row position of the content currently learned by the user according to the browsing progress of the user; acquiring an ordinate corresponding to the row position; the content at the target location is determined to be the specified content, and the target location corresponds to the abscissa and the ordinate of the touch location. Therefore, when the finger touch position is a blank area, the embodiment of the invention can determine the target position by utilizing the finger touch position and the browsing progress of the user, thereby determining the designated content and improving the learning efficiency of the user.

Description

Specified content determining method and electronic equipment
Technical Field
The present invention relates to the field of education technologies, and in particular, to a method for determining specified content and an electronic device.
Background
In recent years, learning-class electronic devices (e.g., home teaching machines, etc.) are widely used for learning coaching, such as searching learning materials, etc. At present, in general, when a photographing module detects that a finger touches a certain position on a page of a book, the electronic device recognizes the content of the finger at the touched position as a designated content, and performs learning auxiliary actions such as searching or newspaper reading. However, when the touch position of the finger is blank, the electronic device cannot accurately determine the designated content intended to be pointed out by the user according to the touch position, so that the learning efficiency of the user is reduced.
Disclosure of Invention
The embodiment of the invention discloses a method for determining appointed content and electronic equipment, which can improve the learning efficiency of a user.
The first aspect of the embodiment of the invention discloses a method for determining specified content, which comprises the following steps:
when detecting that the touch position of the appointed object in the page is a blank area, acquiring an abscissa of the touch position;
determining the row position of the content currently learned by the user according to the browsing progress of the user;
acquiring an ordinate corresponding to the row position;
determining the content at a target location as a specified content, the target location corresponding to an abscissa and an ordinate of the touch location.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the acquiring an abscissa of the touch position includes:
acquiring a touch contour of the appointed object touching the page;
judging whether the area of the touch profile is larger than a preset area threshold value or not;
if yes, determining the center point of the touch outline;
the corresponding abscissa of the center point is determined as the abscissa of the touch position.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the method further includes:
generating a plurality of virtual points in the page; the virtual point corresponds to the coordinate position of the character in the page;
dividing the virtual points into a plurality of virtual point groups, wherein the virtual point groups correspond to text contents with complete semantics;
the determining that the content at the target position is the specified content includes:
matching according to the distance between the target position and the virtual point to obtain a target virtual point matched with the target position;
and determining text content corresponding to the target virtual point grouping where the target virtual point is located as specified content.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, after the dividing the virtual point into a plurality of virtual point groups, the method further includes:
acquiring association relations among the plurality of virtual point groups;
outputting a plurality of text cards in a review mode, wherein the plurality of text cards respectively correspond to the plurality of virtual dot groupings;
outputting painting indication information, a virtual painting brush and a plurality of virtual pigments with different colors, wherein the painting indication information indicates a user to paint the text cards with the association relations into the same color;
when the fact that a user calls the virtual painting brush and the target virtual pigment is detected, painting a target text card at a painting position of the virtual painting brush as a color corresponding to the target virtual pigment, and obtaining painting results; the number of different colored virtual pigments includes the target virtual pigment;
and correcting the painting result according to the association relation to obtain a review result.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the method further includes:
judging whether the appointed content belongs to a geometric practice problem or not;
if yes, outputting the three-dimensional geometric pattern included in the appointed content;
upon detecting a transformation operation for the geometric pattern, transforming the three-dimensional geometric pattern according to the transformation operation, the transformation operation being a rotation, a flipping, or a cutting.
The second aspect of the embodiment of the invention discloses an electronic device, which comprises:
the first acquisition unit is used for acquiring the abscissa of the touch position of the appointed object when detecting that the touch position of the appointed object in the page is a blank area;
the first determining unit is used for determining the row position of the content currently learned by the user according to the browsing progress of the user;
the second acquisition unit is used for acquiring the ordinate corresponding to the row position;
and the second determining unit is used for determining the content at the target position as the designated content, wherein the target position corresponds to the abscissa and the ordinate of the touch position.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the first obtaining unit includes:
an acquisition subunit, configured to acquire an touching contour of the specified object touching the page;
the judging subunit is used for judging whether the area of the touch profile is larger than a preset area threshold value or not;
the first determining subunit is used for determining a center point of the touch contour when the judging subunit judges that the area of the touch contour is larger than the preset area threshold;
the first determining subunit is further configured to determine a corresponding abscissa of the center point as an abscissa of the touch position.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the electronic device further includes:
the generation unit is used for generating a plurality of virtual points in the page; the virtual point corresponds to the coordinate position of the character in the page;
the dividing unit is used for dividing the virtual points into a plurality of virtual point groups, and the virtual point groups correspond to text contents with complete semantics;
the second determination unit includes:
a matching subunit, configured to match according to a distance between a target position and the virtual point, so as to obtain a target virtual point that matches the target position;
and the second determining subunit is used for determining text content corresponding to the target virtual point grouping where the target virtual point is located as specified content.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the electronic device further includes:
a third obtaining unit, configured to obtain an association relationship between a plurality of virtual point groups after dividing the virtual point into the plurality of virtual point groups;
the first output unit is used for outputting a plurality of text cards in a review mode, and the plurality of text cards respectively correspond to the plurality of virtual point groups;
the first output unit is further used for outputting painting indication information, a virtual painting brush and a plurality of virtual pigments with different colors, wherein the painting indication information indicates a user to paint the text cards with the association relations into the same color;
the painting unit is used for painting the target text card at the painting position of the virtual painting brush as the color corresponding to the target virtual painting brush when the user is detected to call the virtual painting brush and the target virtual painting brush, and obtaining painting results; the number of different colored virtual pigments includes the target virtual pigment;
and the checking unit is used for checking the painting result according to the association relation so as to obtain a review result.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the electronic device further includes:
the judging unit is used for judging whether the appointed content belongs to a geometric practice problem or not;
the second output unit is used for outputting a three-dimensional geometric pattern included in the specified content when the judging unit judges that the specified content belongs to the geometric practice problem;
and the transformation unit is used for transforming the three-dimensional geometric pattern according to the transformation operation when the transformation operation for the geometric pattern is detected, wherein the transformation operation is rotation, overturning or cutting.
A third aspect of an embodiment of the present invention discloses an electronic device, including:
a memory storing executable program code;
a processor coupled to the memory;
the processor invokes the executable program code stored in the memory to execute a method for determining specified content disclosed in the first aspect of the embodiment of the present invention.
A fourth aspect of the embodiments of the present invention discloses a computer-readable storage medium storing a computer program, wherein the computer program causes a computer to execute a method for determining specified content disclosed in the first aspect of the embodiments of the present invention.
A fifth aspect of the embodiments of the present invention discloses a computer program product which, when run on a computer, causes the computer to perform part or all of the steps of any one of the methods of the first aspect.
A sixth aspect of the embodiments of the present invention discloses an application publishing platform for publishing a computer program product, wherein the computer program product, when run on a computer, causes the computer to perform part or all of the steps of any one of the methods of the first aspect.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
when the electronic equipment detects that the touch position of the finger is a blank area, the abscissa of the touch position is used as one of the basis for determining the target position, the browsing progress is utilized to determine which row the user is currently learned to, the ordinate of the target position is determined according to the row position, and then the content at the target position is determined to be the appointed content. Therefore, when the finger touch position is a blank area, the embodiment of the invention can determine the target position by utilizing the finger touch position and the browsing progress of the user, thereby determining the designated content and improving the learning efficiency of the user.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for determining specified content according to an embodiment of the present invention;
FIG. 2 is a flow chart of another method for determining specified content according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of another electronic device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another electronic device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that the terms "first," "second," "third," and "fourth," etc. in the description and claims of the present invention are used for distinguishing between different objects and not for describing a particular sequential order. The terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed or inherent to such process, method, article, or apparatus.
The embodiment of the invention discloses a method for determining appointed content and electronic equipment, which can improve the learning efficiency of a user. The following detailed description is made with reference to the accompanying drawings.
Example 1
Referring to fig. 1, fig. 1 is a flowchart of a method for determining specified contents according to an embodiment of the present invention. As shown in fig. 1, the method of determining the specified content may include the following steps.
101. When detecting that the touch position of the specified object in the page is a blank area, the electronic device acquires the abscissa of the touch position.
In the embodiment of the invention, the electronic device may be an electronic device such as a home teaching machine, a learning tablet or a learning mobile phone, and the embodiment of the invention is not limited.
In the embodiment of the present invention, the specified object may be an object such as a finger or a pen, and the embodiment of the present invention is not limited.
It can be understood that in the embodiment of the present invention, the electronic device may detect and obtain the touch position of the above-mentioned object on the paper surface through the combination of the reflective mirror and the camera, or the pop-up camera, or the rotation camera, or the infrared device configured by the electronic device. Optionally, the electronic device may include a base for defining a placement angle of the electronic device; when the electronic equipment is used, the electronic equipment and the desktop can be vertically placed at a certain angle by utilizing the base, and books and the like are placed on the desktop at the front end of the electronic equipment. When the reflector is inserted on the camera of the electronic equipment, the camera can shoot the content reflected by the reflector.
102. And the electronic equipment determines the row position of the content currently learned by the user according to the browsing progress of the user.
As an optional implementation manner, the method for obtaining the browsing progress of the user may be as follows:
the electronic equipment obtains the starting time of browsing the pages by the user, and obtains the average browsing speed of browsing the contents of the book category by the user from the historical browsing record according to the information of the user and the book category corresponding to the pages; and the electronic equipment acquires the browsing progress of the user according to the starting time and the average browsing speed.
Optionally, the method for obtaining the browsing progress of the user may further be as follows:
the electronic equipment records the moving track and the moving speed of eyeballs when a user browses the page through the shooting module; and the electronic equipment calculates the browsing progress of the user by using the moving track and the moving speed.
It can be understood that the general accuracy of the content currently learned by the user determined by the browsing progress is not very high, so that the accuracy can be improved by adopting the row position where the content is located. Therefore, by implementing the embodiment, the browsing progress of the user can be obtained by using the starting time and the historical browsing record of the user; or, the browsing progress of the user is obtained by using the movement track and the movement speed of the eyeballs of the user, so that the designated content can be determined by using the auxiliary of the browsing progress.
103. The electronic device obtains an ordinate corresponding to the row position.
In the embodiment of the invention, the electronic device may specifically determine the midpoint of the text at the line position in the vertical direction as the ordinate corresponding to the line position, or may determine the ordinate corresponding to the line position in other manners, which is not limited by the embodiment of the invention.
104. The electronic device determines the content at the target location as the specified content, the target location corresponding to the abscissa and the above-mentioned ordinate of the touch location.
For example, it can be understood that, assuming that the abscissa of the touch position acquired by the electronic device is a, the ordinate corresponding to the row position is b, the coordinates of the target position are (a, b), and the content at the target position is the specified content.
Therefore, when the method described in fig. 1 is implemented and the finger touch position is a blank area, the finger touch position and the browsing progress of the user can be used to determine the target position, so that the designated content which the user intends to point out can be accurately determined, and the learning efficiency of the user can be improved.
Example two
Referring to fig. 2, fig. 2 is a flowchart illustrating another method for determining specified contents according to an embodiment of the present invention. As shown in fig. 2, the method of determining the specified content may include the following steps.
201. The electronic equipment generates a plurality of virtual points in the page; wherein the virtual point corresponds to the coordinate position of the character in the page.
In the embodiment of the invention, the electronic equipment can generate a plurality of virtual points according to the coordinate positions of the characters in the page. Alternatively, a plurality of virtual points may be generated by one character, for example, virtual points may be generated at four corners of the word "circle", and each of the generated four virtual points may represent "circle"; it can be understood that when the font of the characters in the page is larger, the occupied area of the characters is larger, the position of the characters is difficult to accurately describe by one coordinate point, and the position of the characters in the page can be more accurately expressed by a plurality of virtual points, so that the accuracy of the appointed content determined by the subsequent coordinate matching is improved.
202. Dividing the virtual points into a plurality of virtual point groups by the electronic equipment, wherein the virtual point groups correspond to text contents with complete semantics;
for example, if twenty virtual points correspond to the statement of "dance figure out" that is the complete semantic meaning, then the twenty virtual points are divided into the same group of virtual points, and so on, the other virtual points in the page will be divided into groups of virtual points.
As an alternative embodiment, following step 202, the following steps may be further included:
the method comprises the steps that the electronic equipment obtains association relations among a plurality of virtual point groups; in a review mode, the electronic equipment outputs a plurality of text cards, and the plurality of text cards respectively correspond to a plurality of virtual dot groups; the electronic equipment outputs painting indication information, a virtual painting brush and a plurality of virtual pigments with different colors, wherein the painting indication information indicates a user to paint a text card with an association relationship into the same color; when the fact that a user calls the virtual painting brush and the target virtual pigment is detected, the electronic equipment paints the target text card at the painting position of the virtual painting brush into the color corresponding to the target virtual pigment, and a painting result is obtained; the plurality of different colored virtual pigments includes a target virtual pigment; and the electronic equipment collates the painting result according to the association relation to obtain a review result.
For example, each chinese character included in the page is labeled with pinyin, and if the output text cards such as "black", "h i", "sky" and "ti ā n" are used, the final painting result will be able to detect whether the user has mastered the pronunciation of the character.
Further optionally, before the electronic device outputs the painting indication information, the virtual painting brush and the virtual pigments with a plurality of different colors, the painting indication information indicates that the user paints the text card with the association relationship into the same color, the method further includes the following steps:
the electronic equipment judges whether the category number of the association relation among the plurality of virtual point groups is more than one; if not, executing the steps that the electronic equipment outputs painting indication information, a virtual painting brush and a plurality of virtual pigments with different colors to the electronic equipment to correct painting results according to the association relation so as to obtain review results and the like; if yes, the electronic equipment outputs connection indicating information, a virtual painting brush, a plurality of virtual pigments with different colors and names of association relations represented by the virtual pigments with different colors, and the connection indicating information indicates a user to select different virtual pigments to connect the text card according to the association relations; when the fact that a user calls the virtual painting brush and the target connecting line virtual pigment is detected, the electronic equipment generates lines according to painting tracks of the virtual painting brush to be connected with different text cards, the colors of the lines are colors corresponding to the target connecting line virtual pigment, and connecting line results are obtained; the plurality of different colored virtual pigments includes a target wire virtual pigment; and the electronic equipment collates the connection result according to the association relation to obtain the review score.
It can be understood that the electronic device may upload the text corresponding to the plurality of virtual dot groupings to the server, so that the server determines an association relationship between the plurality of virtual dot groupings according to a knowledge repository pre-stored in the server, and receives the association relationship between the plurality of virtual dot groupings fed back by the server.
For example, each chinese character included in the page is labeled with pinyin, and if the text cards such as "black", "h i", "white", "b i", "ti ā n" are output, the "pinyin labels" represented by the red virtual pigment are output, and the "anti-meaning words" represented by the green virtual pigment are output, the final connection result can not only detect whether the user grasps the pronunciation of the character, but also detect whether the user grasps the word meaning relationship between different texts.
Therefore, by implementing the embodiment, the text card is output, and the review result of the user is detected in the modes of painting or connecting lines, so that the method is interesting and is helpful for stimulating the learning interest of the user.
203. When detecting that the touch position of the appointed object in the page is a blank area, the electronic device obtains the touch outline of the appointed object touching the page.
As an optional implementation manner, the electronic device acquiring the touch profile of the specified object to touch the page may include:
the electronic equipment judges whether the difference between the temperature of the appointed object and the current room temperature is larger than a preset temperature difference; if yes, the electronic equipment acquires a temperature map of the page, determines a target temperature according to the highest temperature and the current room temperature in the temperature map, and determines a touch contour at a touch position according to an isothermal line corresponding to the target temperature; if not, the electronic equipment acquires the cross-sectional shape of the appointed object and the inclined angle formed by the appointed object and the page, and determines the touching outline according to the cross-sectional shape and the inclined angle.
For example, if the specified object is a finger, the specified object may emit heat, when the finger touches the page, the local temperature of the page will increase, and the temperature map includes temperature information of the page, specifically, information such as a highest temperature value, a lowest temperature value, an average temperature value and/or a distribution of different temperature values of the page may be reflected, so that a contour touched by the specified object on the page may be determined through the temperature map of the page; in addition, if the temperature of the specified object is similar to the room temperature, the cross-sectional area of the specified object and the inclined angle formed by the specified object and the page can be used for calculating the touch profile by using mathematical knowledge such as projection.
Therefore, by implementing the embodiment, the electronic device can determine the touch profile by using the temperature, or the cross-sectional area of the appointed object and the inclined angle formed by the appointed object and the page, so that the accuracy is high.
204. The electronic equipment judges whether the area of the touch contour is larger than a preset area threshold value or not; if yes, go to step 205-step 208; if not, the process is ended.
In the embodiment of the present invention, optionally, if the area of the touch contour is smaller than or equal to the preset area threshold, the touch contour may be regarded as a point, and the abscissa corresponding to the point is taken as the abscissa of the touch position, and steps 206 to 208 are executed.
205. The electronic device determines a center point of the touch profile and determines a corresponding abscissa of the center point as an abscissa of the touch location.
As an alternative embodiment, the determining, by the electronic device, the center point of the touch profile may include:
the electronic equipment judges whether the touch profile belongs to a preset regular shape or not, if so, the electronic equipment determines the center point of the touch profile according to the method for determining the center point of the first target regular shape corresponding to the touch profile; the first target regular shape is any one of preset regular shapes; if not, the electronic equipment determines a second target regular shape with the smallest deviation value from the touch contour from the preset regular shapes, generates a simulation contour of the second target regular shape at the touch contour, and determines the center point of the touch contour according to the method for determining the center point of the second target regular shape and the simulation contour.
It will be appreciated that the predetermined regular shape may include a regular shape such as rectangle, circle, triangle, diamond, etc., and the center point is easily determined. By implementing the embodiment, the center point of the touch outline of the irregular shape can be determined by utilizing the preset regular shape, so that the accuracy of the abscissa of the determined touch position is improved.
206. And the electronic equipment determines the row position of the content currently learned by the user according to the browsing progress of the user, and acquires the ordinate corresponding to the row position.
207. The electronic equipment is matched according to the distance between the target position and the virtual point, so that a target virtual point matched with the target position is obtained; the target position corresponds to the abscissa and the above-mentioned ordinate of the touch position.
In the embodiment of the invention, it can be understood that the distance between the matched target virtual point and the target position is shortest.
208. And the electronic equipment determines text content corresponding to the target virtual point grouping where the target virtual point is located as specified content.
In the embodiment of the invention, it can be understood that the target virtual points correspond to fewer characters, so that the appointed intention of the user is generally difficult to meet, and the target virtual point grouping in which the target virtual points are positioned can ensure to represent a complete semantic meaning, thereby being beneficial to meeting the appointed intention of the user.
As an optional implementation manner, the method for determining the specified content may further include the following steps:
the electronic equipment judges whether the specified content belongs to a geometric practice problem or not; if yes, the electronic equipment outputs the three-dimensional geometric pattern included in the appointed content; upon detecting a transformation operation for the geometric pattern, the electronic device transforms the three-dimensional geometric pattern according to the transformation operation, which is rotation, flipping, or cutting.
For example, in the title, a cuboid is referred to, and the length is referred to as L, the height is referred to as H, so that the electronic device displays a cuboid on the display screen, marks L and H on lines corresponding to the length and the height, respectively, and displays a rotated view when a rotation conversion operation is detected. It may be appreciated that the transformation operation may be performed in advance to set different gesture instructions or voice instructions, which are not limited in the embodiments of the present invention.
Therefore, by implementing the embodiment, the geometric pattern can be displayed in a three-dimensional form, and the user can rotate, overturn or cut the displayed three-dimensional geometric pattern, so that the geometric subject can be understood by the user.
Therefore, when the method described in fig. 2 is implemented and the finger touch position is a blank area, the finger touch position and the browsing progress of the user can be used to determine the target position, so that the designated content which the user intends to point out can be accurately determined, and the learning efficiency of the user can be improved. In addition, the position of the character in the page can be expressed more accurately by means of a plurality of virtual points. In addition, partitioning the groupings of virtual points can ensure that the specified content represents a complete semantic meaning. In addition, the text card is output, and the review result of the user is detected in a painting or connecting line mode, so that the method is interesting and is helpful for stimulating the learning interest of the user. In addition, the geometric patterns can be displayed in a three-dimensional form, and the user can rotate, overturn or cut the displayed three-dimensional geometric patterns, so that the geometric subjects can be understood by the user.
Example III
Referring to fig. 3, fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the invention. As shown in fig. 3, the electronic device may include:
a first acquiring unit 301, configured to acquire an abscissa of a touch position when detecting that the touch position of the specified object in the page is a blank area;
a first determining unit 302, configured to determine, according to a browsing progress of a user, a row position where a content currently learned by the user is located;
a second acquiring unit 303, configured to acquire an ordinate corresponding to the row position;
the second determining unit 304 is configured to determine that the content at the target position is the specified content, and the target position corresponds to the abscissa and the ordinate of the touch position.
As an alternative embodiment, in the electronic device described above:
the first obtaining unit 301 is further configured to obtain a start time of browsing the page by the user; acquiring the average browsing speed of the user for browsing the content of the book category from the history browsing record according to the information of the user and the book category corresponding to the page; and acquiring the browsing progress of the user according to the starting time and the average browsing speed.
Further optionally, the first obtaining unit 301 is further configured to record, through the photographing module, a movement track and a movement speed of an eyeball when the user browses the page; and calculating the browsing progress of the user by using the moving track and the moving speed.
Therefore, by implementing the embodiment, the browsing progress of the user can be obtained by using the starting time and the historical browsing record of the user; or, the browsing progress of the user is obtained by using the movement track and the movement speed of the eyeballs of the user, so that the designated content can be determined by using the auxiliary of the browsing progress.
Therefore, when the electronic device described in fig. 3 is implemented and the finger touch position is a blank area, the finger touch position and the browsing progress of the user can be used to determine the target position, so that the designated content which the user intends to point out can be accurately determined, and the learning efficiency of the user can be improved.
Example IV
Referring to fig. 4, fig. 4 is a schematic structural diagram of another electronic device according to an embodiment of the invention. The electronic device shown in fig. 4 is obtained by optimizing the electronic device shown in fig. 3. Compared to the electronic device shown in fig. 3, the electronic device shown in fig. 4 may further include:
the first acquisition unit 301 includes:
an acquisition subunit 3011 for acquiring a touch profile of a specified object touching the page;
a judging subunit 3012, configured to judge whether the area touching the contour is greater than a preset area threshold;
a first determining subunit 3013, configured to determine a center point of the touching contour when the determining subunit 3012 determines that the area of the touching contour is greater than a preset area threshold;
the first determining subunit 3013 is further configured to determine a corresponding abscissa of the center point as an abscissa of the touch position.
A generating unit 305, configured to generate a plurality of virtual points in a page; the virtual point corresponds to the coordinate position of the character in the page;
the dividing unit 306 is configured to divide the virtual points into a plurality of virtual point groups, where the virtual point groups correspond to text content with complete semantics;
the second determination unit 304 includes:
a matching subunit 3041, configured to match according to a distance between the target position and the virtual point, so as to obtain a target virtual point that matches the target position;
the second determining subunit 3042 is configured to determine, as the specified content, text content corresponding to the target virtual point group where the target virtual point is located.
As an optional embodiment, the electronic device may further include:
a third obtaining unit 307, configured to obtain an association relationship between a plurality of virtual dot groups after dividing the virtual dot into the plurality of virtual dot groups;
the first output unit 308 is configured to output a plurality of text cards in the review mode, where the plurality of text cards respectively correspond to a plurality of virtual dot groupings;
the first output unit 308 is further configured to output painting indication information, a virtual brush, and a plurality of virtual pigments with different colors, where the painting indication information indicates that the user paints the text card with the association relationship into the same color;
a painting unit 309, configured to paint, when detecting that the user invokes the virtual brush and the target virtual pigment, the target text card at the painting position of the virtual brush as a color corresponding to the target virtual pigment, and obtain a painting result; the plurality of different colored virtual pigments includes a target virtual pigment;
and a checking unit 310 for checking the painting result according to the association relationship to obtain the review result.
Further optionally:
the output unit 308 is further configured to determine whether the number of categories of the association relationship between the plurality of virtual dot groupings is greater than one before outputting the painting indication information, the virtual brush, and the plurality of virtual pigments of different colors; if not, executing the steps of outputting painting indication information, a virtual painting brush and a plurality of virtual pigments with different colors; if yes, the output unit 308 outputs connection indication information, a virtual brush, a plurality of virtual pigments with different colors, and names of association relations represented by the virtual pigments with different colors, where the connection indication information indicates a user to select different virtual pigments to connect the text card according to the association relations; when the fact that a user calls the virtual painting brush and the target connecting line virtual pigment is detected, generating lines according to painting tracks of the virtual painting brush to connect different text cards, wherein the colors of the lines are colors corresponding to the target connecting line virtual pigment, and obtaining a connecting line result; the plurality of different colored virtual pigments includes a target wire virtual pigment; and checking the connection result according to the association relation to obtain the review result.
Therefore, by implementing the embodiment, the text card is output, and the review result of the user is detected in the modes of painting or connecting lines, so that the method is interesting and is helpful for stimulating the learning interest of the user.
As an optional embodiment, the electronic device may further include:
the judging unit 311 is further configured to judge whether the specified content belongs to a geometric practice problem;
a second output unit 312 for outputting a three-dimensional geometric pattern included in the specified content when the judgment unit 311 judges that the specified content belongs to the geometric practice problem;
a transformation unit 313 for transforming the three-dimensional geometric pattern according to a transformation operation, which is rotation, flipping or cutting, when the transformation operation for the geometric pattern is detected.
Therefore, by implementing the embodiment, the geometric pattern can be displayed in a three-dimensional form, and the user can rotate, overturn or cut the displayed three-dimensional geometric pattern, so that the geometric subject can be understood by the user.
As an optional implementation manner, the manner in which the obtaining subunit 3011 obtains the touch profile of the object touching the page may specifically be:
an acquisition subunit 3011, configured to determine whether a difference between the temperature of the specified object and the current room temperature is greater than a preset temperature difference; if yes, acquiring a temperature map of the page, determining a target temperature according to the highest temperature and the current room temperature in the temperature map, and determining a touch contour at a touch position according to an isotherm corresponding to the target temperature; if not, acquiring the cross-sectional shape of the appointed object and the inclined angle formed by the appointed object and the page, and determining the touching contour according to the cross-sectional shape and the inclined angle.
Therefore, by implementing the embodiment, the electronic device can determine the touch profile by using the temperature, or the cross-sectional area of the appointed object and the inclined angle formed by the appointed object and the page, so that the accuracy is high.
The manner in which the first determining subunit 3013 determines the center point of the touch profile may specifically be:
a first determining subunit 3013, configured to determine whether the touch contour belongs to a preset regular shape, if yes, the electronic device determines a center point of the touch contour according to a method for determining a center point of a first target regular shape corresponding to the touch contour; the first target regular shape is any one of preset regular shapes; if not, the electronic equipment determines a second target regular shape with the smallest deviation value from the touch contour from the preset regular shapes, generates a simulation contour of the second target regular shape at the touch contour, and determines the center point of the touch contour according to the method for determining the center point of the second target regular shape and the simulation contour.
By implementing the embodiment, the center point of the touch outline of the irregular shape can be determined by utilizing the preset regular shape, so that the accuracy of the abscissa of the determined touch position is improved.
Therefore, when the electronic device described in fig. 4 is implemented and the finger touch position is a blank area, the finger touch position and the browsing progress of the user can be used to determine the target position, so that the designated content which the user intends to point out can be accurately determined, and the learning efficiency of the user can be improved. In addition, the position of the character in the page can be expressed more accurately by means of a plurality of virtual points. In addition, partitioning the groupings of virtual points can ensure that the specified content represents a complete semantic meaning. In addition, the text card is output, and the review result of the user is detected in a painting or connecting line mode, so that the method is interesting and is helpful for stimulating the learning interest of the user. In addition, the geometric patterns can be displayed in a three-dimensional form, and the user can rotate, overturn or cut the displayed three-dimensional geometric patterns, so that the geometric subjects can be understood by the user.
Example five
Referring to fig. 5, fig. 5 is a schematic structural diagram of another electronic device according to an embodiment of the invention. As shown in fig. 5, the electronic device may include:
a memory 501 in which executable program codes are stored;
a processor 502 coupled to the memory 501;
the processor 502 calls executable program codes stored in the memory 501, and executes a method for determining the specified content in any one of fig. 1 to 2.
The embodiment of the invention discloses a computer readable storage medium storing a computer program, wherein the computer program causes a computer to execute a method for determining specified content in any one of fig. 1-2.
The embodiments of the present invention also disclose a computer program product, wherein the computer program product, when run on a computer, causes the computer to perform some or all of the steps of the method as in the method embodiments above.
The embodiment of the invention also discloses an application release platform which is used for releasing a computer program product, wherein when the computer program product runs on a computer, the computer is enabled to execute part or all of the steps of the method in the method embodiments.
Those of ordinary skill in the art will appreciate that all or part of the steps of the various methods of the above embodiments may be implemented by a program that instructs associated hardware, the program may be stored in a computer readable storage medium including Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), programmable Read-Only Memory (Programmable Read-Only Memory, PROM), erasable programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), one-time programmable Read-Only Memory (OTPROM), electrically erasable programmable Read-Only Memory (EEPROM), compact disc Read-Only Memory (Compact Disc Read-Only Memory, CD-ROM) or other optical disk Memory, magnetic disk Memory, tape Memory, or any other medium that can be used for carrying or storing data that is readable by a computer.
The above detailed description of a method for determining specified content and an electronic device disclosed in the embodiments of the present invention applies specific examples to illustrate the principles and embodiments of the present invention, and the above description of the embodiments is only used to help understand the method and core idea of the present invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present invention, the present description should not be construed as limiting the present invention in view of the above.

Claims (6)

1. A method of determining specified content, the method comprising:
when detecting that the touch position of the appointed object in the page is a blank area, acquiring an abscissa of the touch position;
determining the row position of the content currently learned by the user according to the browsing progress of the user;
acquiring an ordinate corresponding to the row position;
determining the content at a target position as specified content, the target position corresponding to the ordinate and the abscissa of the touch position;
the acquiring the abscissa of the touch position includes:
acquiring a touch contour of the appointed object touching the page;
judging whether the area of the touch profile is larger than a preset area threshold value or not;
if yes, determining the center point of the touch outline;
determining the corresponding abscissa of the center point as the abscissa of the touch position;
the method further comprises the steps of:
generating a plurality of virtual points in the page; the virtual point corresponds to the coordinate position of the character in the page;
dividing the virtual points into a plurality of virtual point groups, wherein the virtual point groups correspond to text contents with complete semantics;
the determining that the content at the target position is the specified content includes:
matching according to the distance between the target position and the virtual point to obtain a target virtual point matched with the target position;
and determining text content corresponding to the target virtual point grouping where the target virtual point is located as specified content.
2. The method of claim 1, wherein after the dividing the virtual points into a number of virtual point groupings, the method further comprises:
acquiring association relations among the plurality of virtual point groups;
outputting a plurality of text cards in a review mode, wherein the plurality of text cards respectively correspond to the plurality of virtual dot groupings;
outputting painting indication information, a virtual painting brush and a plurality of virtual pigments with different colors, wherein the painting indication information indicates a user to paint the text cards with the association relations into the same color;
when the fact that a user calls the virtual painting brush and the target virtual pigment is detected, painting a target text card at a painting position of the virtual painting brush as a color corresponding to the target virtual pigment, and obtaining painting results; the number of different colored virtual pigments includes the target virtual pigment;
and correcting the painting result according to the association relation to obtain a review result.
3. The method according to any one of claims 1 to 2, further comprising:
judging whether the appointed content belongs to a geometric practice problem or not;
if yes, outputting the three-dimensional geometric pattern included in the appointed content;
upon detecting a transformation operation for the geometric pattern, transforming the three-dimensional geometric pattern according to the transformation operation, the transformation operation being a rotation, a flipping, or a cutting.
4. An electronic device, the electronic device comprising:
the first acquisition unit is used for acquiring the abscissa of the touch position of the appointed object when detecting that the touch position of the appointed object in the page is a blank area;
the first determining unit is used for determining the row position of the content currently learned by the user according to the browsing progress of the user;
the second acquisition unit is used for acquiring the ordinate corresponding to the row position;
a second determining unit configured to determine content at a target position as specified content, the target position corresponding to the ordinate and the abscissa of the touch position;
the first acquisition unit includes:
an acquisition subunit, configured to acquire an touching contour of the specified object touching the page;
the judging subunit is used for judging whether the area of the touch profile is larger than a preset area threshold value or not;
the first determining subunit is used for determining a center point of the touch contour when the judging subunit judges that the area of the touch contour is larger than the preset area threshold;
the first determining subunit is further configured to determine a corresponding abscissa of the center point as an abscissa of the touch position;
the electronic device further includes:
the generation unit is used for generating a plurality of virtual points in the page; the virtual point corresponds to the coordinate position of the character in the page;
the dividing unit is used for dividing the virtual points into a plurality of virtual point groups, and the virtual point groups correspond to text contents with complete semantics;
the second determination unit includes:
a matching subunit, configured to match according to a distance between a target position and the virtual point, so as to obtain a target virtual point that matches the target position;
and the second determining subunit is used for determining text content corresponding to the target virtual point grouping where the target virtual point is located as specified content.
5. The electronic device of claim 4, wherein the electronic device further comprises:
a third obtaining unit, configured to obtain an association relationship between a plurality of virtual point groups after dividing the virtual point into the plurality of virtual point groups;
the first output unit is used for outputting a plurality of text cards in a review mode, and the plurality of text cards respectively correspond to the plurality of virtual point groups;
the first output unit is further used for outputting painting indication information, a virtual painting brush and a plurality of virtual pigments with different colors, wherein the painting indication information indicates a user to paint the text cards with the association relations into the same color;
the painting unit is used for painting the target text card at the painting position of the virtual painting brush as the color corresponding to the target virtual painting brush when the user is detected to call the virtual painting brush and the target virtual painting brush, and obtaining painting results; the number of different colored virtual pigments includes the target virtual pigment;
and the checking unit is used for checking the painting result according to the association relation so as to obtain a review result.
6. The electronic device of any one of claims 4 to 5, further comprising:
the judging unit is used for judging whether the appointed content belongs to a geometric practice problem or not;
the second output unit is used for outputting a three-dimensional geometric pattern included in the specified content when the judging unit judges that the specified content belongs to the geometric practice problem;
and the transformation unit is used for transforming the three-dimensional geometric pattern according to the transformation operation when the transformation operation for the geometric pattern is detected, wherein the transformation operation is rotation, overturning or cutting.
CN201910996282.8A 2019-10-18 2019-10-18 Specified content determining method and electronic equipment Active CN111158507B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910996282.8A CN111158507B (en) 2019-10-18 2019-10-18 Specified content determining method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910996282.8A CN111158507B (en) 2019-10-18 2019-10-18 Specified content determining method and electronic equipment

Publications (2)

Publication Number Publication Date
CN111158507A CN111158507A (en) 2020-05-15
CN111158507B true CN111158507B (en) 2024-03-19

Family

ID=70555807

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910996282.8A Active CN111158507B (en) 2019-10-18 2019-10-18 Specified content determining method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111158507B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009271735A (en) * 2008-05-08 2009-11-19 Konica Minolta Holdings Inc Document browsing system and method of displaying additional information associated with document
CN103336576A (en) * 2013-06-28 2013-10-02 优视科技有限公司 Method and device for operating browser based on eye-movement tracking
CN105022810A (en) * 2015-06-30 2015-11-04 广东欧珀移动通信有限公司 Method and device for displaying page location browsing information
WO2016091087A1 (en) * 2014-12-08 2016-06-16 阿里巴巴集团控股有限公司 Information presentation method and apparatus and electronic device
CN105955941A (en) * 2016-04-29 2016-09-21 乐视控股(北京)有限公司 Method and apparatus for selecting to-be-edited text in note application and mobile terminal
CN106775240A (en) * 2016-12-14 2017-05-31 北京小米移动软件有限公司 The triggering method of application program, device and terminal
CN106814854A (en) * 2016-12-29 2017-06-09 杭州联络互动信息科技股份有限公司 A kind of method and device for preventing maloperation
CN107992213A (en) * 2016-10-27 2018-05-04 腾讯科技(深圳)有限公司 A kind of mark generating method and auth method based on virtual reality
CN108762507A (en) * 2018-05-30 2018-11-06 辽东学院 Image tracking method and device
CN109522524A (en) * 2018-10-29 2019-03-26 维沃移动通信有限公司 A kind of text browsing methods and terminal device
CN109753941A (en) * 2019-01-14 2019-05-14 广东小天才科技有限公司 A kind of learning Content searching method and private tutor's equipment based on private tutor's equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103257815A (en) * 2012-02-20 2013-08-21 索尼爱立信移动通讯有限公司 Positioning method for touch location, text selection method and device and electronic equipment

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009271735A (en) * 2008-05-08 2009-11-19 Konica Minolta Holdings Inc Document browsing system and method of displaying additional information associated with document
CN103336576A (en) * 2013-06-28 2013-10-02 优视科技有限公司 Method and device for operating browser based on eye-movement tracking
WO2016091087A1 (en) * 2014-12-08 2016-06-16 阿里巴巴集团控股有限公司 Information presentation method and apparatus and electronic device
CN105022810A (en) * 2015-06-30 2015-11-04 广东欧珀移动通信有限公司 Method and device for displaying page location browsing information
CN105955941A (en) * 2016-04-29 2016-09-21 乐视控股(北京)有限公司 Method and apparatus for selecting to-be-edited text in note application and mobile terminal
CN107992213A (en) * 2016-10-27 2018-05-04 腾讯科技(深圳)有限公司 A kind of mark generating method and auth method based on virtual reality
CN106775240A (en) * 2016-12-14 2017-05-31 北京小米移动软件有限公司 The triggering method of application program, device and terminal
CN106814854A (en) * 2016-12-29 2017-06-09 杭州联络互动信息科技股份有限公司 A kind of method and device for preventing maloperation
CN108762507A (en) * 2018-05-30 2018-11-06 辽东学院 Image tracking method and device
CN109522524A (en) * 2018-10-29 2019-03-26 维沃移动通信有限公司 A kind of text browsing methods and terminal device
CN109753941A (en) * 2019-01-14 2019-05-14 广东小天才科技有限公司 A kind of learning Content searching method and private tutor's equipment based on private tutor's equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Tap-to-search: Interactive and contextual visual search on mobile devices;zhang ning et al.;《2011 IEEE 13th International Workshop on Multimedia Signal Processing》;20111201;第1-5页 *
面向大屏幕手机的单手目标选择方法;辛义忠 等;《计算机辅助设计与图形学学报》;20161015;第28卷(第10期);第1750-1756页 *

Also Published As

Publication number Publication date
CN111158507A (en) 2020-05-15

Similar Documents

Publication Publication Date Title
CN101551724B (en) Method and device for writing characters on touch screen
US8358320B2 (en) Interactive transcription system and method
US10664695B2 (en) System and method for managing digital ink typesetting
CN111563512A (en) Method and device for automatically smearing answers, electronic equipment and storage medium
Taele et al. BopoNoto: An Intelligent Sketch Education Application for Learning Zhuyin Phonetic Script.
CN111079494A (en) Learning content pushing method and electronic equipment
CN111985184A (en) Auxiliary writing font copying method, system and device based on AI vision
JP2001014100A (en) Handwriting input device and writing way learning device
CN111158507B (en) Specified content determining method and electronic equipment
CN112836542A (en) Method, system and computer readable medium for practicing calligraphy based on dot matrix code
WO2021105279A1 (en) Gesture stroke recognition in touch-based user interface input
JPH1063174A (en) Electronic apparatus
Margetis et al. A smart environment for augmented learning through physical books
CN110766997A (en) Copy display method, device and storage medium
CN112988314B (en) Detail page generation method and device, computer equipment and readable storage medium
CN111582281B (en) Picture display optimization method and device, electronic equipment and storage medium
CN111079486B (en) Method for starting dictation detection and electronic equipment
JPS62159291A (en) Sentence input device
CN111563497A (en) Frame question method and device based on movement track, electronic equipment and storage medium
Huh et al. A typeface searching technique using evaluation functions for shapes and positions of alphabets used in ancient books for image searching
EP4030386A1 (en) Generating artwork tutorials
CN112446349A (en) Handwriting detection method and device
EP4029579A1 (en) Generating artwork tutorials
KR20140049228A (en) Control method according to user input and terminal thereof
CN109243244B (en) Writing scoring method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant