Nothing Special   »   [go: up one dir, main page]

CN109731278A - Data processing method and device, handwriting, electronic equipment and readable storage medium storing program for executing - Google Patents

Data processing method and device, handwriting, electronic equipment and readable storage medium storing program for executing Download PDF

Info

Publication number
CN109731278A
CN109731278A CN201811517625.XA CN201811517625A CN109731278A CN 109731278 A CN109731278 A CN 109731278A CN 201811517625 A CN201811517625 A CN 201811517625A CN 109731278 A CN109731278 A CN 109731278A
Authority
CN
China
Prior art keywords
information
pen body
attitude
posture
data
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.)
Pending
Application number
CN201811517625.XA
Other languages
Chinese (zh)
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201811517625.XA priority Critical patent/CN109731278A/en
Publication of CN109731278A publication Critical patent/CN109731278A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure is directed to a kind of data processing method and device, handwriting, electronic equipment and readable storage medium storing program for executing.A kind of data processing method includes: the attitude data for the handwriting transmission that acquisition is connect with the electronic equipment;Prompt information is determined according to the attitude data;Show the prompt information.By showing prompt information to player in the present embodiment, it can be convenient adjustment while player consults prompt information and turn a posture, to learn to turn pen as early as possible, learning difficulty can be reduced, increase and turn enjoyment.

Description

