WO2020244420A1 - 运动轨迹确定方法及装置、电子设备 - Google Patents

运动轨迹确定方法及装置、电子设备 Download PDF

Info

Publication number
WO2020244420A1
WO2020244420A1 PCT/CN2020/092307 CN2020092307W WO2020244420A1 WO 2020244420 A1 WO2020244420 A1 WO 2020244420A1 CN 2020092307 W CN2020092307 W CN 2020092307W WO 2020244420 A1 WO2020244420 A1 WO 2020244420A1
Authority
WO
WIPO (PCT)
Prior art keywords
component
light
electronic device
processor
port
Prior art date
Application number
PCT/CN2020/092307
Other languages
English (en)
French (fr)
Inventor
宋泽宇
王耀辉
郜振纲
杨天笑
孙彦军
刘磊
Original Assignee
京东方科技集团股份有限公司
北京京东方显示技术有限公司
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 京东方科技集团股份有限公司, 北京京东方显示技术有限公司 filed Critical 京东方科技集团股份有限公司
Priority to US17/417,810 priority Critical patent/US11960662B2/en
Publication of WO2020244420A1 publication Critical patent/WO2020244420A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • G06F3/03542Light pens for emitting or receiving light
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • G06F3/03545Pens or stylus
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S17/00Systems using the reflection or reradiation of electromagnetic waves other than radio waves, e.g. lidar systems
    • G01S17/02Systems using the reflection of electromagnetic waves other than radio waves
    • G01S17/50Systems of measurement based on relative movement of target
    • G01S17/58Velocity or trajectory determination systems; Sense-of-movement determination systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/0304Detection arrangements using opto-electronic means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/0304Detection arrangements using opto-electronic means
    • G06F3/0317Detection arrangements using opto-electronic means in co-operation with a patterned surface, e.g. absolute position or relative movement detection for an optical mouse or pen positioned with respect to a coded surface
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/038Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
    • G06F3/0383Signal control means within the pointing device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/038Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
    • G06F3/0386Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry for light pen
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/0679Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B7/00Recording or reproducing by optical means, e.g. recording using a thermal beam of optical radiation by modifying optical properties or the physical structure, reproducing using an optical beam at lower power by sensing optical properties; Record carriers therefor
    • G11B7/004Recording, reproducing or erasing methods; Read, write or erase circuits therefor
    • G11B7/0045Recording

