WO2020051752A1 - 电子设备及其控制方法 - Google Patents

电子设备及其控制方法 Download PDF

Info

Publication number
WO2020051752A1
WO2020051752A1 PCT/CN2018/104903 CN2018104903W WO2020051752A1 WO 2020051752 A1 WO2020051752 A1 WO 2020051752A1 CN 2018104903 W CN2018104903 W CN 2018104903W WO 2020051752 A1 WO2020051752 A1 WO 2020051752A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
sensor
stylus
stylus pen
processor
Prior art date
Application number
PCT/CN2018/104903
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 CN201880094105.4A priority Critical patent/CN112640407A/zh
Priority to PCT/CN2018/104903 priority patent/WO2020051752A1/zh
Publication of WO2020051752A1 publication Critical patent/WO2020051752A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Definitions

  • the present invention relates to the field of electronic communication technology, and in particular, to an electronic device and a control method thereof.
  • the present invention provides an intelligent electronic device and a control method thereof.
  • the present invention provides an electronic device including a casing having a receiving portion and a stylus pen that can be received in the receiving portion, and a sensor and a processor electrically connected to the sensor are disposed in the casing;
  • the sensor is used for sensing whether the stylus is accommodated in the accommodation part and generating a corresponding induction signal;
  • the processor receives the induction signal and determines whether the stylus is accommodated in the housing according to the induction signal And controlling the electronic device to be turned on or off according to the determination result.
  • the present invention also provides a control method for an electronic device as described above.
  • the electronic device includes a casing having a receiving portion, a stylus pen that can be stored in the receiving portion, and is used for sensing the Whether the stylus is contained in the containing unit and generates a sensor corresponding to the inductive signal and a processor electrically connected to the sensor, and the processor is configured to execute the control method;
  • the control method includes the following steps:
  • the electronic device and the control method thereof provided by the present invention combine the stylus pen with an on-off key, and the insertion and removal of the stylus pen can control the electronic device to be turned off and on, so as to realize more intelligent on / off of the electronic device and improve the user experience .
  • the stylus pen is stored in the accommodating portion of the casing, thereby improving the appearance of the entire electronic device.
  • FIG. 1 is a schematic diagram of a program module of an electronic device according to an embodiment of the present invention.
  • FIG. 2 is a schematic structural diagram of an electronic device according to a first embodiment of the present invention.
  • FIG. 3 is a schematic exploded view of the electronic device of FIG. 2.
  • FIG. 4 is an inverted view of the electronic device of FIG. 3.
  • FIG. 5 is a cross-sectional view of the first embodiment of the electronic device in FIG. 2 taken along the line V-V.
  • FIG. 6 is a cross-sectional view of the second embodiment of the electronic device in FIG. 2 taken along the line V-V.
  • FIG. 7 is a schematic structural diagram of an electronic device according to a second embodiment of the present invention.
  • FIG. 8 is a schematic exploded view of the electronic device of FIG. 7.
  • FIG. 9 is an inverted view of the electronic device of FIG. 8.
  • FIG. 10 is a partially enlarged view of the electronic device of FIG. 9.
  • FIG. 11 is a cross-sectional view of the electronic device in FIG. 7 along a line XI-XI.
  • FIG. 12 is a partially enlarged view of the electronic device of FIG. 11.
  • FIG. 13 is a flowchart of a method for controlling an electronic device according to an embodiment of the present invention.
  • an embodiment herein means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the invention.
  • the appearances of this phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are they independent or alternative embodiments that are mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
  • the electronic device involved in the embodiment of the present invention may include various tablet computers, a tablet, a tablet, a mobile phone, and the like.
  • the devices mentioned above are collectively referred to as electronic devices.
  • FIG. 1 is a block diagram of an electronic device 100 according to a first embodiment of the present invention.
  • FIG. 2 is a schematic structural diagram of the electronic device 100.
  • FIG. 3 is a schematic exploded view of the electronic device 100.
  • FIG. 4 shows an inverted view of the structure of the electronic device 100.
  • FIG. 5 is a cross-sectional view of the first embodiment of the electronic device 100 along the line V-V.
  • FIG. 6 is a cross-sectional view of the second embodiment of the electronic device 100 along the line V-V.
  • the electronic device 100 uses a writing board as an example.
  • the electronic device 100 includes a casing 10 having a receiving portion 121 and a stylus 20 that can be received in the receiving portion 121.
  • the casing 10 is provided with a sensor 30 and a processor 40 electrically connected to the sensor 30.
  • the sensor 30 is used to detect whether the stylus 20 is accommodated in the accommodation portion 121 and generate a corresponding sensing signal.
  • the processor 40 receives the sensing signal, and determines whether the stylus pen 20 is accommodated in the accommodating portion 121 of the casing 10 according to the sensing signal, and controls the electronic device 100 to be turned on or off according to the determination result.
  • the processor 40 determines that the stylus 20 is accommodated in the accommodating portion 121 according to the sensing signal, it controls the electronic device 100 to shut down.
  • the processor 40 determines that the stylus pen 20 is not accommodated in the accommodation portion 121 according to the sensing signal, the processor 40 controls the electronic device 100 to be turned on.
  • the sensor 30 generates a sensing signal corresponding to a sensing parameter value according to a state of the stylus pen 20 in the containing portion 121.
  • the processor 40 receives the sensing signal and determines whether the sensing parameter value is within a preset value range.
  • the sensing parameter value When the sensing parameter value is within the preset value range, it indicates that the stylus pen 20 is inserted in the receiving portion 121, and the processor 40 turns off the electronic device 100 according to the sensing signal. When the sensing parameter value is outside the preset value range, it indicates that the stylus 20 is not contained in the containing portion 121, and the processor 40 turns on the electronic device 100 according to the sensing signal.
  • the electronic device 100 provided in the present application by combining the stylus pen 20 with an on-off key, and inserting and removing the stylus pen 20 from the accommodation portion 121 can correspondingly control the electronic device 100 to be turned off and on, thereby achieving more intelligent power on and off of the electronic device 100. And enhance the user experience.
  • the stylus pen 20 is stored in the accommodating portion 121, thereby improving the appearance of the entire electronic device 100.
  • the casing 10 includes a main body 11, a cover plate 12, and a plurality of locking members 13 connecting the main body 11 and the cover plate 12.
  • the cover plate 12 is engaged with the top end of the main body 11.
  • a plurality of threaded sleeves 120 are provided on a side of the cover plate 12 near the body 11 to cooperate with the locking member 13.
  • the locking member 13 is a screw matched with the threaded sleeve 120.
  • the sensor 30 and the processor 40 are disposed on the main body 11 at positions corresponding to the cover plate 12.
  • the body 11 is further provided with a signal communication module 50 electrically connected to the processor 40 and a battery 60 for supplying power to the processor 40.
  • the processor 40 controlling the electronic device 100 to be turned on includes controlling the electronic device 100 to be turned on and controlling the signal communication module 50 to be turned on.
  • the processor 40 controlling the electronic device 100 to shut down includes controlling the electronic device 100 to shut down or controlling the electronic device 100 to enter a sleep mode, and controlling the signal communication module 50 to shut down.
  • the processor 40 controls the signal communication module 50 to be turned on after the electronic device 100 is turned on; the processor 40 controls the signal communication module 50 to be turned off when the electronic device 100 is turned off.
  • the processor 40 controls the electronic device 100 and the signal communication module 50 to be closed at the same time when the stylus pen 20 is inserted into the accommodation portion 121 of the housing 10, and the processor 40 is pulled out from the accommodation portion 121 when the stylus 20 is inserted. At the same time, the electronic device 100 and the signal communication module 50 are controlled to be turned on at the same time.
  • the signal communication module 50 is, for example, but is not limited to a Bluetooth module or a WiFi module.
  • the signal communication module 50 is configured to send signals of the electronic device 100 to an external communication terminal or receive signals transmitted by the external communication terminal.
  • the external communication terminal may be a mobile phone or a tablet computer.
  • the stylus pen 20 when the stylus pen 20 is contained in the housing portion 121 of the housing 10, the stylus pen 20 is electrically connected to the processor 40, and therefore, the processor 40 of the electronic device 100 is housed in the housing portion 10 of the housing 10.
  • the battery 60 can be controlled to charge the stylus 20 within 121 hours.
  • a receiving portion 121 for receiving the stylus 20 is provided on a side of the cover plate 12 remote from the main body 11. It can be understood that, in this embodiment, the receiving portion 121 is a receiving tube. In other embodiments, the accommodating portion 121 may also be a groove body provided on the casing 10 or an accommodating space surrounded by a plurality of winding structures.
  • the accommodating portion 121 includes an open end 1211 into which the stylus 20 is inserted, and a stop end 1212 opposite to the open end 1211.
  • the sensor 30 is disposed on the stop end 1212 in the receiving portion 121.
  • the stopper end 1212 is provided with an opening 1213 penetrating the receiving portion 121.
  • a connection portion (such as a cable or a board connector) of the sensor 30 is connected to the controller 40 through the opening 1213.
  • the sensor 30 is disposed outside the receiving portion 121 and is directly opposite the opening 1213 so that the sensor 30 is exposed, so that the sensor 30 can detect whether the stylus 20 is received in the receiving portion 121 through the opening 1213.
  • a protrusion 122 for holding the stylus 20 is provided on an inner wall of the receiving portion 121 near the opening 1213.
  • the stylus pen 20 includes a pen body 21 and a pen head 22 and a pen end 23 respectively disposed at both ends of the pen body 21.
  • the pen tip 22 has a tapered structure, so that the pen tip 22 of the stylus pen 20 can pass through the opening 1213 of the receiving portion 121 and contact the sensor 30.
  • the pen body 21 and the pen end 23 are substantially columnar structures to improve the writing comfort of the user.
  • the length of the stylus pen 20 is greater than the length of the receiving portion 121. In this way, when the pen tip 22 of the stylus pen 20 is inserted into the receiving portion 121 of the housing 10 and contacts the sensor 30, the pen tip 23 is exposed outside the case The housing 121 of the body 10 is convenient for an operator to take out the stylus 20. In another embodiment, the length of the stylus pen 20 is less than or equal to the length of the receiving portion 121. When the tip 22 of the stylus pen 20 is inserted into the receiving portion 121 of the housing 10 and is engaged with the protrusion 122, the sensor 30 The pen head 22 is separated from the pen head 22, and the pen tip 23 is exposed outside the receiving portion 121 of the casing 10 to facilitate the operator to take out the pen pen 20.
  • a handle 231 is protruded from an end of the pen tip 23 away from the pen tip 22 to facilitate an operator to remove the stylus pen 20 from the receiving portion 121.
  • the stylus pen 20 is inserted into the accommodating portion 121, the pen tip 23 of the stylus pen 20 is held on the protrusion 122, so that the handle 231 of the stylus pen 20 is exposed to the casing 10, thereby facilitating the user The stylus pen 20 is pulled out from the accommodation portion 121.
  • the sensor 30 can sense the state that the stylus pen 20 is accommodated in the accommodating portion 121 to generate corresponding sensing parameter values, and generate a sensing signal including the sensing parameter values according to the sensing parameter values.
  • the sensor 30 is, for example, but is not limited to a distance sensor or a pressure sensor.
  • the sensor 30 is used to sense the distance between the stylus 20 and the stopper 1212 to generate an induction signal corresponding to the distance value. That is, when the sensor 30 is a distance sensor, the induction parameter value Distance value.
  • the sensor 30 is a pressure sensor, the sensor 30 is used to sense the pressure of the stylus 20 against the sensor 30 and generate an induction signal corresponding to the pressure value. That is, when the sensor 30 is a pressure sensor, the induction parameter value is a pressure value.
  • the processor 40 when the sensor 30 is a distance sensor, it is used to sense the distance of the stylus 20 close to the sensor 30 to generate a sensing signal corresponding to the distance value, and the processor 40 is configured to determine the distance sensor detects And determine whether the distance value sensed by the distance sensor is within the preset value range. When it is determined that the distance value sensed by the distance sensor is within the preset value range, the processor 40 controls the electronic device 100 to turn off; When it is determined that the distance value sensed by the distance sensor is outside the preset value range, the processor 40 controls the electronic device 100 to be turned on.
  • the induction signal may be an electric signal such as current and voltage, and the magnitude or frequency of the current and voltage has a preset relationship with the distance value.
  • the processor 40 may The preset relationship between the frequency and the distance value determines the corresponding distance value.
  • the sensor 30 is a proximity switch sensor.
  • the proximity sensor has a sensing range of 0mm to 5mm. It can be understood that, by using the proximity switch sensor, the stylus 20 and the sensor 30 can directly detect whether the stylus 20 is inserted into the preset position in the housing 121 of the housing 10 without direct contact, thereby allowing the housing 10 to There is a large misalignment between the receiving portion 121 and the stylus 20, and it helps to improve the sensing accuracy.
  • the stylus pen 20 when the stylus pen 20 is inserted into the accommodating portion 121, the pen tip 23 and the protrusion 122 of the stylus pen 20 are latched to each other, and the stylus pen 20 and the sensor 30 are spaced apart from each other.
  • the processor 40 when the sensor 30 is a pressure sensor, it is used to sense the pressure of the stylus 20 against the sensor 30 to generate a sensing signal corresponding to the pressure value, and the processor 40 is configured to determine the pressure sensor sensing according to the sensing signal.
  • the detected pressure value and determine whether the pressure value sensed by the pressure sensor is within a preset value range, when it is determined that the pressure value sensed by the pressure sensor is within the preset value range, the processor 40 controls the electronic device 100 to be turned off; When it is determined that the pressure value sensed by the pressure sensor is outside the preset value range, the processor 40 controls the electronic device 400 to be turned on.
  • the induction signal may be an electric signal such as current and voltage
  • the magnitude or frequency of the current and voltage has a preset relationship with the pressure value.
  • the preset relationship between the magnitude or frequency of the voltage and the pressure value determines the corresponding pressure value.
  • the sensor 30 senses a corresponding sensing parameter and generates a sensing signal corresponding to the sensing parameter value.
  • the processor 40 receives the sensing signal and judges whether the sensing parameter value is within the preset value range. When the sensing parameter value is within the preset value range, it indicates that the stylus 20 is inserted in the receiving portion 121, and the processor 40 is based on The sensing signal turns off the electronic device 100.
  • the sensor 30 When the stylus 20 is withdrawn from the open end 1211 and moved away from the stop end 1212 and away from the sensor 30, the sensor 30 also senses corresponding sensing parameters to generate a sensing signal corresponding to the sensing parameter value, and the processor 40 receives Sense the signal and determine whether the value of the parameter is within the preset range.
  • the processor 40 When the value of the parameter is outside the range of the preset value, it indicates that the stylus 20 is pulled out of the receiving portion 121, and the processor 40 turns on the electronic device according to the signal 100, so that after the user pulls out the stylus 20, the user can directly watch the electronic device 100 and perform corresponding operations. Therefore, the relative position of the stylus pen 20 in the receiving portion 121 of the casing 10 can be identified through different sensing signals.
  • the fact that the stylus 20 is contained in the accommodating portion 121 means that the distance or pressure between the stylus 20 and the sensor 30 is within a preset range.
  • the fact that the stylus pen 20 is not contained in the containing portion 121 means that the stylus pen 20 is pulled out from the containing portion 121 or the sensing parameter value between the stylus pen 20 and the sensor 30 is outside a preset range value.
  • the stylus pen 20 when the electronic device 100 is turned off, the stylus pen 20 is housed in the accommodating portion 121 and fixed to the casing 10.
  • the electronic device 100 further includes a locking member 70.
  • the stylus pen 20 is fixed in the accommodating portion 121 by a locking member 70.
  • the locking member 70 is disposed near the open end 1211 of the receiving portion 121.
  • the locking member 70 is, for example, but not limited to a magnetic assembly or a mechanical button (see FIG. 6).
  • the locking member 70 is a magnetic attraction structure.
  • the locking member 70 includes a magnetic member 71 and a magnet member or an iron member 72.
  • One of the magnetic member 71 and the magnetic member or the iron member 72 is disposed on the stylus 20, and the other of the magnetic member is disposed on the open end 1211 of the receiving portion 121.
  • the magnetic member 71 is sleeved on the pen body 21 of the stylus pen 20, and the magnet or iron piece 72 is sleeved on the stylus pen 20 when the stylus pen 20 is inserted into the receiving portion 121.
  • the magnet piece or the iron piece 72 may be fixed to the groove wall of the receiving portion 121 by a fixing method such as welding or sticking.
  • the outer diameter of the pen body 21 is larger than the outer diameter of the pen tip 22 and smaller than the outer diameter of the pen tip 23.
  • the magnetic attraction member 71 is engaged with the pen tip 23 of the stylus 20.
  • the magnet or iron piece 72 is engaged with the protrusion 122.
  • the inner diameter of the magnet or iron piece 72 is slightly larger than the outer diameter of the pen body 21 of the stylus pen 20 and smaller than the outer diameter of the pen tip 23, so that the magnet or iron piece 72 is set on the stylus pen 20 and clamped in the housing Between the protrusion 122 of the portion 121 and the magnetic member 71.
  • the magnetic member 71 and the magnet member or the iron member 72 each have a substantially circular ring shape, so as to increase the contact area between the magnetic member 71 and the magnet member or the iron member 72 to enhance the two. Between people.
  • the magnetic attraction member 71 and the magnet member or the iron member 72 may also be blocks that are attracted to each other.
  • the magnetic attraction member 71 is, for example, a magnet.
  • the magnet piece or iron piece 72 is an object containing iron, cobalt, and nickel components, such as tinplate.
  • the senor 30 may also be provided at a position corresponding to the locking member 70, for sensing the pressure or distance between the locking member 70 and the stylus 20, and generating Induction signal corresponding to pressure value or distance value.
  • the sensor 30 may also be disposed on the housing 10 near the locking member 70 or on the stylus 20.
  • the senor 30 is disposed on the magnet member or the iron member 72.
  • the sensor 30 detects the magnet member 71 and the magnet member or the magnet member 72.
  • the induction parameter between the iron pieces 72 generates the induction signal corresponding to the induction parameter value
  • the processor 40 receives the induction signal corresponding to the induction parameter value, and determines the accommodation of the stylus 20 in the casing 10 according to the induction signal.
  • the unit 121 controls the electronic device 100 to be turned off.
  • the sensor 30 senses the induction parameter value between the magnetic attraction piece 71 and the magnetized piece or the iron piece 72, and generates the induction parameter value accordingly.
  • the processor 40 receives the sensing signal corresponding to the sensing parameter value, and determines that the stylus pen 20 is not contained in the containing portion 121 of the housing 10 according to the sensing signal, and controls the electronic device 100 to turn on, so that the user can pull out After the stylus 20 is released, the electronic device can be directly viewed and corresponding operations performed. Therefore, the relative position of the stylus pen 20 in the receiving portion 121 of the casing 10 can be identified through different sensing signals.
  • the sensing parameters are pressure, distance, brightness, magnetic force, etc.
  • the sensor 30 may be a pressure sensor, a distance sensor, a light sensor, a magnetoresistive sensor, and the like.
  • the sensor 30 may be a light sensor.
  • a light-transmitting area is provided at a position of the housing 10 corresponding to the locking member 70.
  • the processor 40 determines the state where the stylus pen 20 is located in the receiving portion 121 of the casing 10 according to the sensor signal generated.
  • the sensor 30 may also be a magnetoresistive sensor, which generates a magnetic force when the magnetic attraction member 71 is attracted to the magnet member or the iron member 72.
  • the sensor 30 generates an induction signal when the induced magnetic force is higher than a preset value, and the processor 40 The state of the stylus pen 20 in the accommodation portion 121 of the casing 10 is determined.
  • the number of the sensors 30 includes two. One of the sensors is disposed on the stop end 1212 of the receiving portion 121, and the other sensor 30 is disposed at a position corresponding to the locking member 70.
  • the two sensors 30 can work at the same time to further improve the sensing accuracy of the electronic device 100.
  • the two sensors 30 can work alternately to increase the service life of the sensors 30.
  • the processor 40 is further configured to control the electronic device 100 to display a confirmation dialog box for the user to confirm whether the electronic device 100 is turned on before the electronic device 100 is turned on, and turn on the electronic device 100 after the user confirms the entry.
  • the electronic device 100 is still provided with a switch button, so that when the user does not use the stylus 20 or the stylus 20 is lost, the user can still switch the electronic device 100 on and off by using the switch button.
  • the casing 10 further includes a memory 80 electrically connected to the processor 40.
  • the memory 80 may be used to store software programs and modules.
  • the processor 40 calls the software programs and modules stored in the memory 80 to execute various functional applications of the terminal and implement data processing.
  • the memory 80 may be a computer-readable storage medium, and the storage medium may include a flash disk, a read-only memory (ROM), a random access device (Random Access Memory, RAM), a magnetic disk, or an optical disk.
  • the memory 80 mainly includes a program storage area and a data storage area, where the program storage area can store an operating system, an application program required for at least one function, and the like; the data storage area can store data created according to the use of the terminal and the like.
  • the operating system may be an Android system, an iOS system, a Windows operating system, or the like.
  • the processor 40 is the control center of the electronic device 100, and uses various interfaces and lines to connect various parts of the entire electronic device 100.
  • the processor 40 runs or executes programs stored in the memory 80, and calls stored in the memory 80. Data to perform various functions of the electronic device 100 and process the data.
  • the processor 40 may be composed of an integrated circuit (Integrated Circuit, for short), for example, may be composed of a single packaged IC, or may be composed of a plurality of packaged ICs connected to the same function or different functions.
  • the processor 40 may include only a central processing unit (Central Processing Unit), or a CPU, digital signal processor (DSP), or graphic processing unit (GPU). ) And various control chips.
  • the CPU may be a single operation core, or may include a multiple operation core.
  • FIG. 7 is a schematic structural diagram of an electronic device 200 according to a second embodiment of the present invention.
  • the structure of the electronic device 200 is similar to the structure of the electronic device 100 of the first embodiment. Therefore, the size, name, and positional relationship of each component included in the second electronic device 200 can be referred to the electronic The device 100 is not repeated here.
  • the difference is that an elastic member 14 is provided in the receiving portion 121.
  • the locking member 70 a is an elastic clamping member, and the locking member 70 a is disposed on the cover plate 12.
  • the stylus pen 20 presses the elastic member 14 and deforms the elastic member 14 and causes the elastic member 14 to abut against the pressure sensor and apply force.
  • the pressure sensor senses the pressure value applied by the elastic member 14.
  • the elastic member 14 is disposed between the sensor 30 and the stylus 20.
  • the inner diameter of the elastic member 14 is larger than the outer diameter of the pen tip 22 and smaller than the outer diameter of the pen body 21 and the diameter of the opening 1213 of the stop end 1212, so that the elastic member 14 is sleeved on the pen tip 22 and sandwiched between the pen body 21 And the stop end 1212 of the receiving portion 121.
  • the elastic member 14 is a spring.
  • the elastic member 14 is fixed to the inner wall of the receiving portion 121 near the stop end 1212.
  • the elastic member 14 is fixed to the stop end 1212 by a clamping structure (not shown).
  • the senor 30 is disposed separately from the elastic member 14. When the stylus pen 20 is inserted into the receiving portion 121, the tip 22 of the stylus pen 20 is pressed against the sensor 30. The sensor 30 is used to sense the sensing parameter value between the stylus pen 20 and the sensor 30 to generate a response corresponding to the sensing parameter value. signal.
  • the processor 40 is configured to determine the sensing parameter value sensed by the sensor 30 according to the sensing signal, and determine whether the sensing parameter value sensed by the sensor 30 is within a preset value range.
  • the processor 40 controls the electronic device 200 to turn off; when it is determined that the sensing parameter value sensed by the sensor 30 is outside the preset value range, the processor 40 controls the electronic device 200 to turn on.
  • the induction signal may be an electric signal such as current and voltage, and the magnitude or frequency of the current and voltage has a preset relationship with the value of the induction parameter.
  • the processor 40 is based on the current, voltage, and The preset relationship between the magnitude or frequency of the current and voltage and the sensing parameter value determines the corresponding sensing parameter value.
  • the sensing parameter value may be a pressure value, a distance value, a brightness value, a magnetic force value, etc. That is, the sensor 30 may be a pressure sensor, a distance sensor, a light sensor, a magnetoresistance sensor, and the like.
  • the senor 30 is connected to the elastic member 14.
  • the stylus 22 of the stylus 20 is pressed against the elastic member 14 and is isolated from the sensor 30.
  • the sensor 30 obtains the sensors 30 and 30 by sensing the pressure between the sensor 30 and the elastic member 14. The pressure value between the stylus 20.
  • the processor 40 is configured to determine whether a pressure value between the elastic member 14 and the pressure sensor 30 sensed by the pressure sensor is within a preset value range, and when determining a difference between the elastic member 14 and the pressure sensor 30 sensed by the pressure sensor, When the pressure value is within the preset value range, the processor 40 controls the electronic device 200 to turn off; when it is determined that the pressure value between the elastic member 14 and the pressure sensor 30 sensed by the pressure sensor is outside the preset value range, the processor 40 The electronic device 200 is controlled to be turned on.
  • a through hole 123 is formed on the inner wall of the receiving portion 121 and penetrates the outside of the casing 10.
  • the inner wall of the through hole 123 is provided with a limiting step surface 1231 for holding the locking member 70a.
  • the locking member 70a includes a pressing member 71a and a rotating member 72a that abuts the pressing member 71a.
  • One end of the pressing member 71a passes through the through hole 123 and is exposed to the casing 10.
  • the other end of the pressing member 71a is connected to the rotating member 72a.
  • the rotating member 712 is integrally connected to the casing 10 and is rotatably pivoted to the casing 10. .
  • the pressing member 71a includes an operation portion 711a, a stop portion 712a, and a connection portion 713a.
  • the operation portion 711a, the stopper portion 712a, and the connection portion 713a are integrally formed.
  • the operation portion 711a passes through the through hole 123 and is exposed from the cover plate 12 for the convenience of the user.
  • the stopper portion 712a is sandwiched between the operation portion 711a and the connection portion 713a.
  • the length of the stopper portion 712 a is greater than the length of the through hole 123, so that the stopper portion 712 a is caught on the limiting step surface 1231 of the through hole 123.
  • the connecting portion 713a is disposed at an end of the stopping portion 712a facing away from the operation portion 711a, and is connected to the rotating member 72a.
  • the rotating member 72 a is integrally connected to the cover plate 12 and is pivotably connected to the cover plate 12.
  • a slot 211 is defined on the pen body 21 near the pen end 23.
  • the rotating member 72 a includes a rotating shaft support arm 721 a, a pivoting portion 722 a rotatably pivotally connected to the cover plate 12, and a clamping block 723 a engaged with the engaging groove 211 of the stylus pen 20.
  • One end of the rotation shaft arm 721a is connected to the pressing member 71a, and the other end of the rotation shaft arm 721a is connected to the stylus pen 20.
  • one end of the rotating shaft arm 721a of the rotating member 72a is exposed to the through hole 123 and is connected to the connecting portion 713a of the pressing member 71a.
  • the other end of the rotating shaft support arm 721 a of the rotating member 72 a is engaged with the engaging slot 211 of the stylus pen 20 through the engaging block 723 a, so that the stylus pen 20 is held in the cover 12.
  • the pivoting portion 722a is disposed in the middle of the rotating shaft support arm 721a, and the clamping block 723a is provided on an end of the rotating shaft support arm 721a of the rotating member 72a facing away from the pressing member 71a.
  • the clamping block 723a is made of a material with a higher density, such as iron, so that the clamping block 723a of the rotating shaft arm 721a extends into the receiving portion 121 under the action of gravity, and the rotating shaft arm 721a faces away from the card.
  • One end of the block 723a abuts against the pressing member 71a (towards the opposite direction of gravity).
  • the clamping block 723a is engaged with the clamping groove 211, and the elastic member 14 is in a compressed state at this time.
  • the stylus 20 is ejected from the accommodation portion 121 when the elastic member 14 is deformed and recovered. Specifically, when the operation portion 711 a is pressed, an end of the connection portion 713 a facing away from the operation portion 711 a is urged on the rotating shaft arm 721 a of the rotating member 72 a to move the clamping block 723 a away from the stylus 20, so that the The inside of the slot 211 is detached. At this time, the elastic member 14 is deformed and the stylus pen 20 is pushed out, thereby facilitating the user to pull out the stylus pen 20 from the receiving portion 121.
  • the handle 231 of the stylus pen 20 may be omitted, so that when the stylus pen 20 is accommodated in the accommodating portion 121, the free end surface of the pen tip 23 and the side of the housing 10 at the position where the pen tip 23 is inserted are located same plane. That is, the stylus pen 20 is disposed inside the casing 10, thereby improving the overall appearance of the electronic device 200, and avoiding the sting between the stylus pen 20 and external components.
  • the sensor 30 may also be disposed on the clamping block 723a, and the sensor 30 may be connected to the processor 40 through a circuit board or a wire.
  • the sensor 30 senses a corresponding sensing parameter to generate a sensing signal corresponding to the sensing parameter value.
  • the processor 40 receives the sensing signal and turns off the electronic device 200 according to the sensing signal.
  • the sensor 30 senses a corresponding sensing parameter to generate a sensing signal corresponding to the sensing parameter value.
  • the processor 40 receives the sensing signal and The sensing signal turns on the electronic device 200. Therefore, the relative position of the stylus pen 20 in the receiving portion 121 of the casing 10 can be identified by different sensing signals.
  • the senor 30 may be a pressure sensor, a distance sensor, a light sensor or a magnetoresistive sensor. That is, the sensor 30 can sense the sensing parameters such as the distance, pressure, brightness, and magnetic force between the card block 723a and the card slot 211 to generate corresponding sensing signals.
  • the electronic device provided by the embodiment of the present invention combines the stylus with an on-off key, and the insertion / removal of the stylus can control the on / off of the electronic device, so as to realize more intelligent on / off of the electronic device.
  • the stylus pen is stored in the accommodating portion of the casing, thereby improving the appearance of the entire electronic device.
  • FIG. 13 is a flowchart of a control method of the electronic device 100 and 200 according to an embodiment of the present invention.
  • the control method includes the following steps:
  • step S121 the receiving sensor 30 senses whether the stylus 20 is accommodated in the accommodating portion 121 of the casing 10 and generates a corresponding sensing signal.
  • step S123 the electronic devices 100 and 200 are controlled to be turned on or off according to the sensing signals.
  • controlling the electronic devices 100 and 200 to turn on or off according to the sensing signal includes the following steps:
  • the electronic devices 100 and 200 are controlled to be turned off;
  • the electronic devices 100 and 200 are controlled to be turned on.
  • the turning on of the electronic devices 100 and 200 includes turning on the electronic devices 100 and 200 and turning on the signal communication module 50.
  • Turning off the electronic devices 100, 200 includes turning off the electronic devices 100, 200, entering the sleep mode of the electronic devices 100, 200, or turning off the signal communication module 50.
  • the senor 30 is a distance sensor, and the distance sensor senses the distance between the stop end 1212 and the stylus 20 and generates a sensing signal corresponding to the distance value.
  • the receiving sensor 30 senses whether the stylus pen 20 is accommodated in the accommodation portion 121 of the casing 10 and generates a corresponding sensing signal, which specifically includes the following steps:
  • the distance sensor is preferably a proximity switch sensor, and the sensing range of the proximity switch sensor is within 0 mm to 5 mm. It can be understood that by using the proximity switch sensor, the stylus 20 can sense whether the stylus 20 is accommodated in the accommodation portion 121 of the casing 10 without direct contact between the stylus 20 and the sensor 30, thereby allowing the casing 10 to be accommodated. There is a large misalignment between the portion 121 and the stylus 20, and it helps to improve the accuracy of sensing.
  • the induction signal may be an electric signal such as current and voltage, and the magnitude or frequency of the current and voltage has a preset relationship with the distance value.
  • the processor 40 is based on the current, voltage value, and the magnitude of the current and voltage of the induction signal. Or the preset relationship between frequency and distance value determines the corresponding distance value.
  • the senor 30 is a pressure sensor, and the pressure sensor senses the pressure of the stylus 20 against the sensor 30 and generates a sensing signal corresponding to the pressure value.
  • the receiving sensor 30 senses whether the stylus pen 20 is accommodated in the accommodation portion 121 of the casing 10 and generates a corresponding sensing signal, which specifically includes the following steps:
  • the induction signal may be an electric signal such as current and voltage, and the magnitude or frequency of the current and voltage has a preset relationship with the pressure value.
  • the processor 40 is based on the current, voltage value, and the magnitude or frequency of the induction signal and the pressure. The preset relationship of the values determines the corresponding pressure value.
  • the elastic member 14 of the electronic device 200 is connected to the sensor 30.
  • the sensor 30 is a pressure sensor.
  • the stylus pen 20 is contained in the accommodating portion 121, the handwriting 20 squeezes the elastic member 14 and deforms the elastic member 14 and causes the elastic member 14 to abut the pressure sensor and apply force to the pressure sensor.
  • the pressure value applied by the elastic member 14 is sensed and a sensing signal corresponding to the pressure value is generated.
  • the number of sensors 30 includes two. One of the sensors 30 is disposed on the stop end 1212 of the receiving portion 121, and the other sensor 30 is disposed at a position corresponding to the locking members 70 and 70 a.
  • the other sensor 30 senses the relationship between the locking members 70, 70a and the stylus 20
  • the second parameter value generates a second sensing signal corresponding to the second parameter value.
  • the receiving sensor 30 senses whether the stylus pen 20 is accommodated in the accommodation portion 121 of the casing 10 and generates a corresponding sensing signal, which specifically includes the following steps:
  • the two sensors 30 are pressure sensors as an example.
  • one of the pressure sensors senses the first pressure between the stylus pen 20 and the stopper 1212 and generates a first pressure.
  • a second sensing signal corresponding to a pressure value and another pressure sensor senses a second pressure between the locking members 70, 70a and the stylus 20 and generates a second sensing signal corresponding to the second pressure value.
  • both the first pressure value and the second pressure value are within a preset value range, it is determined that the locking members 70 and 70a are locked to the stylus 20, and the stylus 20 is housed in the receiving portion 121.
  • one of the pressure sensors senses the third pressure between the stylus pen 20 and the stopper 1212 and generates a third sensing signal corresponding to the third pressure value.
  • a pressure sensor senses the fourth pressure between the locking members 70, 70a and the stylus 20 and generates a fourth sensing signal corresponding to the fourth pressure value.
  • the senor 30 is disposed on the stop end 1212 of the receiving portion 121.
  • the sensor 30 is configured to sense a sensing parameter of the stylus 20 and generate a sensing signal corresponding to the sensing parameter value accordingly.
  • the sensor 30 may be further disposed on or around the locking members 70, 70a, and the sensor 30 is configured to sense a sensing parameter value between the locking member 70 and the stylus 20 And generate a sensing signal corresponding to the sensing parameter value accordingly.
  • the sensor 30 may be further disposed on an inner wall of the receiving portion 121 of the housing 10.
  • the arrangement manner of the sensor 30 is not limited to the above-mentioned embodiment, and other arrangement manners that can realize the sensor 30 to sense the state of the stylus pen 20 in the accommodating portion 121 are used in the present application.
  • controlling the electronic devices 100, 200 to turn on includes controlling the electronic devices 100, 200 to turn on and controlling the signal communication module 50 to be turned on
  • controlling the electronic devices 100, 200 to turn off includes controlling the electronic devices 100, 200 to turn off or control
  • the electronic devices 100 and 200 enter the sleep mode and the control signal communication module 50 is turned off.
  • the stylus pen 20 when the stylus pen 20 is inserted into the accommodating portion 121 of the casing 10, the stylus pen 20 is electrically connected to the battery 60 in the electronic devices 100, 200, so that the electronic devices 100, 200 can Charging the stylus 20 is convenient and quick to use, and the use of the electronic devices 100 and 200 is more intelligent.
  • control method before controlling the electronic devices 100 and 200 to be turned on, the control method further includes:
  • Control to display a confirmation dialog for the user to confirm whether the electronic device 100, 200 is turned on;
  • the electronic devices 100, 200 are turned on after receiving the operation confirming the entry.
  • the electronic devices 100, 200 may display a confirmation dialog box for the user to confirm whether to turn on the electronic devices 100, 200, thereby being able to remind the user and prevent the user from mistakenly turning on the electronic devices 100, 200.
  • the method for controlling an electronic device controls an electronic device by sensing whether the stylus is inserted at a preset position in a housing portion of the housing, and when the stylus is inserted at a preset position in the housing portion.
  • the electronic device is controlled to turn on, so that the electronic device can control the closing and opening of the electronic device according to the insertion or removal of the stylus,
  • the switch of the device is more intelligent.
  • the stylus pen is stored in the accommodating portion of the casing, which improves the overall appearance of the electronic device.