Data processing method and device, pen body, electronic equipment and readable storage medium
Technical Field
The present disclosure relates to the field of data processing technologies, and in particular, to a data processing method and apparatus, a pen body, an electronic device, and a readable storage medium.
Background
Currently, many players choose a few small event issue times at idle, for example a small event may be a pen turn. In the process of rotating the pen, the flexibility and the coordination of the fingers can be exercised while the player is pleased, the coordination of eyes and the fingers can be exercised, even the cerebellum can be exercised, and the attention-concentrating ability, the memory and the learning ability of the player can be improved.
However, the pen rotation has a certain difficulty, so that some players give up practice after practice for several times, which is not favorable for improving the activity experience.
Disclosure of Invention
The present disclosure provides a data processing method and apparatus, a pen body, an electronic device, and a readable storage medium to solve the deficiencies of the related art.
According to a first aspect of the embodiments of the present disclosure, there is provided a data processing method applied to an electronic device, including:
acquiring attitude data sent by a pen body connected with the electronic equipment;
determining prompt information according to the attitude data;
and displaying the prompt information.
Optionally, determining the prompt information according to the posture data includes:
constructing first posture information of the pen body according to the posture data, and acquiring second posture information of a reference object in a currently played video;
comparing the second attitude information with the first attitude information to obtain a comparison result;
and generating prompt information according to the comparison result.
Optionally, the generating of the prompt information according to the comparison result includes:
if the comparison result shows that the second posture information is the same as the first posture information, prompt information representing that the posture is correct is generated;
and if the comparison result shows that the second attitude information is different from the first attitude information, generating prompt information representing that the first attitude information is adjusted according to the second attitude information.
Optionally, the prompt message is displayed by a display or played by a speaker.
According to a second aspect of the embodiments of the present disclosure, there is provided a data processing apparatus applied to an electronic device, including:
the gesture data acquisition module is configured to acquire gesture data sent by a pen body connected with the electronic equipment;
a prompt information determination module configured to determine prompt information from the pose data;
and the prompt information display module is configured to display the prompt information.
Optionally, the prompt information determining module includes:
the gesture information acquisition unit is configured to construct first gesture information of the pen body according to the gesture data and acquire second gesture information of a reference object in a currently played video;
a comparison result obtaining unit configured to compare the second posture information with the first posture information to obtain a comparison result;
and the prompt information generating unit is configured to generate prompt information according to the comparison result.
Optionally, the prompt information generating unit is further configured to:
if the comparison result shows that the second posture information is the same as the first posture information, prompt information representing that the posture is correct is generated;
and if the comparison result shows that the second attitude information is different from the first attitude information, generating prompt information representing that the first attitude information is adjusted according to the second attitude information.
According to a third aspect of the embodiments of the present disclosure, a pen body is provided, which includes a pen body, and a spatial attitude sensor and a communication module disposed inside the pen body; the space attitude sensor is connected with the communication module; the communication module is in communication connection with external electronic equipment;
the spatial attitude sensor is configured to acquire attitude data of the pen body and send the attitude data to the communication module;
the communication module is configured to send the posture data to the electronic equipment, and the electronic equipment processes the posture data to obtain prompt information and displays the prompt information to a player.
Optionally, the spatial attitude sensor comprises at least one of: acceleration sensor, gyroscope, geomagnetic sensor.
Optionally, the number of the spatial attitude sensors is at least two, and at least one spatial attitude sensor is respectively arranged at two ends of the pen body.
Optionally, the pen body surface is provided with a plurality of protrusions configured to increase friction with the finger stall.
Optionally, the protrusions are made of a magnetic material, and the finger stall is made of a magnetic material or a ferromagnetic material.
Optionally, the protrusion is a suction cup.
Optionally, the pen body further comprises a magnetic assembly arranged inside the pen body; the magnetic assembly is configured to provide a magnetic force to attract a finger glove; the finger stall is made of magnetic materials or ferromagnetic materials.
Optionally, the magnetic assembly is a permanent magnet or an electromagnet.
According to a fourth aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor;
a memory for storing the processor-executable instructions;
the processor is configured to execute executable instructions in the memory to implement the steps of the method of the first aspect.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a system adapted to rotate a pen, comprising the pen body according to the third aspect and the electronic device according to the fourth aspect.
According to a sixth aspect of embodiments of the present disclosure, there is provided a machine-readable storage medium having stored thereon machine-executable instructions which, when executed by a processor, implement the steps of the method of the first aspect.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the embodiment, the spatial attitude sensor in the pen body can acquire the attitude data, and the communication module in the pen body can send the attitude data to the electronic equipment. After the electronic equipment acquires the attitude data, prompt information can be determined; and then displaying the prompt information for the player to review. For example, the prompt information representation adjusts the first posture information according to the second posture information, so that a player can conveniently look up the prompt information and adjust the pen-turning posture at the same time, so as to learn to turn the pen as soon as possible, the learning difficulty can be reduced, and the pen-turning fun can be increased.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a diagram illustrating an application scenario in accordance with an exemplary embodiment;
FIG. 2 is a schematic diagram of a pen body according to an exemplary embodiment;
FIG. 3 is a schematic diagram of another pen body configuration according to an exemplary embodiment;
FIG. 4 is a schematic structural diagram of yet another pen body according to an exemplary embodiment;
FIG. 5 is a flow diagram illustrating a data processing method in accordance with an exemplary embodiment;
FIG. 6 is a schematic flow chart illustrating the generation of a prompt message in accordance with an illustrative embodiment;
FIG. 7 is a diagram illustrating the effects of displaying a hint information in accordance with an illustrative embodiment;
FIGS. 8-9 are block diagrams illustrating a data processing module according to an exemplary embodiment;
FIG. 10 is a block diagram illustrating an electronic device in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of devices consistent with certain aspects of the present disclosure as recited in the claims below.
Currently, many players choose a few small event issue times at idle, for example a small event may be a pen turn. In the process of rotating the pen, the flexibility and the coordination of the fingers can be exercised while the player is pleased, the coordination of eyes and the fingers can be exercised, even the cerebellum can be exercised, and the attention-concentrating ability, the memory and the learning ability of the player can be improved.
However, the pen rotation has a certain difficulty, so that some players give up practice after practice for several times, which is not favorable for improving the activity experience.
In order to solve the above problem, an embodiment of the present disclosure provides a pen body suitable for a pen rotation and a data processing method applied to an electronic device, and fig. 1 is an application scenario diagram provided by the embodiment of the present disclosure. Referring to fig. 1, the electronic device 10 may communicate with the pen body 20 directly or indirectly through a forwarding device 30, which may be a server, a router, etc., with the pen body 20. In the following embodiments, taking the electronic device 10 and the pen body 20 directly communicate as an example, the connection mode may be a bluetooth connection or a WiFi connection. The electronic device can be a personal computer, a tablet computer, a smart phone and other devices with a display function.
The invention of the disclosed embodiment is that the posture data of the pen body 20 can be sent to the electronic device 10 during the process of rotating the pen body 20 by the player, so that the electronic device 10 can determine the posture information of the pen body 20, and the posture of the pen body and/or the fingers of the player can be obtained by using the posture information. During the process of rotating the pen, the electronic device 10 may also play a pen rotating video, and by comparing the gesture of the finger in the video with the gesture of the player and the gesture of the pen body 20 in the video with the gesture of the pen body in the video, it may be determined whether the gesture of the player is standard. When the player and the video are the same in posture, the electronic device can prompt the player that the posture is correct; when the postures of the player and the video are different, the electronic equipment can prompt the player to adjust the posture, so that the player can learn the pen turning posture as soon as possible, and the interest of pen turning is improved.
FIG. 2 is a schematic structural diagram of a pen body according to an exemplary embodiment. Referring to fig. 2, a pen body 20 includes a pen body 21, and a spatial attitude sensor 22 and a communication module 23 disposed inside the pen body 21. The spatial attitude sensor 22 is connected with the communication module 23; the communication module 23 establishes a communication connection with the external electronic device 10. Wherein,
the spatial attitude sensor 22 is configured to acquire attitude data of the pen body 20 and transmit the attitude data to the communication module 23.
The communication module 23 is configured to transmit the posture data to the electronic device 10, so that the electronic device 10 processes the posture data to obtain prompt information and presents the prompt information to the player.
In some embodiments, the pen body 21 may be configured as a cylinder. Of course, the pen body 21 can also be a cylinder in the middle and an ellipsoid at the two ends, so that the speed of rotating the pen can be increased.
In some embodiments, the spatial attitude sensor 22 includes at least one of: acceleration sensor, gyroscope, geomagnetic sensor.
For example, the spatial attitude sensor 22 may be an acceleration sensor. The acceleration sensor may acquire the acceleration of the single finger stall 21, and the direction of the acceleration may be used as the direction of the single finger stall 21 and/or the finger.
As another example, the spatial attitude sensor 22 may be a gyroscope. The gyroscope can acquire the offset angle of the single finger sleeve 21 and/or the finger in each coordinate axis direction under a space coordinate system, can use the offset angle in each coordinate axis direction as the offset angle of the single finger sleeve 21 and/or the finger, and can even calculate the offset vector of the single finger sleeve 21 and/or the finger according to the offset angle.
As another example, the spatial attitude sensor 22 may be a geomagnetic sensor. The geomagnetic sensor may acquire the magnetic direction of the single finger sleeve 21, and the magnetic direction may be used as the direction of the single finger sleeve 21 and/or the finger.
It should be noted that the skilled person may select the composition of the spatial attitude sensor 22 according to a specific scene, for example, the combination of the acceleration sensor and the geomagnetic sensor, the combination of the acceleration sensor and the gyroscope, the combination of the gyroscope and the geomagnetic sensor, and the combination of the acceleration sensor, the gyroscope and the geomagnetic sensor. Of course, the technician may select other sensors to obtain the direction, the angle, etc., and the corresponding schemes fall within the scope of the present application.
It should be noted that the spatial posture sensor 22 may be provided at any position of the pen body 21. In some embodiments, the number of the spatial attitude sensors 22 is at least two, and at least one spatial attitude sensor 22 is provided at each end of the pen body 21. Thus, in the present embodiment, the posture information can be determined better by the posture data of the two ends of the pen body 21.
In some embodiments, the communication module 23 may include at least one of: WiFi chip and bluetooth chip. Of course, technicians may also select other communication chips, for example, Zigbee chips, according to a specific scenario, and the scheme of the present application may also be implemented, and the corresponding scheme falls within the protection scope of the present application.
It should be noted that the number of the communication module 23 may be one, so that the spatial attitude sensors 22 in the pen body 20 are all connected to the communication module 23, and then the communication module 23 transmits the attitude data collected by each spatial attitude sensor 22 to the electronic device 10. Of course, the communication modules 23 may correspond to the spatial gesture sensors 22 one by one, so that the communication modules 23 can establish communication connection with the electronic device 10, and the electronic device 10 can combine the gesture data of the communication modules 23 to calculate the gesture information of the pen body and the gesture information of the hand.
Of course, in this embodiment, one communication module 23 in the pen body 20 may be designated as a master communication module, and the rest communication modules may be designated as slave communication modules. The slave communication module transmits the attitude data to the master communication module, the master communication module integrates the master attitude data and the slave attitude data and transmits the integrated data to the electronic device 10, and the slave attitude data can be directly transmitted. The pose data is then processed by the electronic device 10.
Technical staff can select a proper communication mode according to a specific scene, and under the condition that the attitude data can be sent to the electronic equipment, the corresponding scheme falls into the protection scope of the application.
Considering that the pen body falls from the hand during the pen rotating process. Referring to fig. 3, in the present embodiment, a plurality of protrusions 24 are disposed on the surface of the pen body 21. The protrusions 24 are configured to increase friction with the finger.
In some embodiments, the player may also wear finger sleeves adapted for turning the pen, and the protrusions 24 may rub against the finger sleeves, buffering the speed at which the pen body 20 falls.
In some embodiments, if the finger glove is made of a magnetic or ferromagnetic material, the protuberance 24 may be made of a magnetic material. Thus, the protrusions 24 and the finger stalls attract each other, so that the pen body can be prevented from falling off, and the interest of the player in rotating the pen is increased.
The magnetic material may include soft magnetic material or hard magnetic material, and the ferromagnetic material may be material capable of being attracted by magnetic force, such as alloy and metal formed by iron, nickel, cobalt, etc. It is understood that, in the case where the protrusions 24 and the finger stalls are capable of generating attraction, the material of which the protrusions 24 and the finger stalls are made may be selected according to the scene, and the corresponding scheme falls within the scope of the present application.
In some embodiments, protruding thing 24 can be the sucking disc, and the sucking disc can adopt silica gel material to make, and protruding thing 24 can contact the dactylotheca or finger at commentaries on classics a in-process, and the sucking disc receives the oppression that finger stall or finger can produce suction, can prevent that the handwriting from dropping to increase the player and change the interest of a pen.
Referring to fig. 4, the pen body 20 of the present embodiment further includes a magnetic assembly 25 disposed inside the pen body 21. The magnetic assembly 25 is configured to provide a magnetic force to attract the finger glove. In some embodiments, the magnetic assembly 25 may be a permanent magnet or an electromagnet. The finger stall can adopt magnetic material to make under this condition, can also adopt ferromagnetic material to make, can adopt the electro-magnet to make again, and magnetic force component 25 and finger stall attract each other like this to can prevent that the handwriting from dropping, thereby increase the player and change the interest of pen.
FIG. 5 is a flowchart illustrating a data processing method according to an example embodiment. Referring to fig. 5, a data processing method includes steps 501 to 503, wherein:
501, acquiring gesture data sent by a pen body connected with the electronic equipment.
In this embodiment, the pen body 20 is provided with a spatial attitude sensor and a communication module. During the process of rotating the pen by the player, the spatial attitude sensor 21 may collect attitude data of the position, and then send the attitude data to the communication module 22, and the communication module 22 sends the attitude data to an opposite-end communication module arranged in the electronic device 10. The peer communication module may store the pose data in a local memory or cache, or may send the pose data directly to a processor in the electronic device 10.
502, determining prompt information according to the attitude data.
In this embodiment, the processor in the electronic device 10 may determine the prompt information according to the pose data. Referring to FIG. 6, the processor may construct first pose information for the pen body 20 based on the pose data (corresponding to step 601).
Wherein the first posture information may include one or more of a direction, an angular velocity, a speed, and a spatial position of the pen body. Technical staff can also set the type of attitude information according to a specific scene, and under the condition that the attitude information of the pen body can be obtained, the corresponding scheme falls into the protection scope of the application.
In some embodiments, the processor may further derive other information from the first posture information, for example, obtain one or more of an order of the fingers of the player, a direction (up, down, left, or right) of the fingers, or an orientation of the hand, and the technician may set the category of the other information according to a specific scenario, where a corresponding scheme is in favor of subsequent generation of prompt information, and the corresponding scheme falls within the scope of the present application.
In this embodiment, in the process of rotating the pen by the player, the electronic device 10 may also play a pen rotation video. The player may learn a video of the turn or compete with the turn gestures in the video. In this way, the processor in the electronic device 10 may also obtain second pose information of the reference object in the currently playing video (corresponding to step 602). Wherein the reference object can be a finger and/or a pen body of a player (hereinafter referred to as a model) in the video.
It should be noted that the processor may use an image recognition algorithm in the related art to acquire the pose of the reference object in each frame of the video, and then form the pose information of the reference object. Of course, the video may also be a preset pen-turning video, and the attitude information of the reference object is extracted from the video in advance, so that the processor can directly read the attitude information of the reference object. Technicians can select a mode for acquiring the second posture information according to a specific scene, and the corresponding scheme falls into the protection scope of the application.
Taking the reference object as the finger of the model as an example, the second posture information may include one or more of the sequence of each finger of the model, the direction (up, down, left or right) of each finger, or the orientation of the hand, and the technician may set the type of posture information according to a specific scene, and in the case that the reference posture information can be obtained, the corresponding scheme falls within the protection scope of the present application.
For example, the reference object is a pen body, and the second posture information may include one or more of a direction, an angular velocity, a velocity, and a spatial position of the pen body. Technical personnel can also set the type of the attitude information according to a specific scene, and under the condition that the attitude information of the reference object can be obtained, the corresponding scheme falls into the protection scope of the application.
The order of step 601 and step 602 is not limited, for example, step 601 may be equal to step 602, may be performed later than step 602, or step 601 and step 602 may be performed simultaneously. Different sequences of step 601 and step 602 can implement the present solution.
It should be noted that, because the first posture information and the second posture information may include at least one type of information, the first posture information and the second posture information include at least the same type of information in consideration of the need for comparison in the following. Thus, in this embodiment, the processor compares the first posture information and the second posture information to obtain a comparison result (corresponding to step 603). Wherein the comparison result may include that the second posture information is the same as the first posture information and the second posture information is different from the first posture information.
In this embodiment, the processor generates a prompt message according to the comparison result (corresponding to step 604), including:
if the comparison result shows that the second posture information is the same as the first posture information, the processor generates prompt information representing that the posture is correct, for example, the prompt information may be 'congratulation, success of challenge', 'pen turning has been successful for N times', 'pen turning posture challenge success of the present pen turning can challenge the next posture', 'success of challenge, time consumption of M seconds, and please continue to practice'. Of course, the technician can also adjust the content of the prompt message according to the specific scene, and under the condition that the posture of the player can be prompted to be correct, the corresponding scheme falls into the protection scope of the application.
If the comparison result shows that the second posture information is different from the first posture information, the processor generates prompt information representing that the first posture information is adjusted according to the second posture information, for example, the prompt information may be that "the challenge is unsuccessful, please adjust the pen turning posture according to the posture in the video", "the challenge is unsuccessful, please learn the pen turning video again, continue the challenge", "the challenge is unsuccessful, please note the index finger posture". Of course, the technician may also adjust the content of the prompt information according to the specific scene, and under the condition that the player can be prompted to adjust the posture, the corresponding scheme falls into the protection scope of the present application.
It should be noted that, a technician may also adjust the classification of the comparison result according to a specific scene, for example, use the whole hand as the comparison object, use each finger as the comparison object, and use the pen body as the comparison object, so as to obtain different comparison results, and the corresponding scheme falls within the protection scope of the present application.
503, displaying the prompt information.
In this embodiment, the processor may send the prompt message to the display, and the display displays the prompt message. Of course, when a speaker is provided in the electronic device 10, the processor may send the prompt message to the speaker, and the speaker plays the prompt message in voice.
Referring to fig. 7, the prompt message is "please adjust the pen-turning gesture according to the gesture in the video", in the preparation stage, the positions of the middle finger 1, the index finger 2 and the thumb 3 are as shown in the left diagram of fig. 7, and in the first stage, the positions of the middle finger 1, the index finger 2 and the thumb 3 are changed to be as shown in the right diagram of fig. 7. Through the decomposition of the schematic diagram, the player can be helped to check the stage of incorrect posture of the player in time.
Therefore, the spatial attitude sensor in the pen body can acquire the attitude data, and the communication module in the pen body can send the attitude data to the electronic equipment. After the electronic equipment acquires the attitude data, prompt information can be determined; and then displaying the prompt information for the player to review. For example, the prompt information representation adjusts the first posture information according to the second posture information, so that a player can conveniently look up the prompt information and adjust the pen-turning posture at the same time, so as to learn to turn the pen as soon as possible, the learning difficulty can be reduced, and the pen-turning fun can be increased.
Based on the above data processing method, an embodiment of the present disclosure further provides a data processing apparatus applied to an electronic device, and fig. 8 is a block diagram of a data processing apparatus according to an exemplary embodiment. Referring to fig. 8, a data processing apparatus 800 includes:
a gesture data acquisition module 801 configured to acquire gesture data transmitted by a pen body connected to the electronic device;
a prompt information determination module 802 configured to determine prompt information from the pose data;
a prompt information presentation module 803 configured to present the prompt information.
FIG. 9 is a block diagram illustrating a data processing apparatus according to an example embodiment. Referring to fig. 9, on the basis of the data processing apparatus 800 shown in fig. 8, the prompt information determination module 802 includes:
a pose information obtaining unit 901 configured to construct first pose information of the finger stall according to the pose data and obtain second pose information of a reference object in a currently played video;
a comparison result obtaining unit 902 configured to compare the second posture information with the first posture information to obtain a comparison result;
and a prompt information generating unit 903 configured to generate prompt information according to the comparison result.
In some embodiments, the prompt information generation unit 903 is further configured to:
if the comparison result shows that the second posture information is the same as the first posture information, prompt information representing that the posture is correct is generated;
and if the comparison result shows that the second attitude information is different from the first attitude information, generating prompt information representing that the first attitude information is adjusted according to the second attitude information.
It can be understood that the data processing apparatus provided in the embodiment of the present invention corresponds to the data processing method described above, and specific contents may refer to the contents of each embodiment of the method, which are not described herein again.
FIG. 10 is a block diagram illustrating an electronic device in accordance with an example embodiment. For example, the electronic device 1000 may be a smartphone, a computer, a digital broadcast terminal, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
Referring to fig. 10, electronic device 1000 may include one or more of the following components: processing component 1002, memory 1004, power component 1006, multimedia component 1008, audio component 1010, input/output (I/O) interface 1012, sensor component 1014, communication component 1016, and image capture component 1018.
The processing component 1002 generally operates the electronic device 1000 as a whole, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 1002 may include one or more processors 1020 to execute instructions. Further, processing component 1002 may include one or more modules that facilitate interaction between processing component 1002 and other components. For example, the processing component 1002 may include a multimedia module to facilitate interaction between the multimedia component 1008 and the processing component 1002. In interacting, the processor 1020 may read executable instructions from the memory 1004 to implement the steps of the methods shown in fig. 5 and 6.
The memory 1004 is configured to store various types of data to support operations at the electronic device 1000. Examples of such data include instructions for any application or method operating on the electronic device 1000, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1004 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 1006 provides power to the various components of the electronic device 1000. The power components 1006 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the electronic device 1000.
The multimedia component 1008 includes a screen that provides an output interface between the electronic device 1000 and the target object. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a target object. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
The audio component 1010 is configured to output and/or input audio signals. For example, the audio component 1010 may include a Microphone (MIC) configured to receive external audio signals when the electronic device 1000 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 1004 or transmitted via the communication component 1016. In some embodiments, audio component 1010 further comprises a speaker for outputting audio signals, wherein the audio signals may be prompts.
I/O interface 1012 provides an interface between processing component 1002 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc.
The sensor assembly 1014 includes one or more sensors for providing various aspects of status assessment for the electronic device 1000. For example, the sensor assembly 1014 may detect an open/closed state of the electronic device 1000, the relative positioning of components, such as a display screen and keypad of the electronic device 1000, the sensor assembly 1014 may also detect a change in the position of the electronic device 1000 or of one of the components, the presence or absence of a target object in contact with the electronic device 1000, orientation or acceleration/deceleration of the electronic device 1000, and a change in the temperature of the electronic device 1000.
The communication component 1016 is configured to facilitate wired or wireless communication between the electronic device 1000 and other devices. The electronic device 1000 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1016 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 1016 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
The embodiment of the present disclosure further provides a system suitable for rotating a pen, which at least includes the pen body as shown in fig. 2 to 4 and the electronic device as shown in fig. 10. Optionally, the system may further comprise a finger glove. The system composition can be referred to fig. 1. The working process of a system suitable for pen rotation can refer to the contents of the above embodiments, and is not described herein again.
The disclosed embodiments also provide a non-transitory computer-readable storage medium, such as the memory 1004, including instructions executable by the processor 1020 of the electronic device 1000 to implement the steps of the methods shown in fig. 5 and 6. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (18)

