Contact type interaction method and device between intelligent pen and pen box and medium
The specified information is encoded into charging DC to transmit to the pen box through the smart pen, which solves the complex and time-consuming problem of pairing between the smart pen and the pen box, and realizes fast pairing and efficient Bluetooth connection, synchronous reminder settings, improving classroom teaching efficiency .
Patent Information
- Application Number
- CN202411601041.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-11
- Publication Date
- 2025-02-14
AI Technical Summary
The pairing process between the existing smart pen and the pen case is complicated and time-consuming. Especially in school classroom scenarios, the pairing of multiple smart pens is cumbersome and is easily disturbed by surrounding Bluetooth devices, resulting in interruption and lag.
By contacting the electrode of the smart pen with the charging port of the pen case, the smart pen mixes the specified information into the charging DC and transmits it to the pen case. The pen case recognizes and reads the specified information to establish a wireless communication connection.
It realizes rapid pairing between smart pen and pen case, reduces operational processes, improves Bluetooth connection speed, reduces the probability of equipment damage, and synchronizes students' reminder settings to help students quickly enter the standard writing state.
Smart Images

Figure CN119450427A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of smart pens, and in particular to a contact interaction method, device and medium between a smart pen and a pen box. Background Art
[0002] In the prior art, the pencil case terminal and the smart pen are directly connected through Bluetooth communication, but the pairing requires complex operations, and usually the Bluetooth device needs to be manually selected on the screen. However, for school classroom scenarios, there are usually a large number of smart pens of the same type during use. If a student's smart pen is damaged during class, the teacher replaces it, and the student needs to go through cumbersome steps to complete the pairing operation between the pencil case terminal and the smart pen, which will affect normal classroom learning; in addition, for the pencil case terminal, its operation screen is small, which will further increase the time for pairing screening; at the same time, due to the large number of Bluetooth devices in the surrounding environment, they are prone to mutual interference, resulting in interruptions, freezes and other problems. If an electronic tag is used for pairing, the terminal device needs to have an NFC card reading function, but this module is expensive and consumes a lot of power, and is not suitable for use with a pencil case terminal, and the electronic tag has a small storage capacity. Therefore, there is an urgent need for a low-cost, low-power method that can facilitate data interaction between smart pens and pencil case terminals. Summary of the invention
[0003] In view of the above problems, the present invention aims to provide a contact interaction method, device and medium between a smart pen and a pen case.
[0004] To achieve the technical purpose, the solution of the present invention is: a contact interaction method between a smart pen and a pen box, wherein the electrode of the smart pen is in contact with the charging port of the pen box. After the smart pen receives the charging voltage signal, the smart pen mixes and encodes the specified information into the charging DC and transmits it to the pen box. The pen box can read the specified information in the charging DC by identification. When the smart pen stops charging and starts up, the smart pen can establish a wireless communication connection with the pen box.
[0005] Preferably, the smart pen can be connected to the pen box for wireless communication via Bluetooth, the designated information includes a Bluetooth address, a verification code and status information, and the designated information is transmitted more than or equal to twice; when the pen box verifies that the received restored designated information is consistent with the data, the pen box receives and saves the Bluetooth address, verification code and status information of the smart pen.
[0006] Preferably, when the Bluetooth address stored in the pen box is the same as that of the smart pen, the smart pen can be normally connected to the pen box;
[0007] When the Bluetooth address does not exist in the pen box or the existing Bluetooth address is different from that of the smart pen, the smart pen is a new device. The pen box saves the Bluetooth address and verification code, and sends its own channel number to the smart pen. After the smart pen is turned on next time, the pen box automatically initiates a connection to the smart pen and verifies through the verification code. At the same time, the pen box sends the new Bluetooth address to the server for storage.
[0008] Preferably, when the smart pen is inserted into the pen box, if the specified information cannot be read or the status information indicates that the smart pen is damaged, the Bluetooth address and verification code of the smart pen are not saved;
[0009] When the smart pen is a new device, if the smart pen still contains some offline writing records and reminder settings of the previous student, after the smart pen is inserted into the pen box, the pen box will issue an erase command, and the pen box will also send the reminder settings of the current student to the smart pen.
[0010] Preferably, during mixed encoding, the smart pen, as the sending end, encodes the designated information into an information instruction, wherein the information instruction includes a verification part, a data part and a cut-off part;
[0011] The verification part and the cut-off part are both continuous high-level electric waves with a voltage greater than 5.5V, and the data part is composed of a high-level electric wave with a voltage greater than 5.5V and a low-level electric wave with a voltage less than 5.0V;
[0012] When the pencil case receives continuous high-level radio waves for more than a specified time, it means that the charging DC carries information and enters the decoding operation.
[0013] Preferably, when in use, the smart pen collects handwriting data through sensors, that is, collects writing tracks and writing positions on dot paper through image sensors, collects writing pressure through pressure sensors, and collects changes in pen holding angles during writing through gyroscopes;
[0014] Based on the writing trajectory of each stroke, writing pressure, and pen-holding angle changes during writing, the student's writing habit characteristics are established, and the writing habit characteristics are compared with standard writing movements. A reminder setting is constructed for the student to improve his writing habits. The student's writing movements are standardized one by one according to the standard writing movements and the pen box is used to standardize the student's writing movements, and the non-standard movements are graded and matched with different reminder levels one by one. When the student's writing movements do not meet the standards, the smart pen issues a reminder of a specified level, and the pen box cooperates to display the non-standard content.
[0015] When students have completed part of the specified reminder settings, the writing habit characteristics are identified again to iterate the reminder settings, and the reminders corresponding to irregular movements are optimized; when students are not in a daily practice state, the reminder settings are exited and the reminders are turned off; when students change the smart pen, the pen case transfers the iterative reminder settings to the new smart pen.
[0016] A smart pen device applied to a contact interaction method between a smart pen and a pen box, comprising: a sensor for collecting and acquiring handwriting data generated by a user during a paper writing process;
[0017] The Bluetooth communication module can wirelessly communicate with the pen box and transmit the handwriting data to the pen box;
[0018] A power module, used for obtaining power from the pencil case and receiving or transmitting designated data;
[0019] The processor can analyze and process the designated data or handwriting data.
[0020] A computer-readable storage medium stores computer instructions for causing the computer to execute the aforementioned contact interaction method between a smart pen and a pen box.
[0021] The beneficial effects of the present invention are that the quick pairing method adopted in the present application can greatly facilitate users to quickly replace or connect different smart pens, greatly shortening the operation process; at the same time, it can also automatically plan and recommend suitable channel numbers in advance, further improving the Bluetooth connection speed; at the same time, it can timely synchronize students' reminder settings to help students quickly enter the standardized writing state. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 is a flow chart of an embodiment of the present invention;
[0023] Figure 2 A flowchart of another embodiment of the present invention;
[0024] Figure 3 FIG. 4 is a structural block diagram of the smart pen device of the present invention. DETAILED DESCRIPTION
[0025] The following is combined with Figure 1-3 The present invention is further described in detail with reference to the accompanying drawings and specific embodiments.
[0026] Embodiment 1
[0027] The specific embodiment of the present invention is a contact interaction method between a smart pen and a pen case, and the specific steps are as follows:
[0028] S101, the electrode contact of the smart pen is brought into contact with the charging port of the pen case. After the smart pen receives the charging voltage signal, the smart pen mixes and encodes the designated information into the charging DC and transmits it to the pen case; the designated information includes the Bluetooth address, the check code and the status information. For example, the Bluetooth address is loaded into the charging DC circuit, and the normal charging voltage is 5V; when the voltage is greater than 5.5V, it is defined as 1; when the voltage is less than 5V, it is defined as 0, so the data 01 can be mixed in the charging DC and transmitted. During mixed encoding, the smart pen, as the sending end, encodes the designated information into an information instruction, and the information instruction includes a verification part, a data part and a cut-off part; the verification part and the cut-off part are both continuous high-level electric waves with a voltage greater than 5.5V, and the data part consists of a high-level electric wave with a voltage greater than 5.5V and a low-level electric wave with a voltage less than 5.0V; when the pen case receives continuous high-level electric waves for more than a specified time, it means that the charging DC carries information and enters the decoding operation.
[0029] S102, the pen box can read the designated information in the charging DC by identification, and the designated information is transmitted for more than or equal to two times. Generally, three times are selected to effectively verify the accuracy of the data and avoid data errors caused by unstable voltage.
[0030] S103, the smart pen can be wirelessly connected to the pen box via Bluetooth. When the pen box verifies that the received and restored designated information is consistent with the data, the pen box receives and saves the Bluetooth address, verification code and status information of the smart pen. The status information usually includes completely normal and damaged. If the Bluetooth module cannot be connected, the camera module collects data abnormally, the pressure sensor is abnormal, the voltage is abnormal, etc., it is considered damaged.
[0031] In this application, the smart pen does not initiate a connection. The pencil case directly initiates a connection to the pen with the recorded address. Because the address is unique, there will be no problem of binding one pen to several pencil cases, and several pencil cases can be connected. Moreover, since the connection is initiated for the Bluetooth address of the smart pen, the connection speed is extremely fast, and it can be automatically connected in about a few hundred milliseconds after booting. In addition, there is no need to use a screen on the pencil case (the traditional method requires manual selection of Bluetooth devices, which is cumbersome, especially when there are multiple devices in the room), which can greatly save costs and power consumption, and also reduce the probability of device damage.
[0032] Embodiment 2
[0033] In actual use, since the smart pen is a fragile object, the camera module may malfunction due to a fall, or the battery may age and cause low voltage. In order not to affect classroom teaching, it is necessary to be able to replace the smart pen in a timely and fast manner. The method of this application can be replaced as needed and paired quickly, which can meet the needs of daily classroom teaching.
[0034] S201, when the Bluetooth address stored in the pen box is the same as that of the smart pen, the smart pen can be normally connected to the pen box;
[0035] S202. When the Bluetooth address does not exist in the pen box or the existing Bluetooth address is different from that of the smart pen, the smart pen is a new device. The pen box saves the Bluetooth address and the verification code, and sends its own channel number to the smart pen. After the smart pen is turned on next time, the pen box automatically initiates a connection to the smart pen and verifies through the verification code. At the same time, the pen box sends the new Bluetooth address to the server for storage.
[0036] S203, when the smart pen is inserted into the pen box, if the specified information cannot be read or the status information indicates that the smart pen is damaged, the Bluetooth address and verification code of the smart pen are not saved;
[0037] S204, when the smart pen is a new device, if the smart pen still contains some offline writing records and reminder settings of the previous student, after the smart pen is inserted into the pen box, the pen box will issue an erase command, and the pen box will also send the reminder settings of the current student to the smart pen. When in use, it will not happen that the smart pen of student A is inserted into the pen box of student B, and then the handwriting of student A is transferred to the database of student B.
[0038] Embodiment 3
[0039] S301, when using, if the student's smart pen and pen case are both new devices, it is necessary to rebuild the student's standard pen reminder settings; if only the smart pen is a new device, the smart pen obtains the reminder settings through the charging contact;
[0040] S302, the smart pen collects handwriting data through sensors, that is, collects writing tracks and writing positions on dot paper through image sensors, collects writing pressure through pressure sensors, and collects pen holding angle changes during writing through gyroscopes; the gyroscope can accurately identify the student's pen holding posture, whether it is a straight grip, a hook grip, or too tilted or too vertical, and can accurately identify it with the motor and indicator light for real-time reminders;
[0041] S303. Based on the writing trajectory of each stroke, the writing pressure, and the change in the pen holding angle during writing, the writing habit characteristics of the student are established, and the writing habit characteristics are compared with the standard writing movements, and a reminder setting is constructed for the student to improve his writing habits. The student's writing movements are standardized one by one in accordance with the standard writing movements in conjunction with the pen box, and the non-standard movements are graded and matched with different reminder levels one by one; when the student's writing movements do not meet the standards, the smart pen issues a reminder of the specified level, and the pen box cooperates to display the non-standard content.
[0042] For example, if a student holds the pen incorrectly and writes with incorrect force, the pen holding posture reminder will be given priority. When the pen is tilted too high or too low, the smart pen will vibrate strongly and the reminder light will flash. After the angle is restored, the reminder will be turned off. At the same time, the pen case will display the incorrect pen holding posture. When the writing force is too light, only a weak light reminder will be given. When the pen holding posture is corrected, the next wrong habit will be corrected.
[0043] S304, when the student completes part of the specified reminder setting content, the writing habit characteristics are identified again to iterate the reminder setting, and the reminder corresponding to the irregular action is optimized;
[0044] S305. When the student is not in a daily practice state, exit the reminder setting and close the reminder.
[0045] A smart pen device applied to a contact interaction method between a smart pen and a pen box, comprising: a sensor 1, used to collect handwriting data generated by a user during the process of writing on paper; the specific sensor comprises an image sensor, a pressure sensor and a gyroscope;
[0046] The Bluetooth communication module 3 can be connected to the pen box by wireless communication and transmit the handwriting data to the pen box;
[0047] A power module 2, used for obtaining power from the pencil case and receiving or transmitting designated data;
[0048] The processor 4 can analyze and process the designated data or handwriting data. The processor 4 is also electrically connected to a vibration motor and an LED lamp bead. In order to avoid interfering with other students' homework, a buzzer or a speaker is generally not provided.
[0049] A computer-readable storage medium stores computer instructions for causing the computer to execute the aforementioned contact interaction method between a smart pen and a pen box.
[0050] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any slight modification, equivalent substitution and improvement made to the above embodiment based on the technical essence of the present invention should be included in the protection scope of the technical solution of the present invention.
Claims
1. A contact interaction method between a smart pen and a pen case, characterized in that: The electrode of the smart pen is brought into contact with the charging port of the pen case. After the smart pen receives the charging voltage signal, it will mix and encode the specified information into the charging DC and transmit it to the pen case. The pen case can read the specified information in the charging DC by identification. When the smart pen stops charging and is turned on, the smart pen can establish a wireless communication connection with the pen case.
2. The contact interaction method between the smart pen and the pen case according to claim 1, characterized in that: The smart pen can be connected to the pen box for wireless communication via Bluetooth, the designated information includes a Bluetooth address, a verification code and status information, and the designated information is transmitted more than or equal to twice; when the pen box verifies that the received restored designated information is consistent with the data, the pen box receives and saves the Bluetooth address, verification code and status information of the smart pen.
3. The contact interaction method between the smart pen and the pen case according to claim 2, characterized in that: When the Bluetooth address stored in the pen box is the same as that of the smart pen, the smart pen can be normally connected to the pen box; When the Bluetooth address does not exist in the pen box or the existing Bluetooth address is different from that of the smart pen, the smart pen is a new device. The pen box saves the Bluetooth address and verification code, and sends its own channel number to the smart pen. After the smart pen is turned on next time, the pen box automatically initiates a connection to the smart pen and verifies through the verification code. At the same time, the pen box sends the new Bluetooth address to the server for storage.
4. The contact interaction method between the smart pen and the pen case according to claim 3, characterized in that: When the smart pen is inserted into the pen box, if the specified information cannot be read or the status information indicates that the smart pen is damaged, the Bluetooth address and verification code of the smart pen will not be saved; When the smart pen is a new device, if the smart pen still contains some offline writing records and reminder settings of the previous student, after the smart pen is inserted into the pen box, the pen box will issue an erase command, and the pen box will also send the reminder settings of the current student to the smart pen.
5. The contact interaction method between the smart pen and the pen case according to claim 4, characterized in that: During mixed coding, the smart pen, as the sending end, encodes the designated information into an information instruction, wherein the information instruction includes a verification part, a data part and a cut-off part; The verification part and the cut-off part are both continuous high-level electric waves with a voltage greater than 5.5V, and the data part is composed of a high-level electric wave with a voltage greater than 5.5V and a low-level electric wave with a voltage less than 5.0V; When the pencil case receives continuous high-level radio waves for more than a specified time, it means that the charging DC carries information and enters the decoding operation.
6. The contact interaction method between the smart pen and the pen case according to claim 3, characterized in that: When in use, the smart pen collects handwriting data through sensors, that is, the writing trajectory and writing position are collected through the image sensor in conjunction with the dot paper, the writing pressure is collected through the pressure sensor, and the change in the pen holding angle during writing is collected through the gyroscope; Based on the writing trajectory of each stroke, writing pressure, and pen-holding angle changes during writing, the student's writing habit characteristics are established, and the writing habit characteristics are compared with standard writing movements. A reminder setting is constructed for the student to improve his writing habits. The student's writing movements are standardized one by one according to the standard writing movements and the pen box is used to standardize the student's writing movements, and the non-standard movements are graded and matched with different reminder levels one by one. When the student's writing movements do not meet the standards, the smart pen issues a reminder of the specified level, and the pen box cooperates to display the non-standard content. When students have completed some of the specified reminder settings, the writing habit characteristics are identified again to iterate the reminder settings, and the reminders corresponding to the irregular actions are optimized; When students are not in daily practice state, they exit the reminder setting and turn off the reminder; when students change the smart pen, the pen box transfers the iterated reminder setting to the new smart pen.
7. A smart pen device using the contact interaction method between a smart pen and a pen case as claimed in any one of claims 1 to 6, characterized in that: include: The sensor is used to collect and obtain the handwriting data generated by the user during the process of writing on paper; The Bluetooth communication module can wirelessly communicate with the pen box and transmit the handwriting data to the pen box; A power module, used for obtaining power from the pencil case and receiving or transmitting designated data; The processor can analyze and process the designated data or handwriting data.
8. A computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause the computer to execute the contact interaction method between a smart pen and a pen box as claimed in any one of claims 1 to 6.
Citation Information
Patent Citations
Method for utilizing wireless charging interface for automatically pairing Bluetooth peripheral and host
CN105208515A
Pairing method and pairing system
CN113271576A
Pen box and pen box system
CN116456295A
Intelligent pen writing interaction control method and system
CN118394230A