[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

WO2022105784A1 - Stylus, electronic device, operation control method and apparatus, and terminal device - Google Patents

Stylus, electronic device, operation control method and apparatus, and terminal device Download PDF

Info

Publication number
WO2022105784A1
WO2022105784A1 PCT/CN2021/131167 CN2021131167W WO2022105784A1 WO 2022105784 A1 WO2022105784 A1 WO 2022105784A1 CN 2021131167 W CN2021131167 W CN 2021131167W WO 2022105784 A1 WO2022105784 A1 WO 2022105784A1
Authority
WO
WIPO (PCT)
Prior art keywords
module
state
key
stylus
control
Prior art date
Application number
PCT/CN2021/131167
Other languages
French (fr)
Chinese (zh)
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 维沃移动通信有限公司
Publication of WO2022105784A1 publication Critical patent/WO2022105784A1/en

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/03545Pens or stylus

Definitions

  • the present application belongs to the technical field of electronic equipment, and specifically relates to a touch pen, electronic equipment, operation control method, device and terminal equipment.
  • the purpose of the embodiments of the present application is to provide a touch pen, an electronic device, an operation control method, an apparatus, and a terminal device, which can solve the problems of single function and limited operation dimension.
  • an embodiment of the present application provides a stylus, including: a casing, a control part, a key module, a battery module, a control module and a communication module, the control part is movably arranged on the The first end of the casing is movable between the first position and the second position, the casing is provided with a first through hole and an accommodating cavity, the first through hole is communicated with the accommodating cavity, so the communication module, the battery module and the control module are located in the accommodating cavity, and the control module is respectively electrically connected with the battery module, the communication module and the key module;
  • the key module is located within the housing
  • the key module When the control portion is located at the second position, the key module at least partially protrudes out of the casing through the first through hole.
  • an embodiment of the present application provides an electronic device, including the touch pen according to the first aspect, the electronic device further includes a device body, and the device body is provided with an accommodating groove with at least one end open, The side wall of the accommodating groove is provided with a third through hole communicating with the accommodating groove; the manipulation portion is located outside the accommodating groove;
  • the second part of the key module protrudes from the accommodating groove through the third through hole; the first part is smaller than the second part .
  • an embodiment of the present application provides an operation control method, which is applied to the electronic device according to the second aspect, and the method includes:
  • the state of the key module includes a retracted state inside the casing or a pop-up state at least partially protruding out of the casing through the first through hole;
  • the function mode of the key module is determined.
  • an operation control device including:
  • the first acquisition module is used to acquire the state of the key module; the state of the key module includes a retracted state within the casing or at least partially protruding from the casing through the first through hole. pop-up state outside;
  • the determining module is used for determining the function mode of the key module according to the state of the key module.
  • an embodiment of the present application further provides a terminal device, the terminal device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction The steps of the method of the third aspect are implemented when executed by the processor.
  • an embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the method according to the third aspect is implemented. step.
  • an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement the third aspect the method described.
  • an embodiment of the present application further provides a computer program product, the computer program product is stored in a non-volatile storage medium, and the computer program product is configured to be executed by at least one processor to implement the The steps of the method described in the three aspects.
  • an embodiment of the present application further provides a control device, where the control device is configured to execute the method according to the third aspect.
  • an embodiment of the present application further provides a communication device, the communication device includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, the program or instruction The steps of the method of the third aspect are implemented when executed by the processor.
  • the stylus includes: a casing, a control part, a key module, a battery module, a control module and a communication module, and the control part is movably arranged at the first end of the casing, and can be installed at the first end of the casing. It moves between the first position and the second position. In this way, it is convenient for the user to control the manipulation pen.
  • the casing is provided with a first through hole and an accommodating cavity, and the first through hole is communicated with the accommodating cavity.
  • the communication module and the battery module and the control module is located in the accommodating cavity, and the control module is respectively electrically connected with the battery module, the communication module and the key module; in this way, the control module can communicate with other electronic devices through the communication module to Control the key module; specifically, when the control part is located at the first position, the key module is located in the casing; when the control part is at the second position, the key module passes through the first The hole at least partially protrudes out of the casing, so that the key module of the stylus can have the key function of an electronic device. In this way, the stylus not only has the traditional writing function, but also the key module on the stylus can be used as the button of the electronic device, which solves the problems of single function and limited operation dimension of the stylus, and realizes the rational utilization of resources. .
  • FIG. 1 is a schematic diagram of a touch pen according to an embodiment of the present application
  • FIG. 2 is a schematic diagram of a key module according to an embodiment of the present application.
  • FIG. 3 is one of partial schematic diagrams of a touch pen according to an embodiment of the present application.
  • FIG. 4 is a second partial schematic diagram of a touch pen according to an embodiment of the present application.
  • FIG. 5 is one of the schematic diagrams of the electronic device according to the embodiment of the application.
  • FIG. 6 is the second schematic diagram of the electronic device according to the embodiment of the application.
  • FIG. 7 is one of schematic diagrams of steps of an operation control method according to an embodiment of the present application.
  • FIG. 8 is a schematic diagram of an electronic device displaying key module information according to an embodiment of the present application.
  • FIG. 9 is the second schematic diagram of the steps of the operation control method according to the embodiment of the application.
  • FIG. 10 is a schematic structural diagram of an operation control device according to an embodiment of the present application.
  • FIG. 11 is one of schematic diagrams of a terminal device according to an embodiment of the present application.
  • FIG. 12 is a second schematic diagram of a terminal device according to an embodiment of the present application.
  • the electronic device in this embodiment of the present application may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted electronic device, a wearable device, a super Mobile personal computer (ultra-mobile personal computer, UMPC), netbook or personal digital assistant (personal digital assistant, PDA), etc.
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal digital assistant, PDA), etc. computer, PC), television (television, TV), teller machine or self-service machine, etc., which are not specifically limited in the embodiments of the present application.
  • FIGS. 1 to 4 they are a schematic diagram of a stylus pen, a schematic diagram of a key module, one of the partial schematic diagrams of the stylus pen, and the second partial schematic diagram of the stylus pen according to the embodiments of the present application;
  • the stylus pen includes: : the casing 206 , the control part 205 , the key module 207 , the battery module 212 , the control module 201 and the communication module 213
  • the control part 205 is movably arranged at the first end of the casing 206 and can be in the first position and the second position
  • the casing 206 is provided with a first through hole and an accommodating cavity
  • the first through hole is communicated with the accommodating cavity
  • the communication module 213, the battery module 212 and the control module 201 are located in the accommodating cavity
  • the control module 201 is respectively electrically connected with the battery module 212, the communication module 213 and the key module 207;
  • the key module is located in the casing 206;
  • the key module 207 When the control portion 205 is located at the second position, the key module 207 at least partially protrudes out of the casing through the first through hole.
  • the control part 205 is movably arranged on the first end of the casing 206 , so that the user can control the control part 205 to control the key module 207 , and realize the key module 207 It has two states of being located inside the casing 206 and at least partially protruding out of the casing 206 , so that when the stylus 2 is communicatively connected to the electronic device 1 , the key module 207 can act as a button of the electronic device 1 .
  • the function of the stylus enables reasonable utilization of hardware resources, solves the problems of single function and limited controllable dimensions of the stylus, and improves the user's control experience.
  • the control module 201 can also be used to determine whether the relationship between the stylus 2 and other electronic devices is a connection relationship or a non-charged state according to the state of the battery module 213 (charged state or uncharged state). separation relationship; so that the electronic device can determine the functional mode of the key module based on the relationship between the touch pen 2 and the electronic device; on the other hand, the control module 201 can also communicate with the electronic device through the communication module 212; wherein , the communication module 212 may be a wireless module or a Bluetooth module, and may also be a communication interface, which is not limited in this embodiment of the present application.
  • the stylus of the embodiment of the present application may be provided with one or more key modules, and in the case of including two or more key modules, the control unit 205 can control multiple keys at the same time
  • the control part 205 can also control one key module, and the other key modules are controlled by the movement of the control part at the other end of the stylus relative to the casing 206 to control the state of the key modules within the casing 206.
  • a state is toggled between a state in which it extends at least partially out of the housing 206 .
  • the housing 206 may be asymmetrical.
  • the cross section of the casing 206 is oval, and one side of the control portion 205 has a protruding marking structure, and the marking structure ensures that the key module corresponds to the first through hole. In this way, when the user inserts the stylus 2 into the accommodating slot of the electronic device, it is only necessary to ensure that the key module is located on the side wall close to the device body.
  • the control part 205 is specially designed, as shown in FIG. 1 , FIG. 3 to FIG. 6, the control part 205 is set so that the outer surface of the control part 205 protrudes from the outer surface of the side wall of the housing 206, so that when the user inserts the stylus 2 into the accommodating slot of the electronic device, the control part 205 cannot be inserted into the housing 206.
  • the outer surface of the manipulation portion 205 can also be set in a spiral shape in order to further facilitate the user to insert or take out the accommodating slot.
  • the key module includes: a key assembly and a circuit assembly, the circuit assembly is connected to the key assembly through the first elastic element 203; the circuit assembly is electrically connected to the control module, The circuit assembly is electrically connected to the control module 201 , and the key assembly is connected to the control portion 205 .
  • the circuit assembly is connected to the key assembly through the first elastic element 203, so that the key assembly can move relative to the circuit assembly, so that the degree of exposure of the key assembly to the housing 206 can be adjusted, that is: the key assembly It includes: the state of at least partially ejecting the housing 206 as shown in FIG. 4 and the state of retracting to the housing 206 as shown in FIG. 3; wherein, when the button assembly is in the state of ejecting the housing 206, the first An elastic element 203 is in a stretched state as shown in FIG. 4 ; when the button assembly is retracted to the housing 206 , the first elastic element 203 is in a compressed state as shown in FIG. 3 .
  • the first elastic element 203 may be a coil spring, but not limited thereto.
  • the control of the button assembly by the control part 205 is realized, that is, through the user's control of the control part 205 or the automatic control of the control part 205 by the control module 201, the control part can be controlled by the control part 205.
  • 205 moves between the first position and the second position, so that the key module can be switched between a state inside the casing and a state at least partially protruding outside the casing, so as to realize a variety of key modules. functional mode.
  • the key assembly includes a first key body 207 and a support assembly; the first key body 207 is located on the side of the support assembly away from the circuit assembly and is connected to the support assembly; the support assembly The first elastic element is connected with the circuit assembly; the support assembly is also connected with the control part; in this way, when the first elastic element 203 is in a compressed state, the first key body 207 is located in the housing 206; in the first elastic element When 203 is in a stretched state, the first button body 207 at least partially protrudes out of the casing 206 through the first through hole.
  • the support assembly is connected to the control part 205 , and the support assembly is connected to the circuit assembly through the first elastic element 203 , so that the support assembly can drive the first button when the control part 205 is manipulated
  • the body 207 moves toward or away from the circuit assembly so that the first button body 207 can be switched between a state inside the housing 206 and a state at least partially protruding out of the housing 206; the circuit assembly will detect The state of the first button body 207 is fed back to the electronic device to realize different function modes of the first button body 207 , which solves the problems of single function and limited operation dimension of the stylus 2 .
  • the support assembly is connected with the first key body through a second elastic element.
  • the support assembly is connected with the first key body 207 through the second elastic element 208; so that when the first elastic element 203 is in a stretched state, when the user presses the first key body 207, the second elastic element 208 will elastically deform , and then transmit the signal to the support component, the circuit module and the control module 201 in sequence, so that the user can have a strong knocking feeling when pressing the first button body 207, which improves the user's experience;
  • the elastic element 208 is a coil spring.
  • the support assembly can also be directly connected to the first button body 207, and the distance between the first button body 207 and the circuit assembly can be detected by optical or ultrasonic detection methods to determine whether the user is
  • the key function corresponding to the user's operation is determined by operating (pressing) the first button body 207, and parameters such as the frequency of pressing and the manner of pressing.
  • the key module further includes a support key 209 disposed on the circuit assembly; the support assembly is provided with a second through hole, and the second through hole is relatively distributed with the support key.
  • the first elastic element 203 is in a compressed state
  • the first button body 207 is connected to the supporting button 209 through the second through hole.
  • the second through hole on the support component, and the second through hole and the support button are relatively distributed, so that the first elastic element 203 is in a compressed state (the button module is located in the casing 206 )
  • the lower surface of the first button body 207 and the upper surface of the support button 209 can be contacted and connected, and the signal of the user pressing the first button body 207 is transmitted to the circuit component through the support button 209, and further transmitted by the circuit component. to the control assembly 201.
  • the surface of the first button body 207 can also slightly protrude from the side wall of the device body 1, so that the button assembly can As a common key, the user presses the first key body 207 to press the support key 209, so as to transmit signals.
  • the supporting assembly includes a rotating part 210 and a supporting part 211 ; the rotating part 210 is connected to the manipulation part 205 , the supporting part 211 is located above the rotating part and is connected to the rotating part 210 ; the first button body 207 passes through the second elastic element 208 connected to the support member 211 .
  • the rotating part 210 can follow the movement of the manipulation part 205 to move, thereby realizing the supporting part 211
  • the first key body 207 is driven to move in a direction away from or close to the circuit assembly, so as to switch between a state where the first key body 207 is inside the casing and a state at least partially outside the casing.
  • the rotating part 210 has an elliptical structure, and the control part 205 is connected with the rotating shaft of the rotating part 210; when the control part 205 is in the first position, the long axis of the rotating part is parallel to the circuit assembly; at this time, the first A key body 207 is located in the casing 206; when the control part 205 is located in the second position, the long axis of the rotating part 210 is perpendicular to the circuit assembly.
  • an implementable manner of the embodiment of the present application is to make the first button body 207 be between a state in which the first key body 207 is located inside the casing 206 and a state in which the first key body 207 is at least partially located outside the casing 206 through the rotation of the control part 205 .
  • the control part 205 can also be pressed along the radial direction of the housing 206, so that the support assembly drives the first button body 207 to move in a direction away from or close to the circuit assembly, so that the first button body 207 is switched between the state of being located inside the casing 206 as shown in FIG. 3 and the state of being at least partially located outside the casing 206 as shown in FIG.
  • the specific implementation of the state switching is not limited, and any implementation based on this idea should fall within the protection scope of the present application.
  • the circuit assembly includes a circuit board 202 and a detection component 204 disposed on the circuit board 202 ; the detection component 204 is located below the first elastic element 203 , and the detection component 204 is electrically connected to the control module 201 .
  • the circuit board 202 is provided with a detection element 204 for detecting the pressing state of the button assembly; the circuit board 202 is electrically connected with the control module 201, and the detection result of the detection element 204 is transmitted to the control module 201, so that the control module 201 can know the state of the key assembly, and send the state of the key assembly to the electronic device through the communication module 212, so that the electronic device can determine the corresponding function mode according to the state of the key assembly; , which also improves the user's sense of hitting the first button body 207 .
  • the detection element 204 may be a pressure sensor disposed on the circuit board 202, wherein the pressure sensor is located below the first elastic element 203, and the state of the button assembly is determined by the pressure collected by the pressure sensor;
  • the detection element 204 may include a Hall detection element located on the circuit board 202, such as a Hall sensor, and a magnetic detection element, such as a magnetic steel, located on the support assembly, through which the Hall detection element and the magnetic The mutual cooperation of the detection elements realizes the detection of the state of the key module.
  • the detection element 204 can also be other elements, such as: capacitive elements or lighting elements, etc., which can be achieved by detecting the relative relationship between the key assembly and the circuit board 202. The method of determining the state of the key assembly by the position should all fall within the protection scope of the present application, which is not limited in the present application.
  • the stylus 2 further includes a driving module, the driving module is electrically connected with the control module 201, and the driving module drives the control part 205 to move between the first position and the second position.
  • the automatic control of the control unit 205 by the control module 201 is realized, that is, the control module 201 outputs a control command to the drive module, and the drive module according to the control command
  • the driving module may include driving components such as motors and motors.
  • the stylus 2 in the embodiment of the present application includes: a casing 206 , a control part 205 , a key module, a battery module 213 , a control module 201 and a communication module 212 , and the control part 205 is movably arranged on the first part of the casing 206 . It can be moved between the first position and the second position. In this way, it is convenient for the user to manipulate the manipulation part 205 in the manipulation pen.
  • the casing 206 is provided with a first through hole and a accommodating cavity.
  • the cavity is connected, the communication module 212, the battery module 213 and the control module 201 are located in the accommodation cavity, and the control module 201 is respectively electrically connected with the battery module 213, the communication module 212 and the key module; so , the control module 201 can communicate with other electronic devices through the communication module 212 to control the key module; specifically, when the control unit 205 is located at the first position, the key module is located in the casing; When the control portion 205 is located at the second position, the key module at least partially protrudes out of the casing 206 through the first through hole, so that the key module of the stylus 2 can have the key function of an electronic device.
  • the stylus 2 not only has the traditional writing function, but also the button module on the stylus 2 can be used as a button of an electronic device, which solves the problems of the single function and limited operation dimension of the stylus 2, and realizes resource utilization. reasonable use.
  • an embodiment of the present application further provides an electronic device, including the stylus as described above, and further including: a device body 1 , and the device body 1 is provided with an accommodating container with at least one end open.
  • the side wall of the accommodating groove is provided with a third through hole communicating with the accommodating groove; the control part 205 is located outside the accommodating groove; wherein, when the control part 205 is in the first position, the first part of the key module passes through The third through hole protrudes from the accommodating slot; when the control portion 205 is in the second position, the second part of the key module protrudes from the accommodating slot through the third through hole; the first part is less than the second part.
  • control part 205 of the touch pen 2 is located outside the accommodating groove, so as to facilitate the user to operate the touch control part 205 .
  • the first part of the key module protrudes from the accommodating slot through the third through hole, so that the key module can have the function of a common key of an electronic device. function; when the control part 205 is located at the second position, the second part of the key module protrudes from the accommodating slot through the third through hole; the first part is less than the second part; in this way, the user can improve the ability of the user to press the key module.
  • the sense of percussion improves the user's experience of using the key module.
  • the electronic device includes a device body 1 and a stylus 2.
  • the device body 1 has an accommodating groove open at one end, the stylus 2 is disposed in the accommodating groove, and the stylus includes: a control module and At least one key module; wherein, at least one first opening is provided on the side wall of the accommodating slot, and at least part of the structure of at least one key module is exposed to the device body 1 through the corresponding first opening, so that the stylus 2
  • the control module 201 is electrically connected to at least one key module and is It is connected to the device body 1 in communication, so that when the user operates the key module, the electronic device can perform corresponding functions in response to the operation, thereby bringing a better use experience to the user.
  • the accommodating groove can be opened on the side wall of the device body 1 , such as the accommodating groove opened on the side wall along the length direction of the device body 1 , so that the open end of the accommodating groove on the top or bottom of the electronic device.
  • the accommodating groove can also be set at other positions of the device body 1 that are convenient for the user to operate, and the application does not limit the specific setting position of the accommodating groove.
  • the stylus 2 may be provided with two key modules to facilitate the user to operate the electronic device with both hands when the stylus 2 is built in the device body 1 .
  • at least part of each key module shown in FIG. 4 and FIG. 5 may be exposed to the device body 1 through the corresponding third opening, or at least part of the key module may be exposed. Part of the structure is exposed to the device body 1 through the corresponding third opening.
  • the number of the third openings on the side wall of the accommodating slot can be the same as the number of the key modules on the stylus 2, so as to achieve a one-to-one correspondence between the two;
  • the number is less than the number of the button modules, that is: when the stylus 2 is built into the device body 1, some of the button modules of the stylus 2 are hidden in the accommodating groove, and only the stylus 2 is placed outside the device When the main body is 1, only the hidden key module can be used.
  • FIG. 3 and FIG. 4 only show the implementation of the connection between the key module and the control part 205 , and the connection between the key module and the touch part 214 is similar to that of the control part 205 , so this application will not repeat them.
  • the end wall of the accommodating groove opposite to the open end can be rotated relative to the side wall of the accommodating groove, and the inner surface of the end wall is in contact with the inner surface of the stylus.
  • the touch portion 214 is adapted.
  • the end wall of the accommodating groove opposite to the open end may be provided with a first connecting portion
  • the touch portion 214 of the stylus may be provided with a second connecting portion.
  • the first connecting part can be a first convex part
  • the second connecting part can be a first groove that can cooperate with the first convex part
  • the connecting portion may be a second magnetic member, and a magnetic transmission connection may be implemented between the first magnetic member and the second magnetic member.
  • the touch part 214 and the control part 205 are respectively disposed at two ends of the casing 206 , and both the touch part 214 and the control part 205 can move relative to the casing 206 to achieve the Control of the key module.
  • the accommodating groove is a groove body with one end open, the touch part 214 is hidden in the accommodating groove.
  • the end wall of the accommodating groove needs to be set to be able to The form of rotation relative to the side wall of the receiving groove.
  • the accommodating groove is cylindrical
  • a protruding structure can be provided on the end wall along the circumference of the inner end wall, and an opposite groove structure can be set on the inner side wall of the accommodating groove to realize the relative rotation between the two;
  • the position of the accommodating groove opposite to the housing 206 is oval
  • the part of the accommodating groove opposite to the touch portion 214 can be set to a cylindrical shape, the diameter of the cylindrical shape is the same as the short axis of the oval, and the diameter of the cylindrical shape is the same as the short axis of the oval, and the A groove structure is arranged on the circumference of the cylinder, and a convex structure is arranged on the inner end wall to realize the relative rotation between the two.
  • the end wall can also be configured to be detachably connected to the side wall, that is, after the stylus is set in the receiving groove, both the control part 205 and the touch part 214 of the stylus are exposed to the outside of the stylus.
  • the touch part 214 can be inserted and extended into the end wall, and the touch part 214 can be driven to rotate by the end wall.
  • the device body 1 is also connected to the control module 201 in communication through the communication module 212, so that the control module 201 can detect the state of the key module and the battery module 213.
  • the mode of the key module is transmitted to the device body 1, so that the device body 1 can determine the function mode of the key module according to the received information, so as to respond to the pressing operation of the key module by the user.
  • the modes of the battery module 213 include a charging mode and an uncharging mode. When the battery module 213 is in the charging mode, confirm that the stylus 2 is located in the accommodating slot; when the battery module 213 is in the uncharging mode, confirm that the stylus 2 is outside the accommodating slot, and the device body 1 is the separation state.
  • the device body 1 periodically receives signals such as power and charging parameters sent by the stylus 2, it is determined that the battery module 213 is in the charging mode; otherwise, it is determined that the battery module 213 is not charging model.
  • the electronic device includes a device body 1 and a stylus 2.
  • the device body 1 is provided with an accommodation groove with at least one end open, and the stylus 2 is disposed in the accommodation groove.
  • the accommodation groove The side wall of the device is provided with a third through hole that communicates with the accommodating groove, and the third through hole is relatively distributed with the key modules on the stylus 2, so that when the stylus 2 is built into the device body 1, the user can also The button module can be operated, and the button module can realize the function of a common button, avoiding the waste of resources;
  • the control module 201 is electrically connected with at least one button module and is connected in communication with the device body 1 In this way, when the user operates the key module, the electronic device can perform corresponding functions in response to the operation, thereby bringing a better use experience to the user.
  • an embodiment of the present application further provides an operation control method, which is applied to the aforementioned electronic device, and the method includes:
  • Step 701 Obtain the state of the key module; the state of the key module includes a retracted state inside the casing or a pop-up state at least partially protruding out of the casing through the first through hole ;
  • Step 702 Determine the function mode of the key module according to the state of the key module.
  • the corresponding relationship between the state of the key module and the function mode can be pre-configured by the user or defaulted by the electronic device; on the other hand, the state of the key module can be changed based on the user's
  • the manual operation can also be automatically adjusted according to the current use environment based on the electronic equipment; wherein, if the electronic equipment is automatically adjusted, it can be that the main board of the electronic equipment sends a control command to the control module 201, and the control module 201 adjusts according to the control command.
  • the state of this button component can be pre-configured by the user or defaulted by the electronic device; on the other hand, the state of the key module can be changed based on the user's
  • the manual operation can also be automatically adjusted according to the current use environment based on the electronic equipment; wherein, if the electronic equipment is automatically adjusted, it can be that the main board of the electronic equipment sends a control command to the control module 201, and the control module 201 adjusts according to the control command.
  • step 701 after acquiring the state of the key module, the method further includes:
  • the state of the stylus includes a state inside the device body, or a state outside the device body; specifically, the state of the stylus pen can be determined by whether the battery module of the stylus pen is in a charging mode or a non-charging mode. Specifically, when the battery module is in the charging mode, the state of the stylus is determined to be in the state of the device body, and when the battery module is in the uncharged mode, the state of the stylus is determined to be in the state of the device body.
  • Step 702 according to the state of the key module, determine the function mode of the key module, including:
  • the function mode of the key module is determined.
  • the pressing operation of the button module corresponds to different functions, which further increases the function mode of the button module; for example: when the stylus is in the state of the device body, and the currently running application is a video application, if the button is pressed If the current state of the main body is the pop-up state, then determine that the function mode of the key module is the video operation function mode (fast forward, rewind, etc.), if the current state of the key body is the retracted state, then determine that the function mode of the key module is the volume function mode (volume up, volume down, etc.).
  • the function mode of the key module of the stylus pen may be determined according to the pre-configured correspondence between the stylus pen state-application program-function mode; If the running application is a game application, then make sure that the function mode of the key module is the game mode. In the game mode, you can set a single click as a confirmation operation, a double click as a forward operation, and two consecutive clicks as a backward operation, etc.; touch The pen state is outside the device, and the currently running application is the photo application, then the function mode of the key module is determined to be the photo mode. In the photo mode, you can set a single click to confirm the operation, and a double click to open the flash operation. Double click for off flash action etc.
  • the method further includes:
  • the drive module of the stylus is controlled to drive the key module to switch between the pop-up state and the retracted state.
  • This step is an implementation method for switching the state of the key module when the stylus is provided with a drive module.
  • the electronic device detects that the user has currently opened a preset application, such as a game application. program, video application, etc., send the command of the button body to the pop-up state to the control module of the stylus, so that the control module controls the button body to pop up.
  • a preset application such as a game application. program, video application, etc.
  • the user can Input a voice control command to the electronic device, so that the electronic device controls the button body to enter the retracted state, or the user manually controls the button body to enter the retracted state.
  • Set the driving device used to drive the movement of the key body such as a motor or a motor.
  • the application of the key module in different states of the touch pen and/or currently running is realized.
  • the program has different function modes, and realizes the reuse of the key module of the stylus, which makes it possible to maximize the use of hardware resources and improve the user experience.
  • the method after determining the functional mode of the key module according to the state of the key module, the method also includes:
  • the application In response to the input operation, the application is controlled to execute the function corresponding to the input operation according to the function mode.
  • controlling the application to execute the function corresponding to the input operation according to the function mode including:
  • the function corresponding to the input operation is performed.
  • the method further includes: displaying the current state and the function mode of the key module on the display screen of the electronic device.
  • an example of displaying the current state and the function mode of the key module on the display screen of the electronic device 1 is given.
  • the state and the function mode of the key module are convenient for the user to operate the keys on the stylus 2 or manually adjust the current state of the key body as required.
  • step 701 after determining the function mode of the key module according to at least one of the currently running application program and the state of the stylus, and the state of the key module, the method further includes:
  • a preset method is used to remind the user to control the button body in the button module to enter the pop-up state.
  • a prompt message "Please raise the buttons on the stylus manually" can be displayed on the display screen of the electronic device, so that the user can make the touch screen according to the prompt message.
  • the control pen operates to make the button body pop out of the accommodating slot, so as to increase the user's tactile feeling of clicking the button during the game, and improve the user's game experience.
  • the prompt information may also include an operation tutorial for the stylus, such as: please rotate the control part and/or the touch part of the stylus to manually raise the keys on the stylus; of course, you can also The user is reminded to control the button body in the button module to enter the pop-up state by means of voice broadcast, which is not limited in this application.
  • determining the current stylus state of the stylus includes:
  • the state outside the device body is determined.
  • the working mode of the battery module can be determined through the communication between the device body and the control module of the stylus. For example, when the device body periodically receives signals such as power and charging parameters sent by the stylus, It is determined that the battery module is in the charging mode, otherwise, it is determined that the battery module 213 is in the non-charging mode.
  • Step 901 the electronic device detects that the state of the key module changes or the state of the stylus pen changes, and executes step 902;
  • Step 902 the electronic device determines whether the battery module of the stylus is in the charging mode; if so, go to Step 903, if not, go to Step 907;
  • Step 903 it is determined that the stylus is externally placed on the device body and the user is using the stylus, and step 904 is executed;
  • Step 904 Determine whether the state of the double-button module is a pop-up state or a retracted state, and execute any one of steps 905A to 905D according to the judgment result;
  • Step 905A It is determined that it is the key state 1: the key module 1 is in a pop-up state, and the key module 2 is in a retracted state, and step 906 is executed;
  • Step 905B It is determined that it is the key state 2: the key module 1 is in the retracted state, and the key module 2 is in the ejected state, and step 906 is executed;
  • Step 905C It is determined that it is the key state 3: the key module 1 is in the pop-up state, and the key module 2 is in the pop-up state, and step 906 is executed;
  • Step 905D It is determined that it is the key state 4: the key module 1 is in the retracted state, and the key module 2 is in the ejected state, and step 906 is executed;
  • Step 906 Control the key module to realize corresponding functions, wherein the key functions corresponding to key states 1 to 4 can be set by the user;
  • Step 907 the stylus is built into the device body and is not in use, go to Step 908 :
  • Step 908 Determine whether the user controls the electronic device to enter the game scene, if yes, go to Step 910, if not, go to Step 909:
  • Step 909 The key module is used as a common key, which can be specifically: the double key is not applicable by default, or the user manually sets the key function to be a screenshot key, an AI key, etc.;
  • Step 910 Determine whether the double key is popped up, if yes, go to Step 911, if not, go to Step 909;
  • Step 911 The key module is used as a game key.
  • the operation control method of the embodiment of the present application by judging the state of the stylus pen, the state of the key module, and the setting information of the user, the setting of different functions of the keys of the stylus pen in different states can be realized, and the user can manually place the two keys on the Pop up or retract the state, and set the different functions of the button in different states, so as to realize the function of quickly switching the button.
  • both buttons are retracted in daily scenes. At this time, the buttons have no function.
  • the key module performs simple operations to meet the needs of use, avoid the complex operation of the user on the device body, and improve the user experience.
  • the execution body may be an operation control device, or a control module in the operation control device for executing loading of the operation control method.
  • the operation control method provided by the embodiment of the present application is described by taking the operation control device executing the loading operation control method as an example.
  • FIG. 10 is a schematic structural diagram of an operation control apparatus according to an embodiment of the present application.
  • the operation control apparatus 1000 described in FIG. 10 includes a first acquisition module 1001 and a determination module 1002 .
  • the first acquisition module 1001 is used to acquire the state of the key module; the state of the key module includes a retracted state within the casing or at least partially protruding from the casing through the first through hole pop-up state other than;
  • the determining module 1002 is configured to determine the function mode of the key module according to the state of the key module.
  • the first acquisition module 1001 acquires the state of the key module; the state of the key module includes a retracted state inside the casing or at least partially passing through the first through hole at least partially The pop-up state extending out of the casing; the determination module 1002 is used to determine the function mode of the key module according to the state of the key module; realizes the diversification of the function mode of the key module and is suitable for different Application scenario, in addition, as mentioned above, when the key module is in the pop-up state, it can also make the user have a strong sense of tapping when pressing the key module, which improves the user experience; when the stylus is located in the device When the main body is used, the key module can also be used as an ordinary key of an electronic device, which realizes the reuse of resources.
  • the operation control device 1000 further includes:
  • a second acquiring module configured to acquire at least one of an application currently running on the electronic device and a stylus state, where the stylus state includes a connected state located in the accommodating slot and a detached state located outside the accommodating slot;
  • the determining module is configured to determine the function mode of the key module according to at least one of the currently running application program and the state of the stylus, and the state of the key module.
  • the operation control device 1000 further includes:
  • the control module is used for controlling the drive module of the stylus to drive the button module to switch between the pop-up state and the retracted state according to the state of the stylus and/or the currently running application.
  • the device further includes:
  • the receiving module is used to receive the input operation to the key module
  • the response module is configured to control the application to execute the function corresponding to the input operation according to the function mode in response to the input operation.
  • the response module includes:
  • the control sub-module is used to control the support component in the stylus to move back and forth at a preset frequency according to the function mode and the currently running application;
  • the execution sub-module is used to execute the function corresponding to the input operation according to the reciprocating motion of the support assembly.
  • the operation control device 1000 further includes:
  • the display module is used to display the current state and the function mode of the key module on the display screen of the electronic device.
  • the operation control device 1000 further includes:
  • the reminder module is used to remind the user to control the button body in the button module to enter the pop-up state in a preset manner when the application program is a preset application program.
  • the first determination module 1001 is specifically used for:
  • the state of the stylus is the first state built into the device body
  • the state of the stylus is a second state separated from the device body.
  • the interface switching apparatus in this embodiment of the present application may be an apparatus, or may be a component, an integrated circuit, or a chip in an electronic device.
  • the apparatus may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant).
  • UMPC ultra-mobile personal computer
  • PDA personal digital assistant
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
  • the operation control device in the embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
  • the operation control apparatus provided in this embodiment of the present application can implement each process implemented by the operation control method in the method embodiments of FIG. 7 to FIG. 9 , which is not repeated here to avoid repetition.
  • the first acquisition module 1001 acquires the state of the key module; the state of the key module includes a retracted state inside the casing or at least partially passing through the first through hole at least partially The pop-up state extending out of the casing; the determination module 1002 is used to determine the function mode of the key module according to the state of the key module; realizes the diversification of the function mode of the key module and is suitable for different Application scenario, in addition, as mentioned above, when the key module is in the pop-up state, it can also make the user have a strong sense of tapping when pressing the key module, which improves the user experience; when the stylus is located in the device When the main body is used, the key module can also be used as an ordinary key of an electronic device, which realizes the reuse of resources.
  • an embodiment of the present application further provides a terminal device 1100, including a processor 1101, a memory 1102, and a program or instruction stored in the memory 1102 and executable on the processor 1101.
  • the program or instruction is When executed by the processor 1101, the steps of the above-mentioned operation control method are implemented.
  • terminal devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 12 is a schematic diagram of a hardware structure of a terminal device according to various embodiments of the present application.
  • the terminal device 1200 includes but is not limited to: a radio frequency unit 1201, a network module 1202, an audio output unit 1203, an input unit 1204, a sensor 1205, a display unit 1206, a user input unit 1207, an interface unit 1208, a memory 1209, a processor 1210, and a power supply 1211 and other components.
  • the structure of the terminal device shown in FIG. 12 does not constitute a limitation on the terminal device, and the terminal device may include more or less components than the one shown, or combine some components, or different components layout.
  • the terminal devices include but are not limited to mobile phones, tablet computers, notebook computers, handheld computers, vehicle-mounted terminals, wearable devices, and pedometers.
  • the processor 1210 is used to obtain the state of the key module; the state of the key module includes a retracted state inside the casing or at least partially protruding from the casing through the first through hole Outside the popup state.
  • the processor 1210 is further configured to determine the function mode of the key module according to the state of the key module.
  • the processor 1210 obtains the state of the key module; the state of the key module includes a retracted state inside the casing or a pop-up at least partially protruding out of the casing through the first through hole and determine the function mode of the key module according to the state of the key module; realize the diversification of the function modes of the key module and are suitable for different application scenarios.
  • the key module is in the pop-up state.
  • the stylus it can also make the user have a strong sense of tapping when pressing the button module, which improves the user experience; when the stylus is located on the device body, the button module can also be used as an ordinary button of an electrical terminal device. Realize the reuse of resources.
  • the processor 1210 is further configured to acquire at least one of an application currently running on the electronic device and a stylus state, where the stylus state includes a connected state located in the accommodating slot and a detached state located outside the accommodating slot;
  • the processor 1210 When determining the function mode of the key module according to the state of the key module, the processor 1210 is specifically configured to, according to at least one of the currently running application and the state of the stylus, and the The state of the key module, which determines the function mode of the key module.
  • the processor 1210 is further configured to control the drive module of the stylus to drive the key module to switch between the pop-up state and the retracted state according to the state of the stylus and/or the currently running application.
  • the input unit 1204 is configured to receive an input operation on the key module
  • the processor 1210 is further configured to, in response to the input operation, control the application program to execute a function corresponding to the input operation according to the function mode.
  • the processor 1210 when the processor 1210 is configured to, in response to the input operation, control the application to execute the function corresponding to the input operation according to the function mode, specifically according to the function mode and the current
  • the running application program controls the support component in the stylus to move back and forth at a preset frequency; and executes the function corresponding to the input operation according to the back and forth movement of the support component.
  • the display unit 1206 is used to display the application in the application.
  • a preset method is used to remind the user to control the button body in the button module to enter the pop-up state.
  • the processor 1210 determines the current stylus state of the stylus, it is specifically configured to:
  • the state outside the device body is determined.
  • the radio frequency unit 1201 can be used for receiving and sending signals during sending and receiving of information or during a call. Specifically, after receiving the downlink data from the base station, it is processed by the processor 1210; The uplink data is sent to the base station.
  • the radio frequency unit 1201 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 1201 can also communicate with the network and other devices through a wireless communication system.
  • the terminal device provides the user with wireless broadband Internet access through the network module 1202, such as helping the user to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 1203 may convert audio data received by the radio frequency unit 1201 or the network module 1202 or stored in the memory 1209 into audio signals and output as sound. Also, the audio output unit 1203 may also provide audio output related to a specific function performed by the terminal device 1200 (eg, call signal reception sound, message reception sound, etc.).
  • the audio output unit 1203 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 1204 is used to receive audio or video signals.
  • the input unit 1204 may include a graphics processor (Graphics Processing Unit, GPU) 12041 and a microphone 12042, and the graphics processor 12041 captures images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode data is processed.
  • the processed image frames may be displayed on the display unit 1206 .
  • the image frames processed by the graphics processor 12041 may be stored in the memory 1209 (or other storage medium) or transmitted via the radio frequency unit 1201 or the network module 1202 .
  • the microphone 12042 can receive sound and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be transmitted to a mobile communication base station via the radio frequency unit 1201 for output in the case of a telephone call mode.
  • the terminal device 1200 also includes at least one sensor 1205, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 12061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 12061 and the proximity sensor when the terminal device 1200 is moved to the ear. / or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the terminal device (such as horizontal and vertical screen switching, related games , magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; the sensors 1205 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., are not repeated here.
  • the display unit 1206 is used to display information input by the user or information provided to the user.
  • the display unit 1206 may include a display panel 12061, and the display panel 11061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
  • LCD Liquid Crystal Display
  • OLED Organic Light-Emitting Diode
  • the user input unit 1207 can be used to receive input numerical or character information, and generate key signal input related to user setting and function control of the terminal device.
  • the user input unit 1207 includes a touch panel 12071 and other input devices 12072 .
  • the touch panel 12071 also known as the touch screen, can collect the user's touch operations on or near it (such as the user's finger, stylus, etc., any suitable objects or accessories on or near the touch panel 12071. operate).
  • the touch panel 12071 may include two parts, a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, detects the signal brought by the touch operation, and transmits the signal to the touch control module; the touch control module receives the touch information from the touch detection device and converts it into contact coordinates , and then send it to the processor 1210 to receive the command sent by the processor 1210 and execute it.
  • the touch panel 12071 can be realized by various types of resistive, capacitive, infrared, and surface acoustic waves.
  • the user input unit 907 may also include other input devices 12072 .
  • other input devices 12072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
  • the touch panel 12071 can be covered on the display panel 11061.
  • the touch panel 12071 detects a touch operation on or near it, it transmits it to the processor 1110 to determine the type of the touch event, and then the processor 1110 determines the type of the touch event according to the touch
  • the type of event provides a corresponding visual output on display panel 11061.
  • the touch panel 12071 and the display panel 11061 are used as two independent components to realize the input and output functions of the terminal device, in some embodiments, the touch panel 12071 and the display panel 12061 can be integrated
  • the input and output functions of the terminal device are implemented, which is not specifically limited here.
  • the interface unit 1208 is an interface for connecting an external device to the terminal device 1200 .
  • external devices may include wired or wireless headset ports, external power (or battery charger) ports, wired or wireless data ports, memory card ports, ports for connecting devices with identification modules, audio input/output (I/O) ports, video I/O ports, headphone ports, and more.
  • the interface unit 1208 may be used to receive input from external devices (eg, data information, power, etc.) and transmit the received input to one or more elements within the terminal device 1200 or may be used between the terminal device 1200 and external Transfer data between devices.
  • the memory 1209 may be used to store software programs as well as various data.
  • the memory 1209 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of the mobile phone (such as audio data, phone book, etc.), etc.
  • memory 1209 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • the processor 1210 is the control center of the terminal equipment, using various interfaces and lines to connect various parts of the entire terminal equipment, by running or executing the software programs and/or modules stored in the memory 1209, and calling the data stored in the memory 1209. , perform various functions of the terminal equipment and process data, so as to monitor the terminal equipment as a whole.
  • the processor 1210 may include one or more processing units; preferably, the processor 1210 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem
  • the processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 1210.
  • the terminal device 1200 may also include a power supply 1211 (such as a battery) that supplies power to various components.
  • a power supply 1211 (such as a battery) that supplies power to various components.
  • the power supply 1211 may be logically connected to the processor 1210 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system and other functions.
  • terminal device 1200 includes some functional modules not shown, which will not be repeated here.
  • the embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, each process of the above-mentioned embodiment of the operation control method can be implemented, and the same can be achieved.
  • the technical effect, in order to avoid repetition, will not be repeated here.
  • the processor is the processor in the terminal device described in the foregoing embodiment.
  • the readable storage medium includes a computer-readable storage medium, such as a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.
  • An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement the above-mentioned operation control method embodiments.
  • the chip includes a processor and a communication interface
  • the communication interface is coupled to the processor
  • the processor is configured to run a program or an instruction to implement the above-mentioned operation control method embodiments.
  • the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.
  • the embodiments of the present application further provide a computer program product, the computer program product is stored in a non-volatile storage medium, and the computer program product is configured to be executed by at least one processor to implement the steps of the above operation control method , in order to avoid repetition, it will not be repeated here.
  • An embodiment of the present application further provides a control device, where the control device is configured to execute the above operation control method, which is not repeated here in order to avoid repetition.
  • An embodiment of the present application further provides a communication device, the communication device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, where the program or instruction is processed by the processor.
  • the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation.
  • the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of this application.
  • a storage medium such as ROM/RAM, magnetic disk, CD-ROM

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Position Input By Displaying (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

The present application relates to the technical field of electronic devices. Disclosed are a stylus, an electronic device, an operation control method and apparatus, and a terminal device. The stylus comprises: a housing, a control part, a button module, a battery module, a control module, and a communication module. The control part is movably provided on a first end of the housing and can move between a first position and a second position; the housing is provided with a first through hole and an accommodating cavity; the first through hole is communicated with the accommodating cavity; the communication module, the battery module, and the control module are located in the accommodating cavity; the control module is separately electrically connected to the battery module, the communication module, and the button module; when the control part is located at the first position, the button module is located in the housing; when the control part is located at the second position, the button module at least partially extends out of the housing by means of the first through hole.

Description

触控笔、电子设备、操作控制方法、装置及终端设备Touch pen, electronic device, operation control method, device and terminal device
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请主张在2020年11月17日在中国提交的中国专利申请No.202011285543.4的优先权,其全部内容通过引用包含于此。This application claims priority to Chinese Patent Application No. 202011285543.4 filed in China on Nov. 17, 2020, the entire contents of which are incorporated herein by reference.
技术领域technical field
本申请属于电子设备技术领域,具体涉及一种触控笔、电子设备、操作控制方法、装置及终端设备。The present application belongs to the technical field of electronic equipment, and specifically relates to a touch pen, electronic equipment, operation control method, device and terminal equipment.
背景技术Background technique
随着电子行业的发展,人们对电子设备的需求日益增加,逐渐有了需要用电子设备进行记录笔记,增加备注等需求,这使得电子设备触控笔已成为当今热点。目前市面上大多数电子设备触控笔都是主动式电容笔,通过抽取或释放电信号与电容屏进行交互的,笔头可以很小,精度高,且目前大多数手机都是电容屏,故兼容性高。用户仅可以通过主动式电容笔在手机上进行绘画、书写及记录笔记,因此,触控笔的功能单一且操作维度有限。With the development of the electronic industry, people's demand for electronic devices is increasing day by day, and there is a need to use electronic devices to record notes and add notes, etc., which makes the electronic device stylus become a hot spot today. At present, most electronic stylus pens on the market are active capacitive pens, which interact with the capacitive screen by extracting or releasing electrical signals. The stylus can be very small and has high precision. Most mobile phones currently have capacitive screens, so they are compatible with Sex is high. Users can only draw, write and take notes on the mobile phone through the active capacitive pen. Therefore, the stylus has a single function and limited operation dimensions.
发明内容SUMMARY OF THE INVENTION
本申请实施例的目的是提供一种触控笔、电子设备、操作控制方法、装置及终端设备,能够解决功能单一且操作维度有限的问题。The purpose of the embodiments of the present application is to provide a touch pen, an electronic device, an operation control method, an apparatus, and a terminal device, which can solve the problems of single function and limited operation dimension.
为了解决上述技术问题,本申请是这样实现的:In order to solve the above technical problems, this application is implemented as follows:
第一方面,本申请的实施例提供了一种触控笔,包括:壳体、操控部、按键模组、电池模组、控制模组和通信模组,所述操控部活动设置于所述壳体的第一端,且可在第一位置和第二位置之间运动,所述壳体开设有第一通孔和容纳腔,所述第一通孔与所述容纳腔相连通,所述通信模组、所述电池模组和所述控制模组位于所述容纳腔,所述控制模组分别与所述电池模组、所述通信模组和所述按键模组电连接;In a first aspect, an embodiment of the present application provides a stylus, including: a casing, a control part, a key module, a battery module, a control module and a communication module, the control part is movably arranged on the The first end of the casing is movable between the first position and the second position, the casing is provided with a first through hole and an accommodating cavity, the first through hole is communicated with the accommodating cavity, so the communication module, the battery module and the control module are located in the accommodating cavity, and the control module is respectively electrically connected with the battery module, the communication module and the key module;
在所述操控部位于所述第一位置的情况下,所述按键模组位于所述壳体 之内;When the control portion is located at the first position, the key module is located within the housing;
在所述操控部位于所述第二位置的情况下,所述按键模组通过所述第一通孔至少部分伸出于所述壳体之外。When the control portion is located at the second position, the key module at least partially protrudes out of the casing through the first through hole.
第二方面,本申请的实施例提供了一种电子设备,包括如第一方面的触控笔,所述电子设备还包括设备本体,所述设备本体上开设有至少一端为开口的容纳槽,所述容纳槽的侧壁上设置有与所述容纳槽连通的第三通孔;所述操控部位于所述容纳槽的外部;In a second aspect, an embodiment of the present application provides an electronic device, including the touch pen according to the first aspect, the electronic device further includes a device body, and the device body is provided with an accommodating groove with at least one end open, The side wall of the accommodating groove is provided with a third through hole communicating with the accommodating groove; the manipulation portion is located outside the accommodating groove;
在所述操控部位于所述第一位置的情况下,所述按键模组的第一部分通过所述第三通孔伸出于所述容纳槽;When the control part is located at the first position, the first part of the key module protrudes from the accommodating slot through the third through hole;
在所述操控部位于所述第二位置的情况下,所述按键模组的第二部分通过所述第三通孔伸出于所述容纳槽;所述第一部分少于所述第二部分。When the control part is located at the second position, the second part of the key module protrudes from the accommodating groove through the third through hole; the first part is smaller than the second part .
第三方面,本申请的实施例提供了一种操作控制方法,应用于如第二方面所述的电子设备,所述方法包括:In a third aspect, an embodiment of the present application provides an operation control method, which is applied to the electronic device according to the second aspect, and the method includes:
获取按键模组状态;所述按键模组状态包括位于所述壳体之内的收回状态或至少部分通过所述第一通孔至少部分伸出于所述壳体之外的弹出状态;Obtaining the state of the key module; the state of the key module includes a retracted state inside the casing or a pop-up state at least partially protruding out of the casing through the first through hole;
根据所述按键模组状态,确定所述按键模组的功能模式。According to the state of the key module, the function mode of the key module is determined.
第四方面,本申请实施例还提供了一种操作控制装置,包括:In a fourth aspect, an embodiment of the present application further provides an operation control device, including:
第一获取模块,用于获取按键模组状态;所述按键模组状态包括位于所述壳体之内的收回状态或至少部分通过所述第一通孔至少部分伸出于所述壳体之外的弹出状态;The first acquisition module is used to acquire the state of the key module; the state of the key module includes a retracted state within the casing or at least partially protruding from the casing through the first through hole. pop-up state outside;
确定模块,用于根据所述按键模组状态,确定所述按键模组的功能模式。The determining module is used for determining the function mode of the key module according to the state of the key module.
第五方面,本申请实施例还提供了一种终端设备,该终端设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第三方面所述的方法的步骤。In a fifth aspect, an embodiment of the present application further provides a terminal device, the terminal device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction The steps of the method of the third aspect are implemented when executed by the processor.
第六方面,本申请实施例还提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第三方面所述的方法的步骤。In a sixth aspect, an embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the method according to the third aspect is implemented. step.
第七方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令, 实现如第三方面所述的方法。In a seventh aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement the third aspect the method described.
第八方面,本申请实施例还提供一种计算机程序产品,所述计算机程序产品被存储在非易失的存储介质中,所述计算机程序产品被配置成被至少一个处理器执行以实现如第三方面所述的方法的步骤。In an eighth aspect, an embodiment of the present application further provides a computer program product, the computer program product is stored in a non-volatile storage medium, and the computer program product is configured to be executed by at least one processor to implement the The steps of the method described in the three aspects.
第九方面,本申请实施例还提供一种控制装置,所述控制装置被配置成用于执行如第三方面所述的方法。In a ninth aspect, an embodiment of the present application further provides a control device, where the control device is configured to execute the method according to the third aspect.
第十方面,本申请实施例还提供一种通信设备,所述通信设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第三方面所述的方法的步骤。In a tenth aspect, an embodiment of the present application further provides a communication device, the communication device includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, the program or instruction The steps of the method of the third aspect are implemented when executed by the processor.
这样,本申请实施例中,触控笔包括:壳体、操控部、按键模组、电池模组、控制模组和通信模组,操控部活动设置于壳体的第一端,且可在第一位置和第二位置之间运动,如此,便于用户对操控笔的操控,壳体开设有第一通孔和容纳腔,第一通孔与容纳腔相连通,通信模组、电池模组和控制模组位于该容纳腔,该控制模组分别与该电池模组、该通信模组和该按键模组电连接;如此,控制模组能够通过通信模组与其他电子设备进行通信,以对按键模组进行控制;具体的,在操控部位于所述第一位置的情况下,按键模组位于壳体之内;在操控部位于第二位置的情况下,按键模组通过第一通孔至少部分伸出于所述壳体之外,这样,触控笔的按键模组可以具有电子设备的按键功能。如此,使得触控笔不仅具有传统的书写功能,触控笔上的按键模组还能够充当电子设备的按键使用,解决了触控笔功能单一和操作维度有限的问题,实现了资源的合理利用。In this way, in the embodiment of the present application, the stylus includes: a casing, a control part, a key module, a battery module, a control module and a communication module, and the control part is movably arranged at the first end of the casing, and can be installed at the first end of the casing. It moves between the first position and the second position. In this way, it is convenient for the user to control the manipulation pen. The casing is provided with a first through hole and an accommodating cavity, and the first through hole is communicated with the accommodating cavity. The communication module and the battery module and the control module is located in the accommodating cavity, and the control module is respectively electrically connected with the battery module, the communication module and the key module; in this way, the control module can communicate with other electronic devices through the communication module to Control the key module; specifically, when the control part is located at the first position, the key module is located in the casing; when the control part is at the second position, the key module passes through the first The hole at least partially protrudes out of the casing, so that the key module of the stylus can have the key function of an electronic device. In this way, the stylus not only has the traditional writing function, but also the key module on the stylus can be used as the button of the electronic device, which solves the problems of single function and limited operation dimension of the stylus, and realizes the rational utilization of resources. .
附图说明Description of drawings
图1为本申请实施例的触控笔的示意图;FIG. 1 is a schematic diagram of a touch pen according to an embodiment of the present application;
图2为本申请实施例的按键模组的示意图;2 is a schematic diagram of a key module according to an embodiment of the present application;
图3为本申请实施例的触控笔的部分示意图之一;FIG. 3 is one of partial schematic diagrams of a touch pen according to an embodiment of the present application;
图4为本申请实施例的触控笔的部分示意图之二;FIG. 4 is a second partial schematic diagram of a touch pen according to an embodiment of the present application;
图5为本申请实施例的电子设备的示意图之一;FIG. 5 is one of the schematic diagrams of the electronic device according to the embodiment of the application;
图6为本申请实施例的电子设备的示意图之二;6 is the second schematic diagram of the electronic device according to the embodiment of the application;
图7为本申请实施例的操作控制方法的步骤示意图之一;FIG. 7 is one of schematic diagrams of steps of an operation control method according to an embodiment of the present application;
图8为本申请实施例的电子设备显示按键模组信息的示意图;8 is a schematic diagram of an electronic device displaying key module information according to an embodiment of the present application;
图9为本申请实施例的操作控制方法的步骤示意图之二;FIG. 9 is the second schematic diagram of the steps of the operation control method according to the embodiment of the application;
图10为本申请实施例的操作控制装置的结构示意图;10 is a schematic structural diagram of an operation control device according to an embodiment of the present application;
图11本申请实施例的终端设备的示意图之一;FIG. 11 is one of schematic diagrams of a terminal device according to an embodiment of the present application;
图12为本申请实施例的终端设备的示意图之二。FIG. 12 is a second schematic diagram of a terminal device according to an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that data so used may be interchanged under appropriate circumstances so that embodiments of the application can be practiced in sequences other than those illustrated or described herein. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the associated objects are in an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的电子设备及操作控制方法进行详细地说明。The electronic device and the operation control method provided by the embodiments of the present application will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.
本申请实施例的电子设备可以是移动电子设备,也可以为非移动电子设备,示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The electronic device in this embodiment of the present application may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted electronic device, a wearable device, a super Mobile personal computer (ultra-mobile personal computer, UMPC), netbook or personal digital assistant (personal digital assistant, PDA), etc., non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal digital assistant, PDA), etc. computer, PC), television (television, TV), teller machine or self-service machine, etc., which are not specifically limited in the embodiments of the present application.
如图1至图4所示,为本申请实施例的触控笔的示意图、按键模组的示意图、触控笔的部分示意图之一和触控笔的部分示意图之二;该触控笔包括: 壳体206、操控部205、按键模组207、电池模组212、控制模组201和通信模组213,该操控部205活动设置于壳体206的第一端,且可在第一位置和第二位置之间运动,壳体206开设有第一通孔和容纳腔,第一通孔与容纳腔相连通,通信模组213、电池模组212和控制模组201位于该容纳腔,控制模组201分别与电池模组212、通信模组213和按键模组207电连接;As shown in FIGS. 1 to 4 , they are a schematic diagram of a stylus pen, a schematic diagram of a key module, one of the partial schematic diagrams of the stylus pen, and the second partial schematic diagram of the stylus pen according to the embodiments of the present application; the stylus pen includes: : the casing 206 , the control part 205 , the key module 207 , the battery module 212 , the control module 201 and the communication module 213 , the control part 205 is movably arranged at the first end of the casing 206 and can be in the first position and the second position, the casing 206 is provided with a first through hole and an accommodating cavity, the first through hole is communicated with the accommodating cavity, and the communication module 213, the battery module 212 and the control module 201 are located in the accommodating cavity, The control module 201 is respectively electrically connected with the battery module 212, the communication module 213 and the key module 207;
在操控部205位于第一位置的情况下,按键模组位于壳体206之内;When the control part 205 is located at the first position, the key module is located in the casing 206;
在操控部205位于第二位置的情况下,按键模组207通过第一通孔至少部分伸出于所述壳体之外。When the control portion 205 is located at the second position, the key module 207 at least partially protrudes out of the casing through the first through hole.
本申请实施例的触控笔,通过将操控部205活动设置于壳体206的第一端,使得用户能够对该操控部205的操控而实现对按键模组207的控制,实现按键模组207具有位于壳体206之内和至少部分伸出于壳体206之外的两种状态,从而在触控笔2与电子设备1通信连接的情况下,按键模组207能够充当电子设备1的按键的功能,使得硬件资源能够合理利用,解决了触控笔功能单一和可操控维度有限的问题,提升了用户的操控体验感受。In the stylus of the embodiment of the present application, the control part 205 is movably arranged on the first end of the casing 206 , so that the user can control the control part 205 to control the key module 207 , and realize the key module 207 It has two states of being located inside the casing 206 and at least partially protruding out of the casing 206 , so that when the stylus 2 is communicatively connected to the electronic device 1 , the key module 207 can act as a button of the electronic device 1 . The function of the stylus enables reasonable utilization of hardware resources, solves the problems of single function and limited controllable dimensions of the stylus, and improves the user's control experience.
这里,需要说明的是,一方面,控制模组201还可以用于根据电池模组213的状态(充电状态或未充电状态)确定触控笔2与其他电子设备之间的关系为连接关系还是分离关系;以使得电子设备能够基于触控笔2与电子设备之间的关系确定按键模组的功能模式;另一方面,控制模组201还可以通过通信模组212与电子设备进行通信;其中,通信模组212可以为无线模块或蓝牙模块,还可以为通信接口,本申请实施例对此不做限定。再一方面,本申请实施例的触控笔上可以设置有一个或多个按键模组,在包括两个或两个以上的按键模组的情况下,可以由操控部205同时控制多个按键模组,也可以操控部205控制一个按键模组,其他按键模组由触控笔的另一端的操控部相对于壳体206的运动而控制按键模组的状态在位于壳体206之内的状态和至少部分伸出于壳体206之外的状态之间切换。Here, it should be noted that, on the one hand, the control module 201 can also be used to determine whether the relationship between the stylus 2 and other electronic devices is a connection relationship or a non-charged state according to the state of the battery module 213 (charged state or uncharged state). separation relationship; so that the electronic device can determine the functional mode of the key module based on the relationship between the touch pen 2 and the electronic device; on the other hand, the control module 201 can also communicate with the electronic device through the communication module 212; wherein , the communication module 212 may be a wireless module or a Bluetooth module, and may also be a communication interface, which is not limited in this embodiment of the present application. On the other hand, the stylus of the embodiment of the present application may be provided with one or more key modules, and in the case of including two or more key modules, the control unit 205 can control multiple keys at the same time The control part 205 can also control one key module, and the other key modules are controlled by the movement of the control part at the other end of the stylus relative to the casing 206 to control the state of the key modules within the casing 206. A state is toggled between a state in which it extends at least partially out of the housing 206 .
还需要说明的是,为了确保用户将该触控笔2放置于该容纳槽时,该按键组件不会隐藏在该容纳槽中,本申请实施例中,该壳体206可以为非对称形状,或者,该壳体206的截面为椭圆形且操控部205的一侧具有突出的标记结构,通过该标记结构以确保该按键模组与该第一通孔对应。这样,在用 户将该触控笔2插入电子设备的容纳槽时,仅需要确保该按键模组位于靠近设备本体的侧壁上即可。It should also be noted that, in order to ensure that when the user places the stylus 2 in the accommodating groove, the button assembly will not be hidden in the accommodating groove, in the embodiment of the present application, the housing 206 may be asymmetrical. Alternatively, the cross section of the casing 206 is oval, and one side of the control portion 205 has a protruding marking structure, and the marking structure ensures that the key module corresponds to the first through hole. In this way, when the user inserts the stylus 2 into the accommodating slot of the electronic device, it is only necessary to ensure that the key module is located on the side wall close to the device body.
另外,为了避免用户反插该触控笔2,即:操控部205和触控部214位置颠倒,本申请实施例中,对该操控部205作了特殊设计,如图1、图3至图6所示,将该操控部205设置为外表面突出于该壳体206的侧壁的外表面,这样,用户在将该触控笔2插入电子设备的容纳槽时,无法将操控部205插伸入该容纳槽,从而防止触控笔2插反;具体的,为了进一步便于用户插入或取出该容纳槽,本实施例还可以将该操控部205的外表面设置为螺旋形。In addition, in order to prevent the user from inserting the stylus 2 backwards, that is, the positions of the control part 205 and the touch control part 214 are reversed, in the embodiment of the present application, the control part 205 is specially designed, as shown in FIG. 1 , FIG. 3 to FIG. 6, the control part 205 is set so that the outer surface of the control part 205 protrudes from the outer surface of the side wall of the housing 206, so that when the user inserts the stylus 2 into the accommodating slot of the electronic device, the control part 205 cannot be inserted into the housing 206. In this embodiment, the outer surface of the manipulation portion 205 can also be set in a spiral shape in order to further facilitate the user to insert or take out the accommodating slot.
可选地,如图2、图3和图4所示,该按键模组包括:按键组件和电路组件,电路组件通过第一弹性元件203与按键组件连接;电路组件与控制模组电连接,电路组件与控制模组201电连接,按键组件与操控部205连接。Optionally, as shown in Figure 2, Figure 3 and Figure 4, the key module includes: a key assembly and a circuit assembly, the circuit assembly is connected to the key assembly through the first elastic element 203; the circuit assembly is electrically connected to the control module, The circuit assembly is electrically connected to the control module 201 , and the key assembly is connected to the control portion 205 .
本申请实施例中,电路组件通过第一弹性元件203与按键组件连接,实现了按键组件能够相对于电路组件运动,以能够调整该按键组件外露于该壳体206的程度,即:该按键组件包括:如图4所示的至少部分弹出该壳体206的状态和如图3所示的收回至该壳体206的状态;其中,当该按键组件处于弹出该壳体206状态时,该第一弹性元件203处于如图4所示的拉伸状态;当该按键组件处于收回至该壳体206的状态时,该第一弹性元件203处于如图3所示的压缩状态。具体的,该第一弹性元件203可以为螺旋弹簧,但不以此为限。In the embodiment of the present application, the circuit assembly is connected to the key assembly through the first elastic element 203, so that the key assembly can move relative to the circuit assembly, so that the degree of exposure of the key assembly to the housing 206 can be adjusted, that is: the key assembly It includes: the state of at least partially ejecting the housing 206 as shown in FIG. 4 and the state of retracting to the housing 206 as shown in FIG. 3; wherein, when the button assembly is in the state of ejecting the housing 206, the first An elastic element 203 is in a stretched state as shown in FIG. 4 ; when the button assembly is retracted to the housing 206 , the first elastic element 203 is in a compressed state as shown in FIG. 3 . Specifically, the first elastic element 203 may be a coil spring, but not limited thereto.
另外,通过将按键组件与操控部205电连接,实现了操控部205对按键组件的控制,即:通过用户对操控部205的操控或者控制模组201对操控部205的自动操控,使得操控部205在第一位置和第二位置之间运动,从而使得按键模组能够在位于壳体之内的状态和至少部分伸出于壳体之外的状态之间切换,实现按键模组的多种功能模式。In addition, by electrically connecting the button assembly and the control part 205, the control of the button assembly by the control part 205 is realized, that is, through the user's control of the control part 205 or the automatic control of the control part 205 by the control module 201, the control part can be controlled by the control part 205. 205 moves between the first position and the second position, so that the key module can be switched between a state inside the casing and a state at least partially protruding outside the casing, so as to realize a variety of key modules. functional mode.
可选地,如图2、图3和图4所示,按键组件包括第一按键本体207和支撑组件;第一按键本体207位于支撑组件背离电路组件的一侧并与支撑组件连接;支撑组件通过第一弹性元件与电路组件连接;支撑组件还与操控部连接;这样,在第一弹性元件203处于压缩状态的情况下,第一按键本体207位于壳体206之内;在第一弹性元件203处于拉伸状态的情况下,第一按键 本体207通过第一通孔至少部分伸出于壳体206之外。Optionally, as shown in Figure 2, Figure 3 and Figure 4, the key assembly includes a first key body 207 and a support assembly; the first key body 207 is located on the side of the support assembly away from the circuit assembly and is connected to the support assembly; the support assembly The first elastic element is connected with the circuit assembly; the support assembly is also connected with the control part; in this way, when the first elastic element 203 is in a compressed state, the first key body 207 is located in the housing 206; in the first elastic element When 203 is in a stretched state, the first button body 207 at least partially protrudes out of the casing 206 through the first through hole.
本申请实施例中,一方面,支撑组件与操控部205连接,且支撑组件通过第一弹性元件203与电路组件连接,实现了在对操控部205操控的情况下,支撑组件能够带动第一按键本体207向靠近或远离电路组件的方向运动,使得第一按键本体207能够在位于壳体206之内的状态和至少部分伸出于壳体206之外的状态之间切换;电路组件将检测到第一按键本体207的状态反馈至电子设备,实现第一按键本体207的不同功能模式,解决了触控笔2功能单一和操作维度有限的问题。In the embodiment of the present application, on the one hand, the support assembly is connected to the control part 205 , and the support assembly is connected to the circuit assembly through the first elastic element 203 , so that the support assembly can drive the first button when the control part 205 is manipulated The body 207 moves toward or away from the circuit assembly so that the first button body 207 can be switched between a state inside the housing 206 and a state at least partially protruding out of the housing 206; the circuit assembly will detect The state of the first button body 207 is fed back to the electronic device to realize different function modes of the first button body 207 , which solves the problems of single function and limited operation dimension of the stylus 2 .
可选地,支撑组件与第一按键本体通过第二弹性元件连接。Optionally, the support assembly is connected with the first key body through a second elastic element.
支撑组件通过第二弹性元件208与第一按键本体207连接;使得在第一弹性元件203处于拉伸状态时,用户在按压该第一按键本体207时,该第二弹性元件208会发生弹性形变,进而传递信号依次到支撑组件、电路模组和控制模组201,使得用户在按压该第一按键本体207时能够有强烈的敲击感,提升用户的使用体验;可选的,该第二弹性元件208为螺旋弹簧。The support assembly is connected with the first key body 207 through the second elastic element 208; so that when the first elastic element 203 is in a stretched state, when the user presses the first key body 207, the second elastic element 208 will elastically deform , and then transmit the signal to the support component, the circuit module and the control module 201 in sequence, so that the user can have a strong knocking feeling when pressing the first button body 207, which improves the user's experience; The elastic element 208 is a coil spring.
当然,本申请实施例中,支撑组件还可以直接与第一按键本体207连接,通过光学或超声等检测方式实现对该第一按键本体207与电路组件之间的距离的检测,以确定用户是否对第一按键本体207操作(按压),以及按压的频率和按压的方式等参数,以确定与用户操作相对应的按键功能。Of course, in the embodiment of the present application, the support assembly can also be directly connected to the first button body 207, and the distance between the first button body 207 and the circuit assembly can be detected by optical or ultrasonic detection methods to determine whether the user is The key function corresponding to the user's operation is determined by operating (pressing) the first button body 207, and parameters such as the frequency of pressing and the manner of pressing.
可选地,按键模组还包括设置于电路组件的支撑按键209;支撑组件开设有第二通孔,第二通孔与支撑按键相对分布,在第一弹性元件203处于压缩状态的情况下,第一按键本体207通过第二通孔与支撑按键209连接。Optionally, the key module further includes a support key 209 disposed on the circuit assembly; the support assembly is provided with a second through hole, and the second through hole is relatively distributed with the support key. When the first elastic element 203 is in a compressed state, The first button body 207 is connected to the supporting button 209 through the second through hole.
本申请实施例中,通过在支撑组件上设置该第二通孔,且该第二通孔与支撑按键相对分布,使得第一弹性元件203处于压缩状态(按键模组位于壳体206之内)的情况下,第一按键本体207的下表面与支撑按键209的上表面能够接触连接,用户按压该第一按键本体207的信号通过该支撑按键209传递给电路组件,并由该电路组件进一步传递至控制组件201。In the embodiment of the present application, by disposing the second through hole on the support component, and the second through hole and the support button are relatively distributed, so that the first elastic element 203 is in a compressed state (the button module is located in the casing 206 ) In this case, the lower surface of the first button body 207 and the upper surface of the support button 209 can be contacted and connected, and the signal of the user pressing the first button body 207 is transmitted to the circuit component through the support button 209, and further transmitted by the circuit component. to the control assembly 201.
另外,通过设置该支撑按键209,使得该按键组件位于壳体206之内时,一方面,该第一按键本体207的表面也能够微突出于该设备本体1的侧壁,使得该按键组件能够用作普通的按键,用户按压第一按键本体207即会按压 支撑按键209,从而进行信号的传递。In addition, by arranging the support button 209, when the button assembly is located in the casing 206, on the one hand, the surface of the first button body 207 can also slightly protrude from the side wall of the device body 1, so that the button assembly can As a common key, the user presses the first key body 207 to press the support key 209, so as to transmit signals.
具体地,该支撑组件包括旋转部件210和支撑部件211;旋转部件210与操控部205连接,支撑部件211位于旋转部件的上方且与旋转部件210连接;第一按键本体207通过第二弹性元件208与所述支撑部件211连接。Specifically, the supporting assembly includes a rotating part 210 and a supporting part 211 ; the rotating part 210 is connected to the manipulation part 205 , the supporting part 211 is located above the rotating part and is connected to the rotating part 210 ; the first button body 207 passes through the second elastic element 208 connected to the support member 211 .
本申请实施例中,通过将支撑组件设置为旋转部件210和支撑部件211两部分,使得在操控该操控部205时,旋转部件210能够跟随该操控部205的运动而运动,从而实现支撑部件211带动第一按键本体207沿远离或靠近电路组件的方向运动,实现第一按键本体207在壳体之内的状态和至少部分在壳体之外的状态之间的切换。In the embodiment of the present application, by setting the support assembly into two parts: the rotating part 210 and the supporting part 211 , when the manipulation part 205 is manipulated, the rotating part 210 can follow the movement of the manipulation part 205 to move, thereby realizing the supporting part 211 The first key body 207 is driven to move in a direction away from or close to the circuit assembly, so as to switch between a state where the first key body 207 is inside the casing and a state at least partially outside the casing.
更具体地,旋转部件210为椭圆结构,操控部205与旋转部件210的旋转轴杆连接;在操控部205位于第一位置的情况下,旋转部件的长轴与电路组件平行;此时,第一按键本体207位于壳体206之内;在操控部205位于第二位置的情况下,旋转部件210的长轴垂直于电路组件。More specifically, the rotating part 210 has an elliptical structure, and the control part 205 is connected with the rotating shaft of the rotating part 210; when the control part 205 is in the first position, the long axis of the rotating part is parallel to the circuit assembly; at this time, the first A key body 207 is located in the casing 206; when the control part 205 is located in the second position, the long axis of the rotating part 210 is perpendicular to the circuit assembly.
也就是说,本申请实施例的一种可实现方式是通过操控部205的转动而使第一按键本体207在位于壳体206之内的状态和至少部分位于壳体206之外的状态之间切换,当然,本申请实施例还可以是通过沿着壳体206的径向按压操控部205,实现支撑组件带动第一按键本体207朝远离或靠近电路组件的方向运动,以使第一按键本体207在如图3所示的位于壳体206之内的状态和如图4所示的至少部分位于壳体206之外的状态之间切换,本申请实施例对操控部205如何实现按键模组状态的切换的具体实现方式不做限定,凡是基于这种思路的实现方式均应在本申请的保护范围内。That is to say, an implementable manner of the embodiment of the present application is to make the first button body 207 be between a state in which the first key body 207 is located inside the casing 206 and a state in which the first key body 207 is at least partially located outside the casing 206 through the rotation of the control part 205 . Of course, in the embodiment of the present application, the control part 205 can also be pressed along the radial direction of the housing 206, so that the support assembly drives the first button body 207 to move in a direction away from or close to the circuit assembly, so that the first button body 207 is switched between the state of being located inside the casing 206 as shown in FIG. 3 and the state of being at least partially located outside the casing 206 as shown in FIG. The specific implementation of the state switching is not limited, and any implementation based on this idea should fall within the protection scope of the present application.
可选地,电路组件包括电路板202和设置于电路板202上的检测部件204;检测部件204位于第一弹性元件203的下方,且检测部件204与控制模组201电连接。Optionally, the circuit assembly includes a circuit board 202 and a detection component 204 disposed on the circuit board 202 ; the detection component 204 is located below the first elastic element 203 , and the detection component 204 is electrically connected to the control module 201 .
在本申请实施例中,通过在电路板202上设置用于检测按键组件的按压状态的检测元件204;并将电路板202与控制模组201电连接,将检测元件204的检测结果传输至控制模组201,以使控制模组201能够获知该按键组件的状态,并将该按键组件的状态通过通信模组212发送给电子设备,实现电子设备根据按键组件的状态确定对应的功能模式;同时,也提升了用户对第 一按键本体207的敲击感。In the embodiment of the present application, the circuit board 202 is provided with a detection element 204 for detecting the pressing state of the button assembly; the circuit board 202 is electrically connected with the control module 201, and the detection result of the detection element 204 is transmitted to the control module 201, so that the control module 201 can know the state of the key assembly, and send the state of the key assembly to the electronic device through the communication module 212, so that the electronic device can determine the corresponding function mode according to the state of the key assembly; , which also improves the user's sense of hitting the first button body 207 .
具体的,该检测元件204可以为设置在该电路板202上的压力传感器,其中,该压力传感器位于该第一弹性元件203的下方,通过压力传感器采集到的压力来确定该按键组件的状态;或者,该检测元件204可以包括位于该电路板202上的霍尔检测元件,如霍尔传感器,以及,位于该支撑组件上的磁性检测元件,如磁钢,通过该霍尔检测元件和该磁性检测元件的相互配合,实现对按键模组的状态的检测,当然,该检测元件204还可以是其他元件,如:电容元件或者光照元件等,凡是能够实现通过检测按键组件与电路板202的相对位置以确定该按键组件的状态的方式均应在本申请的保护范围内,本申请对此不做限定。Specifically, the detection element 204 may be a pressure sensor disposed on the circuit board 202, wherein the pressure sensor is located below the first elastic element 203, and the state of the button assembly is determined by the pressure collected by the pressure sensor; Alternatively, the detection element 204 may include a Hall detection element located on the circuit board 202, such as a Hall sensor, and a magnetic detection element, such as a magnetic steel, located on the support assembly, through which the Hall detection element and the magnetic The mutual cooperation of the detection elements realizes the detection of the state of the key module. Of course, the detection element 204 can also be other elements, such as: capacitive elements or lighting elements, etc., which can be achieved by detecting the relative relationship between the key assembly and the circuit board 202. The method of determining the state of the key assembly by the position should all fall within the protection scope of the present application, which is not limited in the present application.
可选地,触控笔2还包括驱动模组,驱动模组与控制模组201电连接,驱动模组驱动操控部205在第一位置和第二位置之间运动。Optionally, the stylus 2 further includes a driving module, the driving module is electrically connected with the control module 201, and the driving module drives the control part 205 to move between the first position and the second position.
本申请实施例中,通过设置该驱动模组,实现了控制模组201对操控部205的自动控制,也就是说,控制模组201向驱动模组输出控制指令,驱动模组根据该控制指令控制该操控部205运动,这样,就无需用户手动调节按键模组的状态,进一步提升了用户对触控笔的使用体验和感受。具体的,该驱动模组可以包括电机、马达等驱动部件。In the embodiment of the present application, by setting the drive module, the automatic control of the control unit 205 by the control module 201 is realized, that is, the control module 201 outputs a control command to the drive module, and the drive module according to the control command By controlling the movement of the control part 205, the user does not need to manually adjust the state of the key module, which further improves the user's experience and feeling of using the stylus. Specifically, the driving module may include driving components such as motors and motors.
本申请实施例的触控笔2包括:壳体206、操控部205、按键模组、电池模组213、控制模组201和通信模组212,操控部205活动设置于壳体206的第一端,且可在第一位置和第二位置之间运动,如此,便于用户对操控笔中的操控部205的操控,壳体206开设有第一通孔和容纳腔,第一通孔与容纳腔相连通,通信模组212、电池模组213和控制模组201位于该容纳腔,该控制模组201分别与该电池模组213、该通信模组212和该按键模组电连接;如此,控制模组201能够通过通信模组212与其他电子设备进行通信,以对按键模组进行控制;具体的,在操控部205位于第一位置的情况下,按键模组位于壳体之内;在操控部205位于第二位置的情况下,按键模组通过第一通孔至少部分伸出于壳体206之外,这样,触控笔2的按键模组可以具备电子设备的按键功能。如此,使得触控笔2不仅具有传统的书写功能,触控笔2上的按键模组还能够充当电子设备的按键使用,解决了触控笔2功能单一 和操作维度有限的问题,实现了资源的合理利用。The stylus 2 in the embodiment of the present application includes: a casing 206 , a control part 205 , a key module, a battery module 213 , a control module 201 and a communication module 212 , and the control part 205 is movably arranged on the first part of the casing 206 . It can be moved between the first position and the second position. In this way, it is convenient for the user to manipulate the manipulation part 205 in the manipulation pen. The casing 206 is provided with a first through hole and a accommodating cavity. The cavity is connected, the communication module 212, the battery module 213 and the control module 201 are located in the accommodation cavity, and the control module 201 is respectively electrically connected with the battery module 213, the communication module 212 and the key module; so , the control module 201 can communicate with other electronic devices through the communication module 212 to control the key module; specifically, when the control unit 205 is located at the first position, the key module is located in the casing; When the control portion 205 is located at the second position, the key module at least partially protrudes out of the casing 206 through the first through hole, so that the key module of the stylus 2 can have the key function of an electronic device. In this way, the stylus 2 not only has the traditional writing function, but also the button module on the stylus 2 can be used as a button of an electronic device, which solves the problems of the single function and limited operation dimension of the stylus 2, and realizes resource utilization. reasonable use.
如图5和图6所示,本申请实施例还提供了一种电子设备,包括如前所述的触控笔,还包括:设备本体1,设备本体1上开设有至少一端为开口的容纳槽,容纳槽的侧壁上设置有与容纳槽连通的第三通孔;操控部205位于容纳槽的外部;其中,在操控部205位于第一位置的情况下,按键模组的第一部分通过第三通孔伸出于该容纳槽;在操控部205位于第二位置的情况下,按键模组的第二部分通过第三通孔伸出于容纳槽;第一部分少于第二部分。As shown in FIG. 5 and FIG. 6 , an embodiment of the present application further provides an electronic device, including the stylus as described above, and further including: a device body 1 , and the device body 1 is provided with an accommodating container with at least one end open. The side wall of the accommodating groove is provided with a third through hole communicating with the accommodating groove; the control part 205 is located outside the accommodating groove; wherein, when the control part 205 is in the first position, the first part of the key module passes through The third through hole protrudes from the accommodating slot; when the control portion 205 is in the second position, the second part of the key module protrudes from the accommodating slot through the third through hole; the first part is less than the second part.
这里,需要说明的是,还如图5和图6所示,触控笔2的操控部205位于该容纳槽的外部,以方便用户对该触控部205的操作。Here, it should be noted that, as also shown in FIG. 5 and FIG. 6 , the control part 205 of the touch pen 2 is located outside the accommodating groove, so as to facilitate the user to operate the touch control part 205 .
本申请实施例中,在操控部205位于第一位置的情况下,按键模组的第一部分通过第三通孔伸出于该容纳槽,这样,使得按键模组能够具备电子设备的普通按键的功能;在操控部205位于第二位置的情况下,按键模组的第二部分通过第三通孔伸出于容纳槽;第一部分少于第二部分;这样,能够提升用户按压按键模组的敲击感,提升用户使用按键模组的体验感受。In the embodiment of the present application, when the control part 205 is located at the first position, the first part of the key module protrudes from the accommodating slot through the third through hole, so that the key module can have the function of a common key of an electronic device. function; when the control part 205 is located at the second position, the second part of the key module protrudes from the accommodating slot through the third through hole; the first part is less than the second part; in this way, the user can improve the ability of the user to press the key module. The sense of percussion improves the user's experience of using the key module.
本申请实施例的电子设备,包括设备本体1和触控笔2,该设备本体1具有一端开口的容纳槽,该触控笔2设置于该容纳槽,该触控笔包括:控制模组和至少一个按键模组;其中,该容纳槽的侧壁上设置有至少一个第一开口,至少一个按键模组的至少部分结构通过相应的第一开口外露于该设备本体1,使得触控笔2内置于该设备本体1时,用户也能够对该按键模组进行操作,使得该按键模组能够充当普通按键,避免了资源浪费;其中,该控制模组201与至少一个按键模组电连接且与该设备本体1通讯连接,这样,实现了在用户对该按键模组操作时,电子设备能够响应于该操作执行相应的功能,给用户带来更好的使用体验。The electronic device according to the embodiment of the present application includes a device body 1 and a stylus 2. The device body 1 has an accommodating groove open at one end, the stylus 2 is disposed in the accommodating groove, and the stylus includes: a control module and At least one key module; wherein, at least one first opening is provided on the side wall of the accommodating slot, and at least part of the structure of at least one key module is exposed to the device body 1 through the corresponding first opening, so that the stylus 2 When built into the device body 1, the user can also operate the key module, so that the key module can act as a common key, avoiding waste of resources; wherein, the control module 201 is electrically connected to at least one key module and is It is connected to the device body 1 in communication, so that when the user operates the key module, the electronic device can perform corresponding functions in response to the operation, thereby bringing a better use experience to the user.
具体的,如图5所示,该容纳槽可以开设于该设备本体1的侧壁上,如沿着该设备本体1的长度方向的侧壁开设的容纳槽,这样,该容纳槽的开口端位于该电子设备的顶部或底部。当然,该容纳槽还可以设置于该设备本体1的其他方便用户操作的位置,本申请对容纳槽的具体设置位置不做限定。Specifically, as shown in FIG. 5 , the accommodating groove can be opened on the side wall of the device body 1 , such as the accommodating groove opened on the side wall along the length direction of the device body 1 , so that the open end of the accommodating groove on the top or bottom of the electronic device. Of course, the accommodating groove can also be set at other positions of the device body 1 that are convenient for the user to operate, and the application does not limit the specific setting position of the accommodating groove.
这里需要说明的是,如图1所示,该触控笔2上可以设置有两个按键模组,以方便触控笔2内置于该设备本体1内时用户双手操作该电子设备。当 然,本申请实施例中,可以是如图4和图5所示的每一按键模组的至少部分通过相应的第三开口外露于该设备本体1,也可以是只有部分按键模组的至少部分结构通过相应的第三开口外露于该设备本体1。也就是说,该容纳槽的侧壁上的第三开口的数量可以与该触控笔2上的按键模组的数量相同,以实现两者一一对应的关系;或者,该第三开口的数量小于该按键模组的数量,即:在触控笔2内置于设备本体1时,触控笔2的部分按键模组隐藏在该容纳槽中,只有该触控笔2外置于该设备本体1时,被隐藏的按键模组才能够被使用。It should be noted here that, as shown in FIG. 1 , the stylus 2 may be provided with two key modules to facilitate the user to operate the electronic device with both hands when the stylus 2 is built in the device body 1 . Of course, in the embodiment of the present application, at least part of each key module shown in FIG. 4 and FIG. 5 may be exposed to the device body 1 through the corresponding third opening, or at least part of the key module may be exposed. Part of the structure is exposed to the device body 1 through the corresponding third opening. That is to say, the number of the third openings on the side wall of the accommodating slot can be the same as the number of the key modules on the stylus 2, so as to achieve a one-to-one correspondence between the two; The number is less than the number of the button modules, that is: when the stylus 2 is built into the device body 1, some of the button modules of the stylus 2 are hidden in the accommodating groove, and only the stylus 2 is placed outside the device When the main body is 1, only the hidden key module can be used.
这里,需要说明的是,图3和图4仅给出了按键模组与操控部205连接的实现方式,而按键模组与触控部214的连接方式和与操控部205的连接方式相类似,因此本申请不再赘述。Here, it should be noted that FIG. 3 and FIG. 4 only show the implementation of the connection between the key module and the control part 205 , and the connection between the key module and the touch part 214 is similar to that of the control part 205 , so this application will not repeat them.
可选地,在容纳槽的一端为开口端的情况下,容纳槽中与开口端相对的端壁可相对于容纳槽的侧壁转动,且所述端壁的内表面与所述触控笔的触控部214适配。进一步地,容纳槽中与开口端相对的端壁可以设置有第一连接部,触控笔的触控部214上可以设置有第二连接部,在触控笔位于容纳槽内的情况下,第一连接部与第二连接部连接,以实现传动配合。可选地,第一连接部可以是第一凸部,第二连接部可以是可与第一凸部配合的第一凹槽;当然,第一连接部还可以是第一磁性件,第二连接部可以是第二磁性件,第一磁性件与第二磁性件之间可以实现磁性传动连接。Optionally, in the case where one end of the accommodating groove is an open end, the end wall of the accommodating groove opposite to the open end can be rotated relative to the side wall of the accommodating groove, and the inner surface of the end wall is in contact with the inner surface of the stylus. The touch portion 214 is adapted. Further, the end wall of the accommodating groove opposite to the open end may be provided with a first connecting portion, and the touch portion 214 of the stylus may be provided with a second connecting portion. When the stylus is located in the accommodating groove, The first connecting part is connected with the second connecting part to realize the transmission matching. Optionally, the first connecting part can be a first convex part, and the second connecting part can be a first groove that can cooperate with the first convex part; The connecting portion may be a second magnetic member, and a magnetic transmission connection may be implemented between the first magnetic member and the second magnetic member.
这里,需要说明的是,该触控部214与该操控部205分设在该壳体206的两端,且该触控部214和该操控部205均能相对于壳体206运动,以实现对按键模组的控制。其中,在容纳槽为一端开口的槽体的情况下,触控部214隐藏于该容纳槽中,为了实现触控部214相对于壳体206的转动,需将容纳槽的端壁设置为能够相对于容纳槽的侧壁转动的形式。若容纳槽为圆柱形,则可在端壁上沿内端壁的周向设置凸起结构,在容纳槽的内侧壁上设置相对的凹槽结构,以实现两者之间的相对转动;若容纳槽中与壳体206相对的位置为椭圆形,则可将容纳槽中与触控部214相对的部分设置为圆柱形,该圆柱形的直径为该椭圆形的短轴相同,并在该圆柱形的周向上设置凹槽结构,在内端壁上设置凸起结构,以实现两者之间的相对转动。Here, it should be noted that the touch part 214 and the control part 205 are respectively disposed at two ends of the casing 206 , and both the touch part 214 and the control part 205 can move relative to the casing 206 to achieve the Control of the key module. Wherein, in the case where the accommodating groove is a groove body with one end open, the touch part 214 is hidden in the accommodating groove. In order to realize the rotation of the touch part 214 relative to the casing 206, the end wall of the accommodating groove needs to be set to be able to The form of rotation relative to the side wall of the receiving groove. If the accommodating groove is cylindrical, a protruding structure can be provided on the end wall along the circumference of the inner end wall, and an opposite groove structure can be set on the inner side wall of the accommodating groove to realize the relative rotation between the two; The position of the accommodating groove opposite to the housing 206 is oval, then the part of the accommodating groove opposite to the touch portion 214 can be set to a cylindrical shape, the diameter of the cylindrical shape is the same as the short axis of the oval, and the diameter of the cylindrical shape is the same as the short axis of the oval, and the A groove structure is arranged on the circumference of the cylinder, and a convex structure is arranged on the inner end wall to realize the relative rotation between the two.
当然,本申请实施例还可以将端壁设置为与侧壁可拆卸连接的结构,即:在触控笔设置于容纳槽之后,触控笔的操控部205和触控部214均外露于该容纳槽,这样,可以将触控部214插伸入端壁,通过端壁带动触控部214转动。Of course, in this embodiment of the present application, the end wall can also be configured to be detachably connected to the side wall, that is, after the stylus is set in the receiving groove, both the control part 205 and the touch part 214 of the stylus are exposed to the outside of the stylus. In this way, the touch part 214 can be inserted and extended into the end wall, and the touch part 214 can be driven to rotate by the end wall.
另外,本申请实施例的电子设备中,设备本体1还通过通信模组212与控制模组201通信连接,这样,控制模组201即可将检测到的按键模组的状态和电池模组213的模式传输至设备本体1,以使设备本体1能够根据接收到的信息确定按键模组的功能模式,实现响应用户对按键模组的按压操作。具体的,电池模组213的模式包括充电模式和未充电模式。在电池模组213处于充电模式的情况下,确认触控笔2位于该容纳槽中;在电池模组213处于未充电模式的情况下,确认触控笔2位于容纳槽之外,与设备本体1为分离状态。其中,作为一种实现方式,在设备本体1周期性的接收到触控笔2发送的电量和充电参数等信号时,确定电池模组213处于充电模式,否则,确定电池模组213处于非充电模式。In addition, in the electronic device of the embodiment of the present application, the device body 1 is also connected to the control module 201 in communication through the communication module 212, so that the control module 201 can detect the state of the key module and the battery module 213. The mode of the key module is transmitted to the device body 1, so that the device body 1 can determine the function mode of the key module according to the received information, so as to respond to the pressing operation of the key module by the user. Specifically, the modes of the battery module 213 include a charging mode and an uncharging mode. When the battery module 213 is in the charging mode, confirm that the stylus 2 is located in the accommodating slot; when the battery module 213 is in the uncharging mode, confirm that the stylus 2 is outside the accommodating slot, and the device body 1 is the separation state. As an implementation manner, when the device body 1 periodically receives signals such as power and charging parameters sent by the stylus 2, it is determined that the battery module 213 is in the charging mode; otherwise, it is determined that the battery module 213 is not charging model.
本申请实施例的电子设备,包括设备本体1和触控笔2,该设备本体1上开设有至少一端为开口的容纳槽,该触控笔2设置于该容纳槽,一方面,该容纳槽的侧壁上设置有与该容纳槽连通的第三通孔,该第三通孔与触控笔2上的按键模组相对分布,使得触控笔2内置于该设备本体1时,用户也能够对该按键模组进行操作,该按键模组能够实现普通按键的功能,避免了资源浪费;另一方面,该控制模组201与至少一个按键模组电连接且与该设备本体1通讯连接,这样,实现了在用户对该按键模组操作时,电子设备能够响应于该操作执行相应的功能,给用户带来更好的使用体验。The electronic device according to the embodiment of the present application includes a device body 1 and a stylus 2. The device body 1 is provided with an accommodation groove with at least one end open, and the stylus 2 is disposed in the accommodation groove. On the one hand, the accommodation groove The side wall of the device is provided with a third through hole that communicates with the accommodating groove, and the third through hole is relatively distributed with the key modules on the stylus 2, so that when the stylus 2 is built into the device body 1, the user can also The button module can be operated, and the button module can realize the function of a common button, avoiding the waste of resources; on the other hand, the control module 201 is electrically connected with at least one button module and is connected in communication with the device body 1 In this way, when the user operates the key module, the electronic device can perform corresponding functions in response to the operation, thereby bringing a better use experience to the user.
如图7所示,本申请实施例还提供一种操作控制方法,应用于如前所述的电子设备,该方法包括:As shown in FIG. 7 , an embodiment of the present application further provides an operation control method, which is applied to the aforementioned electronic device, and the method includes:
步骤701,获取按键模组状态;所述按键模组状态包括位于所述壳体之内的收回状态或至少部分通过所述第一通孔至少部分伸出于所述壳体之外的弹出状态;Step 701: Obtain the state of the key module; the state of the key module includes a retracted state inside the casing or a pop-up state at least partially protruding out of the casing through the first through hole ;
步骤702,根据按键模组状态,确定所述按键模组的功能模式。Step 702: Determine the function mode of the key module according to the state of the key module.
这里,需要说明的是,一方面,按键模组状态和功能模式的对应关系可 以为用户预先配置的,也可以为电子设备默认的;另一方面,按键模组的状态的改变可以基于用户的手动操作实现,也可以基于电子设备根据当前的使用环境自动调整;其中,若为电子设备自动调整,可以是电子设备的主板向控制模组201发送控制指令,控制模组201根据该控制指令调整该按键组件的状态。Here, it should be noted that, on the one hand, the corresponding relationship between the state of the key module and the function mode can be pre-configured by the user or defaulted by the electronic device; on the other hand, the state of the key module can be changed based on the user's The manual operation can also be automatically adjusted according to the current use environment based on the electronic equipment; wherein, if the electronic equipment is automatically adjusted, it can be that the main board of the electronic equipment sends a control command to the control module 201, and the control module 201 adjusts according to the control command. The state of this button component.
本步骤中,通过将按键模组设置为不同的状态,使得用户对按键模组进行同样的操作时,不同的按键模组状态对应不同的功能模式,实现了按键模组功能的多样化,且适用于不同的应用场景,另外,如前所述,在按键模组处于弹出状态的情况下,还能够使得用户在按压按键模组时有强烈的敲击感,提升了用户使用体验。In this step, by setting the key module to different states, when the user performs the same operation on the key module, different key module states correspond to different functional modes, thereby realizing the diversification of the functions of the key module, and It is suitable for different application scenarios. In addition, as mentioned above, when the key module is in the pop-up state, it can also make the user feel a strong tap when pressing the key module, which improves the user experience.
进一步地,步骤701,获取按键模组状态之后,该方法还包括:Further, in step 701, after acquiring the state of the key module, the method further includes:
获取电子设备当前运行的应用程序和触控笔状态中的至少一个,所述触控笔状态包括位于容纳槽的连接状态和位于容纳槽外的分离状态。Acquire at least one of an application program currently running on the electronic device and a stylus pen state, where the stylus pen state includes a connected state located in the accommodating slot and a detached state located outside the accommodating slot.
本步骤中,触控笔状态包括位于设备本体内的状态,或者,位于设备本体外的状态;具体的,可以通过触控笔的电池模组处于充电模式或非充电模式来确定触控笔状态,具体的,当电池模组处于充电模式时,确定触控笔状态为位于设备本体内的状态,当电池模组处于未充电模式时,确定触控笔状态为位于设备本体外的状态。In this step, the state of the stylus includes a state inside the device body, or a state outside the device body; specifically, the state of the stylus pen can be determined by whether the battery module of the stylus pen is in a charging mode or a non-charging mode. Specifically, when the battery module is in the charging mode, the state of the stylus is determined to be in the state of the device body, and when the battery module is in the uncharged mode, the state of the stylus is determined to be in the state of the device body.
步骤702,根据所述按键模组状态,确定所述按键模组的功能模式,包括: Step 702, according to the state of the key module, determine the function mode of the key module, including:
根据所述当前运行的应用程序和所述触控笔状态中的至少一个,以及,所述按键模组状态,确定所述按键模组的功能模式。According to at least one of the currently running application program and the state of the stylus, and the state of the key module, the function mode of the key module is determined.
本步骤中,通过获取当前运行的应用程序和触控笔状态中的至少一个,实现了在相同的按键模组状态的情况下,运行不同的应用程序和不同的触控笔状态均能使得用户对按键模组的按压操作对应不同的功能,进一步增加了按键模组的功能模式;如:在触控笔状态为位于设备本体内的状态,当前运行的应用程序为视频应用程序时,若按键本体的当前状态为弹出状态,则确定按键模组的功能模式为视频操作功能模式(快进、后退等),若按键本体的当前状态为收回状态,则确定按键模组的功能模式为音量功能模式(音量加、 音量减等)。In this step, by acquiring at least one of the currently running application and the state of the stylus, it is realized that, under the condition of the same key module state, running different applications and different states of the stylus can make the user The pressing operation of the button module corresponds to different functions, which further increases the function mode of the button module; for example: when the stylus is in the state of the device body, and the currently running application is a video application, if the button is pressed If the current state of the main body is the pop-up state, then determine that the function mode of the key module is the video operation function mode (fast forward, rewind, etc.), if the current state of the key body is the retracted state, then determine that the function mode of the key module is the volume function mode (volume up, volume down, etc.).
本步骤中,具体可以为根据预先配置的触控笔状态-应用程序-功能模式对应关系,确定触控笔的按键模组的功能模式;比如,触控笔状态为位于设备本体内状态,当前运行的应用程序为游戏应用程序,则确定按键模组的功能模式为游戏模式,游戏模式中可以设定单击为确认操作,双击为前进操作,连续两次单击为后退操作等;触控笔状态为位于设备本体外状态,当前运行的应用程序为拍照应用程序,则确定按键模组的功能模式为拍照模式,拍照模式中可以设定单击为确认操作,双击为打开闪光灯操作,连续两次单击为关闭闪光灯操作等。In this step, the function mode of the key module of the stylus pen may be determined according to the pre-configured correspondence between the stylus pen state-application program-function mode; If the running application is a game application, then make sure that the function mode of the key module is the game mode. In the game mode, you can set a single click as a confirmation operation, a double click as a forward operation, and two consecutive clicks as a backward operation, etc.; touch The pen state is outside the device, and the currently running application is the photo application, then the function mode of the key module is determined to be the photo mode. In the photo mode, you can set a single click to confirm the operation, and a double click to open the flash operation. Double click for off flash action etc.
进一步地,步骤701获取按键模组状态之后,该方法还包括:Further, after obtaining the state of the key module in step 701, the method further includes:
根据触控笔状态和/或所述当前运行的应用程序,控制所述触控笔的驱动模组驱动所述按键模组在所述弹出状态和所述收回状态之间切换。According to the state of the stylus and/or the currently running application program, the drive module of the stylus is controlled to drive the key module to switch between the pop-up state and the retracted state.
本步骤是针对于触控笔中设置有驱动模组的情况下,按键模组状态切换的一种实现方式,具体可以为,在电子设备检测到用户当前打开了预设应用程序,如游戏应用程序、视频应用程序等,则向触控笔的控制模组发送按键本体进入弹出状态的指令,以使控制模组控制按键本体弹出,当然,若用户当前不需要使用该按键本体,用户可以通过向电子设备输入语音控制指令,以使电子设备控制按键本体进入收回状态,或者,用户手动控制按键本体进入收回状态,当然,这种自动调整按键本体状态的实现方式中,需要在触控笔内设置用于驱动按键本体移动的驱动装置,如电机或马达等。This step is an implementation method for switching the state of the key module when the stylus is provided with a drive module. Specifically, the electronic device detects that the user has currently opened a preset application, such as a game application. program, video application, etc., send the command of the button body to the pop-up state to the control module of the stylus, so that the control module controls the button body to pop up. Of course, if the user does not need to use the button body at present, the user can Input a voice control command to the electronic device, so that the electronic device controls the button body to enter the retracted state, or the user manually controls the button body to enter the retracted state. Set the driving device used to drive the movement of the key body, such as a motor or a motor.
本申请实施例的操作控制方法,通过根据触控笔状态和电子设备当前运行的应用程序确定按键模组的功能模式,实现了按键模组在不同的触控笔状态和/或当前运行的应用程序具有不同的功能模式,实现了对触控笔的按键模组的复用,使得能够最大化的利用硬件资源,提升了用户使用体验。In the operation control method of the embodiment of the present application, by determining the function mode of the key module according to the state of the touch pen and the application program currently running on the electronic device, the application of the key module in different states of the touch pen and/or currently running is realized. The program has different function modes, and realizes the reuse of the key module of the stylus, which makes it possible to maximize the use of hardware resources and improve the user experience.
进一步地,根据按键模组状态,确定按键模组的功能模式之后,该方法还包括:Further, after determining the functional mode of the key module according to the state of the key module, the method also includes:
接收对按键模组的输入操作;Receive the input operation to the key module;
响应于该输入操作,根据该功能模式控制该应用程序执行与该输入操作对应的功能。In response to the input operation, the application is controlled to execute the function corresponding to the input operation according to the function mode.
具体地,响应于该输入操作,根据该功能模式控制该应用程序执行与该输入操作对应的功能,包括:Specifically, in response to the input operation, controlling the application to execute the function corresponding to the input operation according to the function mode, including:
根据该功能模式和该当前运行的应用程序,控制所述触控笔中的支撑组件以预设频率往返运动;Control the support component in the stylus to move back and forth at a preset frequency according to the function mode and the currently running application;
根据该支撑组件的往返运动,执行该输入操作对应的功能。According to the reciprocating motion of the support assembly, the function corresponding to the input operation is performed.
可选地,根据所述按键模组状态,确定所述按键模组的功能模式之后,该方法还包括:在电子设备的显示屏上显示当前状态和按键模组的功能模式。Optionally, after determining the function mode of the key module according to the state of the key module, the method further includes: displaying the current state and the function mode of the key module on the display screen of the electronic device.
本可选实施例中,如图8所示,给出了在电子设备1的显示屏上显示当前状态和按键模组的功能模式的一种示例,通过在电子设备1的显示屏上显示当前状态和按键模组的功能模式,以方便用户根据需求对触控笔2上的按键进行操作或手动调整按键本体的当前状态。In this optional embodiment, as shown in FIG. 8 , an example of displaying the current state and the function mode of the key module on the display screen of the electronic device 1 is given. By displaying the current state on the display screen of the electronic device 1 The state and the function mode of the key module are convenient for the user to operate the keys on the stylus 2 or manually adjust the current state of the key body as required.
可选地,步骤701,根据当前运行的应用程序和触控笔状态中的至少一个,以及,按键模组状态,确定按键模组的功能模式之后,该方法还包括:Optionally, in step 701, after determining the function mode of the key module according to at least one of the currently running application program and the state of the stylus, and the state of the key module, the method further includes:
在应用程序为预设应用程序的情况下,采用预设方式提醒用户控制按键模组中的按键本体进入弹出状态。When the application program is a preset application program, a preset method is used to remind the user to control the button body in the button module to enter the pop-up state.
具体的,比如,在应用程序为游戏应用程序时,可以通过在电子设备的显示屏上显示“请手动升起触控笔上的按键”的提示信息,以使用户根据该提示信息对该触控笔进行操作,使按键本体弹出容纳槽,以增加用户在游戏过程中点击按键的触感,提升用户的游戏体验。具体的,该提示信息还可以包括对该触控笔的操作教程,如:请旋转触控笔的操控部和/或触控部,以手动升起触控笔上的按键;当然,还可以通过语音播报的方式提醒用户控制按键模组中的按键本体进入弹出状态,本申请对此不做限制。Specifically, for example, when the application is a game application, a prompt message "Please raise the buttons on the stylus manually" can be displayed on the display screen of the electronic device, so that the user can make the touch screen according to the prompt message. The control pen operates to make the button body pop out of the accommodating slot, so as to increase the user's tactile feeling of clicking the button during the game, and improve the user's game experience. Specifically, the prompt information may also include an operation tutorial for the stylus, such as: please rotate the control part and/or the touch part of the stylus to manually raise the keys on the stylus; of course, you can also The user is reminded to control the button body in the button module to enter the pop-up state by means of voice broadcast, which is not limited in this application.
作为一个可选实施例,确定触控笔当前的触控笔状态,包括:As an optional embodiment, determining the current stylus state of the stylus includes:
在确定触控笔的电池模组处于充电模式的状态下,确定触控笔状态为位于设备本体内的状态;When it is determined that the battery module of the stylus is in the charging mode, it is determined that the state of the stylus is the state in the device body;
在确定所述触控笔的电池模组处于未充电模式的状态下,确定设备本体外的状态。When it is determined that the battery module of the stylus is in an uncharged mode, the state outside the device body is determined.
具体的,可以通过设备本体与触控笔的控制模组之间的通信确定电池模组的工作模式,比如:在设备本体周期性的接收到触控笔发送的电量和充电 参数等信号时,确定电池模组处于充电模式,否则,确定电池模组213处于非充电模式。Specifically, the working mode of the battery module can be determined through the communication between the device body and the control module of the stylus. For example, when the device body periodically receives signals such as power and charging parameters sent by the stylus, It is determined that the battery module is in the charging mode, otherwise, it is determined that the battery module 213 is in the non-charging mode.
下面,结合图9,以触控笔上有两个按键模组为例,对本申请实施例的操作控制方法进行说明。Hereinafter, with reference to FIG. 9 , the operation control method of the embodiment of the present application will be described by taking the stylus having two key modules as an example.
步骤901,电子设备检测到按键模组状态发生改变或触控笔状态发生改变,执行步骤902; Step 901, the electronic device detects that the state of the key module changes or the state of the stylus pen changes, and executes step 902;
步骤902,电子设备判断触控笔的电池模组是否为充电模式;若是,则执行步骤903,若否,则执行步骤907; Step 902, the electronic device determines whether the battery module of the stylus is in the charging mode; if so, go to Step 903, if not, go to Step 907;
步骤903,确定触控笔外置于设备本体且用户正在使用触控笔,执行步骤904; Step 903, it is determined that the stylus is externally placed on the device body and the user is using the stylus, and step 904 is executed;
步骤904:判断双按键模组的状态为弹出状态或收回状态,根据判断结果执行步骤905A至905D中的任一步骤;Step 904: Determine whether the state of the double-button module is a pop-up state or a retracted state, and execute any one of steps 905A to 905D according to the judgment result;
步骤905A:确定为按键状态1:按键模组1处于弹出状态,按键模组2处于收回状态,执行步骤906;Step 905A: It is determined that it is the key state 1: the key module 1 is in a pop-up state, and the key module 2 is in a retracted state, and step 906 is executed;
步骤905B:确定为按键状态2:按键模组1处于收回状态,按键模组2处于弹出状态,执行步骤906; Step 905B: It is determined that it is the key state 2: the key module 1 is in the retracted state, and the key module 2 is in the ejected state, and step 906 is executed;
步骤905C:确定为按键状态3:按键模组1处于弹出状态,按键模组2处于弹出状态,执行步骤906; Step 905C: It is determined that it is the key state 3: the key module 1 is in the pop-up state, and the key module 2 is in the pop-up state, and step 906 is executed;
步骤905D:确定为按键状态4:按键模组1处于收回状态,按键模组2处于弹出状态,执行步骤906; Step 905D: It is determined that it is the key state 4: the key module 1 is in the retracted state, and the key module 2 is in the ejected state, and step 906 is executed;
步骤906:控制按键模组实现对应功能,其中,按键状态1至4对应按键功能用户可以自行设置;Step 906: Control the key module to realize corresponding functions, wherein the key functions corresponding to key states 1 to 4 can be set by the user;
步骤907:触控笔内置于设备本体且未使用,执行步骤908:Step 907 : the stylus is built into the device body and is not in use, go to Step 908 :
步骤908:判断是否用户控制电子设备进入游戏场景,若是,则执行步骤910,若否,则执行步骤909:Step 908: Determine whether the user controls the electronic device to enter the game scene, if yes, go to Step 910, if not, go to Step 909:
步骤909:按键模组作为普通按键使用,具体可以为:双按键默认不适用,或者,用户手动设置按键功能为截屏键、AI键等;Step 909: The key module is used as a common key, which can be specifically: the double key is not applicable by default, or the user manually sets the key function to be a screenshot key, an AI key, etc.;
步骤910:确定是否双按键弹出,若是,则执行步骤911,若否,则执行步骤909;Step 910: Determine whether the double key is popped up, if yes, go to Step 911, if not, go to Step 909;
步骤911:按键模组作为游戏按键使用。Step 911: The key module is used as a game key.
本申请实施例的操作控制方法,通过判断触控笔状态、按键模组状态以及用户的设置信息,可以实现触控笔的按键不同状态下不同功能的设置,用户可以手动将两个按键置于弹出或收回状态,并设置按键不同状态下不同的功能,从而实现快速转换按键的功能。当触控笔内置于设备本体时,日常场景双按键均收回,此时按键无功能,也可以设置成截屏、AI按键灯应用,游戏场景双按键均弹出时作为游戏按键使用;当触控笔外置于设备本体时,用户可以通过设备本体断设置,控制触控笔按键不同状态下的不同功能,这些功能可以由用户自己定义;这样,丰富了用户的选择性,实现了用户根据需求对按键模组进行简单操作,以满足使用需求,避免用户在设备本体断的复杂操作,提高用户使用体验。In the operation control method of the embodiment of the present application, by judging the state of the stylus pen, the state of the key module, and the setting information of the user, the setting of different functions of the keys of the stylus pen in different states can be realized, and the user can manually place the two keys on the Pop up or retract the state, and set the different functions of the button in different states, so as to realize the function of quickly switching the button. When the stylus is built into the device body, both buttons are retracted in daily scenes. At this time, the buttons have no function. They can also be set to screenshots, AI button light applications, and used as game buttons when both buttons are popped up in game scenes; when the stylus pen When it is externally placed on the device body, the user can control the different functions of the stylus button in different states through the device body interrupt setting, and these functions can be defined by the user; in this way, the user's selectivity is enriched, and the user can choose according to their needs. The key module performs simple operations to meet the needs of use, avoid the complex operation of the user on the device body, and improve the user experience.
需要说明的是,本申请实施例提供的操作控制方法,执行主体可以为操作控制装置,或者该操作控制装置中的用于执行加载该操作控制方法的控制模块。本申请实施例中以操作控制装置执行加载操作控制方法为例,说明本申请实施例提供的操作控制方法。It should be noted that, in the operation control method provided by the embodiments of the present application, the execution body may be an operation control device, or a control module in the operation control device for executing loading of the operation control method. In the embodiment of the present application, the operation control method provided by the embodiment of the present application is described by taking the operation control device executing the loading operation control method as an example.
图10为本申请实施例的操作控制装置的结构示意图,图10所述的操作控制装置1000包括第一获取模块1001和确定模块1002。FIG. 10 is a schematic structural diagram of an operation control apparatus according to an embodiment of the present application. The operation control apparatus 1000 described in FIG. 10 includes a first acquisition module 1001 and a determination module 1002 .
第一获取模块1001,用于获取按键模组状态;所述按键模组状态包括位于所述壳体之内的收回状态或至少部分通过所述第一通孔至少部分伸出于所述壳体之外的弹出状态;The first acquisition module 1001 is used to acquire the state of the key module; the state of the key module includes a retracted state within the casing or at least partially protruding from the casing through the first through hole pop-up state other than;
确定模块1002,用于根据所述按键模组状态,确定所述按键模组的功能模式。The determining module 1002 is configured to determine the function mode of the key module according to the state of the key module.
本申请实施例的操作控制装置1000,第一获取模块1001获取按键模组状态;所述按键模组状态包括位于所述壳体之内的收回状态或至少部分通过所述第一通孔至少部分伸出于所述壳体之外的弹出状态;确定模块1002用于根据按键模组状态,确定所述按键模组的功能模式;实现了按键模组的功能模式的多样化且适用于不同的应用场景,另外,如前所述,在按键模组处于弹出状态的情况下,还能够使得用户在按压按键模组时有强烈的敲击感,提升了用户使用体验;在触控笔位于设备本体时,按键模组还能够作为电子设 备的普通按键使用,实现了资源的复用。In the operation control device 1000 of the embodiment of the present application, the first acquisition module 1001 acquires the state of the key module; the state of the key module includes a retracted state inside the casing or at least partially passing through the first through hole at least partially The pop-up state extending out of the casing; the determination module 1002 is used to determine the function mode of the key module according to the state of the key module; realizes the diversification of the function mode of the key module and is suitable for different Application scenario, in addition, as mentioned above, when the key module is in the pop-up state, it can also make the user have a strong sense of tapping when pressing the key module, which improves the user experience; when the stylus is located in the device When the main body is used, the key module can also be used as an ordinary key of an electronic device, which realizes the reuse of resources.
本申请实施例中,该操作控制装置1000还包括:In this embodiment of the present application, the operation control device 1000 further includes:
第二获取模块,用于获取电子设备当前运行的应用程序和触控笔状态中的至少一个,触控笔状态包括位于容纳槽的连接状态和位于容纳槽外的分离状态;a second acquiring module, configured to acquire at least one of an application currently running on the electronic device and a stylus state, where the stylus state includes a connected state located in the accommodating slot and a detached state located outside the accommodating slot;
确定模块用于根据当前运行的应用程序和触控笔状态中的至少一个,以及,按键模组状态,确定按键模组的功能模式。The determining module is configured to determine the function mode of the key module according to at least one of the currently running application program and the state of the stylus, and the state of the key module.
本申请实施例中,该操作控制装置1000还包括:In this embodiment of the present application, the operation control device 1000 further includes:
控制模块,用于根据触控笔状态和/或当前运行的应用程序,控制触控笔的驱动模组驱动按键模组在弹出状态和收回状态之间切换。The control module is used for controlling the drive module of the stylus to drive the button module to switch between the pop-up state and the retracted state according to the state of the stylus and/or the currently running application.
本申请实施例中,该装置还包括:In the embodiment of the present application, the device further includes:
接收模块,用于接收对按键模组的输入操作;The receiving module is used to receive the input operation to the key module;
响应模块,用于响应于该输入操作,根据该功能模式控制该应用程序执行与所述输入操作对应的功能。The response module is configured to control the application to execute the function corresponding to the input operation according to the function mode in response to the input operation.
本申请实施例中,该响应模块包括:In the embodiment of the present application, the response module includes:
控制子模块,用于根据功能模式和当前运行的应用程序,控制触控笔中的支撑组件以预设频率往返运动;The control sub-module is used to control the support component in the stylus to move back and forth at a preset frequency according to the function mode and the currently running application;
执行子模块,用于根据支撑组件的往返运动,执行输入操作对应的功能。The execution sub-module is used to execute the function corresponding to the input operation according to the reciprocating motion of the support assembly.
本申请实施例中,操作控制装置1000还包括:In this embodiment of the present application, the operation control device 1000 further includes:
显示模块,用于在电子设备的显示屏上显示当前状态和按键模组的功能模式。The display module is used to display the current state and the function mode of the key module on the display screen of the electronic device.
本申请实施例中,操作控制装置1000还包括:In this embodiment of the present application, the operation control device 1000 further includes:
提醒模块,用于在应用程序为预设应用程序的情况下,采用预设方式提醒用户控制按键模组中的按键本体进入弹出状态。The reminder module is used to remind the user to control the button body in the button module to enter the pop-up state in a preset manner when the application program is a preset application program.
本申请实施例中,第一确定模块1001具体用于:In the embodiment of the present application, the first determination module 1001 is specifically used for:
在确定所述触控笔的电池模组处于充电模式的状态下,确定所述触控笔状态为内置于所述设备本体的第一状态;When it is determined that the battery module of the stylus is in the charging mode, it is determined that the state of the stylus is the first state built into the device body;
在确定所述触控笔的电池模组处于未充电模式的状态下,确定所述触控笔状态为与所述设备本体分离的第二状态。When it is determined that the battery module of the stylus is in an uncharged mode, it is determined that the state of the stylus is a second state separated from the device body.
本申请实施例中的界面切换装置可以是装置,也可以是电子设备中的部件、集成电路或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The interface switching apparatus in this embodiment of the present application may be an apparatus, or may be a component, an integrated circuit, or a chip in an electronic device. The apparatus may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). assistant, PDA), etc., non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
本申请实施例中的操作控制装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The operation control device in the embodiment of the present application may be a device with an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
本申请实施例提供的操作控制装置能够实现图7至图9的方法实施例中操作控制方法实现的各个过程,为避免重复,这里不再赘述。The operation control apparatus provided in this embodiment of the present application can implement each process implemented by the operation control method in the method embodiments of FIG. 7 to FIG. 9 , which is not repeated here to avoid repetition.
本申请实施例的操作控制装置1000,第一获取模块1001获取按键模组状态;所述按键模组状态包括位于所述壳体之内的收回状态或至少部分通过所述第一通孔至少部分伸出于所述壳体之外的弹出状态;确定模块1002用于根据按键模组状态,确定所述按键模组的功能模式;实现了按键模组的功能模式的多样化且适用于不同的应用场景,另外,如前所述,在按键模组处于弹出状态的情况下,还能够使得用户在按压按键模组时有强烈的敲击感,提升了用户使用体验;在触控笔位于设备本体时,按键模组还能够作为电子设备的普通按键使用,实现了资源的复用。In the operation control device 1000 of the embodiment of the present application, the first acquisition module 1001 acquires the state of the key module; the state of the key module includes a retracted state inside the casing or at least partially passing through the first through hole at least partially The pop-up state extending out of the casing; the determination module 1002 is used to determine the function mode of the key module according to the state of the key module; realizes the diversification of the function mode of the key module and is suitable for different Application scenario, in addition, as mentioned above, when the key module is in the pop-up state, it can also make the user have a strong sense of tapping when pressing the key module, which improves the user experience; when the stylus is located in the device When the main body is used, the key module can also be used as an ordinary key of an electronic device, which realizes the reuse of resources.
如图11所示,本申请实施例还提供一种终端设备1100,包括处理器1101、存储器1102及存储在所述存储器1102上并可在处理器1101上运行的程序或指令,程序或指令被处理器1101执行时实现上述操作控制方法的步骤。As shown in FIG. 11, an embodiment of the present application further provides a terminal device 1100, including a processor 1101, a memory 1102, and a program or instruction stored in the memory 1102 and executable on the processor 1101. The program or instruction is When executed by the processor 1101, the steps of the above-mentioned operation control method are implemented.
需要注意的是,本申请实施例中的终端设备包括上述移动电子设备和非移动电子设备。It should be noted that the terminal devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
图12为本申请各个实施例的一种终端设备的硬件结构示意图。FIG. 12 is a schematic diagram of a hardware structure of a terminal device according to various embodiments of the present application.
该终端设备1200包括但不限于:射频单元1201、网络模块1202、音频输出单元1203、输入单元1204、传感器1205、显示单元1206、用户输入单 元1207、接口单元1208、存储器1209、处理器1210以及电源1211等部件。The terminal device 1200 includes but is not limited to: a radio frequency unit 1201, a network module 1202, an audio output unit 1203, an input unit 1204, a sensor 1205, a display unit 1206, a user input unit 1207, an interface unit 1208, a memory 1209, a processor 1210, and a power supply 1211 and other components.
本领域技术人员可以理解,图12中示出的终端设备结构并不构成对终端设备的限定,终端设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本申请实施例中,终端设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。Those skilled in the art can understand that the structure of the terminal device shown in FIG. 12 does not constitute a limitation on the terminal device, and the terminal device may include more or less components than the one shown, or combine some components, or different components layout. In the embodiments of the present application, the terminal devices include but are not limited to mobile phones, tablet computers, notebook computers, handheld computers, vehicle-mounted terminals, wearable devices, and pedometers.
其中,处理器1210,用于获取按键模组状态;所述按键模组状态包括位于所述壳体之内的收回状态或至少部分通过所述第一通孔至少部分伸出于所述壳体之外的弹出状态。The processor 1210 is used to obtain the state of the key module; the state of the key module includes a retracted state inside the casing or at least partially protruding from the casing through the first through hole Outside the popup state.
处理器1210,还用于根据按键模组状态,确定按键模组的功能模式。The processor 1210 is further configured to determine the function mode of the key module according to the state of the key module.
可见,该终端设备中,处理器1210获取按键模组状态;按键模组状态包括位于所述壳体之内的收回状态或至少部分通过第一通孔至少部分伸出于壳体之外的弹出状态;并根据按键模组状态,确定按键模组的功能模式;实现了按键模组的功能模式的多样化且适用于不同的应用场景,另外,如前所述,在按键模组处于弹出状态的情况下,还能够使得用户在按压按键模组时有强烈的敲击感,提升了用户使用体验;在触控笔位于设备本体时,按键模组还能够作为电终端设备的普通按键使用,实现了资源的复用。It can be seen that in the terminal device, the processor 1210 obtains the state of the key module; the state of the key module includes a retracted state inside the casing or a pop-up at least partially protruding out of the casing through the first through hole and determine the function mode of the key module according to the state of the key module; realize the diversification of the function modes of the key module and are suitable for different application scenarios. In addition, as mentioned above, the key module is in the pop-up state. In the case of the stylus, it can also make the user have a strong sense of tapping when pressing the button module, which improves the user experience; when the stylus is located on the device body, the button module can also be used as an ordinary button of an electrical terminal device. Realize the reuse of resources.
可选地,处理器1210还用于获取电子设备当前运行的应用程序和触控笔状态中的至少一个,所述触控笔状态包括位于容纳槽的连接状态和位于容纳槽外的分离状态;Optionally, the processor 1210 is further configured to acquire at least one of an application currently running on the electronic device and a stylus state, where the stylus state includes a connected state located in the accommodating slot and a detached state located outside the accommodating slot;
处理器1210在根据所述按键模组状态,确定所述按键模组的功能模式时,具体用于根据所述当前运行的应用程序和所述触控笔状态中的至少一个,以及,所述按键模组状态,确定所述按键模组的功能模式。When determining the function mode of the key module according to the state of the key module, the processor 1210 is specifically configured to, according to at least one of the currently running application and the state of the stylus, and the The state of the key module, which determines the function mode of the key module.
可选地,处理器1210还用于根据触控笔状态和/或当前运行的应用程序,控制触控笔的驱动模组驱动按键模组在弹出状态和收回状态之间切换。Optionally, the processor 1210 is further configured to control the drive module of the stylus to drive the key module to switch between the pop-up state and the retracted state according to the state of the stylus and/or the currently running application.
可选地,输入单元1204用于接收对所述按键模组的输入操作;Optionally, the input unit 1204 is configured to receive an input operation on the key module;
处理器1210还用于响应于所述输入操作,根据所述功能模式控制所述应用程序执行与所述输入操作对应的功能。The processor 1210 is further configured to, in response to the input operation, control the application program to execute a function corresponding to the input operation according to the function mode.
可选地,处理器1210在用于响应于所述输入操作,根据所述功能模式控制所述应用程序执行与所述输入操作对应的功能时,具体用于根据所述功能 模式和所述当前运行的应用程序,控制所述触控笔中的支撑组件以预设频率往返运动;并根据所述支撑组件的往返运动,执行所述输入操作对应的功能。Optionally, when the processor 1210 is configured to, in response to the input operation, control the application to execute the function corresponding to the input operation according to the function mode, specifically according to the function mode and the current The running application program controls the support component in the stylus to move back and forth at a preset frequency; and executes the function corresponding to the input operation according to the back and forth movement of the support component.
可选地,在处理器1210根据所述触控笔状态、所述当前运行的应用程序和所述当前状态,确定所述按键模组的功能模式之后,显示单元1206用于在所述应用程序为预设应用程序的情况下,采用预设方式提醒用户控制所述按键模组中的按键本体进入弹出状态。Optionally, after the processor 1210 determines the function mode of the key module according to the state of the stylus, the currently running application and the current state, the display unit 1206 is used to display the application in the application. In the case of a preset application program, a preset method is used to remind the user to control the button body in the button module to enter the pop-up state.
可选地,处理器1210在确定触控笔当前的触控笔状态时,具体用于:Optionally, when the processor 1210 determines the current stylus state of the stylus, it is specifically configured to:
在确定触控笔的电池模组处于充电模式的状态下,确定触控笔状态为位于设备本体内的状态;When it is determined that the battery module of the stylus is in the charging mode, it is determined that the state of the stylus is the state in the device body;
在确定所述触控笔的电池模组处于未充电模式的状态下,确定设备本体外的状态。When it is determined that the battery module of the stylus is in an uncharged mode, the state outside the device body is determined.
应理解的是,本申请实施例中,射频单元1201可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器1210处理;另外,将上行的数据发送给基站。通常,射频单元1201包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元1201还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in this embodiment of the present application, the radio frequency unit 1201 can be used for receiving and sending signals during sending and receiving of information or during a call. Specifically, after receiving the downlink data from the base station, it is processed by the processor 1210; The uplink data is sent to the base station. Generally, the radio frequency unit 1201 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 1201 can also communicate with the network and other devices through a wireless communication system.
终端设备通过网络模块1202为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The terminal device provides the user with wireless broadband Internet access through the network module 1202, such as helping the user to send and receive emails, browse web pages, and access streaming media.
音频输出单元1203可以将射频单元1201或网络模块1202接收的或者在存储器1209中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元1203还可以提供与终端设备1200执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元1203包括扬声器、蜂鸣器以及受话器等。The audio output unit 1203 may convert audio data received by the radio frequency unit 1201 or the network module 1202 or stored in the memory 1209 into audio signals and output as sound. Also, the audio output unit 1203 may also provide audio output related to a specific function performed by the terminal device 1200 (eg, call signal reception sound, message reception sound, etc.). The audio output unit 1203 includes a speaker, a buzzer, a receiver, and the like.
输入单元1204用于接收音频或视频信号。输入单元1204可以包括图形处理器(Graphics Processing Unit,GPU)12041和麦克风12042,图形处理器12041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元1206上。经图形处理器12041处理后的图像帧可以存储在存储器1209(或其它存储介质)中或者经由射频单元1201或网络模块1202进行发送。 麦克风12042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元1201发送到移动通信基站的格式输出。The input unit 1204 is used to receive audio or video signals. The input unit 1204 may include a graphics processor (Graphics Processing Unit, GPU) 12041 and a microphone 12042, and the graphics processor 12041 captures images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode data is processed. The processed image frames may be displayed on the display unit 1206 . The image frames processed by the graphics processor 12041 may be stored in the memory 1209 (or other storage medium) or transmitted via the radio frequency unit 1201 or the network module 1202 . The microphone 12042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format that can be transmitted to a mobile communication base station via the radio frequency unit 1201 for output in the case of a telephone call mode.
终端设备1200还包括至少一种传感器1205,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板12061的亮度,接近传感器可在终端设备1200移动到耳边时,关闭显示面板12061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器1205还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The terminal device 1200 also includes at least one sensor 1205, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 12061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 12061 and the proximity sensor when the terminal device 1200 is moved to the ear. / or backlight. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the terminal device (such as horizontal and vertical screen switching, related games , magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; the sensors 1205 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., are not repeated here.
显示单元1206用于显示由用户输入的信息或提供给用户的信息。显示单元1206可包括显示面板12061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板11061。The display unit 1206 is used to display information input by the user or information provided to the user. The display unit 1206 may include a display panel 12061, and the display panel 11061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
用户输入单元1207可用于接收输入的数字或字符信息,以及产生与终端设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元1207包括触控面板12071以及其他输入设备12072。触控面板12071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板12071上或在触控面板12071附近的操作)。触控面板12071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制模组;触摸控制模组从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器1210,接收处理器1210发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板12071。除了触控面板12071,用户输入单元907还可以包括其他输入设备12072。具体地,其他输入设备12072可以包括但不限于物理键盘、功能键(比 如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 1207 can be used to receive input numerical or character information, and generate key signal input related to user setting and function control of the terminal device. Specifically, the user input unit 1207 includes a touch panel 12071 and other input devices 12072 . The touch panel 12071, also known as the touch screen, can collect the user's touch operations on or near it (such as the user's finger, stylus, etc., any suitable objects or accessories on or near the touch panel 12071. operate). The touch panel 12071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the touch orientation of the user, detects the signal brought by the touch operation, and transmits the signal to the touch control module; the touch control module receives the touch information from the touch detection device and converts it into contact coordinates , and then send it to the processor 1210 to receive the command sent by the processor 1210 and execute it. In addition, the touch panel 12071 can be realized by various types of resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 12071 , the user input unit 907 may also include other input devices 12072 . Specifically, other input devices 12072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
进一步的,触控面板12071可覆盖在显示面板11061上,当触控面板12071检测到在其上或附近的触摸操作后,传送给处理器1110以确定触摸事件的类型,随后处理器1110根据触摸事件的类型在显示面板11061上提供相应的视觉输出。虽然在图12中,触控面板12071与显示面板11061是作为两个独立的部件来实现终端设备的输入和输出功能,但是在某些实施例中,可以将触控面板12071与显示面板12061集成而实现终端设备的输入和输出功能,具体此处不做限定。Further, the touch panel 12071 can be covered on the display panel 11061. When the touch panel 12071 detects a touch operation on or near it, it transmits it to the processor 1110 to determine the type of the touch event, and then the processor 1110 determines the type of the touch event according to the touch The type of event provides a corresponding visual output on display panel 11061. Although in FIG. 12, the touch panel 12071 and the display panel 11061 are used as two independent components to realize the input and output functions of the terminal device, in some embodiments, the touch panel 12071 and the display panel 12061 can be integrated The input and output functions of the terminal device are implemented, which is not specifically limited here.
接口单元1208为外部装置与终端设备1200连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元1208可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端设备1200内的一个或多个元件或者可以用于在终端设备1200和外部装置之间传输数据。The interface unit 1208 is an interface for connecting an external device to the terminal device 1200 . For example, external devices may include wired or wireless headset ports, external power (or battery charger) ports, wired or wireless data ports, memory card ports, ports for connecting devices with identification modules, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. The interface unit 1208 may be used to receive input from external devices (eg, data information, power, etc.) and transmit the received input to one or more elements within the terminal device 1200 or may be used between the terminal device 1200 and external Transfer data between devices.
存储器1209可用于存储软件程序以及各种数据。存储器1209可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器1209可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 1209 may be used to store software programs as well as various data. The memory 1209 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of the mobile phone (such as audio data, phone book, etc.), etc. Additionally, memory 1209 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
处理器1210是终端设备的控制中心,利用各种接口和线路连接整个终端设备的各个部分,通过运行或执行存储在存储器1209内的软件程序和/或模块,以及调用存储在存储器1209内的数据,执行终端设备的各种功能和处理数据,从而对终端设备进行整体监控。处理器1210可包括一个或多个处理单元;优选的,处理器1210可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1210中。The processor 1210 is the control center of the terminal equipment, using various interfaces and lines to connect various parts of the entire terminal equipment, by running or executing the software programs and/or modules stored in the memory 1209, and calling the data stored in the memory 1209. , perform various functions of the terminal equipment and process data, so as to monitor the terminal equipment as a whole. The processor 1210 may include one or more processing units; preferably, the processor 1210 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem The processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 1210.
终端设备1200还可以包括给各个部件供电的电源1211(比如电池),优选的,电源1211可以通过电源管理系统与处理器1210逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The terminal device 1200 may also include a power supply 1211 (such as a battery) that supplies power to various components. Preferably, the power supply 1211 may be logically connected to the processor 1210 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system and other functions.
另外,终端设备1200包括一些未示出的功能模块,在此不再赘述。In addition, the terminal device 1200 includes some functional modules not shown, which will not be repeated here.
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储程序或指令,该程序或指令被处理器执行时实现上述操作控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, each process of the above-mentioned embodiment of the operation control method can be implemented, and the same can be achieved. The technical effect, in order to avoid repetition, will not be repeated here.
其中,所述处理器为上述实施例中所述的终端设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the terminal device described in the foregoing embodiment. The readable storage medium includes a computer-readable storage medium, such as a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述操作控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement the above-mentioned operation control method embodiments. Each process can achieve the same technical effect. In order to avoid repetition, it will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.
本申请实施例还提供一种计算机程序产品,所述计算机程序产品被存储在非易失的存储介质中,所述计算机程序产品被配置成被至少一个处理器执行以实现如上操作控制方法的步骤,为避免重复,这里不再赘述。The embodiments of the present application further provide a computer program product, the computer program product is stored in a non-volatile storage medium, and the computer program product is configured to be executed by at least one processor to implement the steps of the above operation control method , in order to avoid repetition, it will not be repeated here.
本申请实施例还提供一种控制装置,所述控制装置被配置成用于执行如上操作控制方法,为避免重复,这里不再赘述。An embodiment of the present application further provides a control device, where the control device is configured to execute the above operation control method, which is not repeated here in order to avoid repetition.
本申请实施例还提供一种通信设备,所述通信设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如上操作控制方法的步骤,为避免重复,这里不再赘述。An embodiment of the present application further provides a communication device, the communication device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, where the program or instruction is processed by the processor The steps of implementing the above operation control method when the controller is executed are not repeated here in order to avoid repetition.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还 包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in the reverse order depending on the functions involved. To perform functions, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to some examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of this application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of this application, without departing from the scope of protection of the purpose of this application and the claims, many forms can be made, which all fall within the protection of this application.