Abstract

一种电子设备(100)及其控制方法。所述电子设备(100)包括具有收容部(121)的壳体(10)及可收容于所述收容部(121)内的手写笔(20),所述壳体(10)内设置有传感器(30)及电连接于所述传感器(30)的处理器(40);所述传感器(30)用于感测所述手写笔(20)是否收容于所述收容部(121)内并产生对应的感应信号;所述处理器(40)接收所述感应信号,并根据所述感应信号确定手写笔(20)是否收容于所述壳体(10)的收容部(121)内,以及根据确定结果控制所述电子设备(100)开启或关闭。通过将手写笔(20)与开关键结合,并将手写笔(20)收纳于壳体(10)内,以实现电子设备(100)的开关机更智能化,且提高了整体的美观。

Description

电子设备及其控制方法 技术领域
本发明涉及电子通信技术领域,尤其涉及一种电子设备及其控制方法。
背景技术
大多数电子设备能够支持用户的手写功能。现有的电子设备设置有按键,并通过按键执行开关机功能。然而,电子设备通过按键执行开关机,不够智能化,从而降低了用户体验。
发明内容
鉴于现有技术中存在的上述问题,本发明提供一种智能化的电子设备及其控制方法。
为了实现上述目的,本发明实施方式提供如下技术方案:
第一方面,本发明提供一种电子设备,包括具有收容部的壳体及可收容于所述收容部内的手写笔,所述壳体内设置有传感器及电连接于所述传感器的处理器;所述传感器用于感测所述手写笔是否收容于所述收容部内并产生对应的感应信号;所述处理器接收所述感应信号,并根据所述感应信号确定手写笔是否收容于所述壳体的收容部内,以及根据确定结果控制所述电子设备开启或关闭。
第二方面,本发明还提供了一种如上所述的电子设备的控制方法,所述电子设备包括具有收容部的壳体、可收容于所述收容部的手写笔、用于感测所述手写笔是否收容于所述收容部内并产生对应感应信号的传感器及与所述传感器电连接的处理器,所述处理器用于执行所述控制方法;所述控制方法包括如下步骤:
接收所述传感器感测所述手写笔是否收容于所述壳体的收容部内并产生对应的感应信号;
根据所述感应信号控制所述电子设备开启或关闭。
本发明提供的电子设备及其控制方法,通过将手写笔与开关键结合,并且手写笔的插入和取出可控制电子设备关闭和开启,以实现电子设备的开关机更智能化,以提高用户体验。此外,手写笔收纳于壳体的收容部内,从而提高了电子设备整体的美观。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明一实施例提供的电子设备的程序模块的示意图。
图2是本发明第一实施例提供的电子设备的结构示意图。
图3是图2的电子设备的结构分解示意图。
图4是图3的电子设备的倒置图。
图5是图2中的电子设备的第一实施方式沿V-V线的剖视图。
图6是图2中的电子设备的第二实施方式沿V-V线的剖视图。
图7是本发明第二实施例提供的电子设备的结构示意图。
图8是图7的电子设备的结构分解示意图。
图9是图8的电子设备的倒置图。
图10是图9的电子设备的局部放大图。
图11是图7中的电子设备沿XI-XI线的剖视图。
图12是图11的电子设备的局部放大图。
图13是本发明实施例提供的电子设备的控制方法的流程图。
具体实施方式
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本发明的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。
本发明实施例所涉及到的电子设备可以包括各种平板电脑、手写板、数位板、手机等等。为方便描述,上面提到的设备统称为电子设备。
下面对本发明实施例进行详细介绍。
为了更好的理解本发明实施例,首先对本发明实施例中的电子设备的工作原理进行介绍。请一并参阅图1至图6,图1所示为本发明第一实施例提供的电子设备100的模块示意图。图2所示为电子设备100的结构示意图。图3所示为电子设备100的结构分解示意图。图4所示为电子设备100的结构分解的倒置图。图5所示为电子设备100的第一实施方式沿V-V线的剖视图。图6所示为电子设备100的第二实施方式沿V-V线的剖视图。在本实施例中,电子设备100以书写板为例。如图1至图6所示,电子设备100包括具有收容部121的壳体10及可收容于收容部121的手写笔20。壳体10内设置有传感器30及电 连接于传感器30的处理器40。传感器30用于感测手写笔20是否收容于收容部121内并产生对应的感应信号。处理器40接收所述感应信号,并根据所述感应信号确定手写笔20是否收容于壳体10的收容部121内,以及根据确定结果控制电子设备100开启或关闭。
当处理器40根据感应信号确定手写笔20收容于收容部121内时,控制电子设备100关闭。当处理器40根据感应信号确定手写笔20未收容于收容部121时,控制电子设备100开启。在本实施例中,传感器30根据手写笔20在收容部121内的状态产生与感应参数值对应的感应信号。处理器40接收感应信号,并判断感应参数值是否在预设值范围内。当感应参数值在预设值范围内时,表明手写笔20插设于收容部121内,处理器40则根据感应信号关闭电子设备100。当感应参数值在预设值范围外时,表明手写笔20未收容于收容部121内,处理器40则根据感应信号开启电子设备100。本申请提供的电子设备100,通过将手写笔20与开关键结合,并且手写笔20插入和拔出收容部121可对应控制电子设备100关闭和开启,从而实现电子设备100的开关机更智能化,并提升用户体验。此外,手写笔20收纳于收容部121内,从而提高了电子设备100整体的美观。
壳体10包括本体11、盖板12及连接本体11和盖板12的若干锁固件13。盖板12卡合于本体11的顶端。盖板12靠近本体11的一侧面设置若干与锁固件13相配合的螺纹套筒120。锁固件13为与螺纹套筒120相配合的螺钉。
传感器30和处理器40设置于本体11上对应盖板12的位置处。本体11内还设置有电连接于处理器40的信号通讯模块50及给处理器40供电的电池60。处理器40控制电子设备100开启包括控制电子设备100开机以及控制信号通讯模块50开启。处理器40控制电子设备100关闭包括控制电子设备100关机或控制电子设备100进入睡眠模式,以及控制信号通讯模块50关闭。在一实施方式中,处理器40在电子设备100开机后控制信号通讯模块50开启;处理器40在电子设备100关闭时控制信号通讯模块50关闭。在另一实施方式中,处理器40在手写笔20插入壳体10的收容部121内时控制电子设备100及信号通讯模块50同时关闭,处理器40在手写笔20从收容部121内拔出时同时控制电子设备100及信号通讯模块50开启。
可以理解的,在本实施方式中,信号通讯模块50例如是,但不局限于蓝牙模块或WiFi模块。信号通讯模块50用于将电子设备100的信号发送给外部通信终端或接收外部通信终端传输的信号。外部通讯终端可以是手机或平板电脑等。
进一步的,当手写笔20收容于壳体10的收容部121内时,手写笔20电连接于处理器40,因此,电子设备100的处理器40在手写笔20收容于壳体10的收容部121内时可控制电池60给手写笔20充电。
盖板12远离本体11的一侧设置有收容手写笔20的收容部121。可以理解的,在本实施方式中,收容部121为收容筒。在其他实施方式中,收容部121还可以是在壳体10上设置的槽体或是由若干卷绕结构围设形成的收容空间。
收容部121包括供手写笔20插入的开口端1211和与开口端1211相对的止挡端1212。在一实施例中,传感器30设置于收容部内121的止挡端1212上。止挡端1212开设有与 收容部121贯通的开孔1213。传感器30的连接部(如线缆或板连接器)穿过开孔1213而与控制器40连接。在另一实施例中,传感器30设置于收容部121的外侧,且与开孔1213正相对,以使传感器30暴露,从而传感器30可通过开孔1213感测手写笔20是否收容于收容部121内。可选的,收容部121靠近开孔1213一侧的内壁上设置有卡持手写笔20的凸起122。
手写笔20包括笔身21和分别设置于笔身21两端的笔头22和笔尾23。笔头22为锥状结构,从而可实现手写笔20的笔头22穿过收容部121的开孔1213而与传感器30接触。笔身21和笔尾23大致为柱状结构,以提高用户书写的舒适度。
在一实施方式中,手写笔20的长度大于收容部121的长度,如此,当手写笔20的笔头22插入至壳体10的收容部121内而与传感器30接触时,笔尾23外露出壳体10的收容部121,以方便操作者取出手写笔20。在另一实施方式中,手写笔20的长度小于或等于收容部121的长度,当手写笔20的笔头22插入至壳体10的收容部121内而与凸起122相互卡持时,传感器30与手写笔20的笔头22隔离设置,且笔尾23外露出壳体10的收容部121,以方便操作者取出手写笔20。
优选的,笔尾23远离笔头22的一端凸设有把手231,以方便操作者将手写笔20从收容部121内取出。在本实施方式中,当手写笔20插入至收容部121内时,手写笔20的笔尾23卡持于凸起122,以使手写笔20的把手231外露于壳体10,从而方便用户将手写笔20从收容部121内拔出。
在本实施方式中,传感器30可感测手写笔20收容于收容部121内的状态,而产生相应的感应参数值,并根据所述感应参数值产生包括感应参数值的感应信号。
传感器30例如是,但不局限于距离传感器或压力传感器。当传感器30为距离传感器时,传感器30用于感测手写笔20与止挡端1212之间的距离而产生与距离值对应的感应信号,即,当传感器30为距离传感器时,感应参数值为距离值。当传感器30为压力传感器时,传感器30用于感测手写笔20抵压传感器30的压力而产生与压力值对应的感应信号,即,当传感器30为压力传感器时,感应参数值为压力值。
在一实施例中,当传感器30为距离传感器时,用于感测手写笔20靠近传感器30的距离而产生与距离值对应的感应信号,处理器40用于根据感应信号确定距离传感器感测到的距离值,并判断距离传感器感测到的距离值是否在预设值范围内,当确定距离传感器感测到的距离值在预设值范围内时,处理器40控制电子设备100关闭;当确定距离传感器感测到的距离值在预设值范围外时,处理器40控制电子设备100开启。可以理解的,在本实施方式中,感应信号可以为电流、电压等电信号,且电流、电压的大小或频率与距离值呈预设关系,处理器40根据感应信号的电流、电压的大小或频率与距离值的预设关系确定对应的距离值。
可选的,为了提高感测精准度,传感器30为接近开关传感器。接近开关传感器的感应范围在0mm至5mm内。可以理解的,通过使用接近开关传感器,手写笔20与传感器30不需要直接接触即可感测手写笔20是否插入至壳体10的收容部121内的预设位置,从 而可以容许壳体10的收容部121与手写笔20之间存在较大的对位误差,并且有助于提高感测精准度。在本实施方式中,当手写笔20插入至收容部121时,手写笔20的笔尾23与凸起122相互卡持,且手写笔20与传感器30间隔设置。
在其他实施例中,当传感器30为压力传感器时,用于感测手写笔20抵压传感器30的压力而产生与压力值对应的感应信号,处理器40用于根据感应信号确定压力传感器感测到的压力值,并判断压力传感器感测到的压力值是否在预设值范围内,当确定压力传感器感测到的压力值在预设值范围内时,处理器40控制电子设备100关闭;当确定压力传感器感测到的压力值在预设值范围外时,处理器40控制电子设备400开启。可以理解的,在本实施方式中,感应信号可以为电流、电压等电信号,且电流、电压的大小或频率与压力值呈预设关系,处理器40根据感应信号的电流、电压值及电流、电压的大小或频率与压力值的预设关系确定对应的压力值。
具体的,当手写笔20从开口端1211插入收容部121并朝止挡端1212一侧移动,并靠近传感器30时,传感器30感测到相应的感应参数而产生与感应参数值对应的感应信号,处理器40接收感应信号,并判断感应参数值是否在预设值范围内,当感应参数值在预设值范围内时,表明手写笔20插设于收容部121内,处理器40则根据感应信号关闭电子设备100。当手写笔20由开口端1211抽出并朝远离止挡端1212一侧移动,并远离传感器30时,传感器30同样感测相应的感应参数而产生与感应参数值对应的感应信号,处理器40接收感应信号,并判断感应参数值是否在预设值范围内,当感应参数值在预设值范围外时,表明手写笔20从收容部121内拔出,处理器40则根据感应信号开启电子设备100,以便用户在拔出手写笔20后,可以直接观看电子设备100及进行相应的操作。因此,通过不同的感测信号可辨别手写笔20在壳体10的收容部121的相对位置。可以理解的,手写笔20收容于收容部121内是指手写笔20与传感器30之间为距离或压力在预设范围值内。手写笔20未收容于收容部121内是指手写笔20从收容部121内拔出,或是手写笔20与传感器30之间为感应参数值在预设范围值外。
在本实施方式中,电子设备100关闭时,手写笔20收容于收容部121内,且固定于壳体10上。具体的,电子设备100还包括锁紧件70。手写笔20通过锁紧件70固定于收容部121内。锁紧件70设置于靠近收容部121的开口端1211的位置。锁紧件70例如是,但不局限于磁吸组件或机械按键(参阅图6)。在本实施方式中,锁紧件70为磁吸附结构。锁紧件70包括磁吸件71和磁铁件或铁件72。磁吸件71和磁铁件或铁件72其中之一设置于手写笔20上,磁吸组件其中另一设置于收容部121的开口端1211。在本实施方式中,磁吸件71套接于手写笔20的笔身21上,磁铁件或铁件72在手写笔20插入至收容部121内时套设于手写笔20上。可以理解的,磁铁件或铁件72可通过焊接、粘粘等固定方式固定于收容部121的槽壁。笔身21的外径大于笔头22的外径且小于笔尾23的外径,如此,磁吸件71与手写笔20的笔尾23相卡持。磁铁件或铁件72与凸起122相卡持。磁铁件或铁件72的内径略大于手写笔20的笔身21的外径且小于笔尾23的外径,以实现磁铁件或铁件72套设于手写笔20上,且夹设在收容部121的凸起122和磁吸件71之间。可以理 解的,在本实施方式中,磁吸件71和磁铁件或铁件72均大致呈圆环形,以增大磁吸件71与磁铁件或铁件72之间的接触面积而增强两者之间的吸附力。在其他实施方式中,磁吸件71和磁铁件或铁件72还可以为相互吸附的块体。磁吸件71例如是磁铁。磁铁件或铁件72为包含铁、钴、镍成分的物体,例如马口铁。
可以理解的,在一实施方式中,传感器30还可以设置于锁紧件70所对应的位置处,用于感测锁紧件70与手写笔20之间的压力或距离,并据以产生与压力值或距离值对应的感应信号。在其他实施方式中,传感器30还可设置于壳体10靠近锁紧件70的位置或手写笔20上。
在具体实施方式中,传感器30设置在磁铁件或铁件72上,当磁吸件71与被磁铁件或铁件72相互吸附在一起时,传感器30感测磁吸件71与被磁铁件或铁件72之间的感应参数,并据以产生与感应参数值对应的感应信号,处理器40接收与感应参数值对应的感应信号,并根据感应信号确定手写笔20收容于壳体10的收容部121内,并控制电子设备100关闭。当手写笔20上的磁吸件71脱离磁铁件或铁件72时,传感器30感测磁吸件71与被磁铁件或铁件72之间的感应参数值,并据以产生与感应参数值对应的感应信号,处理器40接收与感应参数值对应的感应信号,并根据感应信号确定手写笔20未收容于壳体10的收容部121内,并控制电子设备100开启,以便于用户在拔出手写笔20后,可以直接观看电子设备及进行相应的操作。因此,通过不同的感测信号可辨别手写笔20在壳体10的收容部121的相对位置。
可以理解的,感应参数为压力、距离、亮度、磁力等,也即传感器30可以为压力传感器、距离传感器、光感应器及磁阻感应器等。例如,传感器30可为光感应器,壳体10对应锁紧件70的位置处设置有透光区,当磁吸件71与磁铁件或铁件72相吸附时遮盖传感器30,传感器30感应亮度低于预设值时产生感应信号,处理器40根据产生感应信号而确定出手写笔20位于壳体10的收容部121内的状态。传感器30还可为磁阻感应器,当磁吸件71与磁铁件或铁件72相吸附时产生磁力,传感器30感应磁力高于预设值时产生感应信号,处理器40根据产生感应信号而确定出手写笔20在壳体10的收容部121内的状态。
可以理解的,在一可选实施例中,传感器30的数量包括两个,其中一个传感器设置于收容部121的止挡端1212上,另一个传感器30设置于锁紧件70所对应的位置处,且两传感器30可同时工作,以进一步提高电子设备100的感测精确度。在另一实施例中,两传感器30可交替工作,以提高传感器30的使用寿命。
可选的,处理器40还用于在电子设备100开启之前,控制电子设备100显示确认对话框供用户确认是否开启电子设备100,以及在用户确认进入后再开启电子设备100。
在本实施例中,电子设备100仍设置有开关按钮,从而用户在不使用手写笔20或手写笔20丢失时,仍能够通过开关按钮实现对电子设备100的开关机。
壳体10还包括与处理器40电连接的存储器80。存储器80可用于存储软件程序以及模块,处理器40通过调用存储在存储器80中的软件程序以及模块,从而执行终端的各项功能应用以及实现数据处理。存储器80可以为计算机可读存储介质,存储介质可以包括:闪存盘、只读存储器(Read-Only Memory,ROM)、随机存取器(Random Access Memory,RAM)、磁盘或光盘等。存储器80主要包括程序存储区和数据存储区,其中,程序存储区 可存储操作系统、至少一个功能所需的应用程序等;数据存储区可存储根据终端的使用所创建的数据等。在本发明实施例中,操作系统可以是Android系统、iOS系统或Windows操作系统等等。
在本实施例中,处理器40为电子设备100的控制中心,利用各种接口和线路连接整个电子设备100的各个部分,通过运行或执行存储在存储器80内的程序,以及调用存储在存储器80内的数据,以执行电子设备100的各种功能和处理数据。处理器40可以由集成电路(Integrated Circuit,简称IC)组成,例如可以由单颗封装的IC所组成,也可以由连接多颗相同功能或不同功能的封装IC而组成。举例来说,处理器40可以仅包括中央处理器(Central Processing Unit,简称CPU),也可以是CPU、数字信号处理器(digital signal processor,简称DSP)、图形处理器(Graphic Processing Unit,简称GPU)及各种控制芯片的组合。在本发明实施方式中,CPU可以是单运算核心,也可以包括多运算核心。
请参阅图7,图7是本发明第二实施例提供的电子设备200的结构示意图。在第二实施例中,电子设备200的结构与第一实施例的电子设备100的结构相似,因此,第二电子设备200包含的各元件尺寸、元件名称、各元件位置关系等均可参看电子设备100,在此不再赘述。不同的是,收容部121内设置有弹性件14。锁紧件70a为弹性夹持件,锁紧件70a设置于盖板12上。
具体的,如图7和图8所示,当手写笔20收容于收容部121内时手写笔20挤压弹性件14并使弹性件14发生形变及使弹性件14抵接压力传感器并施力于压力感应器,压力传感器感测弹性件14所施加的压力值。在本实施例中,弹性件14设置于传感器30和手写笔20之间。弹性件14的内径大于笔头22的外径,且小于笔身21的外径及止挡端1212的开孔1213的直径,从而实现弹性件14套设于笔头22,且夹设在笔身21和收容部121的止挡端1212之间。在本实施例中,弹性件14为弹簧。可选的,在一实施方式中,弹性件14固定于收容部121的靠近止挡端1212的内壁。在另一实施方式中,弹性件14通过卡持结构(图未示)固定于止挡端1212。
在一实施例中,传感器30与弹性件14隔离设置。当手写笔20插入至收容部121内时,手写笔20的笔头22抵压传感器30,传感器30用于感测手写笔20与传感器30之间的感应参数值而产生与感应参数值对应的感应信号。处理器40用于根据感应信号确定传感器30感测到的感应参数值,并判断传感器30感测到的感应参数值是否在预设值范围内,当确定传感器30感测到的感应参数值在预设值范围内时,处理器40控制电子设备200关闭;当确定传感器30感测到的感应参数值在预设值范围外时,处理器40控制电子设备200开启。可以理解的,在本实施方式中,感应信号可以为电流、电压等电信号,且电流、电压的大小或频率与感应参数值呈预设关系,处理器40根据感应信号的电流、电压值及电流、电压的大小或频率与感应参数值的预设关系确定对应的感应参数值。感应参数值可以为压力值、距离值、亮度值、磁力值等,也即传感器30可以为压力传感器、距离传感器、光感应器及磁阻感应器等。
在另一实施例中,传感器30连接于弹性件14。当手写笔20插入至收容部121内时,手写笔20的笔头22抵压弹性件14且与传感器30隔离设置,传感器30通过感测传感器30与弹性件14之间的压力来获得传感器30与手写笔20之间的压力值。处理器40用于判断压力传感器感测到的弹性件14与压力传感器30之间的压力值是否在预设值范围内,当确定 压力传感器感测到的弹性件14与压力传感器30之间的压力值在预设值范围内时,处理器40控制电子设备200关闭;当确定压力传感器感测到的弹性件14与压力传感器30之间的压力值在预设值范围外时,处理器40控制电子设备200开启。
请再次参看图9至图12,在本实施例中,收容部121内壁开设有贯通于壳体10外侧的通孔123。通孔123的内壁设置有卡持锁紧件70a的限位台阶面1231。锁紧件70a包括按压件71a和与按压件71a抵接的转动件72a。按压件71a的一端穿过通孔123而外露于壳体10,按压件71a的另一端连接于72a转动件,转动件712与壳体10连接为一体,且可转动地枢接于壳体10。按压件71a包括操作部711a、止挡部712a及连接部713a。操作部711a、止挡部712a及连接部713a一体成型。操作部711a穿过通孔123而外露于盖板12,以方便用户操作。止挡部712a夹设在操作部711a和连接部713a之间。止挡部712a的长度大于通孔123的长度,以使止挡部712a卡持于通孔123的限位台阶面1231。连接部713a设置于止挡部712a背离操作部711a的一端,且连接于转动件72a。
在一具体实施例中,转动件72a与盖板12连接为一体,且可转动地枢接于盖板12。笔身21靠近笔尾23的一侧开设卡槽211。转动件72a包括转轴支臂721a、可转动地枢接于盖板12的枢接部722a及与手写笔20的卡槽211相卡合的卡块723a。转轴支臂721a的一端连接于按压件71a,转轴支臂721a的另一端连接于手写笔20。具体的,转动件72a的转轴支臂721a的一端暴露于通孔123而与按压件71a的连接部713a连接。转动件72a的转轴支臂721a的另一端通过卡块723a卡合于手写笔20的卡槽211,以实现手写笔20卡持于盖板12内。枢接部722a设置在转轴支臂721a的中部,卡块723a设置于转动件72a的转轴支臂721a背离按压件71a的一端。
可以理解的,当手写笔20从开口端1211插入收容部121时,卡块723a卡接于卡槽211并锁紧手写笔20;当按压件71a被按压,卡块723a脱离于卡槽211,手写笔20解除锁紧。在本实施方式中,卡块723a由密度较大的材料制成,比如铁,以使转轴支臂721a的卡块723a在重力的作用下延伸至收容部121内,且转轴支臂721a背离卡块723a的一端向上(朝重力相反的方向)抵顶按压件71a。当手写笔20收容于收容部121内,且固定于壳体10时,卡块723a与卡槽211相卡合,此时弹性件14处于压缩状态。手写笔20在弹性件14形变恢复时从收容部121内弹出。具体的,按压操作部711a时,连接部713a背离操作部711a的一端施力于转动件72a的转轴支臂721a上而使卡块723a朝远离手写笔20的方向移动,从而从手写笔20的卡槽211内脱离,此时,弹性件14形变恢复而将手写笔20顶出,从而方便用户将手写笔20从收容部121拔出。
可以理解的,在其他实施方式中,手写笔20的把手231可以省略,从而在手写笔20收容于收容部121时,笔尾23的自由端面与壳体10在笔尾23插入处的侧面位于同一平面。也即手写笔20设置于壳体10内部,从而提高电子设备200的整体外观,且能够避免手写笔20与外部元件的剐蹭。
进一步的,传感器30还可以设置在卡块723a上,传感器30可通过线路板或导线连接于处理器40。具体的,在具体实施方式中,当锁紧件70a的卡块723a卡合于笔身21的卡槽211时,传感器30感测到相应的感应参数而产生与感应参数值对应的感应信号,处理器40接收感应信号并根据感应信号关闭电子设备200。当锁紧件70a的卡块723a未卡合于笔身21的卡槽211时,传感器30感测到相应的感应参数而产生与感应参数值对应的感应信号,处理器40接收感应信号并根据感应信号开启电子设备200。因此,通过不同的感测信 号可辨别手写笔20在壳体10的收容部121的相对位置。
可以理解的,传感器30可以为压力传感器、距离传感器、光感应器或磁阻感应器等。也即传感器30可感测卡块723a与卡槽211之间的距离、压力、亮度、磁力等感应参数而产生对应的感应信号。
本发明实施例提供的电子设备,通过将手写笔与开关键结合,并且手写笔的插入/拔出可控制电子设备的关闭/开启,以实现电子设备的开关机更智能化。此外,手写笔收纳于壳体的收容部内,从而提高了电子设备整体的美观。
请参看图13,为本发明实施例提供的上述电子设备100,200的控制方法的流程图。控制方法包括如下步骤:
步骤S121,接收传感器30感测手写笔20是否收容于壳体10的收容部121内并产生对应的感应信号。
步骤S123,根据感应信号控制电子设备100,200开启或关闭。
在本实施方式中,根据感应信号控制电子设备100,200开启或关闭,具体包括如下步骤:
当根据感应信号确定手写笔20收容于收容部121内时,控制电子设备100,200关闭;
当根据感应信号确定手写笔20未收容于收容部121时,控制电子设备100,200开启。
其中,电子设备100,200开启包括电子设备100,200开机以及信号通讯模块50开启。电子设备100,200关闭包括电子设备100,200关机、电子设备100,200进入睡眠模式或是信号通讯模块50关闭。
在一实施方式中,传感器30为距离传感器,距离传感器感测止挡端1212与手写笔20之间的距离并产生与距离值对应的感应信号。接收传感器30感测手写笔20是否收容于壳体10的收容部121内并产生对应的感应信号,具体包括如下步骤:
当距离值在预设值范围内时,确定手写笔20收容于收容部121内;
当距离值在预设值范围外时,确定手写笔20未收容于收容部121内。
其中,距离传感器优选为接近开关传感器,接近开关传感器的感应范围在0mm至5mm内。可以理解的,通过使用接近开关传感器,手写笔20在与传感器30之间可不需要直接接触即可感测手写笔20是否收容于壳体10的收容部121内,从而可以容许壳体10的收容部121与手写笔20之间存在较大的对位误差,并且有助于提高感测精准度。在本实施方式中,感应信号可以为电流、电压等电信号,且电流、电压的大小或频率与距离值呈预设关系,处理器40根据感应信号的电流、电压值及电流、电压的大小或频率与距离值的预设关系确定对应的距离值。
在另一实施方式中,传感器30为压力传感器,压力传感器感测手写笔20抵压传感器30的压力并产生与压力值对应的感应信号。接收传感器30感测手写笔20是否收容于壳体10的收容部121内并产生对应的感应信号,具体包括如下步骤:
当压力值在预设值范围内时,确定手写笔20收容于收容部121内;
当压力值在预设值范围外时,确定手写笔20未收容于收容部121内。
其中,感应信号可以为电流、电压等电信号,且电流、电压的大小或频率与压力值呈预设关系,处理器40根据感应信号的电流、电压值及电流、电压的大小或频率与压力值的预设关系确定对应的压力值。
可选的,在一具体实施例中,电子设备200的弹性件14连接于传感器30。传感器30 为压力传感器,当手写笔20收容于收容部121内时,手写20挤压弹性件14并使弹性件14发生形变及使弹性件14抵接压力传感器并施力于压力传感器,压力传感器感测弹性件14所施加的压力值并产生与压力值对应的感应信号。
在一具体实施例中,传感器30的数量包括2个,其中一个传感器30设置于收容部121的止挡端1212上,另一个传感器30设置在锁紧件70,70a所对应的位置处。当其中一个传感器30感测手写笔20与传感器30的第一参数值并产生与第一参数值对应的第一感应信号,以及另一传感器30感测锁紧件70,70a与手写笔20的第二参数值并产生与第二参数值对应的第二感应信号。接收传感器30感测手写笔20是否收容于壳体10的收容部121内并产生对应的感应信号,具体包括如下步骤:
当第一参数值与第二参数值均在预设值范围内时,确定手写笔20收容于收容部121内;
当第一参数值与第二参数值均在预设值范围外时,确定手写笔20未收容于收容部121内。
其中,这里两传感器30以压力传感器为例,当手写笔20从开口端1211插入收容部121时,其中一个压力传感器感测手写笔20与止挡部1212之间的第一压力并产生与第一压力值对应的第二感应信号,另一个压力传感器感测锁紧件70,70a与手写笔20之间的第二压力并产生与第二压力值对应的第二感应信号。当第一压力值与第二压力值均在预设值范围内时,确定锁紧件70,70a锁紧于手写笔20,且手写笔20收容于收容部121内。当手写笔20从开口端1211拔出收容部121时,其中一个压力传感器感测手写笔20与止挡部1212之间的第三压力并产生与第三压力值对应的第三感应信号,另一个压力传感器感测锁紧件70,70a与手写笔20之间的第四压力并产生与第四压力值对应的第四感应信号。当第三压力值与第四压力值均在预设值范围外时,确定锁紧件70,70a解除锁紧手写笔20,且手写笔20未收容于收容部121内。
可以理解的,在一实施方式中,传感器30设置于收容部121的止挡端1212上。传感器30用于感测手写笔20的感应参数,并据以产生与感应参数值对应的感应信号。在另一实施方式中,传感器30还可设置于锁紧件70,70a上或锁紧件70,70a的周围,传感器30用于感测锁紧件70与手写笔20之间的感应参数值,并据以产生与感应参数值对应的感应信号。在其他实施方式中,传感器30还可设置在壳体10的收容部121的内壁上。传感器30的设置方式不局限于上述实施方式,其他可实现传感器30感测手写笔20在收容部121内的状态的设置方式均使用于本申请。
可以理解的,在本实施例中,控制电子设备100,200开启包括控制电子设备100,200开机以及控制信号通讯模块50开启,控制电子设备100,200关闭包括控制电子设备100,200关机或控制电子设备100,200进入睡眠模式以及控制信号通讯模块50关闭。
可选的,在本实施例中,当手写笔20插设于壳体10的收容部121内时,手写笔20电连接于电子设备100,200内的电池60,从而电子设备100,200可对手写笔20进行充电,使用方便、快捷,并且电子设备100,200的使用更智能化。
在本实施方式中,在控制电子设备100,200开启之前,控制方法还包括:
控制显示确认对话框供用户确认是否开启电子设备100,200;以及
在接收确认进入的操作后开启电子设备100,200。
其中,在开启电子设备100,200之前,电子设备100,200可显示确认对话框,供用 户确认是否开启电子设备100,200,从而能够提醒用户而避免用户手误而开启电子设备100,200。
本申请实施例提供的电子设备的控制方法,通过感测手写笔是否插设于壳体的收容部内的预设位置,当感测手写笔插设于收容部内的预设位置时,控制电子设备关闭,当感测手写笔远离收容部内的预设位置或从收容部内拔出时,控制电子设备开启,从而电子设备能够根据手写笔的插入或取出来控制电子设备的关闭及开启,不仅实现电子设备的开关机更智能化。此外,手写笔收容于壳体的收容部内,提高了电子设备的整体美观。
以上对本发明实施例进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上上述,本说明书内容不应理解为对本发明的限制。