1. A data processing method is applied to electronic equipment and comprises the following steps:
acquiring attitude data sent by a pen body connected with the electronic equipment;
determining prompt information according to the attitude data;
and displaying the prompt information.
2. The data processing method of claim 1, wherein determining hint information from the pose data comprises:
constructing first posture information of the pen body according to the posture data, and acquiring second posture information of a reference object in a currently played video;
comparing the second attitude information with the first attitude information to obtain a comparison result;
and generating prompt information according to the comparison result.
3. The data processing method of claim 2, wherein generating the prompt message according to the comparison result comprises:
if the comparison result shows that the second posture information is the same as the first posture information, prompt information representing that the posture is correct is generated;
and if the comparison result shows that the second attitude information is different from the first attitude information, generating prompt information representing that the first attitude information is adjusted according to the second attitude information.
4. The data processing method of claim 1, wherein the prompt message is displayed by a display or played by a speaker.
5. A data processing apparatus applied to an electronic device, comprising:
the gesture data acquisition module is configured to acquire gesture data sent by a pen body connected with the electronic equipment;
a prompt information determination module configured to determine prompt information from the pose data;
and the prompt information display module is configured to display the prompt information.
6. The data processing apparatus of claim 5, wherein the hint information determination module comprises:
the gesture information acquisition unit is configured to construct first gesture information of the pen body according to the gesture data and acquire second gesture information of a reference object in a currently played video;
a comparison result obtaining unit configured to compare the second posture information with the first posture information to obtain a comparison result;
and the prompt information generating unit is configured to generate prompt information according to the comparison result.
7. The data processing apparatus according to claim 6, wherein the cue information generating unit is further configured to:
if the comparison result shows that the second posture information is the same as the first posture information, prompt information representing that the posture is correct is generated;
and if the comparison result shows that the second attitude information is different from the first attitude information, generating prompt information representing that the first attitude information is adjusted according to the second attitude information.
8. A pen body is characterized by comprising a pen body, a space attitude sensor and a communication module, wherein the space attitude sensor and the communication module are arranged in the pen body; the space attitude sensor is connected with the communication module; the communication module is in communication connection with external electronic equipment;
the spatial attitude sensor is configured to acquire attitude data of the pen body and send the attitude data to the communication module;
the communication module is configured to send the posture data to the electronic equipment, so that the electronic equipment processes the posture data to obtain prompt information and displays the prompt information to a player.
9. The pen body according to claim 8, wherein the spatial attitude sensor comprises at least one of: acceleration sensor, gyroscope, geomagnetic sensor.
10. The pen body according to claim 8 or 9, wherein the number of the spatial attitude sensors is at least two, and at least one spatial attitude sensor is provided at each of both ends of the pen body.
11. The pen body according to claim 8, wherein the pen body surface is provided with a plurality of protrusions configured to increase friction with finger stalls.
12. The pen body according to claim 11, wherein the protrusions are made of a magnetic material, and the finger stalls are made of a magnetic material or a ferromagnetic material.
13. The pen body according to claim 11, wherein said protrusion is a suction cup.
14. The pen body according to claim 8, further comprising a magnetic assembly disposed inside the pen body; the magnetic assembly is configured to provide a magnetic force to attract a finger glove; the finger stall is made of magnetic materials or ferromagnetic materials.
15. The pen body according to claim 14, wherein said magnetic assembly is a permanent magnet or an electromagnet.
16. An electronic device, characterized in that the electronic device comprises:
a processor;
a memory for storing the processor-executable instructions;
the processor is configured to execute executable instructions in the memory to implement the steps of the method of any of claims 1 to 4.
17. A system adapted for rotating a pen, comprising a pen body according to any one of claims 8 to 15 and an electronic device according to claim 16.
18. A machine-readable storage medium having stored thereon machine-executable instructions, which when executed by a processor implement the steps of the method of any one of claims 1 to 4.
CN201811517625.XA 2018-12-12 2018-12-12 Data processing method and device, handwriting, electronic equipment and readable storage medium storing program for executing Pending CN109731278A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811517625.XA CN109731278A (en) 2018-12-12 2018-12-12 Data processing method and device, handwriting, electronic equipment and readable storage medium storing program for executing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811517625.XA CN109731278A (en) 2018-12-12 2018-12-12 Data processing method and device, handwriting, electronic equipment and readable storage medium storing program for executing