Claims (24)

  1. 一种触控笔,包括:壳体、操控部、按键模组、电池模组、控制模组和通信模组,所述操控部活动设置于所述壳体的第一端,且可在第一位置和第二位置之间运动,所述壳体开设有第一通孔和容纳腔,所述第一通孔与所述容纳腔相连通,所述通信模组、所述电池模组和所述控制模组位于所述容纳腔,所述控制模组分别与所述电池模组、所述通信模组和所述按键模组电连接;A touch pen, comprising: a casing, a control part, a key module, a battery module, a control module and a communication module, wherein the control part is movably arranged at the first end of the casing, and can be moved at the first end of the casing. When moving between a first position and a second position, the casing is provided with a first through hole and an accommodating cavity, the first through hole is communicated with the accommodating cavity, and the communication module, the battery module and the The control module is located in the accommodating cavity, and the control module is electrically connected to the battery module, the communication module and the key module respectively;
    在所述操控部位于所述第一位置的情况下,所述按键模组位于所述壳体之内;When the control part is located at the first position, the key module is located in the casing;
    在所述操控部位于所述第二位置的情况下,所述按键模组通过所述第一通孔至少部分伸出于所述壳体之外。When the control portion is located at the second position, the key module at least partially protrudes out of the casing through the first through hole.
  2. 根据权利要求1所述的触控笔,其中,所述按键模组包括按键组件和电路组件;所述电路组件通过第一弹性元件与所述按键组件连接,所述电路组件与所述控制模组电连接,所述按键组件与所述操控部连接。The touch pen according to claim 1, wherein the key module comprises a key assembly and a circuit assembly; the circuit assembly is connected to the key assembly through a first elastic element, and the circuit assembly is connected to the control module The group is electrically connected, and the button assembly is connected with the control part.
  3. 根据权利要求2所述的触控笔,其中,所述按键组件包括第一按键本体和支撑组件;所述第一按键本体位于所述支撑组件背离所述电路组件的一侧并与所述支撑组件连接;所述支撑组件通过所述第一弹性元件与所述电路组件连接;所述支撑组件还与所述操控部连接;The touch pen according to claim 2, wherein the key assembly comprises a first key body and a support assembly; the first key body is located on a side of the support assembly away from the circuit assembly and is connected to the support the assembly is connected; the support assembly is connected with the circuit assembly through the first elastic element; the support assembly is also connected with the manipulation part;
    在所述第一弹性元件处于压缩状态的情况下,所述第一按键本体位于所述壳体之内;When the first elastic element is in a compressed state, the first button body is located in the casing;
    在所述第一弹性元件处于拉伸状态的情况下,所述第一按键本体通过所述第一通孔至少部分伸出于所述壳体之外。When the first elastic element is in a stretched state, the first key body at least partially protrudes out of the casing through the first through hole.
  4. 根据权利要求3所述的触控笔,其中,所述支撑组件与所述第一按键本体通过第二弹性元件连接。The touch pen according to claim 3, wherein the support assembly is connected with the first key body through a second elastic element.
  5. 根据权利要求3所述的触控笔,其中,所述按键模组还包括设置于所述电路组件的支撑按键;所述支撑组件开设有第二通孔,所述第二通孔与所述支撑按键相对分布,在所述第一弹性元件处于压缩状态的情况下,所述第一按键本体通过所述第二通孔与所述支撑按键连接。The stylus according to claim 3, wherein the key module further comprises a support key disposed on the circuit assembly; the support assembly defines a second through hole, the second through hole and the The support keys are relatively distributed, and when the first elastic element is in a compressed state, the first key body is connected to the support keys through the second through hole.
  6. 根据权利要求4所述的触控笔,其中,所述支撑组件包括旋转部件和支撑部件;所述旋转部件与所述操控部连接,所述支撑部件位于所述旋转部件的上方且与所述旋转部件连接;所述第一按键本体通过所述第二弹性元件与所述支撑部件连接。The stylus pen according to claim 4, wherein the supporting component comprises a rotating part and a supporting part; the rotating part is connected with the manipulation part, and the supporting part is located above the rotating part and is connected with the The rotating part is connected; the first key body is connected with the supporting part through the second elastic element.
  7. 根据权利要求6所述的触控笔,其中,所述旋转部件为椭圆结构,所述操控部与所述旋转部件的旋转轴杆连接;The stylus according to claim 6, wherein the rotating member is an elliptical structure, and the manipulation portion is connected to a rotating shaft of the rotating member;
    在所述操控部位于所述第一位置的情况下,所述旋转部件的长轴与所述电路组件平行;When the manipulation portion is located at the first position, the long axis of the rotating member is parallel to the circuit assembly;
    在所述操控部位于所述第二位置的情况下,所述旋转部件的长轴垂直于所述电路组件。When the manipulation portion is located at the second position, the long axis of the rotating member is perpendicular to the circuit assembly.
  8. 根据权利要求2所述的触控笔,其中,所述电路组件包括电路板和设置于所述电路板上的检测部件;所述检测部件位于所述第一弹性元件的下方,且所述检测部件与所述控制模组电连接。The touch pen according to claim 2, wherein the circuit assembly comprises a circuit board and a detection part disposed on the circuit board; the detection part is located under the first elastic element, and the detection part The component is electrically connected with the control module.
  9. 根据权利要求1所述的触控笔,其中,所述触控笔还包括驱动模组,所述驱动模组与所述控制模组电连接,所述驱动模组驱动所述操控部在所述在第一位置和所述第二位置之间运动。The stylus pen according to claim 1, wherein the stylus pen further comprises a driving module, the driving module is electrically connected with the control module, and the driving module drives the control part in the moving between the first position and the second position.
  10. 一种电子设备,包括如权利要求1至9任一项所述的触控笔,还包括设备本体,所述设备本体上开设有至少一端为开口的容纳槽,所述容纳槽的侧壁上设置有与所述容纳槽连通的第三通孔;所述操控部位于所述容纳槽的外部;An electronic device, comprising the stylus pen according to any one of claims 1 to 9, and further comprising a device body, the device body is provided with an accommodating groove with at least one end open, and a side wall of the accommodating groove is a third through hole communicating with the accommodating groove is provided; the manipulation portion is located outside the accommodating groove;
    在所述操控部位于所述第一位置的情况下,所述按键模组的第一部分通过所述第三通孔伸出于所述容纳槽;When the control part is located at the first position, the first part of the key module protrudes from the accommodating slot through the third through hole;
    在所述操控部位于所述第二位置的情况下,所述按键模组的第二部分通过所述第三通孔伸出于所述容纳槽;所述第一部分少于所述第二部分。When the control part is located at the second position, the second part of the key module protrudes from the accommodating groove through the third through hole; the first part is smaller than the second part .
  11. 根据权利要求10所述的电子设备,其中,在所述容纳槽的一端为开口端的情况下,所述容纳槽中与所述开口端相对的端壁可相对于所述容纳槽的侧壁转动,且所述端壁的内表面与所述触控笔的触控部适配。The electronic device according to claim 10, wherein when one end of the accommodating slot is an open end, an end wall of the accommodating slot opposite to the open end can be rotated relative to a side wall of the accommodating slot , and the inner surface of the end wall is adapted to the touch portion of the stylus.
  12. 一种操作控制方法,应用于如权利要求10或11所述的电子设备,所述方法包括:An operation control method, applied to the electronic device as claimed in claim 10 or 11, the method comprising:
    获取按键模组状态;所述按键模组状态包括位于所述壳体之内的收回状态或至少部分通过所述第一通孔至少部分伸出于所述壳体之外的弹出状态;Obtaining the state of the key module; the state of the key module includes a retracted state inside the casing or a pop-up state at least partially protruding out of the casing through the first through hole;
    根据所述按键模组状态,确定所述按键模组的功能模式。According to the state of the key module, the function mode of the key module is determined.
  13. 根据权利要求12所述的方法,其中,获取按键模组状态之后,所述方法还包括:The method according to claim 12, wherein after acquiring the state of the key module, the method further comprises:
    获取电子设备当前运行的应用程序和触控笔状态中的至少一个,所述触控笔状态包括位于容纳槽的连接状态和位于容纳槽外的分离状态;acquiring at least one of an application currently running on the electronic device and a stylus state, where the stylus state includes a connected state located in the accommodating slot and a detached state located outside the accommodating slot;
    根据所述按键模组状态,确定所述按键模组的功能模式,包括:According to the state of the key module, determine the function mode of the key module, including:
    根据所述当前运行的应用程序和所述触控笔状态中的至少一个,以及,所述按键模组状态,确定所述按键模组的功能模式。According to at least one of the currently running application program and the state of the stylus, and the state of the key module, the function mode of the key module is determined.
  14. 一种操作控制装置,应用于如权利要求10或11所述的电子设备,包括:An operation control device, applied to the electronic device as claimed in claim 10 or 11, comprising:
    第一获取模块,用于获取按键模组状态;所述按键模组状态包括位于所述壳体之内的收回状态或至少部分通过所述第一通孔至少部分伸出于所述壳体之外的弹出状态;The first acquisition module is used to acquire the state of the key module; the state of the key module includes a retracted state within the casing or at least partially protruding from the casing through the first through hole. pop-up state outside;
    确定模块,用于根据所述按键模组状态,确定所述按键模组的功能模式。The determining module is used for determining the function mode of the key module according to the state of the key module.
  15. 根据权利要求14所述的装置,其中,所述装置还包括:The apparatus of claim 14, wherein the apparatus further comprises:
    第二获取模块,用于获取电子设备当前运行的应用程序和触控笔状态中的至少一个,所述触控笔状态包括位于容纳槽的连接状态和位于容纳槽外的分离状态;a second acquiring module, configured to acquire at least one of an application currently running on the electronic device and a stylus state, where the stylus state includes a connected state located in the accommodating groove and a detached state located outside the accommodating groove;
    所述确定模块用于根据所述当前运行的应用程序和所述触控笔状态中的至少一个,以及,所述按键模组状态,确定所述按键模组的功能模式。The determining module is configured to determine the function mode of the key module according to at least one of the currently running application program and the state of the stylus, and the state of the key module.
  16. 根据权利要求15所述的装置,其中,所述装置还包括:The apparatus of claim 15, wherein the apparatus further comprises:
    控制模块,用于根据所述触控笔状态和/或所述当前运行的应用程序,控制所述触控笔的驱动模组驱动所述按键模组在所述弹出状态和所述收回状态之间切换。A control module for controlling the drive module of the stylus to drive the button module between the pop-up state and the retracted state according to the stylus state and/or the currently running application. switch between.
  17. 根据权利要求15所述的装置,其中,所述装置还包括:The apparatus of claim 15, wherein the apparatus further comprises:
    接收模块,用于接收对所述按键模组的输入操作;a receiving module for receiving an input operation on the key module;
    响应模块,用于响应于所述输入操作,根据所述功能模式控制所述应用 程序执行与所述输入操作对应的功能。A response module, configured to control the application program to execute a function corresponding to the input operation according to the function mode in response to the input operation.
  18. 根据权利要求17所述的装置,其中,所述响应模块包括:The apparatus of claim 17, wherein the response module comprises:
    控制子模块,用于根据所述功能模式和所述当前运行的应用程序,控制所述触控笔中的支撑组件以预设频率往返运动;a control submodule for controlling the support component in the stylus to move back and forth at a preset frequency according to the functional mode and the currently running application;
    执行子模块,用于根据所述支撑组件的往返运动,执行所述输入操作对应的功能。The execution sub-module is configured to execute the function corresponding to the input operation according to the reciprocating motion of the support assembly.
  19. 一种终端设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,其中,所述程序或指令被所述处理器执行时实现如权利要求12至13中任一项所述的操作控制方法的步骤。A terminal device, comprising a processor, a memory, and a program or instruction stored on the memory and executable on the processor, wherein the program or instruction is executed by the processor to achieve the method as claimed in claim 12 Steps of the operation control method described in any one of to 13.
  20. 一种可读存储介质,所述可读存储介质上存储程序或指令,其中,所述程序或指令被处理器执行时实现如权利要求12至13中任一项所述的操作控制方法的步骤。A readable storage medium storing programs or instructions on the readable storage medium, wherein, when the programs or instructions are executed by a processor, the steps of the operation control method according to any one of claims 12 to 13 are implemented .
  21. 一种芯片,包括处理器和通信接口,其中,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求12至13中任一项所述的操作控制方法的步骤。A chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or an instruction to implement the operation control according to any one of claims 12 to 13 steps of the method.
  22. 一种计算机程序产品,其中,所述计算机程序产品被存储在非易失的存储介质中,所述计算机程序产品被至少一个处理器执行以实现如权利要求12至13中任一项所述的操作控制方法的步骤。A computer program product, wherein the computer program product is stored in a non-volatile storage medium, the computer program product being executed by at least one processor to implement any one of claims 12 to 13 The steps of the operation control method.
  23. 一种控制装置,其中,所述控制装置被配置成用于执行权利要求12至13中任一项所述的操作控制方法。A control device, wherein the control device is configured to perform the operation control method of any one of claims 12 to 13.
  24. 一种通信设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,其中,所述程序或指令被所述处理器执行时实现如权利要求12至13中任一项所述的操作控制方法的步骤。A communication device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, wherein the program or instruction when executed by the processor implements the method of claim 12 Steps of the operation control method described in any one of to 13.