Claims (20)

  1. 一种电子设备,其特征在于,所述电子设备包括具有收容部的壳体及可收容于所述收容部内的手写笔,所述壳体内设置有传感器及电连接于所述传感器的处理器;所述传感器用于感测所述手写笔是否收容于所述收容部内并产生对应的感应信号;所述处理器接收所述感应信号,并根据所述感应信号确定手写笔是否收容于所述壳体的收容部内,以及根据确定结果控制所述电子设备开启或关闭。
  2. 如权利要求1所述的电子设备,其特征在于,当所述处理器根据所述感应信号确定所述手写笔收容于所述收容部内时,控制所述电子设备关闭。
  3. 如权利要求1所述的电子设备,其特征在于,当所述处理器根据所述感应信号确定所述手写笔未收容于所述收容部时,控制所述电子设备开启。
  4. 如权利要求2或3所述的电子设备,其特征在于,所述收容部包括供所述手写笔插入的开口端和与所述开口端相对的止挡端,所述传感器设置于所述收容部内的止挡端上。
  5. 如权利要求4所述的电子设备,其特征在于,所述传感器为距离传感器,用于感测所述止挡端与所述手写笔之间的距离并产生与距离值对应的感应信号,所述处理器根据所述感应信号确定所述距离值是否在预设值范围内,当确定所述距离值在所述预设值范围内时,所述处理器判断所述手写笔收容于所述容纳部内,并控制所述电子设备关闭。
  6. 如权利要求4所述的电子设备,其特征在于,所述传感器为压力传感器,所述传感器感测所述手写笔的压力并产生与所述压力值对应的感应信号,所述处理器根据所述感应信号确定所述压力值是否在预设值范围内;当所述压力值在所述预设值范围内时,所述处理器判断所述手写笔收容于所述容纳部内,并控制所述电子设备关闭。
  7. 如权利要求6所述的电子设备,其特征在于,所述收容部内设置有弹性件,当所述手写笔收容于所述收容部内时所述手写笔挤压所述弹性件并使所述弹性件发生形变及使所述弹性件抵接所述压力传感器并施力于所述压力感应器,所述压力传感器感测所述弹性件所施加的压力值。
  8. 如权利要求7所述的电子设备,其特征在于,所述手写笔在所述弹性件形变恢复时从所述收容部内弹出。
  9. 如权利要求1所述的电子设备,其特征在于,所述壳体内还设置有电连接于所述处理器的信号通讯模块,所述处理器控制所述电子设备开启包括控制所述电子设备开机以及控制所述信号通讯模块开启,所述处理器控制所述电子设备关闭包括控制所述电子设备关机或控制所述电子设备进入睡眠模式以及控制所述信号通讯模块关闭。
  10. 如权利要求4所述的电子设备,其特征在于,所述电子设备还包括锁紧件,所述手写笔通过所述锁紧件锁紧于所述收容部内。
  11. 如权利要求10所述的电子设备,其特征在于,所述锁紧件为磁吸组件,所述磁吸组件包括磁吸件和与所述磁吸件相配合的磁铁件或铁件,所述磁吸组件其中之一设置于所述手写笔上,所述磁吸组件其中另一设置与所述收容部的开口端。
  12. 如权利要求10所述的电子设备,其特征在于,所述锁紧件为弹性夹持件,所述收容部内壁开设有贯通于所述壳体外侧的通孔,所述弹性夹持件穿过所述通孔而外露于所述壳体;所述弹性夹持件包括按压件和转动件,所述按压件的一端穿过所述通孔而外露于所 述壳体,所述按压件的另一端连接于所述转动件,所述转动件与所述壳体连接为一体,且可转动地枢接于所述壳体。
  13. 如权利要求12所述的电子设备,其特征在于,所述转动件包括连接于所述壳体的转轴支臂,所述转轴支臂的一端连接于所述按压件,所述转轴支臂背离所述按压件的另一端设置卡块,所述手写笔开设与所述卡块相配合的卡槽;当所述手写笔从所述开口端插入所述收容部时,所述卡块卡接于所述卡槽并锁紧所述手写笔;当所述按压件被按压,所述卡块脱离于所述卡槽,所述手写笔解除锁紧。
  14. 一种电子设备的控制方法,其特征在于,所述电子设备包括具有收容部的壳体、可收容于所述收容部的手写笔、用于感测所述手写笔是否收容于所述收容部内并产生对应感应信号的传感器及与所述传感器电连接的处理器,所述处理器用于执行所述控制方法;所述控制方法包括如下步骤:
    接收所述传感器感测所述手写笔是否收容于所述壳体的收容部内并产生对应的感应信号;
    根据所述感应信号控制所述电子设备开启或关闭。
  15. 如权利要求14所述的控制方法,其特征在于,所述“接收所述传感器感测所述手写笔是否收容于所述壳体的收容部内并产生对应的感应信号”,具体包括:
    当根据所述感应信号确定所述手写笔收容于所述收容部内时,控制所述电子设备关闭。
  16. 如权利要求14所述的控制方法,其特征在于,所述“接收所述传感器感测所述手写笔是否收容于所述壳体的收容部内并产生对应的感应信号”,具体包括:
    当根据所述感应信号确定所述手写笔未收容于所述收容部时,控制所述电子设备开启。
  17. 如权利要求14所述的控制方法,其特征在于,所述收容部包括供所述手写笔插入的开口端和与所述开口端相对的止挡端,所述传感器设置于所述收容部内的止挡端上;所述传感器为距离传感器,所述距离传感器感测所述止挡端与所述手写笔之间的距离并产生与距离值对应的感应信号;
    所述“接收所述传感器感测所述手写笔是否收容于所述壳体的收容部内并产生对应的感应信号”,包括:
    当所述距离值在所述预设值范围内时,确定所述手写笔收容于所述收容部内;
    当所述距离值在所述预设值范围外时,确定所述手写笔未收容于所述收容部内。
  18. 如权利要求17所述的控制方法,其特征在于,所述传感器为压力传感器,所述压力传感器感测所述手写笔抵压所述压力传感器的压力并产生与所述压力值对应的感应信号;
    所述“接收所述传感器感测所述手写笔是否收容于所述壳体的收容部内并产生对应的感应信号”,包括:
    当所述压力值在所述预设值范围内时,确定所述手写笔收容于所述收容部内;
    当所述压力值在所述预设值范围外时,确定所述手写笔未收容于所述收容部内。
  19. 如权利要求18所述的控制方法,其特征在于,所述电子设备还包括连接于所述传感器的弹性件,当所述手写笔收容于所述收容部内时所述手写笔挤压所述弹性件并使所述弹性件发生形变及使所述弹性件抵接所述压力传感器并施力于所述压力传感器,所述压力传感器感测所述弹性件所施加的压力值并产生与压力值对应的感应信号。
  20. 如权利要求15或16任意一项所述的控制方法,其特征在于,所述电子设备还包 括信号通讯模块,控制所述电子设备开启包括控制所述电子设备开机以及控制所述信号通讯模块开启,控制所述电子设备关闭包括控制所述电子设备关机或控制所述电子设备进入睡眠模式以及控制所述信号通讯模块关闭。
