CN112181268B - Answering method, device, terminal and system based on intelligent pen - Google Patents

Answering method, device, terminal and system based on intelligent pen Download PDF

Info

Publication number
CN112181268B
CN112181268B CN202010966052.XA CN202010966052A CN112181268B CN 112181268 B CN112181268 B CN 112181268B CN 202010966052 A CN202010966052 A CN 202010966052A CN 112181268 B CN112181268 B CN 112181268B
Authority
CN
China
Prior art keywords
writing
answer
canvas
point
track information
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
CN202010966052.XA
Other languages
Chinese (zh)
Other versions
CN112181268A (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.)
Shenzhen Eaglesoul Technology Co Ltd
Original Assignee
Shenzhen Eaglesoul 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 Shenzhen Eaglesoul Technology Co Ltd filed Critical Shenzhen Eaglesoul Technology Co Ltd
Priority to CN202010966052.XA priority Critical patent/CN112181268B/en
Publication of CN112181268A publication Critical patent/CN112181268A/en
Application granted granted Critical
Publication of CN112181268B publication Critical patent/CN112181268B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/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
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/20Education

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Tourism & Hospitality (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Educational Technology (AREA)
  • Educational Administration (AREA)
  • Human Computer Interaction (AREA)
  • Economics (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • User Interface Of Digital Computer (AREA)
  • Electrically Operated Instructional Devices (AREA)

Abstract

The embodiment of the invention discloses a question answering method based on an intelligent pen, which is applied to an intelligent terminal, wherein the intelligent terminal is in communication connection with the intelligent pen, and the method comprises the following steps: creating an answer canvas for the current question according to the answer starting instruction; acquiring writing track information of the intelligent pen on the dot matrix writing book; converting the coordinates of the writing points in the writing track information according to the ratio of the size of the dot matrix writing book to the size of the answer canvas; drawing corresponding writing points on the answer canvas according to the converted writing track information; and correspondingly storing all writing track information in the answering canvas and the current question according to the answer ending instruction. The invention also discloses an intelligent terminal and a question answering system based on the intelligent pen. By adopting the invention, the experience and efficiency of the digital answering of the user can be improved.

Description

Answering method, device, terminal and system based on intelligent pen
Technical Field
The invention relates to the technical field of teaching software, in particular to a question answering method, a question answering device, a question answering terminal and a question answering system based on an intelligent pen.
Background
With the popularization of computer and internet technologies, the current classroom teaching is no longer limited to the traditional paper teaching, and many schools begin to introduce a tablet or a computer to carry out teaching or arrangement work in daily classrooms or after class. The teacher pushes some questions for the students through teaching software on the intelligent terminal, and the students answer with the intelligent terminal. In the prior art, students can directly check and answer objective questions such as selection questions and judgment questions which do not need to be written by fingers or a mouse, and main answer modes in the prior art have the following defects for subjective question types such as blank filling questions, question answering questions and composition which need to be written: (1) through keyboard input, a certain technical threshold is needed, students in lower grades are not suitable, and great difficulty exists in inputting some graphs or complex formulas; (2) handwriting input on the display screen of the intelligent terminal by using a capacitance pen: the hand feeling experience of the capacitance pen is much worse than the writing experience of a real pen, and large-area content input cannot be finished; (3) writing the answer on paper, and then taking a picture to input: the operation is troublesome, and the answering efficiency is influenced.
The intelligent popular wave makes everyone have interconnection characteristics, such as a television, a refrigerator, even a lamp bulb, a switch and a pen. The pen which is common in the past and can be called as intelligent mainly refers to a capacitance pen which can write directly on a display screen. With the further development of the technology, in recent years, an intelligent pen capable of writing on paper appears on the market, the intelligent pen can acquire writing track information written on the paper by a user in real time and send the writing track information to an intelligent terminal in communication connection with the intelligent terminal, and the intelligent terminal performs restoration display according to the writing track information so as to achieve synchronization of a paper screen.
Disclosure of Invention
In order to solve the problems of subjective question types needing to write contents, poor experience of students in answering and low answering efficiency in the prior art, the invention particularly provides an intelligent pen-based answering method, an intelligent pen-based answering device, an intelligent pen-based answering terminal, a storage medium and an intelligent pen-based answering system.
The invention provides an intelligent pen-based answering method, which is applied to an intelligent terminal, wherein the intelligent terminal is in communication connection with an intelligent pen, and the method comprises the following steps:
creating an answering canvas for the current question according to the received answering starting instruction;
acquiring writing track information of a current writing point of an intelligent pen on a dot matrix writing book, wherein the writing track information comprises a writing point coordinate;
converting the coordinates of the writing points in the writing track information according to the ratio of the size of the dot matrix writing book to the size of the answer canvas;
drawing corresponding writing points on the answer canvas according to the converted writing track information;
and correspondingly storing all writing track information in the answering canvas and the current question according to the received answer ending instruction.
Optionally, the drawing, according to the converted writing track information, a corresponding writing point on the answer canvas includes:
translating the converted writing track information of all writing points on the vertical axis and/or the horizontal axis and then translating the informationDrawing on the answer canvas, wherein the writing point with the smallest ordinate is drawn on the uppermost Y of the writing area of the answer canvas by translationminThe writing point with the smallest axis and abscissa is drawn on the leftmost X of the writing area of the answering canvasminAnd the axis simultaneously keeps the longitudinal distance and the transverse distance between the writing points on the answering canvas unchanged.
Optionally, the method comprises:
taking the writing point with the minimum vertical coordinate as a vertical axis reference point and taking the writing point with the minimum horizontal coordinate as a horizontal axis reference point;
setting the drawing ordinate of the ordinate reference point as YminThe drawing abscissa of the abscissa reference point is set as XminAnd obtaining the drawing coordinate of each writing point according to the longitudinal distance between each writing point and the longitudinal axis reference point on the answer canvas and the transverse distance between each writing point and the transverse axis reference point on the answer canvas.
Optionally, the writing track information further includes a writing state, the writing state includes pen-down, writing and pen-up, and drawing a corresponding writing point on the answer canvas according to the converted writing track information specifically includes:
when the writing state in the writing track information is pen drop, drawing a point on the answer canvas;
when the writing state in the writing track information is writing, connecting the writing track information into a Bezier curve according to the coordinates of the writing points, and drawing the Bezier curve on the answer canvas;
and when the writing state in the writing track information is pen-up, taking the current writing point as the end point of the Bezier curve to finish drawing.
Optionally, the method further comprises:
and generating an answer preview picture of the current question according to writing track information drawn on the question answering canvas, and displaying the answer preview picture in an answer display area of the current question.
Optionally, the method further comprises:
and receiving an answer viewing instruction input on the answer preview picture, acquiring all writing track information corresponding to the current question, and redrawing all writing track information on an answer canvas for displaying.
Optionally, the method further comprises:
and receiving an answer deletion instruction input on the answer preview picture, and deleting all writing track information and the answer preview picture corresponding to the current question.
Optionally, a smart pen icon is displayed in a response area of the current question, and the response starting instruction is triggered when the smart pen icon is clicked.
According to an aspect of the present invention, there is also provided a question answering device based on a smart pen, including:
the answer area creating module is used for creating an answer canvas for the current question according to the received answer starting instruction;
the trace information acquisition module is used for acquiring writing trace information of a current writing point of the intelligent pen on the dot matrix writing book, and the writing trace information comprises a writing point coordinate;
the coordinate conversion module is used for converting the coordinates of the writing points in the writing track information according to the ratio of the size of the dot matrix writing book to the size of the answer canvas;
the track drawing module is used for drawing corresponding writing points on the answer canvas according to the converted writing track information;
and the answer storage module is used for correspondingly storing all writing track information in the answering canvas and the current question according to the received answer ending instruction.
Optionally, the apparatus is configured to implement any of the above-mentioned intelligent pen-based answering methods.
The invention also provides an intelligent terminal based on the intelligent pen answering, which comprises: a wireless communication module, a memory, a processor, and a computer program stored on the memory and executable on the processor; the intelligent terminal is in communication connection with the intelligent pen through the wireless communication module, and the computer program is executed by the processor to realize any one of the steps of the intelligent pen-based answering method.
The invention also provides a storage medium, which stores a computer program, and the computer program realizes the steps of the intelligent pen-based answering method when being executed by a processor.
In addition, the invention also provides an answering system based on the intelligent pen, which comprises the intelligent terminal, the intelligent pen and the dot matrix writing book, wherein the intelligent terminal is in communication connection with the intelligent pen, the intelligent pen acquires writing track information of a current writing point on the dot matrix writing book in real time and sends the writing track information to the intelligent terminal, and the writing track information comprises writing point coordinates.
The embodiment of the invention has the following beneficial effects:
according to the method, the intelligent pen answering mode is introduced into the question, and the content written on the dot matrix writing book by the intelligent pen is synchronously drawn in the answering area of the question in real time, so that the user can quickly finish the subjective question answering without changing the writing habit, and the experience and efficiency of the user digital answering are improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Wherein:
fig. 1 is a flow chart of an answering method based on an intelligent pen in the embodiment of the invention;
FIG. 2 is a flowchart of a method for drawing a writing point on an answering canvas according to an embodiment of the present invention;
FIG. 3 is a structural diagram of an answering device based on an intelligent pen according to an embodiment of the present invention;
FIG. 4 is a schematic illustration of writing on a dot matrix writing pad in an embodiment of the present invention;
FIG. 5 is a schematic diagram illustrating a process of sequentially drawing writing points on the canvas for answering questions according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a topic page of a subjective topic type provided by an embodiment of the present invention;
fig. 7 is a schematic view of a subjective question type answer page provided in an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an intelligent terminal based on an intelligent pen answering in the embodiment of the present invention;
fig. 9 is a schematic structural diagram of an answering system based on an intelligent pen in the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention provides an intelligent pen-based question answering method, terminal and system, and aims to solve the problems that in the prior art, the subjective question type of contents to be written is poor in experience when students answer questions, and the answer efficiency is low. The answering method is applied to the intelligent terminal, and the intelligent terminal comprises pad, mobile phone, notebook computer, intelligent television and other terminal equipment which is provided with a display screen and can be in wireless communication with the outside. The intelligent pen adopted by the embodiment of the invention is provided with the high-speed camera, the pressure sensor, the wireless communication module and the memory, can acquire writing track information (the expression form of the writing track information can be characters, pictures, deletion lines, marks and the like) written on an dot matrix writing book (made of multifunctional coordinate paper with dot matrix codes) in real time, and sends the writing track information to the intelligent terminal connected with the intelligent pen through a wireless network.
Example one
The invention provides a flow chart of an answering method based on an intelligent pen, which comprises the following steps as shown in figure 1:
step S101: an answer canvas is created for the current question according to the received start answer instruction.
Before a user operates the intelligent pen to answer on the dot matrix writing book, the intelligent terminal establishes communication connection with the intelligent pen. The communication connection mode includes wired communication connection and wireless communication connection, wherein the wireless communication connection includes but is not limited to bluetooth, Near Field Communication (NFC), Wireless Local Area Network (WLAN), ZigBee, infrared data association (IrDA), and Wi-Fi direct connection. In practical application, the intelligent pen and the intelligent terminal are in wireless communication connection in a Bluetooth mode preferentially. When the intelligent terminal is connected with the intelligent pen for the first time, the intelligent terminal starts all Bluetooth devices nearby Bluetooth scanning, scanning results are screened according to preset device types and device names, devices meeting conditions are displayed in a list, and a user selects a device corresponding to the device in the list according to the mac address of the intelligent pen to connect. In view of the fact that there are many bluetooth pairing connection technologies in the prior art, the present invention is not described herein again.
When wireless communication connection is adopted, in order to facilitate a user to know the current connection state of the intelligent terminal and the intelligent pen and to quickly reconnect the intelligent terminal and the intelligent pen when the intelligent terminal and the intelligent pen are disconnected, as shown in fig. 6, a control 302 for indicating the connection state is displayed on a page associated with a current title, and the control 302 can receive a click instruction. When the intelligent terminal and the intelligent pen are in a wireless connection state, the control 302 displays "connected"; when the intelligent terminal and the intelligent pen are in a disconnected state, no connection is displayed on the control 302, at this time, a user clicks or touches the control 302 and sends a connection instruction to the intelligent terminal, and after the intelligent terminal receives the connection instruction input by the user on the control 302, the wireless connection with the intelligent pen is reestablished.
In order to realize the reduction drawing of writing track information at the intelligent terminal, the intelligent terminal creates an answer canvas in an answer area of a current question, and defines the size of the answer canvas and the color and thickness of the painting brush. The size of the answer canvas depends on the size of a display screen of the intelligent terminal, and can be set in the system in advance. It should be noted that when a user answers the same question on a plurality of writing pages, a plurality of answer canvases need to be created, and each answer canvas is displayed as one page in the answer area. Specifically, when the user switches to a new writing page to answer, the intelligent terminal creates a new answer canvas to draw the writing track information written on the new writing page by the user. As shown in fig. 6, a special answer page is set for the question type supporting the answer of the smart pen according to the embodiment of the present invention, and the handwriting content of the smart pen on the dot matrix writing book is synchronously restored and displayed in the answer area 310.
Step S102: the method comprises the steps of obtaining writing track information of a current writing point of the intelligent pen on the dot matrix writing book, wherein the writing track information comprises coordinates of the writing point.
When a user operates the intelligent pen to write on the dot matrix writing book, the intelligent pen acquires writing track information of writing points in real time and sends the writing track information to the intelligent terminal. Wherein the writing track information at least comprises writing point coordinates. In order to better restore the handwriting of the intelligent pen on the dot matrix writing book, the writing track information can also comprise information such as writing state, book number, page number, writing pressure value, writing angle and the like.
Step S103: converting the coordinates of the writing points in the writing track information according to the ratio of the size of the dot matrix writing book to the size of the answer canvas;
because the size of the answer canvas is different from the size of the dot matrix writing book, the coordinates of the writing points in the writing track information are converted before the writing points are drawn on the answer canvas, and in general, the geometric conversion is carried out according to the ratio of the size of the dot matrix writing book to the size of the answer canvas. The size of the dot matrix writing book can be preset in the system or acquired through the intelligent pen. Optionally, the converted coordinates of the writing point are saved.
Step S104: drawing corresponding writing points on the answer canvas according to the converted writing track information;
optionally, writing track information further includes writing states, and the writing states include pen-down, writing, and pen-up. During specific drawing, the intelligent terminal judges a writing state value in the writing track information, and when the writing state value is a pen drop, a point is drawn on the answer canvas; and when the writing state is writing, connecting the writing point coordinates acquired in real time into a smooth Bezier curve, and drawing on an answer canvas until writing track information of the writing point with the writing state of pen lifting is acquired, and taking the writing point as the end point of the Bezier curve to finish drawing.
Step S105: and correspondingly storing all writing track information in the answering canvas and the current question according to the received answer ending instruction.
Optionally, a storage button may be set on the answer page, when the user completes answering a certain question, the storage button is clicked to issue an answer ending instruction, and at this time, the intelligent terminal correspondingly stores all writing track information in the answer area and the current question. All writing track information written on the dot matrix writing book by the user is restored and drawn in the answer area, so that all writing track information in the answer area and the current question are correspondingly stored, namely the answer written on the dot matrix writing book by the user and the current question are correspondingly stored.
Optionally, the method further comprises: and generating an answer preview picture of the current question according to the writing track information drawn on the answering canvas.
When multiple answer canvases are created in the answer area, an answer thumbnail of the current question, that is, an answer preview icon 306 of an answer display area 308 displayed on the question page of the current question in fig. 5, may be generated according to all or part of writing track information drawn on the answer canvases of the first page.
Optionally, the answer preview icon 306 is a control that can receive an instruction, and when an answer viewing instruction input on the answer preview is received, all writing track information corresponding to the current question is obtained, and all writing track information is redrawn on the answer canvas for display; and when an answer deletion instruction input on the answer preview image is received, deleting all writing track information and the answer preview image corresponding to the current question.
Because objective questions such as the choice question, the judgment question and the like can be answered directly through checking on the intelligent terminal, and for the simplicity of system design, the intelligent pen writing can not be supported for the question types. To improve the interface friendliness, a smart pen icon 304 is displayed on the title page that supports smart pen writing, as shown in FIG. 6. When a user switches to a certain topic, the intelligent terminal judges whether the current topic supports intelligent pen writing, if so, the intelligent pen icon 304 is displayed on the topic page of the current topic, and when the intelligent pen icon 304 is clicked, a response starting instruction is triggered.
According to the embodiment of the invention, by introducing an intelligent pen answering mode into the question, the content written by the intelligent pen on the dot matrix writing book is synchronously drawn in the answering area of the question in real time, so that the user can quickly complete the answering of the subjective question type without changing the writing habit, and the experience and efficiency of the user in digital answering are improved.
Example two
In order to further embody the object of the present invention, an example is optionally illustrated on the basis of the first embodiment of the present invention. When the intelligent terminal draws writing points on the answer canvas according to the relative positions of the writing points on the dot matrix writing book, the intelligent terminal preferably draws corresponding writing points on the answer canvas according to the converted writing track information, wherein the drawing of the corresponding writing points comprises the following steps: translating the writing track information of all the converted writing points on a longitudinal axis and/or a transverse axis and then drawing the writing track information on the answer canvas, wherein the translation enables the writing point with the minimum longitudinal coordinate to be drawn on the uppermost Y in the writing area of the answer canvasminThe writing point with the smallest axis and abscissa is drawn on the leftmost X of the writing area of the answering canvasminAnd the axis simultaneously keeps the longitudinal distance and the transverse distance between the writing points on the answering canvas unchanged. Specifically, the writing point with the smallest ordinate is taken as a longitudinal axis reference point, and the writing point with the smallest abscissa is taken as a transverse axis reference point; setting the drawing ordinate of the ordinate reference point as YminThe drawing abscissa of the abscissa reference point is set as XminThen according to the longitudinal distance between each writing point and the longitudinal axis reference point on the question-answering canvas, anAnd obtaining the drawing coordinate of each writing point by the transverse distance of each writing point and the transverse axis reference point on the answer canvas.
As shown in fig. 2, a flowchart of a method for drawing a writing point on an answering canvas in an embodiment of the present invention includes:
step S201, judging whether the current writing point is the initial writing point, if so, entering step S202, otherwise, entering step S203;
and S202, setting the current writing point as a longitudinal axis reference point and a transverse axis reference point, drawing the writing upper left corner of the answer canvas by the current writing point, and ending.
Presetting the coordinate of the upper left corner of the writing of the answer canvas as (X)min,Ymin). The longitudinal axis reference point is the writing point with the smallest longitudinal coordinate, and the transverse axis reference point is the writing point with the smallest transverse coordinate. The vertical axis reference point and the horizontal axis reference point may be the same point or different points. During continuous writing, the longitudinal axis reference point and the transverse axis reference point may change.
Step S203: judging whether the converted vertical coordinate of the current writing point is smaller than the converted vertical coordinate of the vertical axis reference point, if so, entering step S204, and if not, entering step S205;
and storing the converted coordinates of each writing point in the system. And comparing the converted vertical coordinates to find out the writing point with the minimum vertical coordinate, and setting the writing point as a vertical axis reference point. Similarly, the converted abscissa is compared, and the writing point with the smallest abscissa is found and set as the abscissa reference point.
Step S204, setting the current writing point as a longitudinal axis reference point;
step S205, judging whether the horizontal coordinate converted from the current writing point is smaller than the horizontal coordinate converted from the horizontal axis reference point, if so, entering step S206, and if not, entering step S207;
step S206, setting the current writing point as a horizontal axis reference point;
step S207, setting the drawing ordinate of the ordinate reference point as YminThe drawing abscissa of the abscissa reference point is set as XminThen obtaining the drawing coordinate of each writing point according to the longitudinal distance between each writing point and the longitudinal axis reference point on the answer canvas and the transverse distance between each writing point and the transverse axis reference point on the answer canvas;
and S208, drawing all the writing points on the answer canvas one by one according to the drawing coordinates of each writing point.
The method for drawing writing points on the answering canvas in the second embodiment is illustrated below, and it is assumed that the user writes at A, B, C, D four positions of the dot-matrix writing book in sequence, as shown in fig. 4. Assuming that the writing coordinate of the upper left corner of the answering canvas is (20, 20), the ratio of the size of the dot matrix writing book to the size of the answering canvas is 2: 1. table 1 can be obtained according to the coordinate conversion method described in the first embodiment.
Figure BDA0002682353140000091
TABLE 1 conversion table of writing points
Further, table 2 can be obtained according to the drawing method of the writing point in the answer canvas in the second embodiment. When the user writes A, B, C, D four points in the dot-matrix writing book in sequence, a schematic drawing of the process of the intelligent terminal on the answering canvas is shown in fig. 5.
Figure BDA0002682353140000101
Table 2 writing point drawing process table
As can be seen from table 2 and fig. 5, when the intelligent terminal draws A, B, C, D four points in sequence, the horizontal axis reference point and the vertical axis reference point are also changed, the horizontal axis reference point is changed from a to D, the vertical axis reference point is changed from a to C, and the drawing coordinates of each point on the answer canvas also follow the change and corresponding movement of the horizontal axis reference point and the vertical axis reference point. In addition, as can be seen from fig. 4 and the fourth diagram of fig. 5, the track information on the dot-matrix writing book is completely synchronized to the answering canvas.
The embodiment of the invention synchronously draws the content written by the intelligent pen on the dot matrix writing book in the upper left area of the answer area of the question in real time, improves the friendliness of the interface, reduces the constraint on the answer of the user and ensures that the dot matrix writing book can be fully used.
EXAMPLE III
Based on the same technical concept as the foregoing embodiment, an embodiment of the present invention provides an answering device based on an intelligent pen, as shown in fig. 7, the device includes:
an answer area creating module 71, configured to create an answer canvas for the current question according to the received answer starting instruction;
a track information obtaining module 72, configured to obtain writing track information of a current writing point of the smart pen on the dot matrix writing book, where the writing track information includes a writing point coordinate;
a coordinate conversion module 73, configured to convert the coordinates of the writing points in the writing trajectory information according to a ratio of the size of the dot-matrix writing book to the size of the answer canvas;
a trace drawing module 74, configured to draw a corresponding writing point on the answer canvas according to the converted writing trace information;
and the answer saving module 75 is configured to correspondingly save all writing track information in the answering canvas and the current question according to the received instruction for ending answering.
In order to realize the reduction drawing of writing track information at the intelligent terminal, the intelligent terminal creates an answer canvas in an answer area of a current question, and defines the size of the answer canvas and the color and thickness of the painting brush. The size of the answer canvas depends on the size of a display screen of the intelligent terminal, and can be set in the system in advance. It should be noted that when a user answers the same question on a plurality of writing pages, a plurality of answer canvases need to be created, and each answer canvas is displayed as one page in the answer area. Specifically, when the user switches to a new writing page to answer, the intelligent terminal creates a new answer canvas to draw the writing track information written on the new writing page by the user. As shown in fig. 6, a special answer page is set for the question type supporting the answer of the smart pen according to the embodiment of the present invention, and the handwriting content of the smart pen on the dot matrix writing book is synchronously restored and displayed in the answer area 310.
When a user operates the intelligent pen to write on the dot matrix writing book, the intelligent pen acquires writing track information of writing points in real time and sends the writing track information to the intelligent terminal. Wherein the writing track information at least comprises writing point coordinates. In order to better restore the handwriting of the intelligent pen on the dot matrix writing book, the writing track information can also comprise information such as writing state, book number, page number, writing pressure value, writing angle and the like.
Because the size of the answer canvas is different from the size of the dot matrix writing book, the coordinates of the writing points in the writing track information are converted before the writing points are drawn on the answer canvas, and in general, the geometric conversion is carried out according to the ratio of the size of the dot matrix writing book to the size of the answer canvas. The size of the dot matrix writing book can be preset in the system or acquired through the intelligent pen. Optionally, the converted coordinates of the writing point are saved.
Optionally, writing track information further includes writing states, and the writing states include pen-down, writing, and pen-up. During specific drawing, the intelligent terminal judges a writing state value in the writing track information, and when the writing state value is a pen drop, a point is drawn on the answer canvas; and when the writing state is writing, connecting the writing point coordinates acquired in real time into a smooth Bezier curve, and drawing on an answer canvas until writing track information of the writing point with the writing state of pen lifting is acquired, and taking the writing point as the end point of the Bezier curve to finish drawing.
Optionally, a storage button may be set on the answer page, when the user completes answering a certain question, the storage button is clicked to issue an answer ending instruction, and at this time, the intelligent terminal correspondingly stores all writing track information in the answer area and the current question. All writing track information written on the dot matrix writing book by the user is restored and drawn in the answer area, so that all writing track information in the answer area and the current question are correspondingly stored, namely the answer written on the dot matrix writing book by the user and the current question are correspondingly stored.
Optionally, the method further comprises: and generating an answer preview picture of the current question according to the writing track information drawn on the answering canvas.
When multiple answer canvases are created in the answer area, an answer thumbnail of the current question, that is, an answer preview icon 306 of an answer display area 308 displayed on the question page of the current question in fig. 5, may be generated according to all or part of writing track information drawn on the answer canvases of the first page.
Optionally, the answer preview icon 306 is a control that can receive an instruction, and when an answer viewing instruction input on the answer preview is received, all writing track information corresponding to the current question is obtained, and all writing track information is redrawn on the answer canvas for display; and when an answer deletion instruction input on the answer preview image is received, deleting all writing track information and the answer preview image corresponding to the current question.
Because objective questions such as the choice question, the judgment question and the like can be answered directly through checking on the intelligent terminal, and for the simplicity of system design, the intelligent pen writing can not be supported for the question types. To improve the interface friendliness, a smart pen icon 304 is displayed on the title page that supports smart pen writing, as shown in FIG. 6. When a user switches to a certain topic, the intelligent terminal judges whether the current topic supports intelligent pen writing, if so, the intelligent pen icon 304 is displayed on the topic page of the current topic, and when the intelligent pen icon 304 is clicked, a response starting instruction is triggered.
When the intelligent terminal draws writing points on the answer canvas according to the relative positions of the writing points on the dot matrix writing book, the intelligent terminal preferably draws corresponding writing points on the answer canvas according to the converted writing track information, wherein the drawing of the corresponding writing points comprises the following steps: translating the writing track information of all the converted writing points on a longitudinal axis and/or a transverse axis and then drawing the writing track information on the answer canvas, wherein the translation enables the writing point with the minimum longitudinal coordinate to be drawn on the uppermost Y in the writing area of the answer canvasminWriting point with minimum axis and abscissaMade on the leftmost X of the writing area of the question-answering canvasminAnd the axis simultaneously keeps the longitudinal distance and the transverse distance between the writing points on the answering canvas unchanged. Specifically, the writing point with the smallest ordinate is taken as a longitudinal axis reference point, and the writing point with the smallest abscissa is taken as a transverse axis reference point; setting the drawing ordinate of the ordinate reference point as YminThe drawing abscissa of the abscissa reference point is set as XminAnd obtaining the drawing coordinate of each writing point according to the longitudinal distance between each writing point and the longitudinal axis reference point on the answer canvas and the transverse distance between each writing point and the transverse axis reference point on the answer canvas.
Optionally, the device is further configured to implement all steps included in the answer method based on the smart pen according to the embodiment of fig. 1 and fig. 2.
According to the embodiment of the invention, by introducing an intelligent pen answering mode into the question, the content written by the intelligent pen on the dot matrix writing book is synchronously drawn in the answering area of the question in real time, so that the user can quickly complete the answering of the subjective question type without changing the writing habit, and the experience and efficiency of the user in digital answering are improved.
Example four
Based on the same technical concept as the foregoing embodiment, the embodiment of the present invention provides an intelligent terminal. As shown in fig. 7, the intelligent terminal 20 includes a wireless communication module 202, a processor 204, a memory 206, and a computer program stored on the memory 206 and executable on the processor 204, wherein the intelligent terminal establishes a communication connection with the intelligent pen through the wireless communication module 202, and the computer program implements the method for answering based on the intelligent pen in the embodiments of fig. 1 and 2 when executed by the processor 204.
The wireless communication module 202 may be a bluetooth module, a Near Field Communication (NFC) module, a Wireless Local Area Network (WLAN) module, a ZigBee module, an infrared data association (IrDA) module, a Wi-Fi direct connection module, or the like. Preferably, the wireless communication module 202 is a bluetooth module.
In practical applications, the Memory 206 may be a volatile Memory (volatile Memory), such as a Random-Access Memory (RAM); or a non-volatile Memory (non-volatile Memory), such as a Read-Only Memory (ROM), a flash Memory (flash Memory), a Hard Disk (HDD), or a Solid-State Drive (SSD); or a combination of the above types of memories and provides instructions and data to the processor 204.
The Processor 204 may be at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a Central Processing Unit (CPU), a controller, a microcontroller, and a microprocessor. It is understood that the electronic devices for implementing the functions of the processor 204 may be other devices, and the embodiments of the present invention are not limited in particular.
According to the embodiment of the invention, by introducing an intelligent pen answering mode into the question, the content written by the intelligent pen on the dot matrix writing book is synchronously drawn in the answering area of the question in real time, so that the user can quickly complete the answering of the subjective question type without changing the writing habit, and the experience and efficiency of the user in digital answering are improved.
EXAMPLE five
Based on the same technical concept as the foregoing embodiment, the embodiment of the present invention provides a storage medium, which can be applied to an intelligent terminal; the technical solutions of the foregoing embodiments substantially or partly contribute to the prior art, or all or part of the technical solutions may be embodied in the form of a software product stored in a storage medium, and including several instructions for causing a computer device (which may be a personal computer, a server, a mobile device, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method described in this embodiment. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Specifically, the computer program instructions corresponding to a method for answering questions based on a smart pen in the embodiments of fig. 1 and fig. 2 may be stored on a storage medium such as an optical disc, a hard disc, a usb disk, etc., and when the computer program instructions corresponding to a method for answering questions based on a smart pen in the storage medium are read or executed by an electronic device, the computer program instructions cause at least one processor to perform the steps of any one of the methods for answering questions based on a smart pen in the embodiments of the present invention.
According to the embodiment of the invention, by introducing an intelligent pen answering mode into the question, the content written by the intelligent pen on the dot matrix writing book is synchronously drawn in the answering area of the question in real time, so that the user can quickly complete the answering of the subjective question type without changing the writing habit, and the experience and efficiency of the user in digital answering are improved.
EXAMPLE six
Based on the same technical concept as the previous embodiment, the embodiment of the invention provides an intelligent pen-based answering system. As shown in fig. 8, the system includes the intelligent terminal 20, the intelligent pen 10, and the dot matrix script 30 described in the third embodiment, where the intelligent terminal 20 and the intelligent pen 10 establish a communication connection, the intelligent pen 10 acquires, in real time, writing trace information of a current writing point on the dot matrix script 30, and sends the writing trace information to the intelligent terminal 20, and the writing trace information includes writing point coordinates.
The dot matrix writing book 30 is made of multifunctional coordinate paper with dot matrix codes. In order to better restore the handwriting of the intelligent pen on the dot matrix writing book, the writing track information can further comprise information such as a writing state, a book number, a page number, a writing pressure value, a writing angle and the like, wherein the writing state comprises pen falling, writing and pen lifting.
According to the embodiment of the invention, by introducing an intelligent pen answering mode into the question, the content written by the intelligent pen on the dot matrix writing book is synchronously drawn in the answering area of the question in real time, so that the user can quickly complete the answering of the subjective question type without changing the writing habit, and the experience and efficiency of the user in digital answering are improved.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.

Claims (10)

1. A question answering method based on an intelligent pen is applied to an intelligent terminal, the intelligent terminal is in communication connection with the intelligent pen, and the method comprises the following steps:
creating an answering canvas for the current question according to the received answering starting instruction;
acquiring writing track information of a current writing point of an intelligent pen on a dot matrix writing book, wherein the writing track information comprises a writing point coordinate;
converting the coordinates of the writing points in the writing track information according to the ratio of the size of the dot matrix writing book to the size of the answer canvas;
drawing corresponding writing points on the answer canvas according to the converted writing track information;
correspondingly storing all writing track information in the answering canvas and the current question according to the received answering finishing instruction;
drawing corresponding writing points on the answer canvas according to the converted writing track information comprises the following steps:
step S201, judging whether the current writing point is the initial writing point, if so, entering step S202, otherwise, entering step S203;
step S202, setting the current writing point as a longitudinal axis reference point and a transverse axis reference point, presetting the writing upper left corner coordinate of the answer canvas as (Xmin, Ymin), wherein the longitudinal axis reference point is the writing point with the minimum longitudinal coordinate, the transverse axis reference point is the writing point with the minimum transverse coordinate, drawing the writing upper left corner of the answer canvas with the current writing point, and ending;
step S203: judging whether the converted vertical coordinate of the current writing point is smaller than the converted vertical coordinate of the vertical axis reference point, if so, entering step S204, and if not, entering step S205;
step S204, setting the current writing point as a longitudinal axis reference point;
step S205, judging whether the horizontal coordinate converted from the current writing point is smaller than the horizontal coordinate converted from the horizontal axis reference point, if so, entering step S206, and if not, entering step S207;
step S206, setting the current writing point as a horizontal axis reference point;
step S207, setting the drawing ordinate of the longitudinal axis reference point as Ymin, and the drawing abscissa of the transverse axis reference point as Xmin, and then obtaining the drawing coordinate of each writing point according to the longitudinal distance of each writing point and the longitudinal axis reference point on the answer canvas and the transverse distance of each writing point and the transverse axis reference point on the answer canvas;
and S208, drawing all the writing points on the answer canvas one by one according to the drawing coordinates of each writing point.
2. The answer method according to claim 1, wherein the writing trajectory information further includes writing states, the writing states include pen-down, writing and pen-up, and drawing corresponding writing points on the answer canvas according to the converted writing trajectory information specifically includes:
when the writing state in the writing track information is pen drop, drawing a point on the answer canvas;
when the writing state in the writing track information is writing, connecting the writing track information into a Bezier curve according to the coordinates of the writing points, and drawing the Bezier curve on the answer canvas;
and when the writing state in the writing track information is pen-up, taking the current writing point as the end point of the Bezier curve to finish drawing.
3. The answering method according to claim 2, further comprising:
and generating an answer preview picture of the current question according to writing track information drawn on the question answering canvas, and displaying the answer preview picture in an answer display area of the current question.
4. The answering method according to claim 3, further comprising:
and receiving an answer viewing instruction input on the answer preview picture, acquiring all writing track information corresponding to the current question, and redrawing all writing track information on an answer canvas for displaying.
5. The answering method according to claim 3, further comprising:
and receiving an answer deletion instruction input on the answer preview picture, and deleting all writing track information and the answer preview picture corresponding to the current question.
6. The answering method according to claim 2, wherein a smart pen icon is displayed in the answering area of the current question, and the start answering command is triggered when the smart pen icon is clicked.
7. The utility model provides an answer device based on intelligence pen which characterized in that includes:
the answer area creating module is used for creating an answer canvas for the current question according to the received answer starting instruction;
the trace information acquisition module is used for acquiring writing trace information of a current writing point of the intelligent pen on the dot matrix writing book, and the writing trace information comprises a writing point coordinate;
the coordinate conversion module is used for converting the coordinates of the writing points in the writing track information according to the ratio of the size of the dot matrix writing book to the size of the answer canvas;
the track drawing module is used for drawing corresponding writing points on the answer canvas according to the converted writing track information;
the answer storage module is used for correspondingly storing all writing track information in the answering canvas and the current question according to the received answering finishing instruction;
the device is used for implementing the intelligent pen-based answering method of any one of claims 1 to 6.
8. An intelligent terminal, characterized in that, intelligent terminal includes: a wireless communication module, a memory, a processor, and a computer program stored on the memory and executable on the processor; wherein the smart terminal establishes a communication connection with a smart pen via the wireless communication module, and the computer program when executed by the processor implements the steps of the method of any one of claims 1-6.
9. A storage medium, characterized in that the storage medium stores a computer program which, when executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
10. An answering system based on an intelligent pen is characterized by comprising the intelligent terminal, the intelligent pen and a dot matrix writing book according to claim 8, wherein the intelligent terminal is in communication connection with the intelligent pen, the intelligent pen acquires writing track information of a current writing point on the dot matrix writing book in real time and sends the writing track information to the intelligent terminal, and the writing track information comprises writing point coordinates.
CN202010966052.XA 2020-09-15 2020-09-15 Answering method, device, terminal and system based on intelligent pen Active CN112181268B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010966052.XA CN112181268B (en) 2020-09-15 2020-09-15 Answering method, device, terminal and system based on intelligent pen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010966052.XA CN112181268B (en) 2020-09-15 2020-09-15 Answering method, device, terminal and system based on intelligent pen

Publications (2)

Publication Number Publication Date
CN112181268A CN112181268A (en) 2021-01-05
CN112181268B true CN112181268B (en) 2022-04-29

Family

ID=73921187

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010966052.XA Active CN112181268B (en) 2020-09-15 2020-09-15 Answering method, device, terminal and system based on intelligent pen

Country Status (1)

Country Link
CN (1) CN112181268B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113159017B (en) * 2021-04-01 2024-02-09 读书郎教育科技有限公司 System and method for intelligently marking key points by scanning pen

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106057000A (en) * 2016-07-05 2016-10-26 成都东方闻道科技发展有限公司 Group teaching system based on dot matrix digital pen and operating method thereof
CN106095294A (en) * 2016-06-08 2016-11-09 福建天泉教育科技有限公司 Method and the system thereof of stroke is synchronized between different platform
CN106201172A (en) * 2016-06-24 2016-12-07 广州视睿电子科技有限公司 The painting canvas display packing of a kind of touch screen terminal and device
CN107292784A (en) * 2017-06-27 2017-10-24 北京新国人智慧科技股份有限公司 Education Administration Information System based on digit optical dot matrix techniques
KR101811543B1 (en) * 2016-12-09 2017-12-27 주식회사 좋은책신사고 Apparatus and method for displaying using input of handwriting by smart pen
CN110827596A (en) * 2018-08-08 2020-02-21 深圳市鹰硕技术有限公司 Question answering method based on intelligent pen
CN111047933A (en) * 2020-01-07 2020-04-21 上海奇初教育科技有限公司 Teaching assistance automatic correction system
CN111066075A (en) * 2019-09-03 2020-04-24 深圳市鹰硕技术有限公司 Classroom teaching interaction method, terminal and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106095294A (en) * 2016-06-08 2016-11-09 福建天泉教育科技有限公司 Method and the system thereof of stroke is synchronized between different platform
CN106201172A (en) * 2016-06-24 2016-12-07 广州视睿电子科技有限公司 The painting canvas display packing of a kind of touch screen terminal and device
CN106057000A (en) * 2016-07-05 2016-10-26 成都东方闻道科技发展有限公司 Group teaching system based on dot matrix digital pen and operating method thereof
KR101811543B1 (en) * 2016-12-09 2017-12-27 주식회사 좋은책신사고 Apparatus and method for displaying using input of handwriting by smart pen
CN107292784A (en) * 2017-06-27 2017-10-24 北京新国人智慧科技股份有限公司 Education Administration Information System based on digit optical dot matrix techniques
CN110827596A (en) * 2018-08-08 2020-02-21 深圳市鹰硕技术有限公司 Question answering method based on intelligent pen
CN111066075A (en) * 2019-09-03 2020-04-24 深圳市鹰硕技术有限公司 Classroom teaching interaction method, terminal and system
CN111047933A (en) * 2020-01-07 2020-04-21 上海奇初教育科技有限公司 Teaching assistance automatic correction system

Also Published As

Publication number Publication date
CN112181268A (en) 2021-01-05

Similar Documents

Publication Publication Date Title
US11687233B2 (en) Handwriting processing method, touch display device, computer device and storage medium
EP3742280A1 (en) Display annotation method, device, apparatus, and storage medium
US10248878B2 (en) Character input method and system as well as electronic device and keyboard thereof
CN103268166B (en) The former handwriting information collection of handwriting input device and display packing
CN110827596A (en) Question answering method based on intelligent pen
JP2010134897A (en) Drawing device, drawing method, program and recording medium
CN111066075A (en) Classroom teaching interaction method, terminal and system
CN104615366B (en) A kind of gesture interaction method towards many equipment
CN112181268B (en) Answering method, device, terminal and system based on intelligent pen
CN109407898A (en) A kind of display methods of electronic whiteboard, storage medium and electronic whiteboard
CN113485570B (en) Multi-user writing method, device, computer readable storage medium and terminal equipment
CN105988760A (en) Printing-based interactive display method and system
CN113849106B (en) Page turning handwriting processing method, device, electronic device and storage medium
WO2018045685A1 (en) Picture display method and device
CN111243378B (en) Drawing method and device based on fractal Brown motion model
KR102312996B1 (en) Method for studying
CN114169304A (en) Table creation method and device, electronic equipment and computer-readable storage medium
CN106598315B (en) Touch display device and background image replacement method thereof
CN113487695A (en) Graph generation method and terminal equipment
JP2022087633A (en) Display device, erasing method switching method, and program
CN112565851A (en) Method and device for personalized configuration of television homepage through mobile phone terminal
TWI819843B (en) An online teaching platform with retrieval auxiliary functions
CN114585992B (en) Writing track processing method, touch control equipment, writing system and storage medium
TW201006417A (en) Method of transforming media on digital photo frame
JP7306190B2 (en) Display device, display method, program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 518100 Room 301, building D, Hongwei Industrial Zone, No. 6, liuxiansan Road, Xingdong community, Xin'an street, Bao'an District, Shenzhen City, Guangdong Province

Applicant after: Shenzhen YINGSHUO Education Service Co., Ltd

Address before: 202b, 2nd floor, building 1, Jianda Industrial Park, Xin'an street, Bao'an District, Shenzhen City, Guangdong Province

Applicant before: Shenzhen YINGSHUO Education Service Co., Ltd

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20211126

Address after: Room 301, building D, Hongwei Industrial Zone, No.6 Liuxian 3rd road, Xingdong community, Xin'an street, Bao'an District, Shenzhen City, Guangdong Province

Applicant after: SHENZHEN EAGLESOUL TECHNOLOGY Co.,Ltd.

Address before: 518100 Room 301, building D, Hongwei Industrial Zone, No. 6, liuxiansan Road, Xingdong community, Xin'an street, Bao'an District, Shenzhen City, Guangdong Province

Applicant before: Shenzhen YINGSHUO Education Service Co., Ltd

GR01 Patent grant
GR01 Patent grant