PCT/CN2021/131167 2020-11-17 2021-11-17 Stylus, electronic device, operation control method and apparatus, and terminal device WO2022105784A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011285543.4A CN112181184A (en) 2020-11-17 2020-11-17 Touch pen, electronic equipment, operation control method and device and terminal equipment
CN202011285543.4 2020-11-17

Publications (1)

Publication Number Publication Date
WO2022105784A1 true WO2022105784A1 (en) 2022-05-27

Family

ID=73918533

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/131167 WO2022105784A1 (en) 2020-11-17 2021-11-17 Stylus, electronic device, operation control method and apparatus, and terminal device

Country Status (2)

Country Link
CN (1) CN112181184A (en)
WO (1) WO2022105784A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115206713A (en) * 2022-07-27 2022-10-18 歌尔股份有限公司 Key structure and electronic equipment
CN117707347A (en) * 2023-06-02 2024-03-15 荣耀终端有限公司 Power consumption control method of handwriting pen and electronic equipment

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112181184A (en) * 2020-11-17 2021-01-05 维沃移动通信有限公司 Touch pen, electronic equipment, operation control method and device and terminal equipment
CN112947774B (en) * 2021-01-28 2024-07-23 维沃移动通信有限公司 Intelligent pen and electronic equipment
CN112947036B (en) * 2021-02-01 2022-01-28 维沃移动通信有限公司 Wearable device
CN113015368B (en) * 2021-02-25 2023-03-03 维沃移动通信有限公司 Electronic device
CN113311950B (en) * 2021-05-27 2022-12-23 维沃移动通信有限公司 Stylus, control method and device of stylus, electronic equipment and storage medium
CN113411439B (en) * 2021-06-25 2024-03-29 维沃移动通信有限公司 Electronic equipment, control method and control device thereof
CN113655851A (en) * 2021-08-16 2021-11-16 维沃移动通信有限公司 Electronic equipment control method, electronic equipment control device and electronic equipment
CN115016597B (en) * 2021-10-11 2023-07-21 荣耀终端有限公司 Handwriting pen and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170097720A1 (en) * 2015-10-05 2017-04-06 Samsung Electronics Co., Ltd Electronic device and method for identifying input made by external device of electronic device
CN207264340U (en) * 2017-10-19 2018-04-20 广州视源电子科技股份有限公司 Electronic pen
CN110058700A (en) * 2018-01-17 2019-07-26 北京小米移动软件有限公司 Stylus and electronic equipment
CN111538431A (en) * 2020-05-12 2020-08-14 深圳市恒怡多精彩科技有限公司 Wireless mouse pen with keyboard
CN112181184A (en) * 2020-11-17 2021-01-05 维沃移动通信有限公司 Touch pen, electronic equipment, operation control method and device and terminal equipment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI358654B (en) * 2008-04-03 2012-02-21 Wistron Corp Input device with a flexible circuit board and rel
KR102241994B1 (en) * 2013-04-18 2021-04-19 삼성전자주식회사 Method for controlling function using electronic pen and an electronic device thereof
US9830003B2 (en) * 2015-08-18 2017-11-28 Microsoft Technology Licensing, Llc Ring button components in electronics
JP6702239B2 (en) * 2016-06-02 2020-05-27 オムロン株式会社 Switch and keyboard
CN110162197A (en) * 2019-05-08 2019-08-23 Oppo广东移动通信有限公司 Writing pencil, electronic equipment and its control method
CN110351406B (en) * 2019-08-06 2021-05-11 维沃移动通信有限公司 Mobile terminal and control method thereof
CN111459383B (en) * 2020-03-31 2021-07-27 维沃移动通信有限公司 Key response method and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170097720A1 (en) * 2015-10-05 2017-04-06 Samsung Electronics Co., Ltd Electronic device and method for identifying input made by external device of electronic device
CN207264340U (en) * 2017-10-19 2018-04-20 广州视源电子科技股份有限公司 Electronic pen
CN110058700A (en) * 2018-01-17 2019-07-26 北京小米移动软件有限公司 Stylus and electronic equipment
CN111538431A (en) * 2020-05-12 2020-08-14 深圳市恒怡多精彩科技有限公司 Wireless mouse pen with keyboard
CN112181184A (en) * 2020-11-17 2021-01-05 维沃移动通信有限公司 Touch pen, electronic equipment, operation control method and device and terminal equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115206713A (en) * 2022-07-27 2022-10-18 歌尔股份有限公司 Key structure and electronic equipment
CN117707347A (en) * 2023-06-02 2024-03-15 荣耀终端有限公司 Power consumption control method of handwriting pen and electronic equipment