PCT/CN2018/104903 2018-09-10 2018-09-10 电子设备及其控制方法 WO2020051752A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201880094105.4A CN112640407A (zh) 2018-09-10 2018-09-10 电子设备及其控制方法
PCT/CN2018/104903 WO2020051752A1 (zh) 2018-09-10 2018-09-10 电子设备及其控制方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/104903 WO2020051752A1 (zh) 2018-09-10 2018-09-10 电子设备及其控制方法

Publications (1)

Publication Number Publication Date
WO2020051752A1 true WO2020051752A1 (zh) 2020-03-19

Family

ID=69776965

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/104903 WO2020051752A1 (zh) 2018-09-10 2018-09-10 电子设备及其控制方法

Country Status (2)

Country Link
CN (1) CN112640407A (zh)
WO (1) WO2020051752A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113296385A (zh) * 2021-05-19 2021-08-24 维沃移动通信有限公司 智能手表
CN115315546A (zh) * 2020-03-27 2022-11-08 株式会社巴川制纸所 金属纤维成型体、温度调节单元及金属纤维成型体的制造方法

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114995590B (zh) * 2021-10-11 2023-04-07 荣耀终端有限公司 支撑装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100326745A1 (en) * 2009-06-26 2010-12-30 Hon Hai Precision Industry Co., Ltd. Electronic device with stylus
CN202563391U (zh) * 2012-05-03 2012-11-28 北京壹人壹本信息科技有限公司 一种手写笔防丢装置及便携式电子设备
CN105589615A (zh) * 2016-03-16 2016-05-18 成都电锯互动科技有限公司 一种太阳能供电的局部显示数位板
CN207821300U (zh) * 2017-12-27 2018-09-07 深圳市柔宇科技有限公司 电子装置保护套

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201774769U (zh) * 2010-06-21 2011-03-23 深圳富泰宏精密工业有限公司 手写笔固定结构
JP5039198B2 (ja) * 2010-12-03 2012-10-03 株式会社東芝 電子機器
CN202522962U (zh) * 2012-02-20 2012-11-07 北京壹人壹本信息科技有限公司 便携式电子设备
KR101940565B1 (ko) * 2012-08-02 2019-01-21 삼성전자주식회사 스타일러스 펜 및 그것을 구비한 전자 장치
TWM526117U (zh) * 2016-03-18 2016-07-21 致伸科技股份有限公司 壓力感應式觸控筆

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100326745A1 (en) * 2009-06-26 2010-12-30 Hon Hai Precision Industry Co., Ltd. Electronic device with stylus
CN202563391U (zh) * 2012-05-03 2012-11-28 北京壹人壹本信息科技有限公司 一种手写笔防丢装置及便携式电子设备
CN105589615A (zh) * 2016-03-16 2016-05-18 成都电锯互动科技有限公司 一种太阳能供电的局部显示数位板
CN207821300U (zh) * 2017-12-27 2018-09-07 深圳市柔宇科技有限公司 电子装置保护套

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115315546A (zh) * 2020-03-27 2022-11-08 株式会社巴川制纸所 金属纤维成型体、温度调节单元及金属纤维成型体的制造方法
CN113296385A (zh) * 2021-05-19 2021-08-24 维沃移动通信有限公司 智能手表