Publications (1)

Publication Number Publication Date
CN109731278A true CN109731278A (en) 2019-05-10

Family

ID=66358813

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811517625.XA Pending CN109731278A (en) 2018-12-12 2018-12-12 Data processing method and device, handwriting, electronic equipment and readable storage medium storing program for executing

Country Status (1)

Country Link
CN (1) CN109731278A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070135225A1 (en) * 2005-12-12 2007-06-14 Nieminen Heikki V Sport movement analyzer and training device
CN103390174A (en) * 2012-05-07 2013-11-13 深圳泰山在线科技有限公司 Physical education assisting system and method based on human body posture recognition
CN103713739A (en) * 2013-12-25 2014-04-09 北京握奇数据系统有限公司 Movement data acquisition processing method and system
CN205626914U (en) * 2016-03-29 2016-10-12 张润泽 Pen is changeed to wooden technology
CN107016902A (en) * 2017-04-05 2017-08-04 武汉市尚德盛视文化传播有限公司 Sand draws facility for study
CN107050774A (en) * 2017-05-17 2017-08-18 上海电机学院 A kind of body-building action error correction system and method based on action collection
CN108749399A (en) * 2018-05-30 2018-11-06 中国联合网络通信集团有限公司 Appliance for holding pen and pen holding posture detecting system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070135225A1 (en) * 2005-12-12 2007-06-14 Nieminen Heikki V Sport movement analyzer and training device
CN103390174A (en) * 2012-05-07 2013-11-13 深圳泰山在线科技有限公司 Physical education assisting system and method based on human body posture recognition
CN103713739A (en) * 2013-12-25 2014-04-09 北京握奇数据系统有限公司 Movement data acquisition processing method and system
CN205626914U (en) * 2016-03-29 2016-10-12 张润泽 Pen is changeed to wooden technology
CN107016902A (en) * 2017-04-05 2017-08-04 武汉市尚德盛视文化传播有限公司 Sand draws facility for study
CN107050774A (en) * 2017-05-17 2017-08-18 上海电机学院 A kind of body-building action error correction system and method based on action collection
CN108749399A (en) * 2018-05-30 2018-11-06 中国联合网络通信集团有限公司 Appliance for holding pen and pen holding posture detecting system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
无: "《the life augmented blog》", 17 October 2018 *