Also Published As

Publication number Publication date
CN112181184A (en) 2021-01-05

Similar Documents

Publication Publication Date Title
WO2022105784A1 (en) Stylus, electronic device, operation control method and apparatus, and terminal device
EP3816780B1 (en) Display control method and terminal
KR101672212B1 (en) Mobile terminal and operation method thereof
WO2020147674A1 (en) Unread message prompt method and mobile terminal
US9275541B2 (en) Remote control systems and methods for providing page commands to digital electronic display devices
WO2019228163A1 (en) Speaker control method and mobile terminal
US20140160045A1 (en) Terminal and method for providing user interface using a pen
WO2021233293A1 (en) Note recording method and electronic device
WO2022127802A1 (en) Electronic device, display control method and apparatus
WO2019196929A1 (en) Video data processing method and mobile terminal
WO2019228297A1 (en) Display control method and terminal
WO2021068885A1 (en) Control method and electronic device
WO2021129529A1 (en) Device switching method and related device
WO2020238938A1 (en) Information input method and mobile terminal
WO2020199988A1 (en) Content copying method and terminal
WO2020038143A1 (en) Display interface processing method and mobile terminal
WO2021083122A1 (en) Electronic device and control method for control element
EP3764211A1 (en) Display method and mobile terminal
WO2021175073A1 (en) Electronic device
WO2021115172A1 (en) Display method and electronic device
WO2021004306A1 (en) Operation control method and terminal
WO2015103846A1 (en) Method for controlling mobile phone applications, mobile phone protective cover and mobile phone protective cover suite
CN110647209A (en) Knob subassembly, terminal, automated control system
WO2021147767A1 (en) Icon display method and electronic device
KR20210034668A (en) Text input method and terminal

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

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

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 03.11.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21893931

Country of ref document: EP

Kind code of ref document: A1