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.
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.
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.
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.