Also Published As

Publication number Publication date
CN112640407A (zh) 2021-04-09

Similar Documents

Publication Publication Date Title
WO2020051752A1 (zh) 电子设备及其控制方法
US11342720B2 (en) Snap button fastener providing electrical connection
CN110727358B (zh) 功能模块化的触控笔
CN106535020B (zh) 一种脖戴入耳式蓝牙耳机及其入耳检测方法
JP4555349B2 (ja) Usbコネクタ及び装置と接続するためのソケット
NL1038411C2 (en) Multifunctional connector plug and method for portable electronic devices.
US8704673B2 (en) Cable structure with indicating function
US20110286615A1 (en) Wireless stereo headsets and methods
US11240583B1 (en) Interchangeable and rechargeable batteries for earbuds
US11347331B2 (en) Portable information handling system stylus garage and charge interface
US8228295B2 (en) Wireless mouse chargeable by a computer system
CN204407610U (zh) Usb插头装置
US8089463B2 (en) Chargeable wireless mouse attachable to a computer host via a wireless signal receiver having a charging plate
KR102500309B1 (ko) 펜 입력 장치를 포함하는 전자 장치 및 그의 동작 방법
WO2019191036A1 (en) Connector storage device
KR20200017042A (ko) 스타일러스 펜과 연관된 정보를 표시하기 위한 전자 장치 및 그에 관한 방법
KR20190102706A (ko) 전력을 공급하고 있는 외부 전자 장치의 연결 해제에 기반하여, 전자 장치와 연결된 다른 외부 장치로부터 전력을 수신하는 방법 및 이를 구현한 전자 장치
JP2006260345A (ja) ペン型入力装置、および分離型クレードル
US10468838B2 (en) Magnetic connector
KR20130053698A (ko) 스마트폰 충전 거치대
US8659581B2 (en) Stylus and portable electronic device using same
CN103545670A (zh) 一种语音提醒的充电数据线及其充电方法
TWM607900U (zh) 滑鼠組件
CN211506480U (zh) 一种手写装置
KR200341490Y1 (ko) 마우스를 내부에 수납하는 노트북 컴퓨터

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: 18933566

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: 18933566

Country of ref document: EP

Kind code of ref document: A1