Definitions

  • the present disclosure relates to a method and device for determining a motion track, and electronic equipment.
  • a stylus is an electronic device. People can use the stylus to write on the touch panel.
  • the touch panel can determine the movement track of the stylus according to the change of the touch position of the stylus.
  • the embodiments of the present disclosure provide a method and device for determining a motion track, and electronic equipment.
  • the electronic device includes: a body, a light-emitting assembly, a photosensitive assembly, and a processor; the light-emitting assembly, the photosensitive assembly, and the processor are all located on the body, and the photosensitive assembly and the processor connection;
  • the light emitting component is used to emit detection light
  • the photosensitive component is used to obtain the optical information of the reflected light after receiving the reflected light of the detection light;
  • the processor is configured to determine the movement track of the light-emitting component according to the optical information.
  • the body includes a penholder, and the light-emitting component is located at the tip of the penholder.
  • the optical information includes: n images of the reflected light acquired n times, and the processor is configured to:
  • the motion trajectory is determined according to the sub-trajectories corresponding to the first n-1 images in the n images.
  • the optical information further includes: at least one of the wavelength, reflection angle, and light intensity of the reflected light corresponding to the first image in the n images, and the processor is configured to At least one type of information corrects the last n-1 images of the n images.
  • the processor is further configured to control the photosensitive component to obtain the optical information.
  • the electronic device further includes: a light-emitting control component located on the body;
  • the light emitting control component is connected to the light emitting component, and the light emitting control component is used to control the light emitting component to emit the detection light.
  • the light emitting control assembly includes: a pressure sensor located in a pressure sensing area on the body;
  • the pressure sensor is used for controlling the light-emitting component to emit the detection light when the pressure received by the pressure sensing area is greater than a pressure threshold.
  • the electronic device further includes: a light intensity sensor located on the body;
  • the light intensity sensor is connected to the processor; the light intensity sensor is used to detect the light intensity of the reflected light; the processor is used to determine the movement track when the light intensity is greater than a light intensity threshold.
  • the electronic device further includes: an optical lens located on the body, and the photosensitive component is configured to receive the reflected light through the optical lens.
  • the optical lens includes a convex lens.
  • the electronic device further includes: a projection component located on the body;
  • the projection component is connected with the processor, and the projection component is used for projecting the motion track.
  • the body includes a pen barrel and a pen cap, and the projection assembly is located on the pen cap.
  • the electronic device further includes: a power supply for supplying power to at least part of the electrical components in the electronic device.
  • the body includes: a pen barrel and a pen cap;
  • the power supply is used for supplying power to the at least part of the electrical components when the pen cap is installed on the opposite end of the end where the pen tip is located in the pen barrel.
  • the electronic device further includes: a first port, a second port, a third port, and a fourth port;
  • the first port, the power supply, and the second port are all located on the penholder, and the first port, the power supply, and the second port are connected in series; the third port and the second port are connected in series. All four ports are located on the pen cap, and the third port and the fourth port are connected;
  • the first port, the power supply, the second port, the fourth port, and the third port form a power supply loop, and the At least part of the electrical components are connected in series on the power supply loop.
  • the electronic device further includes: a power detection component and a prompt component located on the body;
  • the power detection component is used to detect the remaining power of the power supply, and the prompt component is used to display prompt information when the remaining power is less than a power threshold.
  • the power detection component and the prompt component are both connected to the processor, and the processor is configured to control the prompt component to display the prompt information when the remaining power is less than a power threshold.
  • the electronic device further includes: a memory located on the body, the memory is connected to the processor, and the memory is used to store the motion track.
  • the electronic device further includes: a deletion component
  • the deletion component is connected to the storage, and the deletion component is used to delete the motion track in the storage.
  • the electronic device further includes: a sending component;
  • the sending component is connected to the memory, and the sending component is used to send the motion track to other devices other than the electronic device.
  • a method for determining a motion trajectory is provided for any electronic device provided in the first aspect, and the method includes:
  • the light-emitting component emits detection light
  • the photosensitive component After receiving the reflected light of the detection light, the photosensitive component acquires the optical information of the reflected light;
  • the processor determines the movement track of the light-emitting component according to the optical information.
  • the optical information includes: n images of the reflected light acquired n times, and the processor determining the movement track of the light-emitting component according to the optical information includes:
  • the processor determines the first characteristic region of the i-th image among the n images and the second characteristic region of the i+1th image, where 1 ⁇ i ⁇ n, the first characteristic region and the The similarity of the second feature region is greater than the similarity threshold;
  • the processor determines that the i-th image corresponds to the position of the first characteristic region in the i-th image and the position of the second characteristic region in the i+1-th image
  • the sub-trajectory of the light-emitting component
  • the processor determines the motion trajectory according to the sub trajectories corresponding to the first n-1 images in the n images.
  • the optical information further includes: at least one of the wavelength, the reflection angle, and the light intensity of the reflected light corresponding to the first image in the n images
  • the processor is configured according to the Before the optical information determines the movement track of the light-emitting component, the method further includes: the processor corrects the last n-1 images of the n images according to the at least one type of information.
  • acquiring the optical information of the reflected light includes: the photosensitive component is under the control of the processor, after receiving the detection After the reflected light of the light, the optical information of the reflected light is obtained.
  • the electronic device further includes: a light-emitting control component located on the main body, the light-emitting control component is connected to the light-emitting component, and the light-emitting component emits detection light includes: The detection light is emitted under the control of the control component.
  • the electronic device further includes: a light intensity sensor located on the body;
  • the light intensity sensor is connected to the processor; the method further includes: the light intensity sensor detects the light intensity of the reflected light; the processor determines the movement track of the light-emitting component according to the optical information, It includes: the processor determines the motion track when the light intensity is greater than a light intensity threshold.
  • the electronic device further includes: a projection component located on the main body, the projection component is connected to the processor, and the method further includes: the projection component projects the motion track.
  • the electronic device further includes: a power detection component and a prompt component located on the main body; the method further includes:
  • the power detection component detects the remaining power of the power supply
  • the prompt component displays prompt information when the remaining power is less than the power threshold.
  • the power detection component and the prompt component are both connected to the processor, and the prompt component displays prompt information when the remaining power is less than a power threshold, including: when the remaining power is less than the power threshold , The prompt component displays the prompt information under the control of the processor.
  • the electronic device further includes: a memory located on the body, the memory is connected to the processor, and the method further includes: the memory stores the motion track.
  • the electronic device further includes: a deletion component; the deletion component is connected to the memory, and the method further includes: the deletion component deletes the motion track in the memory.
  • the electronic device further includes: a sending component; the sending component is connected to the memory, and the method further includes: the sending component sending the motion track to another device other than the electronic device.
  • a method for determining a motion trajectory is provided, which is used for a processor in any electronic device provided in the first aspect, and the method includes:
  • the optical information is information obtained by the photosensitive component after receiving the reflected light of the detection light emitted by the light-emitting component;
  • the movement track of the light-emitting component is determined according to the optical information.
  • the optical information includes: n images of the reflected light acquired n times, and the determining the movement track of the light-emitting component according to the optical information includes:
  • the motion trajectory is determined according to the sub-trajectories corresponding to the first n-1 images in the n images.
  • the optical information further includes: at least one of the wavelength, reflection angle, and light intensity of the reflected light corresponding to the first image in the n images, and the optical information
  • the method further includes: correcting the last n-1 images of the n images according to the at least one type of information.
  • the method further includes: controlling the photosensitive component to obtain the optical information of the reflected light after receiving the reflected light of the probe light.
  • the electronic device further includes: a light intensity sensor located on the body; the light intensity sensor is connected to the processor; the light intensity sensor is used to detect the light intensity of the reflected light;
  • the determining the movement track of the light-emitting component according to the optical information includes: determining the movement track when the light intensity is greater than a light intensity threshold.
  • the electronic device further includes: a power detection component and a prompt component located on the body; the power detection component is used to detect the remaining power of the power supply; the power detection component and the prompt component are both
  • the method further includes: when the remaining power is less than a power threshold, controlling the prompt component to display the prompt information.
  • a device for determining a motion trajectory for use in a processor in any electronic device provided in the first aspect, and the device for determining a motion trajectory includes:
  • An acquiring module for acquiring optical information of reflected light acquired by a photosensitive component, where the optical information is information acquired by the photosensitive component after receiving the reflected light of the detection light emitted by the light-emitting component;
  • the determining module is used to determine the movement track of the light-emitting component according to the optical information.
  • the optical information includes: n images of the reflected light acquired n times, and the determining module is configured to:
  • the motion trajectory is determined according to the sub-trajectories corresponding to the first n-1 images in the n images.
  • the optical information further includes: at least one of the wavelength, reflection angle, and light intensity of the reflected light corresponding to the first image in the n images
  • the motion trajectory determining device further includes : A correction module for correcting the last n-1 images of the n images according to the at least one type of information.
  • the motion trajectory determination device further includes: a first control module configured to control the photosensitive component to obtain the optical information of the reflected light after receiving the reflected light of the probe light.
  • a first control module configured to control the photosensitive component to obtain the optical information of the reflected light after receiving the reflected light of the probe light.
  • the electronic device further includes: a light intensity sensor located on the body; the light intensity sensor is connected to the processor; the light intensity sensor is used to detect the light intensity of the reflected light; The determining module is used for determining the motion track when the light intensity is greater than the light intensity threshold.
  • the electronic device further includes: a power detection component and a prompt component located on the body; the power detection component is used to detect the remaining power of the power supply; the power detection component and the prompt component are both
  • the motion trajectory determination device further includes: a second control module, configured to control the prompt component to display the prompt information when the remaining power is less than the power threshold.
  • a computer-readable storage medium is provided, and a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, any one of the motion trajectory determination methods provided in the third aspect is implemented.
  • FIG. 1 is a schematic structural diagram of an electronic device provided by an embodiment of the disclosure
  • FIG. 2 is a schematic diagram of an image obtained by a photosensitive component provided by an embodiment of the disclosure
  • FIG. 3 is a schematic diagram of an image acquired by another photosensitive component provided by an embodiment of the disclosure.
  • FIG. 4 is a structural block diagram of an electronic device provided by an embodiment of the disclosure.
  • FIG. 5 is a schematic structural diagram of another electronic device provided by an embodiment of the disclosure.
  • FIG. 6 is a schematic diagram of a state when an electronic device provided by an embodiment of the disclosure is used.
  • FIG. 7 is a schematic diagram of an electronic device provided by an embodiment of the disclosure when it is not in use
  • FIG. 8 is a schematic diagram of power supply of a power supply provided by an embodiment of the disclosure.
  • FIG. 9 is a flowchart of a method for determining a motion trajectory provided by an embodiment of the disclosure.
  • FIG. 10 is a flowchart of another method for determining a motion trajectory provided by an embodiment of the disclosure.
  • FIG. 11 is a flowchart of another method for determining a motion trajectory provided by an embodiment of the disclosure.
  • FIG. 12 is a schematic structural diagram of a motion trajectory determination device provided by an embodiment of the disclosure.
  • the stylus in the related art is an electronic device that needs to be used with a touch panel. Since the stylus cannot be used alone, the use flexibility of the stylus is low.
  • the embodiments of the present disclosure provide an electronic device, and the electronic device does not need to be used with other devices, so the electronic device has high flexibility in use.
  • FIG. 1 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.
  • the electronic device may include: a body 1, a light-emitting component 2, a photosensitive component 3, and a processor 4.
  • the light-emitting assembly 2, the photosensitive assembly 3 and the processor 4 are all located on the body 1, and the photosensitive assembly 3 is connected to the processor 4.
  • the light-emitting component 2 is used to emit detection light;
  • the photosensitive component 3 is used to obtain the optical information of the reflected light after receiving the reflected light of the detection light;
  • the processor 4 is used to determine the movement track of the light-emitting component 2 according to the optical information.
  • the photosensitive component can obtain the optical information of the reflected light after receiving the reflected light of the detection light emitted by the light-emitting component, and the processor can obtain the optical information according to the photosensitive component.
  • the optical information determines the trajectory of the light-emitting component.
  • the electronic device can obtain the movement trajectory of the light-emitting component through its own processor, and no other device is needed in the process of acquiring the movement trajectory by the electronic device, thus improving the flexibility of use of the electronic device.
  • the shape of the body in the electronic device can be any shape.
  • the body 1 is in the shape of a pen as an example.
  • the body 1 can also be in other shapes (such as a flashlight shape, a watch shape, etc.).
  • the light-emitting assembly 2 in the electronic device can be located at any position of the body 1.
  • the body 1 in the electronic device is in the shape of a pen
  • the body 1 includes a penholder 011
  • the light-emitting assembly 2 can be located at the tip of the penholder 011.
  • the electronic device It is equivalent to a smart pen, and the movement track of the light-emitting component 2 in the electronic device is equivalent to the writing track of the smart pen.
  • the light-emitting component 2 can also play a role of lighting, thereby avoiding the situation that the processor 4 cannot obtain the movement track of the light-emitting component 2 due to insufficient brightness.
  • the user can hold the main body 1 and drive the main body 1 to move, so that the light-emitting assembly 2 on the main body 1 moves.
  • the irradiation area of the detection light emitted by the light-emitting component 2 will also move, the optical information acquired by the photosensitive component 3 will change, and the processor 4 can determine the movement track of the light-emitting component 2 according to the changed optical information.
  • the optical information acquired by the photosensitive component 3 includes: n images of reflected light acquired n times, n ⁇ 2. That is, the photosensitive component 3 can continuously acquire the reflected light image n times to obtain the above n images.
  • the time interval for the photosensitive component 3 to acquire the reflected light image twice may be a fixed interval. Of course, the time interval may not be a fixed interval, which is not limited in the embodiment of the present disclosure.
  • the processor 4 may determine the movement track of the light-emitting component 2 according to the n images. At this time, the processor 4 can be used to: firstly, determine the first feature area of the i-th image among the n images and the second feature area of the i+1th image; The position in the i images, and the position of the second feature area in the i+1th image, determine the sub-trajectory of the light-emitting component corresponding to the i-th image; finally, according to the first n-1 images in the n images To determine the motion trajectory. Wherein, 1 ⁇ i ⁇ n, the similarity between the first feature region and the second feature region is greater than the similarity threshold.
  • the similarity threshold can be any similarity, such as 90% or 100%.
  • the user can hold the electronic device to move, so as to move the light-emitting assembly.
  • the i-th image of the n images acquired by the photosensitive component includes the circular image composed of area a and area b in Figure 2
  • the i+1-th image of the n images includes the image 2A circular image composed of area b and area c.
  • the processor can compare the i-th image with the i+1-th image to determine the two feature regions with similarity greater than the threshold in the two images, which are the first feature regions in the i-th image (such as Area b) in FIG. 2 and the second feature area in the i+1th image (area b in FIG. 2).
  • the orientation of the first feature region in the i-th image is the right orientation
  • the orientation of the second feature region in the i+1th image is the left orientation.
  • the processor compares these two orientations to know, In the process of acquiring these two images by the photosensitive component, the light-emitting component moves from left to right, and then the sub-trajectory of the light-emitting component in the process of acquiring these two images by the photosensitive component (can be called the i-th image) The corresponding sub-track).
  • the sub-trajectory may be a trajectory from the center of the illumination area (illumination area of the probe light) corresponding to the i-th image to the center of the illumination area corresponding to the (i+1)th image.
  • the processor can stitch the sub-trajectories corresponding to the first n-1 images to obtain the light-emitting component during the process of acquiring n images by the photosensitive component The trajectory of the movement. For example, suppose that n images acquired by the photosensitive component are 5 circular images as shown in Fig. 3, and the processor obtains 4 sub-trajectories corresponding to the first 4 images (sub-trajectories 1, 2, 3 and in Fig. 3). 4) After that, the four sub-trajectories can be spliced sequentially to obtain the motion trajectory of the light-emitting component composed of sub-trajectories 1, 2, 3, and 4.
  • the above-mentioned optical information may include not only the above-mentioned n images, but also: at least one of the wavelength, reflection angle, and light intensity of the reflected light corresponding to the first image in the n images (that is, the When the component acquires the first image, the at least one information of reflected light).
  • the processor may correct the last n-1 of the n images according to the at least one kind of information, so that the last n-1
  • the at least one type of information corresponding to the image is relatively similar to the at least one type of information corresponding to the first image, so as to avoid the influence of the external environment causing the at least one type of information corresponding to the next n-1 images to be relatively similar to the at least one information corresponding to the first image
  • the at least one type of information has a large deviation, which prevents the last n-1 images from being affected by the external environment and becoming less accurate.
  • FIG. 4 is a structural block diagram of an electronic device provided by an embodiment of the disclosure.
  • the photosensitive component 3 includes: an imaging component 34 (such as a micro imager) for acquiring the reflected light image.
  • the photosensitive component 3 includes: a wavelength acquisition component 31, which is used to acquire the wavelength of the reflected light; when the optical information includes the reflected light corresponding to the first image
  • the reflection angle of the light-sensitive component 3 includes: a reflection angle acquisition component 32, the reflection angle acquisition component 32 is used to acquire the reflection angle of the reflected light; when the optical information includes the intensity of the reflected light corresponding to the first image, the photosensitive component 3 It includes a light intensity acquisition component 33, which is used to acquire the light intensity of the reflected light.
  • the imaging component 34, the wavelength acquisition component 31, the reflection angle acquisition component 32 and the light intensity acquisition component 33 are all connected to the processor 4.
  • the electronic device may further include: a memory 5 located on the body (not shown in FIG. 4), the memory 5 is connected to the processor 4, and the memory 5 is used to store information obtained by the processor 4. Movement track. Since the memory 5 can record the movement track obtained by the processor 4, the effect of the electronic device recording the movement track of the light-emitting assembly 2 is realized.
  • the processor 4 can convert the obtained motion trajectory into a picture, and then the memory 5 stores the picture.
  • the processor 4 can also convert the obtained motion track into a document, and then the memory 5 stores the document.
  • the electronic device may further include a save button (not shown in FIG. 4) on the main body, and the user can trigger the memory 5 to store the motion track by pressing the save button.
  • the main body may also be provided with an indicator light (not shown in FIG. 4), and the indicator light may flash after the memory 5 successfully stores the motion track to remind the user to save the motion track successfully.
  • the light-emitting component 3 may be any component capable of emitting light, such as a component used to emit laser light, infrared light, and the like.
  • the processor 4 may be any type of processor, such as a digital signal processor (digital signal processor, DSP).
  • DSP digital signal processor
  • the memory 5 can be any type of memory, such as a Secure Digital Memory Card (SD card).
  • the photosensitive component 3 obtaining optical information may be a spontaneous operation, of course, it may also be an operation under the control of the processor 4, and at this time, the processor 4 is also used to control the photosensitive component 3 to obtain the foregoing optical information.
  • the electronic device may further include: a light emitting control component located on the body.
  • the lighting control component can be connected to the lighting component 2 (either directly or indirectly), and the lighting control component is used to control the lighting component 2 to emit detection light.
  • the user can control the light-emitting component 2 to emit detection light by controlling the light-emitting control component.
  • the light-emitting control component may include: a pressure sensor 6 located in a pressure sensing area on the body 1. The pressure sensor 6 is used to control the light-emitting component 2 to emit detection light when the pressure received by the pressure sensing area is greater than the pressure threshold.
  • FIG. 5 is a schematic structural diagram of another electronic device provided by an embodiment of the disclosure. As shown in FIG.
  • a switch that can be pressed can be provided in the pressure sensing area on the body 1 14.
  • the switch 14 is provided with a pressure sensor (not shown in Figure 5).
  • the switch 14 protrudes from the surface of the main body 1 to facilitate the user to press the switch 14.
  • the pressure sensor can detect the pressure on the pressure sensing area.
  • the body in the electronic device provided by the embodiment of the present disclosure may include a penholder, and the user may use the electronic device like holding a pen.
  • the area on the body touched by the hand may be the aforementioned pressure sensing area.
  • the user's writing Take the user's writing as an example. Every time the user finishes writing a character, the user will lift the pen to write the next character. When the user lifts the pen, the user's grip strength will change and the pressure on the pen will decrease.
  • the pressure sensor located in the pressure sensing area can detect that the pressure becomes smaller.
  • the light-emitting component When the pressure detected by the pressure sensor is less than the pressure threshold, the light-emitting component is controlled to no longer emit detection light, so as to ensure that the user is writing between the two characters During the time period when the tip of the pen is raised, the processor will not generate a motion track, and the memory will not record the motion track accordingly.
  • the movement track recorded by the memory is a track.
  • the trajectories of different sections are stored in different locations in the memory, so as to avoid the repetition of the trajectories of different sections to cause confusion in the recorded motion trajectories.
  • the pressure sensor can be used as a switch to turn on the recording function.
  • the user can hold the body of the electronic device.
  • the pressure detected by the pressure sensor is greater than the pressure threshold.
  • the light-emitting component, photosensitive component, processor and memory all start to work, and the memory starts to record the processor during this period. Determine the movement track of the light-emitting component.
  • the electronic device may also be provided with a data connection port, and the movement track recorded in the memory can be transmitted to other devices through the data connection port.
  • the light-emitting control component includes a pressure sensor as an example.
  • the light-emitting control component may also include a start switch (not shown in the drawings of the specification) on the body 1, and the start switch is connected to the light-emitting assembly 2.
  • the prerequisites for the light-emitting component 2 to emit light need to include: the start switch is turned on.
  • the lighting control component can directly control the lighting of the lighting component as an example.
  • the lighting control component may also control the lighting of the lighting component through a processor.
  • the processor may control the light-emitting component to emit light, which is not limited in the embodiment of the present disclosure.
  • the processor 4 may also determine the motion trajectory under the control of the lighting control component. For example, when the pressure detected by the pressure sensor is less than the pressure threshold, the processor 4 will not determine the movement track of the light-emitting component 2. At this time, even if the light-emitting component 2 can emit detection light and the photosensitive component obtains the optical information of the reflected light, the processor 4 will not calculate the aforementioned movement track.
  • the electronic device further includes: a light intensity sensor 7 located on the body; the light intensity sensor 7 is connected to the processor 4; the light intensity sensor 7 is used to detect the light intensity of the reflected light; the processor 4 Used to determine the movement track of the light-emitting component 2 when the light detected by the light intensity sensor 7 is stronger than the light intensity threshold.
  • the light intensity detected by the light intensity sensor 7 is relatively large; when the light-emitting component 2 is suspended, due to the distance between the reflective surface The light intensity sensor 7 is far away, and the light intensity detected by the light intensity sensor 7 is relatively weak; therefore, it is possible to detect whether the light-emitting assembly 2 is placed on the writing surface by detecting the light intensity, and only when the light-emitting assembly 2 is placed on the writing surface
  • the processor 4 determines the motion trajectory.
  • the processor will not determine the movement track of the light-emitting component during this process, and accordingly the memory will not record the movement track.
  • the electronic device further includes: a projection component 8.
  • the projection component 8 is connected to the processor 4, and the projection component 8 is used to project the movement track of the light-emitting component 2.
  • the projection component 8 in the electronic device can project the movement trajectory of the light-emitting component 2 in real time, which is convenient for the user to observe his own writing situation. Errors can be corrected in time or can be written again.
  • the projection of the motion trajectory of the projection component 8 may be a spontaneous operation, or an operation performed under the control of the processor 4.
  • a projection button can be set on the body.
  • the processor 4 can receive the projection instruction, and the processor 4 controls the projection assembly at this time. 8 projection.
  • the processor 4 may control the projection component 8 to perform it every time the user finishes writing a section of the motion trajectory (the processor determines a section of the motion trajectory).
  • the projection may also be the processor 4 controlling the projection component 8 to project the motion track in real time.
  • the user wants to record A, B, C...G, where each letter represents a movement track, and there are multiple projection methods.
  • three projection methods are briefly introduced. The first is that the user has already performed projection when writing, that is, real-time projection of the motion trajectory, and the user can observe his writing status at any time.
  • the second type for example, when the user writes G, all previously written A to F can be projected. When G is finished, G will be projected, and G will not be projected while writing G.
  • the third type when the user finishes writing G, only G is projected, and A to F will not project it.
  • the projection component 8 can project for a predetermined period of time to remind the user that the storage is successful, and the user can also check the writing situation just now through the projection.
  • FIG. 5 is a schematic diagram of the appearance of another electronic device provided by an embodiment of the disclosure.
  • the body 1 may include: a pen barrel 011 and a pen cap 012, the pen cap 012 and the end of the pen barrel 011 provided with a pen tip (the end where the light-emitting assembly 2 is located in Figure 5) can be detachably connected, the pen cap 012 can be connected to the pen tip
  • the light-emitting component 2 is protected to prevent the light-emitting component 2 from being damaged.
  • the pen cap 012 can also be installed on the opposite end of the pen barrel 011 where the pen tip is located.
  • the pen cap 012 When the user does not need to use the electronic device, as shown in FIG. 7, the pen cap 012 can be installed on the end of the pen barrel 011 where the pen tip is located.
  • the projection assembly 8 may be located on the cap 012.
  • the aforementioned processor 4, light-emitting component 2, photosensitive component 3, memory (not shown in Figure 5), light-emitting control component (not shown in Figure 5), and light intensity sensor (not shown in Figure 5) can all be located on the penholder 011 on.
  • the user can hold the penholder 011 and place the pen cap 012 aside, so that the screen projected by the projection component 8 is projected on a certain plane, so that the user can write while watching his own writing results.
  • a receiver may be provided on the pen cap 012 for receiving the movement track.
  • a transmitter (not shown in the drawings of the specification) is also provided on the penholder 011, the transmitter is connected with the processor 4, and the receiver is connected with the projection assembly 8.
  • the processor 4 may control the transmitter to send the motion trajectory to the receiver, and the receiver may send the motion trajectory to the projection component 8 after receiving the motion trajectory, so that the projection component 8 can project the motion trajectory.
  • the electronic device further includes: a power supply 10, which is used to supply power to at least part of the electrical components in the electronic device.
  • the electrical components in the electronic device may include: components in the electronic device other than the power supply 10 that require power, such as the processor 4, the light-emitting component 2, the projection component 8, etc., the power supply 10 in the electronic device All the electrical components are powered, or only part of the electrical components are powered, which is not limited in the embodiment of the present disclosure.
  • the power supply 10 is used to supply power to at least part of the above-mentioned electrical components when the pen cap 012 is installed on the opposite end of the pen tip in the pen barrel 011 (as shown in FIG. 6). It can be seen that only when the pen cap 012 is installed on the end of the pen barrel 011 opposite to the end of the pen tip, the power supply can supply power to the at least part of the electrical components, and the entire electronic device can be used normally, thereby avoiding the loss of the pen cap 012.
  • FIG. 8 is a schematic diagram of power supply of a power supply provided by an embodiment of the present disclosure.
  • the electronic device further includes: a first port 021, a second port 022, a third port 023, and a fourth port 024. These ports are also called interfaces; the first port 021, the power supply 10 and the second port 022 can all be located on the penholder 011, and the first port 021, the power supply 10 and the second port 022 are connected in series; the third port 023 and the fourth port 024 are all located on the pen cap 012, and the third port 023 and the fourth port 024 are connected.
  • the first port 021 is docked with the third port 023, the second port 022 is docked with the fourth port 024, the first port 021, the power supply 10, the second port 022,
  • the fourth port 024 and the third port 023 form a power supply loop.
  • At least part of the above-mentioned electrical components (not shown in FIG. 8) used for power supply of the power supply 10 may be connected in series on the power supply loop.
  • the first port 021 and the third port 023 can be powered by touch, and the second port 022 and the fourth port 024 can also be powered by touch.
  • the first port 021, the second port 022, the third port 023, and the fourth port 024 may all be ceramic power ports.
  • the power-consuming components used by the power supply 10 for power supply may include a projection component located on a pen cap.
  • the projection component can be connected in series between the third port 023 and the fourth port 024, so that when the first port 021, the power supply 10, the second port 022, the fourth port 024, and the third port 023 form a power supply loop, the projection component Located on the power supply loop, it is convenient for the power supply 10 to supply power to the projection assembly, so that the projection assembly can perform projection.
  • the first port 021, the second port 022, the third port 023, and the fourth port 024 are switches for electrically connecting the power supply and the projection assembly.
  • these ports can also be switches for data transmission, that is, when the first port is electrically connected to the third port and the second port is electrically connected to the fourth port, the motion track can be performed between the projection component and the processor. Transmission, in turn, can realize the projection of the motion track by the projection component.
  • the power source 10 may be a lithium battery.
  • the body 1 such as the penholder 011 of the body 1 may be provided with a charging interface 15, and the charging interface 15 is connected to the power supply 10, and then the power supply 10 can be charged through the charging interface 15, realizing the electronic equipment Continue to use.
  • the power supply 10 may be an independent power supply as an example.
  • the power source 10 may include a first power source located on the pen barrel and a second power source located on the pen cap.
  • the first power supply is used to supply power to at least part of the electrical components (such as the aforementioned processor) on the penholder
  • the second power supply is used to supply power to at least part of the electrical components (such as the aforementioned projection component) on the pen cap.
  • the electronic device further includes: a power detection component 101 and a prompt component 102 located on the body (such as a penholder in the body); the power detection component 101 is used to detect the remaining power of the power supply 10 and prompt The component 102 is configured to display prompt information when the remaining power detected by the power detection component 101 is less than the power threshold.
  • the prompt component can be a prompt lamp (such as a light emitting diode), a voice prompter, etc., which are not listed here.
  • the prompt component 102 can prompt the user to charge the battery 10, so as to avoid the situation that the electronic device cannot be used because the battery is not charged in time.
  • the prompt component 102 to display the prompt information may be a spontaneous operation or an operation performed under the control of the processor 4.
  • the prompt component 102 displays the prompt information that is an operation executed under the control of the processor 4
  • the power detection component 101 and the prompt component 102 are both connected to the processor 4, and the processor 4 is used for the remaining power detected by the power detection component 101
  • the prompt component 102 is controlled to display prompt information.
  • the prompt component 102 may be located on the end of the pen shaft 011 away from the pen tip.
  • the electronic device further includes: a deletion component 11; the deletion component 11 is connected to the storage 5, and the deletion component 11 is used to delete the movement track in the storage 5.
  • the deletion component 11 is used to delete the movement track in the storage 5.
  • the user can delete the wrong motion track by deleting the component 11. For example, if the user wants to record A, B, C...G in sequence, but the user finds a writing error in B, he can delete B by deleting the component.
  • the motion track stored in the memory 5 is: A, C, D...G .
  • the electronic device may further include a deletion switch, and the user can trigger the deletion component to delete the motion track stored in the memory by pressing the deletion switch.
  • the switch 14 in FIG. 5 can be multiplexed as the delete switch. When the user presses the switch 14 twice in succession, the switch 14 can trigger the delete component to delete the motion track stored in the memory.
  • the delete switch can also be different from the switch 14 in FIG. 5, which is not limited in the embodiment of the present disclosure.
  • deleting the movement track in the memory 5 by the deleting component 11 may be a spontaneous operation, or an operation executed under the control of the processor 4.
  • the deleting component 11 deletes the motion track in the memory 5 is an operation performed under the control of the processor 4
  • the deleting component 11 and the delete switch are both connected to the processor 4, and when the user presses the delete switch, the processor 4 will receive The instruction is deleted, and the deletion component 11 can be controlled to delete the corresponding motion track in the memory 5 according to the deletion instruction.
  • the electronic device further includes a sending component 12, which may be a wireless sending component or a wired sending component, which is not limited in the embodiment of the present disclosure.
  • the sending component 12 is connected to the memory 5, and the sending component 12 is used to send the motion track in the memory 5 to other devices (such as a server, a computer, etc.) outside the electronic device.
  • the movement track stored in the memory 5 can be sent to other devices for storage.
  • the sending component 12 may send the picture of the motion trajectory to another device, and the other device may recognize the motion trajectory in the picture through image recognition software.
  • the electronic device further includes: an optical lens 13 on the body 1.
  • the optical lens 13 may be a convex lens.
  • the optical lens 13 can function to amplify the reflected light to make the light stronger, which is beneficial for the photosensitive component 3 to obtain more accurate optical information, and facilitates the processor 4 Based on the optical information, an accurate movement track is determined.
  • the photosensitive component can obtain the optical information of the reflected light after receiving the reflected light of the detection light emitted by the light-emitting component, and the processor can obtain the optical information according to the photosensitive component.
  • the optical information determines the trajectory of the light-emitting component.
  • the electronic device can obtain the movement trajectory of the light-emitting component through its own processor, and no other device is needed when the electronic device acquires the movement trajectory, thereby improving the flexibility of use of the electronic device.
  • FIG. 9 is a flowchart of a method for determining a motion trajectory provided by an embodiment of the present disclosure. As shown in FIG. 9, the method includes:
  • Step 901 The light emitting component emits detection light.
  • Step 902 After receiving the reflected light of the detection light, the photosensitive component obtains the optical information of the reflected light.
  • Step 903 The processor determines the movement track of the light-emitting component according to the optical information.
  • the photosensitive component can obtain the optical information of the reflected light after receiving the reflected light of the detection light emitted by the light-emitting component, and the processor can obtain the optical information according to the photosensitive component The obtained optical information determines the trajectory of the light-emitting assembly.
  • the electronic device can obtain the movement trajectory of the light-emitting component through its own processor, and no other device is needed when the electronic device acquires the movement trajectory, thereby improving the flexibility of use of the electronic device.
  • FIG. 10 is a flowchart of another method for determining a motion track provided by an embodiment of the present disclosure.
  • the method may be used in any electronic device provided by the embodiment of the present disclosure. As shown in Figure 10, the method includes:
  • Step 1001 The light emitting component emits detection light.
  • the electronic device further includes: a light-emitting control component located on the body, the light-emitting control component is connected to the light-emitting component, and the light-emitting component may emit detection light under the control of the light-emitting control component.
  • the detection light emitted by the light-emitting component may also be a spontaneous operation, which is not limited in the embodiment of the present disclosure.
  • Step 1002 after receiving the reflected light of the detection light, the photosensitive component obtains optical information of the reflected light.
  • the photosensitive component may obtain the optical information of the reflected light after receiving the reflected light of the probe light under the control of the processor.
  • the optical information obtained by the photosensitive component may also be a spontaneous operation, which is not limited in the embodiment of the present disclosure.
  • Step 1003 The processor determines the movement track of the light-emitting component according to the optical information.
  • the optical information includes: n images of reflected light acquired n times.
  • Step 1003 may include: the processor determines the first feature area of the i-th image in the n images, and the image of the i+1-th image. The second feature region, where 1 ⁇ i ⁇ n, the similarity between the first feature region and the second feature region is greater than the similarity threshold; the processor according to the position of the first feature region in the i-th image, and the second feature The position of the region in the i+1th image determines the sub-trajectory of the light-emitting component corresponding to the i-th image; the processor determines the motion trajectory according to the sub-trajectory corresponding to the first n-1 images in the n images.
  • the optical information further includes: at least one of the wavelength, reflection angle, and light intensity of the reflected light corresponding to the first image in the n images.
  • the processor may perform a pair of information The last n-1 images out of n images are corrected.
  • the electronic device further includes: a light intensity sensor located on the main body; the light intensity sensor is connected to the processor; the light intensity sensor can detect the light intensity of the reflected light; the processor can determine when the light intensity is greater than the light intensity threshold The above motion trajectory.
  • a light intensity sensor located on the main body; the light intensity sensor is connected to the processor; the light intensity sensor can detect the light intensity of the reflected light; the processor can determine when the light intensity is greater than the light intensity threshold The above motion trajectory.
  • Step 1004 The memory stores the movement track obtained by the processor.
  • Step 1005 The projection component projects the movement track obtained by the processor.
  • the electronic device further includes: a power detection component and a prompt component located on the main body; in this case, the method may further include: the power detection component detects the remaining power of the power supply; the prompt component displays prompt information when the remaining power is less than the power threshold .
  • the power detection component and the prompt component are connected to the processor, and the prompt component may be under the control of the processor to display prompt information when the remaining power is less than the power threshold.
  • the electronic device further includes: deleting the component; the deleting component is connected to the memory.
  • the method may further include: deleting the component and deleting the motion track in the memory.
  • the electronic device further includes: a sending component; the sending component is connected to the memory.
  • the method further includes: the sending component sends the movement track to other devices outside the electronic device.
  • the photosensitive component can obtain the optical information of the reflected light after receiving the reflected light of the detection light emitted by the light-emitting component, and the processor can obtain the optical information according to the photosensitive component The obtained optical information determines the trajectory of the light-emitting assembly.
  • the electronic device can obtain the movement trajectory of the light-emitting component through its own processor, and no other device is needed when the electronic device acquires the movement trajectory, thereby improving the flexibility of use of the electronic device.
  • FIG. 11 is a flowchart of another method for determining a motion trajectory provided by an embodiment of the disclosure. As shown in FIG. 11, the method includes:
  • Step 1101 Obtain the optical information of the reflected light obtained by the photosensitive component, where the optical information is information obtained after the photosensitive component receives the reflected light of the detection light emitted by the light-emitting component;
  • Step 1102 Determine the movement track of the light-emitting component according to the optical information.
  • the optical information includes: n images of reflected light acquired n times, and step 1102 includes:
  • the optical information further includes: at least one of the wavelength, reflection angle, and light intensity of the reflected light corresponding to the first image in the n images.
  • the method further includes: The information corrects the last n-1 of the n images.
  • the method further includes: controlling the photosensitive component to obtain the optical information of the reflected light after receiving the reflected light of the detection light.
  • the electronic device further includes: a light intensity sensor located on the body; the light intensity sensor is connected to the processor; the light intensity sensor is used to detect the light intensity of the reflected light; step 1102 includes: determining when the light intensity is greater than the light intensity threshold Movement track.
  • the electronic device further includes: a power detection component and a prompt component located on the main body; the power detection component is used to detect the remaining power of the power supply; both the power detection component and the prompt component are connected to the processor, and the method further includes: When the power is less than the power threshold, control the prompt component to display prompt information.
  • the photosensitive component can obtain the optical information of the reflected light after receiving the reflected light of the detection light emitted by the light-emitting component, and the processor can obtain the optical information according to the photosensitive component The obtained optical information determines the trajectory of the light-emitting assembly.
  • the electronic device can obtain the movement trajectory of the light-emitting component through its own processor, and no other device is needed when the electronic device acquires the movement trajectory, thereby improving the flexibility of use of the electronic device.
  • FIG. 12 is a schematic structural diagram of a motion trajectory determining device provided by an embodiment of the disclosure. As shown in FIG. 12, the motion trajectory determining device includes:
  • the obtaining module 1201 is configured to obtain the optical information of the reflected light obtained by the photosensitive component, where the optical information is the information obtained after the photosensitive component receives the reflected light of the detection light emitted by the light-emitting component;
  • the determining module 1202 is used to determine the movement track of the light-emitting component according to the optical information.
  • the optical information includes: n images of reflected light acquired n times, and the determining module 1202 is configured to:
  • the optical information further includes: at least one of the wavelength, reflection angle, and light intensity of the reflected light corresponding to the first image in the n images.
  • the motion trajectory determination device further includes: correction The module 1203 is used for correcting the last n-1 images of the n images according to at least one type of information.
  • the motion track determination device further includes: a first control module 1204, configured to control the photosensitive component to obtain the optical information of the reflected light after receiving the reflected light of the detection light.
  • a first control module 1204 configured to control the photosensitive component to obtain the optical information of the reflected light after receiving the reflected light of the detection light.
  • the electronic device further includes: a light intensity sensor located on the body; the light intensity sensor is connected to the processor; the light intensity sensor is used to detect the light intensity of the reflected light; the determining module 1202 is used to: when the light intensity is greater than the light intensity threshold When determining the trajectory of motion.
  • the electronic device further includes: a power detection component and a prompt component on the main body; the power detection component is used to detect the remaining power of the power supply; both the power detection component and the prompt component are connected to the processor, as shown in FIG.
  • the trajectory determination device further includes: a second control module 1205 for controlling the prompt component to display prompt information when the remaining power is less than the power threshold.
  • the acquisition module can acquire the optical information of the reflected light acquired by the photosensitive component after receiving the reflected light of the detection light emitted by the light-emitting component, and the determination module can The movement track of the light-emitting assembly is determined according to the optical information.
  • the electronic device can obtain the movement trajectory of the light-emitting component through its own processor, and no other device is needed when the electronic device acquires the movement trajectory, thereby improving the flexibility of use of the electronic device.
  • the embodiments of the present disclosure provide a computer-readable storage medium, and a computer program is stored in the computer-readable storage medium.
  • a computer program is executed by a processor, any method for determining a motion track provided in the present disclosure is implemented.
  • the embodiments of the present disclosure also provide a computer program product containing instructions, which when the computer program product runs on a computer, cause the computer to execute any method for determining a motion track provided by the present disclosure.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Electromagnetism (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Position Input By Displaying (AREA)
  • Toys (AREA)

Abstract

本公开提供了一种运动轨迹确定方法及装置、电子设备。该电子设备包括:本体(1)、发光组件(2)、感光组件(3)和处理器(4);发光组件(2)、感光组件(3)和处理器(4)均位于本体(1)上,感光组件(3)与处理器(4)连接;发光组件(2)用于发出探测光;感光组件(3)用于在接收到探测光的反射光后,获取反射光的光学信息;处理器(4)用于根据该光学信息确定发光组件(2)的运动轨迹。

Description

运动轨迹确定方法及装置、电子设备
本公开要求于2019年06月04日提交的申请号为201910480092.0、发明名称为“一种移动存储设备”的中国专利申请的优先权,其全部内容通过引用结合在本公开中。
技术领域
本公开涉及一种运动轨迹确定方法及装置、电子设备。
背景技术
触控笔是一种电子设备,人们可以使用触控笔在触控面板上进行书写,触控面板能够根据触控笔触控位置的变化,确定触控笔的运动轨迹。
发明内容
本公开实施例提供一种运动轨迹确定方法及装置、电子设备。
第一方面,该电子设备包括:本体、发光组件、感光组件和处理器;所述发光组件、所述感光组件和所述处理器均位于所述本体上,所述感光组件与所述处理器连接;
所述发光组件用于发出探测光;
所述感光组件用于在接收到所述探测光的反射光后,获取所述反射光的光学信息;
所述处理器用于根据所述光学信息确定所述发光组件的运动轨迹。
可选地,所述本体包括笔杆,所述发光组件位于所述笔杆的笔尖。
可选地,所述光学信息包括:n次获取到的所述反射光的n个图像,所述处理器用于:
确定所述n个图像中第i个图像的第一特征区域,以及第i+1个图像的第二特征区域,其中,1≤i<n,所述第一特征区域和所述第二特征区域的相似度大于相似度阈值;
根据所述第一特征区域在所述第i个图像中的方位,以及所述第二特征区域在所述第i+1个图像中的方位,确定所述第i个图像对应的所述发光组件的子轨 迹;
根据所述n个图像中前n-1个图像对应的所述子轨迹,确定所述运动轨迹。
可选地,所述光学信息还包括:所述n个图像中第1个图像对应的所述反射光的波长、反射角和光强中的至少一种信息,所述处理器用于根据所述至少一种信息对所述n个图像中的后n-1个图像进行校正。
可选地,所述处理器还用于控制所述感光组件获取所述光学信息。
可选地,所述电子设备还包括:位于所述本体上的发光控制组件;
所述发光控制组件与所述发光组件连接,所述发光控制组件用于控制所述发光组件发出所述探测光。
可选地,所述发光控制组件包括:位于所述本体上的压力传感区域的压力传感器;
所述压力传感器用于在所述压力传感区域所受压力大于压力阈值时,控制所述发光组件发出所述探测光。
可选地,所述电子设备还包括:位于所述本体上的光强传感器;
所述光强传感器与所述处理器连接;所述光强传感器用于检测所述反射光的光强;所述处理器用于在所述光强大于光强阈值时确定所述运动轨迹。
可选地,所述电子设备还包括:位于所述本体上的光学透镜,所述感光组件用于通过所述光学透镜接收所述反射光。
可选地,所述光学透镜包括凸透镜。
可选地,所述电子设备还包括:位于所述本体上的投影组件;
所述投影组件与所述处理器连接,所述投影组件用于投影所述运动轨迹。
可选地,所述本体包括:笔杆和笔帽,所述投影组件位于所述笔帽上。
可选地,所述电子设备还包括:电源,所述电源用于向所述电子设备中的至少部分用电组件供电。
可选地,所述本体包括:笔杆和笔帽;
所述电源用于在所述笔帽安装于所述笔杆中笔尖所在端的对端时,向所述至少部分用电组件供电。
可选地,所述电子设备还包括:第一端口、第二端口、第三端口和第四端口;
所述第一端口、所述电源和所述第二端口均位于所述笔杆上,且所述第一端口、所述电源和所述第二端口串连;所述第三端口和所述第四端口均位于所 述笔帽上,且所述第三端口和所述第四端口连接;
在所述笔帽安装于所述笔杆中笔尖所在端的对端时,所述第一端口、所述电源、所述第二端口、所述第四端口和所述第三端口形成供电回路,所述至少部分用电组件串连在所述供电回路上。
可选地,所述电子设备还包括:位于所述本体上的电量检测组件和提示组件;
所述电量检测组件用于检测所述电源的剩余电量,所述提示组件用于在所述剩余电量小于电量阈值时展示提示信息。
可选地,所述电量检测组件和所述提示组件均与所述处理器连接,所述处理器用于在所述剩余电量小于电量阈值时,控制所述提示组件展示所述提示信息。
可选地,所述电子设备还包括:位于所述本体上的存储器,所述存储器与所述处理器连接,所述存储器用于存储所述运动轨迹。
可选地,所述电子设备还包括:删除组件;
所述删除组件与所述存储器连接,所述删除组件用于删除所述存储器中的所述运动轨迹。
可选地,所述电子设备还包括:发送组件;
所述发送组件与所述存储器连接,所述发送组件用于向所述电子设备外的其他设备发送所述运动轨迹。
第二方面,提供了一种运动轨迹确定方法,用于第一方面提供的任一种电子设备,所述方法包括:
发光组件发出探测光;
感光组件在接收到所述探测光的反射光后,获取所述反射光的光学信息;
处理器根据所述光学信息确定所述发光组件的运动轨迹。
可选地,所述光学信息包括:n次获取到的所述反射光的n个图像,所述处理器根据所述光学信息确定所述发光组件的运动轨迹,包括:
所述处理器确定所述n个图像中第i个图像的第一特征区域,以及第i+1个图像的第二特征区域,其中,1≤i<n,所述第一特征区域和所述第二特征区域的相似度大于相似度阈值;
所述处理器根据所述第一特征区域在所述第i个图像中的方位,以及所述第二特征区域在所述第i+1个图像中的方位,确定所述第i个图像对应的所述发光 组件的子轨迹;
所述处理器根据所述n个图像中前n-1个图像对应的所述子轨迹,确定所述运动轨迹。
可选地,所述光学信息还包括:所述n个图像中第1个图像对应的所述反射光的波长、反射角和光强中的至少一种信息,在所述处理器根据所述光学信息确定所述发光组件的运动轨迹之前,所述方法还包括:所述处理器根据所述至少一种信息对所述n个图像中的后n-1个图像进行校正。
可选地,所述感光组件在接收到所述探测光的反射光后,获取所述反射光的光学信息,包括:所述感光组件在所述处理器的控制下,在接收到所述探测光的反射光后,获取所述反射光的光学信息。
可选地,所述电子设备还包括:位于所述本体上的发光控制组件,所述发光控制组件与所述发光组件连接,所述发光组件发出探测光包括:所述发光组件在所述发光控制组件的控制下发出所述探测光。
可选地,所述电子设备还包括:位于所述本体上的光强传感器;
所述光强传感器与所述处理器连接;所述方法还包括:所述光强传感器检测所述反射光的光强;所述处理器根据所述光学信息确定所述发光组件的运动轨迹,包括:所述处理器在所述光强大于光强阈值时确定所述运动轨迹。
可选地,所述电子设备还包括:位于所述本体上的投影组件,所述投影组件与所述处理器连接,所述方法还包括:所述投影组件投影所述运动轨迹。
可选地,所述电子设备还包括:位于所述本体上的电量检测组件和提示组件;所述方法还包括:
所述电量检测组件检测所述电源的剩余电量;
所述提示组件在所述剩余电量小于电量阈值时展示提示信息。
可选地,所述电量检测组件和所述提示组件均与所述处理器连接,所述提示组件在所述剩余电量小于电量阈值时展示提示信息,包括:在所述剩余电量小于电量阈值时,所述提示组件在所述处理器的控制下展示所述提示信息。
可选地,所述电子设备还包括:位于所述本体上的存储器,所述存储器与所述处理器连接,所述方法还包括:所述存储器存储所述运动轨迹。
可选地,所述电子设备还包括:删除组件;所述删除组件与所述存储器连接,所述方法还包括:所述删除组件删除所述存储器中的所述运动轨迹。
可选地,所述电子设备还包括:发送组件;所述发送组件与所述存储器连 接,所述方法还包括:所述发送组件向所述电子设备外的其他设备发送所述运动轨迹。
第三方面,提供了一种运动轨迹确定方法,用于第一方面提供的任一种电子设备中的处理器,所述方法包括:
获取感光组件获取的反射光的光学信息,其中,所述光学信息为所述感光组件在接收到发光组件发出的探测光的反射光后获取的信息;
根据所述光学信息确定所述发光组件的运动轨迹。
可选地,所述光学信息包括:n次获取到的所述反射光的n个图像,所述根据所述光学信息确定所述发光组件的运动轨迹,包括:
确定所述n个图像中第i个图像的第一特征区域,以及第i+1个图像的第二特征区域,其中,1≤i<n,所述第一特征区域和所述第二特征区域的相似度大于相似度阈值;
根据所述第一特征区域在所述第i个图像中的方位,以及所述第二特征区域在所述第i+1个图像中的方位,确定所述第i个图像对应的所述发光组件的子轨迹;
根据所述n个图像中前n-1个图像对应的所述子轨迹,确定所述运动轨迹。
可选地,所述光学信息还包括:所述n个图像中第1个图像对应的所述反射光的波长、反射角和光强中的至少一种信息,在所述根据所述光学信息确定所述发光组件的运动轨迹之前,所述方法还包括:根据所述至少一种信息对所述n个图像中的后n-1个图像进行校正。
可选地,所述方法还包括:控制所述感光组件在接收到所述探测光的反射光后,获取所述反射光的光学信息。
可选地,所述电子设备还包括:位于所述本体上的光强传感器;所述光强传感器与所述处理器连接;所述光强传感器用于检测所述反射光的光强;所述根据所述光学信息确定所述发光组件的运动轨迹,包括:在所述光强大于光强阈值时确定所述运动轨迹。
可选地,所述电子设备还包括:位于所述本体上的电量检测组件和提示组件;所述电量检测组件用于检测所述电源的剩余电量;所述电量检测组件和所述提示组件均与所述处理器连接,所述方法还包括:在所述剩余电量小于电量阈值时,控制所述提示组件展示所述提示信息。
第四方面,提供了一种运动轨迹确定装置,用于第一方面提供的任一种电 子设备中的处理器,所述运动轨迹确定装置包括:
获取模块,用于获取感光组件获取的反射光的光学信息,其中,所述光学信息为所述感光组件在接收到发光组件发出的探测光的反射光后获取的信息;
确定模块,用于根据所述光学信息确定所述发光组件的运动轨迹。
可选地,所述光学信息包括:n次获取到的所述反射光的n个图像,所述确定模块用于:
确定所述n个图像中第i个图像的第一特征区域,以及第i+1个图像的第二特征区域,其中,1≤i<n,所述第一特征区域和所述第二特征区域的相似度大于相似度阈值;
根据所述第一特征区域在所述第i个图像中的方位,以及所述第二特征区域在所述第i+1个图像中的方位,确定所述第i个图像对应的所述发光组件的子轨迹;
根据所述n个图像中前n-1个图像对应的所述子轨迹,确定所述运动轨迹。
可选地,所述光学信息还包括:所述n个图像中第1个图像对应的所述反射光的波长、反射角和光强中的至少一种信息,所述运动轨迹确定装置还包括:校正模块,用于根据所述至少一种信息对所述n个图像中的后n-1个图像进行校正。
可选地,所述运动轨迹确定装置还包括:第一控制模块,用于控制所述感光组件在接收到所述探测光的反射光后,获取所述反射光的光学信息。
可选地,所述电子设备还包括:位于所述本体上的光强传感器;所述光强传感器与所述处理器连接;所述光强传感器用于检测所述反射光的光强;所述确定模块用于:在所述光强大于光强阈值时确定所述运动轨迹。
可选地,所述电子设备还包括:位于所述本体上的电量检测组件和提示组件;所述电量检测组件用于检测所述电源的剩余电量;所述电量检测组件和所述提示组件均与所述处理器连接,所述运动轨迹确定装置还包括:第二控制模块,用于在所述剩余电量小于电量阈值时,控制所述提示组件展示所述提示信息。
第五方面,提供了一种计算机可读存储介质,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现第三方面提供的任一种运动轨迹确定方法。
附图说明
图1为本公开实施例提供的一种电子设备的结构示意图;
图2为本公开实施例提供的一种感光组件获取到的图像的示意图;
图3为本公开实施例提供的另一种感光组件获取到的图像的示意图;
图4为本公开实施例提供的一种电子设备的结构框图;
图5为本公开实施例提供的另一种电子设备的结构示意图;
图6为本公开实施例提供的一种电子设备被使用时的状态示意图;
图7为本公开实施例提供的一种电子设备未被使用时的状态示意图;
图8为本公开实施例提供的一种电源的供电示意图;
图9为本公开实施例提供的一种运动轨迹确定方法的流程图;
图10为本公开实施例提供的另一种运动轨迹确定方法的流程图;
图11为本公开实施例提供的另一种运动轨迹确定方法的流程图;
图12为本公开实施例提供的一种运动轨迹确定装置的结构示意图。
具体实施方式
为更进一步阐述本公开所采取的技术手段及功效,以下结合附图及实施例,对依据本公开提出的电子设备其具体实施方式、结构、特征及其功效,详细说明如后。
相关技术中的触控笔是一种需要配合触控面板使用的电子设备,由于触控笔无法单独使用,因此触控笔的使用灵活性较低。本公开实施例提供了一种电子设备,该电子设备无需配合其他设备使用,所以该电子设备的使用灵活性较高。
示例地,图1为本公开实施例提供的一种电子设备的结构示意图,如图1所示,该电子设备可以包括:本体1、发光组件2、感光组件3和处理器4。发光组件2、感光组件3和处理器4均位于本体1上,感光组件3与处理器4连接。其中,发光组件2用于发出探测光;感光组件3用于在接收到该探测光的反射光后,获取反射光的光学信息;处理器4用于根据光学信息确定发光组件2的运动轨迹。
综上所述,本公开实施例提供的电子设备中,感光组件能够在接收到发光组件发出的探测光的反射光后,获取该反射光的光学信息,并且处理器能够根据感光组件获取到的光学信息确定发光组件的运动轨迹。这样一来,电子设备 就实现了通过自身的处理器获取发光组件的运动轨迹,并且,在电子设备获取该运动轨迹的过程中,无需借助其他设备,因此,提升了电子设备的使用灵活性。
本公开实施例提供的电子设备中本体的形状可以是任意形状,图1中以本体1呈笔状为例,当然该本体1也可以呈其他形状(如手电筒状、手表状等)。电子设备中的发光组件2可以位于本体1的任意位置,例如,当电子设备中的本体1呈笔状时,本体1包括笔杆011,发光组件2可以位于笔杆011的笔尖,此时,电子设备相当于智能笔,电子设备中发光组件2的运动轨迹相当于智能笔的书写轨迹。
在电子设备获取该运动轨迹的过程中,发光组件2还可以起到照明的作用,从而避免了因亮度不够导致处理器4无法获取到的发光组件2的运动轨迹的情况发生。
用户在使用电子设备时,用户可以手握本体1并带动本体1移动,使得本体1上的发光组件2移动。此时,发光组件2所发出的探测光的照射区域也会移动,感光组件3获取的光学信息会发生改变,处理器4能够根据改变的光学信息确定发光组件2的运动轨迹。
可选地,感光组件3获取到的光学信息包括:n次获取到的反射光的n个图像,n≥2。也即是,感光组件3可以连续n次获取反射光的图像,得到上述n个图像。可选地,感光组件3每相邻两次获取反射光的图像的时间间隔可以为固定间隔,当然,该时间间隔也可以不是固定间隔,本公开实施例对此不作限定。
在上述光学信息包括上述n个图像时,处理器4可以根据该n个图像确定发光组件2的运动轨迹。此时,处理器4可以用于:首先,确定这n个图像中第i个图像的第一特征区域,以及第i+1个图像的第二特征区域;然后,根据第一特征区域在第i个图像中的方位,以及第二特征区域在第i+1个图像中的方位,确定第i个图像对应的发光组件的子轨迹;最后,根据n个图像中前n-1个图像对应的子轨迹,确定运动轨迹。其中,1≤i<n,第一特征区域和第二特征区域的相似度大于相似度阈值。该相似度阈值可以是任意的相似度,如90%或100%等。
示例地,在用户使用电子设备的过程中,用户可以手持电子设备移动,以使发光组件移动。假设在这一过程中,感光组件获取到的n个图像中的第i个图 像包括图2中区域a和区域b组成的圆形图像,该n个图像中的第i+1个图像包括图2中区域b和区域c组成的圆形图像。那么,处理器可以比较该第i个图像和第i+1个图像,以确定这两个图像中相似度大于阈值的两个特征区域,分别为第i个图像中的第一特征区域(如图2中的区域b),以及第i+1个图像中的第二特征区域(如图2中的区域b)。根据图2可知,第一特征区域在第i个图像中的方位为右侧方位,第二特征区域在第i+1个图像中的方位为左侧方位,处理器比较这两个方位可知,在感光组件获取这两个图像的过程中,发光组件进行了从左到右的移动,进而可以得到发光组件在感光组件获取这两个图像的过程中的子轨迹(可以称为第i个图像对应的子轨迹)。该子轨迹可以是从第i个图像对应的光照区域(探测光的照射区域)的中心到第i+1个图像对应的光照区域的中心的轨迹。
在得到n个图像中前n-1个图像对应的子轨迹之后,处理器能够将这前n-1个图像对应的子轨迹进行拼接,以得到在感光组件获取n个图像的过程中发光组件的运动轨迹。例如,假设感光组件获取到的n个图像如图3所示的5个圆形图像,处理器在得到前4个图像对应的4个子轨迹(如图3中的子轨迹1、2、3和4)后,可以依次将这4个子轨迹进行拼接,从而得到子轨迹1、2、3和4组成的发光组件的运动轨迹。
进一步地,上述光学信息不仅可以包括上述n个图像,还可以包括:上述n个图像中第1个图像对应的反射光的波长、反射角和光强中的至少一种信息(也即在感光组件获取该第1个图像时,反射光的该至少一种信息)。此时,处理器在根据上述n个图像确定发光组件2的运动轨迹前,可以根据该至少一种信息对这n个图像中的后n-1个图像进行校正,以使后n-1个图像对应的该至少一种信息与第1个图像对应的该至少一种信息较为相似,从而避免外部环境的影响导致后n-1个图像对应的该至少一种信息相对第1个图像对应的该至少一种信息出现较大偏移,避免后n-1个图像受外部环境的影响而较不准确。
可选地,图4为本公开实施例提供的一种电子设备的结构框图。如图4所示,在光学信息包括上述反射光的图像时,感光组件3包括:用于获取反射光的图像的成像组件34(如微成像器)。在光学信息包括第1个图像对应的反射光的波长时,感光组件3包括:波长获取组件31,波长获取组件31用于获取反射光的波长;在光学信息包括第1个图像对应的反射光的反射角时,感光组件3包括:反射角获取组件32,反射角获取组件32用于获取反射光的反射角;在光 学信息包括第1个图像对应的反射光的光强时,感光组件3包括:光强获取组件33,光强获取组件33用于获取反射光的光强。成像组件34、波长获取组件31、反射角获取组件32和光强获取组件33均与处理器4连接。
可选地,如图4所示,该电子设备还可以包括:位于本体(图4中未示出)上的存储器5,存储器5与处理器4连接,存储器5用于存储处理器4得到的运动轨迹。由于存储器5能够对处理器4得到的运动轨迹进行记录,因此,实现了电子设备自行记录发光组件2的运动轨迹的效果。示例地,处理器4能够将得到的运动轨迹转化为图片,然后,存储器5对图片进行存储。又示例地,处理器4还能够将得到的运动轨迹转化成文档,然后存储器5对该文档进行存储。
可选地,该电子设备还可以包括:位于本体上的保存按钮(图4中未示出),用户可以通过按压保存按钮触发存储器5对运动轨迹进行存储。本体上还可以设置有指示灯(图4中未示出),指示灯可以在存储器5成功存储运动轨迹后闪烁,以提醒用户成功保存运动轨迹。
在本公开实施例中,发光组件3可以是任一种能够发光的组件,如用于发出激光、红外光等的组件。处理器4可以是任一种处理器,如数字信号处理器(digital signal processor,DSP)等。存储器5可以为任一种存储器,如安全数码卡(Secure Digital Memory Card,SD卡)等。
可选地,感光组件3获取光学信息可以是自发的操作,当然也可以是在处理器4的控制下的操作,此时,处理器4还用于控制感光组件3获取上述光学信息。
可选地,该电子设备还可以包括:位于本体上的发光控制组件。该发光控制组件能够与发光组件2连接(可以是直接连接,也可以是间接连接),发光控制组件用于控制发光组件2发出探测光。用户可以通过控制该发光控制组件控制发光组件2发出探测光。示例地,请继续参考图4,该发光控制组件可以包括:位于本体1上的压力传感区域的压力传感器6。该压力传感器6用于在压力传感区域所受压力大于压力阈值时,控制发光组件2发出探测光。图5为本公开实施例提供的另一种电子设备的结构示意图,如图5所示,为了直观的看到压力传感器的位置,可以在本体1上的压力传感区域设置一能够按压的开关14,开关14内设置有压力传感器(图5中未示出)。开关14突出于本体1的表面,方便用户对开关14进行按压,当用户按压开关14时,压力传感器能够检测到压力传感区域受到的压力。
本公开实施例提供的电子设备中的本体可以包括笔杆,用户可以像握笔一样使用电子设备。用户在握笔杆时,本体上被手接触的区域可以为上述压力传感区域。以用户写字为例,用户每写完一个字时,会抬起笔以便进行下一个字的书写,在用户抬笔时,用户握笔的力量会发生变化,笔受到的压力会减小,此时,位于压力传感区域的压力传感器能够检测到压力变小,当压力传感器检测到的压力小于压力阈值时,便控制发光组件不再发出探测光,这样就能够保证用户在书写两个字之间的笔尖抬起时间段内,处理器不会生成运动轨迹,相应地存储器也不会记录运动轨迹。
设定在每次压力传感器检测到的压力大于压力阈值期间,存储器记录的运动轨迹为一节轨迹。不同节的轨迹存储在存储器中的不同位置,以免不同节的轨迹重复导致记录的运动轨迹混乱。此时压力传感器可以作为开启记录功能的开关。用户在使用电子设备时,可以握住电子设备的本体,此时压力传感器检测到的压力大于压力阈值,发光组件、感光组件、处理器和存储器均开始工作,存储器开始记录这段时间内处理器确定出的发光组件的运动轨迹。用户在用该电子设备书写结束后,可以轻轻松开电子设备的本体,此时压力传感器检测到的压力小于压力阈值,存储器便可结束本节运动轨迹的记录。电子设备中还可以设置有数据连接端口,通过数据连接端口可以将存储器中记录的运动轨迹传输到其他设备上。
本公开实施例中以发光控制组件包括压力传感器为例,可选地,该发光控制组件还可以包括位于本体1上的启动开关(说明书附图中未示出),启动开关与发光组件2连接,发光组件2发光的前提条件需要包括:启动开关开启。
本公开实施例中以发光控制组件能够直接控制发光组件发光为例,可选地,发光控制组件也可以通过处理器控制发光组件发光。示例地,在压力传感器检测到的压力大于压力阈值时,处理器可以控制发光组件发光,本公开实施例对此不作限定。
可选地,处理器4也可以在发光控制组件的控制下进行运动轨迹的确定。比如,当压力传感器检测到的压力小于压力阈值时,处理器4便不确定发光组件2的运动轨迹。此时即便是发光组件2可以发出探测光,且感光组件获取到反射光的光学信息,处理器4也不会计算上述运动轨迹。
可选地,如图4所示,电子设备还包括:位于本体上的光强传感器7;该光强传感器7与处理器4连接;光强传感器7用于检测反射光的光强;处理器4 用于在光强传感器7检测到的光强大于光强阈值时确定上述发光组件2的运动轨迹。示例地,当发光组件2置于书写面(如桌面、纸面、人的大腿表面等)上时,光强传感器7检测到的光强较大;当发光组件2悬空时,由于反射面距离光强传感器7较远,光强传感器7检测到的光强较弱;因而可以通过检测光强来检测发光组件2是否置于书写面上,并且,仅在发光组件2置于书写面上进行书写时,处理器4才进行运动轨迹的确定。当用户采用电子设备在书写面上书写,且切换到下一行或下一个字的过程中,由于用户会将手抬起,使得光强传感器7检测到的反射光的光强小于光强阈值,因此,在此过程中处理器不会确定发光组件的运动轨迹,相应地存储器也不会记录该运动轨迹。
可选地,请继续参考图4,电子设备还包括:投影组件8。投影组件8与处理器4连接,投影组件8用于投影发光组件2的运动轨迹。用户在使用电子设备进行书写时,电子设备中的投影组件8可以将发光组件2的运动轨迹实时的投影出来,方便用户对自己书写情况进行观察,出现错误可以及时更改,或者可以再次书写。
可选地,投影组件8投影运动轨迹可以是自发的操作,也可以是在处理器4的控制下进行的操作。当投影组件8投影运动轨迹是在处理器4的控制下进行的时,可以在本体上设置投影按钮,按下投影按钮时,处理器4能够接收到投影指令,此时处理器4控制投影组件8投影。
可选地,在处理器4控制投影组件8投影运动轨迹的情况下,处理器4可以在用户每写完一节运动轨迹(处理器确定出一节运动轨迹)再控制投影组件8对其进行投影,也可以是处理器4控制投影组件8对运动轨迹进行实时地投影。例如,用户要记录A、B、C……G,其中每个字母代表一节运动轨迹,其投影方法有多种,在此简单的介绍三种投影方法。第一种,用户在进行书写时就已经进行投影,即对运动轨迹进行实时投影,用户可以随时观察到自己的书写状况。第二种,如在用户书写G时,可以将之前书写的有A至F全部投影,待书写完G时,再将G投影,书写G的期间不对G进行投影。第三种,在用户书写完G时,仅仅对G进行投影,而A至F不会对其投影。
可选地,在存储器成功存储运动轨迹后,投影组件8可以投影预定时长以提醒用户存储成功,同时用户还可以通过该投影检查刚才的书写情况。
图5为本公开实施例提供的另一种电子设备的外观示意图。请参考图5,本体1可以包括:笔杆011和笔帽012,笔帽012与笔杆011上设置有笔尖的一端 (如图5中发光组件2所在的一端)可拆卸连接,笔帽012能够对笔尖处的发光组件2进行保护,防止发光组件2被损坏。用户在使用电子设备时,如图6所示,为了防止笔帽012的丢失还可以将笔帽012安装在笔杆011中笔尖所在端的对端。用户在无需使用电子设备时,如图7所示,可以将笔帽012安装在笔杆011中笔尖所在的一端。投影组件8可以位于笔帽012上。上述处理器4、发光组件2、感光组件3、存储器(图5中未示出)、发光控制组件(图5中未示出)、光强传感器(图5中未示出)均可以位于笔杆011上。当用户使用电子设备进行书写时,用户可以手握笔杆011,并将笔帽012放置在旁边,使得投影组件8投影的画面投影在某平面上,这样用户便可以一边书写一边观看自己的书写结果。
可选地,笔帽012上可以设置有接收器(说明书附图中未示出),用于接收运动轨迹。同时,笔杆011上还设置有发送器(说明书附图中未示出),发送器与处理器4连接,接收器与投影组件8连接。处理器4可以控制发送器向接收器发送运动轨迹,接收器接收到运动轨迹后可以向投影组件8发送该运动轨迹,以便于投影组件8对该运动轨迹进行投影。
可选地,请参考图5,电子设备还包括:电源10,电源10用于向电子设备中的至少部分用电组件供电。电子设备中的用电组件可以包括:电子设备中除电源10之外的组件中需要用电的组件,如上述处理器4、发光组件2、投影组件8等,电子设备中的电源10可以向全部的用电组件供电,也可以仅向部分用电组件供电,本公开实施例对此不作限定。
可选地,电源10用于在笔帽012安装于笔杆011中笔尖所在端的对端时(如图6所示),向上述至少部分用电组件供电。可见,只有将笔帽012安装在笔杆011中笔尖所在端的对端时,电源才能向该至少部分用电组件供电,整个电子设备才能正常使用,进而能够避免笔帽012的丢失。
示例地,图8为本公开实施例提供的一种电源的供电示意图,如图8所示,电子设备还包括:第一端口021、第二端口022、第三端口023和第四端口024,这些端口也称为接口;第一端口021、电源10和第二端口022均可以位于笔杆011上,且第一端口021、电源10和第二端口022串连;第三端口023和第四端口024均位于笔帽012上,且第三端口023和第四端口024连接。在笔帽012安装于笔杆011中笔尖所在端的对端时,第一端口021与第三端口023对接,第二端口022与第四端口024对接,第一端口021、电源10、第二端口022、第 四端口024和第三端口023形成供电回路。电源10用于供电的上述至少部分用电组件(图8中未示出)可以串连在该供电回路上。其中,第一端口021与第三端口023可以采用触碰式通电,第二端口022和第四端口024也可以采用触碰式通电。第一端口021、第二端口022、第三端口023和第四端口024均可以为陶瓷通电接口。
示例地,电源10用于供电的至少部分用电组件可以包括位于笔帽上的投影组件。该投影组件可以串连在第三端口023和第四端口024之间,从而在第一端口021、电源10、第二端口022、第四端口024和第三端口023形成供电回路时,投影组件位于该供电回路上,便于电源10向投影组件供电,使投影组件能够进行投影。可见,第一端口021、第二端口022、第三端口023和第四端口024是电源与投影组件电连接的开关。除此之外,这些端口还可以是数据传输的开关,即当第一端口与第三端口电连接且第二端口与第四端口电连接时,投影组件与处理器之间才能进行运动轨迹的传输,进而能够实现投影组件对运动轨迹的投影。
电源10可以为锂电池。请参考图5,本体1上(如本体1的笔杆011上)可以设置有充电接口15,充电接口15与电源10连接,进而能够通过充电接口15对电源10进行充电,实现了电子设备的可持续利用。
可选地,本公开实施例中以电源10可以是一个独立的电源为例。可选地,也可以是电源10包括位于笔杆上的第一电源,以及位于笔帽上的第二电源。第一电源用于为笔杆上的至少部分用电组件(如上述处理器)供电,第二电源用于为笔帽上的至少部分用电组件(如上述投影组件)供电。
可选地,请继续参考图4,电子设备还包括:位于本体上(如本体中的笔杆上)的电量检测组件101和提示组件102;电量检测组件101用于检测电源10的剩余电量,提示组件102用于在电量检测组件101检测到的剩余电量小于电量阈值时展示提示信息。其中,提示组件可以是提示灯(如发光二极管)、语音提示器等,在此不一一列举。当电池10的剩余电量较少时,提示组件102可以提示用户对电池10进行充电,避免因电池充电不及时造成电子设备无法使用的状况发生。
可选地,提示组件102展示提示信息可以是自发的操作,也可以是在处理器4的控制下执行的操作。当提示组件102展示提示信息是在处理器4的控制下执行的操作时,电量检测组件101和提示组件102均与处理器4连接,处理 器4用于在电量检测组件101检测到的剩余电量小于电量阈值时,控制提示组件102展示提示信息。可选地,如图5所示,该提示组件102可以位于笔杆011上远离笔尖的一端。
可选地,请继续参考图4,该电子设备还包括:删除组件11;删除组件11与存储器5连接,删除组件11用于删除存储器5中的运动轨迹。用户在使用电子设备时,难免会出现书写错误,使存储器5中存入错误的运动轨迹,此时用户便可以通过删除组件11对出现错误的运动轨迹进行清除。如用户要依次记录A、B、C……G,但用户发现B书写错误,进而可以通过删除组件将B删除,此时,存储器5中存储的运动轨迹为:A、C、D……G。
可选地,电子设备还可以包括:删除开关,用户可以通过按压该删除开关触发删除组件删除存储器中存储的运动轨迹。可选地,图5中的开关14可以复用为该删除开关,当用户连续按压两次开关14时,开关14便可以触发删除组件删除存储器中存储的运动轨迹。当然,删除开关也可以与图5中的开关14不同,本公开实施例对此不作限定。
可选地,删除组件11删除存储器5中的运动轨迹可以是自发的操作,也可以是在处理器4的控制下执行的操作。当删除组件11删除存储器5中的运动轨迹是在处理器4的控制下执行的操作时,删除组件11和删除开关均与处理器4连接,用户在按压删除开关时,处理器4会接收到删除指令,并可以根据该删除指令控制删除组件11将存储器5中相应的运动轨迹删除。
可选地,请继续参考图4,电子设备还包括:发送组件12,该发送组件可以是无线发送组件,也可以是有线发送组件,本公开实施例对此不作限定。发送组件12与存储器5连接,发送组件12用于向电子设备外的其他设备(如服务器、电脑等)发送存储器5中的运动轨迹。通过设置发送组件12可以将存储器5存储的运动轨迹发送至其他设备中进行保存。当存储器5以图片的方式存储运动轨迹时,发送组件12可以将运动轨迹的图片发送至其他设备,该其他设备可以通过图像识别软件对图片中的运动轨迹进行识别。
可选地,如图5所示,该电子设备还包括:位于本体1上的光学透镜13。发光组件2在发出探测光之后,探测光的反射光会经过光学透镜13到达感光组件3,感光组件3用于通过光学透镜13接收反射光。可选地,光学透镜13可以是凸透镜,此时该光学透镜13可以起到对反射光进行放大的作用,使得光线更强,有益于感光组件3获取到较为准确的光学信息,便于处理器4基于该光学 信息确定出准确的运动轨迹。
综上所述,本公开实施例提供的电子设备中,感光组件能够在接收到发光组件发出的探测光的反射光后,获取该反射光的光学信息,并且处理器能够根据感光组件获取到的光学信息确定发光组件的运动轨迹。这样一来,电子设备就实现了通过自身的处理器获取发光组件的运动轨迹,并且,在电子设备获取该运动轨迹的过程中,无需借助其他设备,因此,提升了电子设备的使用灵活性。
基于本公开实施例提供的电子设备,本公开实施例提供了一种运动轨迹确定方法,该方法可以用于本公开实施例提供的任一种电子设备。示例地,图9为本公开实施例提供的一种运动轨迹确定方法的流程图,如图9所示,该方法包括:
步骤901、发光组件发出探测光。
步骤902、感光组件在接收到探测光的反射光后,获取反射光的光学信息。
步骤903、处理器根据光学信息确定发光组件的运动轨迹。
综上所述,本公开实施例提供的运动轨迹确定方法中,感光组件能够在接收到发光组件发出的探测光的反射光后,获取该反射光的光学信息,并且处理器能够根据感光组件获取到的光学信息确定发光组件的运动轨迹。这样一来,电子设备就实现了通过自身的处理器获取发光组件的运动轨迹,并且,在电子设备获取该运动轨迹的过程中,无需借助其他设备,因此,提升了电子设备的使用灵活性。
示例地,图10为本公开实施例提供的另一种运动轨迹确定方法的流程图,该方法可以用于本公开实施例提供的任一种电子设备。如图10所示,该方法包括:
步骤1001、发光组件发出探测光。
可选地,电子设备还包括:位于本体上的发光控制组件,发光控制组件与发光组件连接,发光组件可以是在发光控制组件的控制下发出探测光。当然发光组件发出探测光也可以是自发的操作,本公开实施例对此不作限定。
步骤1002、感光组件在接收到探测光的反射光后,获取反射光的光学信息。
可选地,感光组件可以在处理器的控制下,在接收到探测光的反射光后, 获取反射光的光学信息。当然感光组件获取光学信息也可以是自发的操作,本公开实施例对此不作限定。
步骤1003、处理器根据光学信息确定发光组件的运动轨迹。
可选地,光学信息包括:n次获取到的反射光的n个图像,步骤1003可以包括:处理器确定n个图像中第i个图像的第一特征区域,以及第i+1个图像的第二特征区域,其中,1≤i<n,第一特征区域和第二特征区域的相似度大于相似度阈值;处理器根据第一特征区域在第i个图像中的方位,以及第二特征区域在第i+1个图像中的方位,确定第i个图像对应的发光组件的子轨迹;处理器根据n个图像中前n-1个图像对应的子轨迹,确定运动轨迹。
可选地,光学信息还包括:n个图像中第1个图像对应的反射光的波长、反射角和光强中的至少一种信息,在步骤1003之前,处理器可以根据至少一种信息对n个图像中的后n-1个图像进行校正。
可选地,电子设备还包括:位于本体上的光强传感器;光强传感器与处理器连接;光强传感器能够检测反射光的光强;处理器可以是在光强大于光强阈值时才确定上述运动轨迹。
步骤1004、存储器存储处理器得到的运动轨迹。
步骤1005、投影组件投影处理器得到的运动轨迹。
可选地,电子设备还包括:位于本体上的电量检测组件和提示组件;此时,该方法还可以包括:电量检测组件检测电源的剩余电量;提示组件在剩余电量小于电量阈值时展示提示信息。可选地,电量检测组件和提示组件均与处理器连接,提示组件可以是在处理器的控制下,在剩余电量小于电量阈值时展示提示信息。
可选地,电子设备还包括:删除组件;删除组件与存储器连接,此时,该方法还可以包括:删除组件删除存储器中的运动轨迹。
可选地,电子设备还包括:发送组件;发送组件与存储器连接,此时,该方法还包括:发送组件向电子设备外的其他设备发送运动轨迹。
本公开实施例提供的运动轨迹的确定方法实施例中各个步骤的解释,可以参考本公开实施例提供的电子设备实施例中的相关内容,本公开实施例在此不做赘述。
综上所述,本公开实施例提供的运动轨迹确定方法中,感光组件能够在接收到发光组件发出的探测光的反射光后,获取该反射光的光学信息,并且处理 器能够根据感光组件获取到的光学信息确定发光组件的运动轨迹。这样一来,电子设备就实现了通过自身的处理器获取发光组件的运动轨迹,并且,在电子设备获取该运动轨迹的过程中,无需借助其他设备,因此,提升了电子设备的使用灵活性。
基于本公开实施例提供的电子设备,本公开实施例提供了一种运动轨迹确定方法,该方法可以用于本公开实施例提供的任一种电子设备中的处理器。示例地,图11为本公开实施例提供的另一种运动轨迹确定方法的流程图,如图11所示,该方法包括:
步骤1101、获取感光组件获取的反射光的光学信息,其中,光学信息为感光组件在接收到发光组件发出的探测光的反射光后获取的信息;
步骤1102、根据光学信息确定发光组件的运动轨迹。
可选地,光学信息包括:n次获取到的反射光的n个图像,步骤1102,包括:
确定n个图像中第i个图像的第一特征区域,以及第i+1个图像的第二特征区域,其中,1≤i<n,第一特征区域和第二特征区域的相似度大于相似度阈值;
根据第一特征区域在第i个图像中的方位,以及第二特征区域在第i+1个图像中的方位,确定第i个图像对应的发光组件的子轨迹;
根据n个图像中前n-1个图像对应的子轨迹,确定运动轨迹。
可选地,光学信息还包括:n个图像中第1个图像对应的反射光的波长、反射角和光强中的至少一种信息,在步骤1102之前,该方法还包括:根据至少一种信息对n个图像中的后n-1个图像进行校正。
可选地,在步骤1101之前,该方法还包括:控制感光组件在接收到探测光的反射光后,获取反射光的光学信息。
可选地,电子设备还包括:位于本体上的光强传感器;光强传感器与处理器连接;光强传感器用于检测反射光的光强;步骤1102包括:在光强大于光强阈值时确定运动轨迹。
可选地,电子设备还包括:位于本体上的电量检测组件和提示组件;电量检测组件用于检测电源的剩余电量;电量检测组件和提示组件均与处理器连接,该方法还包括:在剩余电量小于电量阈值时,控制提示组件展示提示信息。
综上所述,本公开实施例提供的运动轨迹确定方法中,感光组件能够在接 收到发光组件发出的探测光的反射光后,获取该反射光的光学信息,并且处理器能够根据感光组件获取到的光学信息确定发光组件的运动轨迹。这样一来,电子设备就实现了通过自身的处理器获取发光组件的运动轨迹,并且,在电子设备获取该运动轨迹的过程中,无需借助其他设备,因此,提升了电子设备的使用灵活性。
基于本公开实施例提供的用于处理器的运动轨迹确定方法,本公开实施例提供了一种运动轨迹确定装置,该运动轨迹确定装置可以用于本公开实施例提供的任一种电子设备中的处理器。示例地,图12为本公开实施例提供的一种运动轨迹确定装置的结构示意图,如图12所示,该运动轨迹确定装置包括:
获取模块1201,用于获取感光组件获取的反射光的光学信息,其中,光学信息为感光组件在接收到发光组件发出的探测光的反射光后获取的信息;
确定模块1202,用于根据光学信息确定发光组件的运动轨迹。
可选地,光学信息包括:n次获取到的反射光的n个图像,确定模块1202用于:
确定n个图像中第i个图像的第一特征区域,以及第i+1个图像的第二特征区域,其中,1≤i<n,第一特征区域和第二特征区域的相似度大于相似度阈值;
根据第一特征区域在第i个图像中的方位,以及第二特征区域在第i+1个图像中的方位,确定第i个图像对应的发光组件的子轨迹;
根据n个图像中前n-1个图像对应的子轨迹,确定运动轨迹。
可选地,光学信息还包括:n个图像中第1个图像对应的反射光的波长、反射角和光强中的至少一种信息,如图12所示,运动轨迹确定装置还包括:校正模块1203,用于根据至少一种信息对n个图像中的后n-1个图像进行校正。
可选地,如图12所示,运动轨迹确定装置还包括:第一控制模块1204,用于控制感光组件在接收到探测光的反射光后,获取反射光的光学信息。
可选地,电子设备还包括:位于本体上的光强传感器;光强传感器与处理器连接;光强传感器用于检测反射光的光强;确定模块1202用于:在光强大于光强阈值时确定运动轨迹。
可选地,电子设备还包括:位于本体上的电量检测组件和提示组件;电量检测组件用于检测电源的剩余电量;电量检测组件和提示组件均与处理器连接,如图12所示,运动轨迹确定装置还包括:第二控制模块1205,用于在剩余电量 小于电量阈值时,控制提示组件展示提示信息。
综上所述,本公开实施例提供的运动轨迹确定装置中,获取模块能够获取感光组件在接收到发光组件发出的探测光的反射光后,获取的该反射光的光学信息,并且确定模块能够根据该光学信息确定发光组件的运动轨迹。这样一来,电子设备就实现了通过自身的处理器获取发光组件的运动轨迹,并且,在电子设备获取该运动轨迹的过程中,无需借助其他设备,因此,提升了电子设备的使用灵活性。
本公开实施例提供了一种计算机可读存储介质,计算机可读存储介质内存储有计算机程序,计算机程序被处理器执行时实现本公开提供的任一种运动轨迹确定方法。
本公开实施例还提供了一种包含指令的计算机程序产品,当所述计算机程序产品在计算机上运行时,使得计算机执行本公开提供的任一种运动轨迹确定方法。
以上所述,仅为本公开的具体实施方式,但本公开的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本公开的保护范围之内。因此,本公开的保护范围应以所述权利要求的保护范围为准。

Claims (24)

  1. 一种电子设备,包括:本体(1)、发光组件(2)、感光组件(3)和处理器(4);所述发光组件(2)、所述感光组件(3)和所述处理器(4)均位于所述本体(1)上,所述感光组件(3)与所述处理器(4)连接;
    所述发光组件(2)用于发出探测光;
    所述感光组件(3)用于在接收到所述探测光的反射光后,获取所述反射光的光学信息;
    所述处理器(4)用于根据所述光学信息确定所述发光组件的运动轨迹。
  2. 根据权利要求1所述的电子设备,其中,所述本体(1)包括笔杆(011),所述发光组件(2)位于所述笔杆(011)的笔尖。
  3. 根据权利要求1或2所述的电子设备,其中,所述光学信息包括:n次获取到的所述反射光的n个图像,所述处理器(4)用于:
    确定所述n个图像中第i个图像的第一特征区域,以及第i+1个图像的第二特征区域,其中,1≤i<n,所述第一特征区域和所述第二特征区域的相似度大于相似度阈值;
    根据所述第一特征区域在所述第i个图像中的方位,以及所述第二特征区域在所述第i+1个图像中的方位,确定所述第i个图像对应的所述发光组件的子轨迹;
    根据所述n个图像中前n-1个图像对应的所述子轨迹,确定所述运动轨迹。
  4. 根据权利要求3所述的电子设备,其中,所述光学信息还包括:所述n个图像中第1个图像对应的所述反射光的波长、反射角和光强中的至少一种信息,所述处理器(4)用于根据所述至少一种信息对所述n个图像中的后n-1个图像进行校正。
  5. 根据权利要求1至4任一所述的电子设备,其中,所述处理器(4)还用于控制所述感光组件(3)获取所述光学信息。
  6. 根据权利要求1至5任一所述的电子设备,其中,所述电子设备还包括:位于所述本体(1)上的发光控制组件;
    所述发光控制组件与所述发光组件(2)连接,所述发光控制组件用于控制所述发光组件(2)发出所述探测光。
  7. 根据权利要求6所述的电子设备,其中,所述发光控制组件包括:位于所述本体(1)上的压力传感区域的压力传感器(6);
    所述压力传感器(6)用于在所述压力传感区域所受压力大于压力阈值时,控制所述发光组件(2)发出所述探测光。
  8. 根据权利要求1至7任一所述的电子设备,其中,所述电子设备还包括:位于所述本体(1)上的光强传感器(7);
    所述光强传感器(7)与所述处理器(4)连接;所述光强传感器(7)用于检测所述反射光的光强;所述处理器(4)用于在所述光强大于光强阈值时确定所述运动轨迹。
  9. 根据权利要求1至8任一所述的电子设备,其中,所述电子设备还包括:位于所述本体(1)上的光学透镜(13),所述感光组件(2)用于通过所述光学透镜(13)接收所述反射光。
  10. 根据权利要求9所述的电子设备,其中,所述光学透镜(13)包括凸透镜。
  11. 根据权利要求1至10任一所述的电子设备,其中,所述电子设备还包括:位于所述本体(1)上的投影组件(8);
    所述投影组件(8)与所述处理器(4)连接,所述投影组件(8)用于投影所述运动轨迹。
  12. 根据权利要求11所述的电子设备,其中,所述本体(1)包括:笔杆(011)和笔帽(012),所述投影组件(8)位于所述笔帽(012)上。
  13. 根据权利要求1至12任一所述的电子设备,其中,所述电子设备还包括:电源(10),所述电源(10)用于向所述电子设备中的至少部分用电组件供电。
  14. 根据权利要求13所述的电子设备,其中,所述本体(1)包括:笔杆(011)和笔帽(012);
    所述电源(10)用于在所述笔帽(012)安装于所述笔杆(011)中笔尖所在端的对端时,向所述至少部分用电组件供电。
  15. 根据权利要求14所述的电子设备,其中,所述电子设备还包括:第一端口(021)、第二端口(022)、第三端口(023)和第四端口(024);
    所述第一端口(021)、所述电源(10)和所述第二端口(022)均位于所述笔杆(011)上,且所述第一端口(021)、所述电源(10)和所述第二端口(022)串连;所述第三端口(023)和所述第四端口(024)均位于所述笔帽(012)上,且所述第三端口(023)和所述第四端口(024)连接;
    在所述笔帽(012)安装于所述笔杆(011)中笔尖所在端的对端时,所述第一端口(021)、所述电源(10)、所述第二端口(022)、所述第四端口(024)和所述第三端口(023)形成供电回路,所述至少部分用电组件串连在所述供电回路上。
  16. 根据权利要求13至15任一所述的电子设备,其中,所述电子设备还包括:位于所述本体上的电量检测组件(101)和提示组件(102);
    所述电量检测组件(101)用于检测所述电源(10)的剩余电量,所述提示组件(102)用于在所述剩余电量小于电量阈值时展示提示信息。
  17. 根据权利要求16所述的电子设备,其中,所述电量检测组件(101)和所述提示组件(102)均与所述处理器(4)连接,所述处理器(4)用于在所述剩余电量小于电量阈值时,控制所述提示组件(102)展示所述提示信息。
  18. 根据权利要求1至17任一所述的电子设备,其中,所述电子设备还包括:位于所述本体(1)上的存储器(5),所述存储器(5)与所述处理器(4)连接,所述存储器(5)用于存储所述运动轨迹。
  19. 根据权利要求18所述的电子设备,其中,所述电子设备还包括:删除组件(11);
    所述删除组件(11)与所述存储器(5)连接,所述删除组件(11)用于删除所述存储器(5)中的所述运动轨迹。
  20. 根据权利要求18或19所述的电子设备,其中,所述电子设备还包括:发送组件(12);
    所述发送组件(12)与所述存储器(5)连接,所述发送组件(12)用于向所述电子设备外的其他设备发送所述运动轨迹。
  21. 一种运动轨迹确定方法,用于权利要求1至20任一所述的电子设备,所述方法包括:
    发光组件发出探测光;
    感光组件在接收到所述探测光的反射光后,获取所述反射光的光学信息;
    处理器根据所述光学信息确定所述发光组件的运动轨迹。
  22. 一种运动轨迹确定方法,用于权利要求1至20任一所述的电子设备中的处理器,所述方法包括:
    获取感光组件获取的反射光的光学信息,其中,所述光学信息为所述感光组件在接收到发光组件发出的探测光的反射光后获取的信息;
    根据所述光学信息确定所述发光组件的运动轨迹。
  23. 一种运动轨迹确定装置,用于权利要求1至20任一所述的电子设备中的处理器,所述运动轨迹确定装置包括:
    获取模块,用于获取感光组件获取的反射光的光学信息,其中,所述光学信息为所述感光组件在接收到发光组件发出的探测光的反射光后获取的信息;
    确定模块,用于根据所述光学信息确定所述发光组件的运动轨迹。
  24. 一种计算机可读存储介质,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现权利要求22所述的运动轨迹确定方法。
PCT/CN2020/092307 2019-06-04 2020-05-26 运动轨迹确定方法及装置、电子设备 WO2020244420A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US17/417,810 US11960662B2 (en) 2019-06-04 2020-05-26 Method for determining movement trajectory, and electronic device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910480092.0 2019-06-04
CN201910480092.0A CN110197675B (zh) 2019-06-04 2019-06-04 一种移动存储设备

Publications (1)

Publication Number Publication Date
WO2020244420A1 true WO2020244420A1 (zh) 2020-12-10

Family

ID=67753840

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/092307 WO2020244420A1 (zh) 2019-06-04 2020-05-26 运动轨迹确定方法及装置、电子设备

Country Status (3)

Country Link
US (1) US11960662B2 (zh)
CN (1) CN110197675B (zh)
WO (1) WO2020244420A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110197675B (zh) * 2019-06-04 2022-10-21 京东方科技集团股份有限公司 一种移动存储设备

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101122836A (zh) * 2007-07-03 2008-02-13 埃派克森微电子有限公司 运动感知装置
CN201837960U (zh) * 2010-09-03 2011-05-18 杭州泰亨科技有限公司 无线触控电子笔***
US20120249489A1 (en) * 2011-03-31 2012-10-04 Onodera Shinji Electronic pen and projector system using the same
WO2013114453A1 (ja) * 2012-02-01 2013-08-08 日立コンシューマエレクトロニクス株式会社 電子ペン
US20160132136A1 (en) * 2014-11-07 2016-05-12 Seiko Epson Corporation Digital pen
CN109117005A (zh) * 2018-07-26 2019-01-01 京东方科技集团股份有限公司 一种电子笔、信息录入***和信息录入方法
CN110197675A (zh) * 2019-06-04 2019-09-03 京东方科技集团股份有限公司 一种移动存储设备

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7268774B2 (en) 1998-08-18 2007-09-11 Candledragon, Inc. Tracking motion of a writing instrument
CN1310122C (zh) * 1999-10-27 2007-04-11 数字墨水公司 跟踪一书写工具位置的设备
KR20100023248A (ko) * 2008-08-21 2010-03-04 삼성전자주식회사 무선 펜 입력장치
CN102890565B (zh) * 2012-09-14 2016-12-21 努比亚技术有限公司 一种手写录入笔以及手写录入方法
CN203786682U (zh) * 2014-01-04 2014-08-20 深圳市柔宇科技有限公司 一种电子笔
CN106364226B (zh) * 2016-10-12 2018-01-23 宁波力芯科信息科技有限公司 一种智能记录笔
CN108664152A (zh) * 2017-04-02 2018-10-16 田雪松 数码笔
CN109388291B (zh) * 2017-08-02 2023-10-13 中兴通讯股份有限公司 投影仪组件、投影仪的投影方法、装置及可读存储介质
CN208498050U (zh) * 2017-11-13 2019-02-15 天津中德应用技术大学 便携式压感扫描投影笔
US20210208695A1 (en) * 2018-06-01 2021-07-08 Lg Electronics Inc. Pointing device
KR102262165B1 (ko) * 2018-08-08 2021-06-09 삼성전자주식회사 입력 장치와의 통신 연결을 제어하는 전자 장치 및 그 제어 방법
CN208673291U (zh) * 2018-10-16 2019-03-29 温州大学 带有显示数据功能的轨迹笔

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101122836A (zh) * 2007-07-03 2008-02-13 埃派克森微电子有限公司 运动感知装置
CN201837960U (zh) * 2010-09-03 2011-05-18 杭州泰亨科技有限公司 无线触控电子笔***
US20120249489A1 (en) * 2011-03-31 2012-10-04 Onodera Shinji Electronic pen and projector system using the same
WO2013114453A1 (ja) * 2012-02-01 2013-08-08 日立コンシューマエレクトロニクス株式会社 電子ペン
US20160132136A1 (en) * 2014-11-07 2016-05-12 Seiko Epson Corporation Digital pen
CN109117005A (zh) * 2018-07-26 2019-01-01 京东方科技集团股份有限公司 一种电子笔、信息录入***和信息录入方法
CN110197675A (zh) * 2019-06-04 2019-09-03 京东方科技集团股份有限公司 一种移动存储设备

Also Published As

Publication number Publication date
CN110197675A (zh) 2019-09-03
CN110197675B (zh) 2022-10-21
US11960662B2 (en) 2024-04-16
US20220100287A1 (en) 2022-03-31

Similar Documents

Publication Publication Date Title
US10275097B2 (en) Interactive projector, interactive projection system, and interactive projector control method
US9148573B2 (en) Non-uniform correction illumination pattern
US20140002421A1 (en) User interface device for projection computer and interface method using the same
JP6623812B2 (ja) 位置検出装置、及び、そのコントラスト調整方法
CN104793734B (zh) 位置检测装置、位置检测***和位置检测装置的控制方法
US9898996B2 (en) Display apparatus and display control method
CN104793810B (zh) 位置检测装置、位置检测***和位置检测装置的控制方法
US10133366B2 (en) Interactive projector and interactive projection system
US9501160B2 (en) Coordinate detection system and information processing apparatus
EP2519867B1 (en) Interactive whiteboard with wireless remote control
TW201205448A (en) Handwriting data generating system, handwriting data generating method, and computer program product
JP6477130B2 (ja) インタラクティブプロジェクター及びインタラクティブプロジェクションシステム
WO2020244420A1 (zh) 运动轨迹确定方法及装置、电子设备
US20170185233A1 (en) Information processing apparatus, information input system, method for processing information
KR20170129948A (ko) 인터랙티브 프로젝터, 인터랙티브 프로젝션 시스템 및, 인터랙티브 프로젝터의 제어 방법
US10551972B2 (en) Interactive projector and method of controlling interactive projector
US20180039344A1 (en) Coordinate detection apparatus, electronic blackboard, image display system, and coordinate detection method
JP6503828B2 (ja) インタラクティブプロジェクションシステム,指示体,およびインタラクティブプロジェクションシステムの制御方法
JP2018156304A (ja) タッチパネルシステム、タッチパネルシステムの制御方法及びプログラム
JP6569259B2 (ja) 位置検出装置、表示装置、位置検出方法、及び、表示方法
JP4434381B2 (ja) 座標入力装置
US9544561B2 (en) Interactive projector and interactive projection system
US20140055354A1 (en) Multi-mode interactive projection system, pointing device thereof, and control method thereof
CN108089732B (zh) 演示用电容笔及投影手机
JP6690272B2 (ja) 位置検出システム、自発光指示体、および固有情報取得方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20818722

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20818722

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 20818722

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 19/10/2022)

122 Ep: pct application non-entry in european phase

Ref document number: 20818722

Country of ref document: EP

Kind code of ref document: A1