Similar Documents

Publication Publication Date Title
US10318011B2 (en) Gesture-controlled augmented reality experience using a mobile communications device
CN109661686B (en) Object display system, user terminal device, object display method, and program
CN109151546A (en) A kind of method for processing video frequency, terminal and computer readable storage medium
CN109542213A (en) The system and method interacted using information is watched attentively with calculating equipment
US10304352B2 (en) Electronic device and method for sharing image
CN109168062B (en) Video playing display method and device, terminal equipment and storage medium
CN104813642A (en) Methods, apparatuses and computer readable medium for triggering a gesture recognition mode and device pairing and sharing via non-touch gestures
CN108038726A (en) Article display method and device
CN108108649A (en) Auth method and device
CN105677023B (en) Information demonstrating method and device
CN110650294A (en) Video shooting method, mobile terminal and readable storage medium
CN108079581A (en) Intelligent magic cube, magic square control method, equipment and storage medium
EP4270245A1 (en) User determination method, electronic device, and computer-readable storage medium
CN107948430A (en) A kind of display control method, mobile terminal and computer-readable recording medium
CN108986803B (en) Scene control method and device, electronic equipment and readable storage medium
CN108211312A (en) The action correction method and apparatus moved based on AR or VR
CN109276881A (en) A kind of game control method, equipment
CN108744495A (en) A kind of control method of virtual key, terminal and computer storage media
CN108401173A (en) Interactive terminal, method and the computer readable storage medium of mobile live streaming
CN110175008A (en) Method, wearable device and the computer readable storage medium of operating terminal
CN109325133A (en) A kind of method of Information locating, terminal and computer readable storage medium
CN109710064B (en) Data processing method and device, finger stall, electronic device and readable storage medium
CN109731278A (en) Data processing method and device, handwriting, electronic equipment and readable storage medium storing program for executing
CN110069200A (en) Wearable device input control method, wearable device and storage medium
CN110177208A (en) A kind of association control method of video record, equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190510

RJ01 Rejection of invention patent application after publication