Electronic equipment and control method and device
By designing input control components that switchable input modes in portable gaming devices, the trackpad error touch problem is solved, and operation fluency and user experience are improved.
Patent Information
- Application Number
- CN202510125406.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-26
- Publication Date
- 2025-05-23
Smart Images

Figure CN120022580A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to an electronic device, a control method and a device. Background Art
[0002] In the design of portable gaming devices, joysticks and touchpads are often used as two important input devices. However, in actual use, the touchpad input device faces the problem of accidental touches, which affects the user's operation fluency and leads to a poor user experience. Summary of the invention
[0003] The technical solutions provided by this application are as follows:
[0004] A first aspect of the present application provides an electronic device, including:
[0005] Equipment body;
[0006] Input control assembly; the input control assembly comprises: an operating part and an operating body; the operating body is matched and installed with the device body;
[0007] A processor controls the electronic device to switch between a first input mode and a second input mode in response to a trigger event; in the first input mode, the electronic device performs an operation in response to a first input signal, the first input signal being a signal generated by detecting physical movement of the input control component; in the second input mode, the electronic device performs an operation in response to a second input signal, the second input signal being a signal generated by detecting a touch action on the input control component; the touch action is at least used to control the content in the display interface of the electronic device.
[0008] In one possible implementation, the processor is specifically used to detect that the operating part and the operating body switch from a separated state to a connected state, and when the operating part and the operating body are in the connected state, in response to a trigger event, control the electronic device to switch between a first input mode and a second input mode.
[0009] In a possible implementation, the electronic device further includes:
[0010] Target interface;
[0011] a target circuit, for providing a first voltage or a second voltage to the target interface according to a separation state or a connection state between the operating portion and the operating body;
[0012] The processor detects that the operating portion and the operating body switch from a separated state to a connected state, including:
[0013] The processor detects that the target interface switches from the first voltage to the second voltage.
[0014] In a possible implementation, the target interface includes: a first interface of the processor; the target circuit includes: a first power supply, a second power supply, a conducting element connected to the first interface, and a connecting element group on the operating body;
[0015] When the operating portion and the operating body are in a separated state, the connecting elements in the connecting element group are disconnected from each other, so that the first power supply provides the first voltage to the first interface;
[0016] When the operating portion and the operating body are in a connected state, the connecting elements in the connecting element group are connected to each other so that the current from the second power supply flows to the conducting element through the connecting element group;
[0017] The conduction element is switched from an off state to an on state under the action of the current from the second power supply, so as to divide the voltage of the first power supply and the second power supply to provide a second voltage for the target interface.
[0018] In a possible implementation, the target interface includes: a second interface of the processor; the target circuit includes: a second power supply, a connection element group on the operating body and a grounding system of the electronic device; the grounding system is connected to the second interface;
[0019] When the operating portion and the operating body are in a separated state, the connecting elements in the connecting element group are disconnected from each other, so that the first level state of the second interface matches the first voltage of the grounding system of the electronic device;
[0020] When the operating portion and the operating body are in a connected state, the connecting elements in the connecting element group are connected to each other; the connecting elements connected to each other are used to conduct the second power supply and the second interface so that the second level state of the second interface matches the second voltage of the second power supply.
[0021] In a possible implementation, the electronic device further includes:
[0022] A pressure detection component, used to detect the pressure acting on the operating body, obtain a pressure parameter, and transmit the pressure parameter to the processor;
[0023] The step of controlling the electronic device to switch from the first input mode to the second input mode in response to a trigger event includes:
[0024] The pressure parameter is obtained from the pressure detection component, and if the pressure parameter represents that the pressure acting on the operating body meets a set pressure threshold, the electronic device is controlled to switch from the first input mode to the second input mode.
[0025] In a possible implementation, the first interface includes: a data transmission interface, and the second interface includes: a general input and output interface.
[0026] Another aspect of the present application provides a control method, comprising:
[0027] Detecting that the operating portion and the operating body switch from a separated state to a connected state, and configuring the operating portion;
[0028] When the operating part and the operating body are in the connected state, in response to a trigger event, the electronic device is controlled to switch from the first input mode to the second input mode; in the first input mode, the electronic device performs an operation in response to a first input signal, and the first input signal is a signal generated by detecting physical movement of the input control component; in the second input mode, the electronic device performs an operation in response to a second input signal, and the second input signal is a signal generated by detecting a touch action on the input control component; the touch action is at least used to control the content in the display interface of the electronic device.
[0029] In a possible implementation, responding to a trigger event includes:
[0030] It is detected that the pressing pressure acting on the operating body meets the set pressure threshold.
[0031] A third aspect of the present application provides a control device, comprising:
[0032] A configuration module, configured to detect that the operating portion and the operating body are switched from a separated state to a connected state, and configure the operating portion;
[0033] A control module, used for controlling the electronic device to switch from a first input mode to a second input mode in response to a trigger event when the operating portion and the operating body are in the connected state; in the first input mode, the electronic device performs an operation in response to a first input signal, the first input signal being a signal generated by detecting physical movement of the input control component; in the second input mode, the electronic device performs an operation in response to a second input signal, the second input signal being a signal generated by detecting a touch action on the input control component; the touch action is at least used to control the content in the display interface of the electronic device. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.
[0035] Figure 1 A schematic diagram of the structure of an electronic device provided in this application;
[0036] Figure 2 A schematic diagram of the structure of another electronic device that is different in design from the electronic device of Embodiment 1 provided in the present application;
[0037] Figure 3 A circuit diagram of an electronic device provided in this application;
[0038] Figure 4 A schematic diagram of the structure of a target circuit provided for this application;
[0039] Figure 5 A schematic diagram of another target circuit structure provided for this application;
[0040] Figure 6 A schematic diagram of the structure of another target circuit provided by this application;
[0041] Figure 7 A flow chart of a control method provided in this application;
[0042] Figure 8 A schematic diagram of the structure of a control device provided in this application.
[0043] Reference numerals:
[0044] 1-device body; 2-input control component; 3-processor; 4-target interface; 5-target line; 21-operating part; 22-operating body; 41-first interface; 42-second interface; 51-first power supply; 52-second power supply; 53-conductive element; 54-connecting element group; 55-grounding system. DETAILED DESCRIPTION
[0045] The following describes the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. The terms used in the implementation method section of the present application are only used to explain the specific embodiments of the present application, and are not intended to limit the present application.
[0046] The embodiments of the present application are described below in conjunction with the accompanying drawings. Those skilled in the art will appreciate that, with the development of technology and the emergence of new scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0047] The terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and need not be used to describe a specific order or sequential order. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, which is only to describe the distinction mode adopted by the objects of the same attributes when describing in the embodiments of the present application. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, so that the process, method, system, product or equipment comprising a series of units need not be limited to those units, but may include other units that are not clearly listed or inherent to these processes, methods, products or equipment.
[0048] Reference Figure 1-Figure 6 An embodiment of the present application provides an electronic device, which may include: a device body 1, an input control component 2 and a processor 3.
[0049] The device body 1 can be used to carry hardware components such as a processor 3, an input control component 2, a display screen, a storage unit, a battery, and an audio output unit.
[0050] The input control assembly 2 may include: an operating portion 21 and an operating body 22 ; the operating body 22 is mounted to match the device body 1 .
[0051] The operation part 21 can be used as the part that the user directly contacts, and its design can be in accordance with the principle of ergonomics. The surface of the operation part 21 is covered with a touch layer, and the touch layer has a flat touch surface, rather than a spherical or curved surface. The flat touch surface allows the user's finger to contact the touch layer more directly and accurately when performing touch operations, thereby improving the accuracy and stability of focus movement. In addition, it can also reduce the problem of false touches that may be caused by changes in the curvature of the traditional spherical rocker surface.
[0052] The processor 3 controls the electronic device to switch between the first input mode and the second input mode in response to a trigger event.
[0053] In the first input mode, the electronic device performs an operation in response to a first input signal, where the first input signal is a signal generated by detecting physical movement of the input control component 2 .
[0054] When the user rotates or moves the operating portion 21, the sensor corresponding to the input control component 2 (eg, a potentiometer, a Hall sensor, etc.) can detect the corresponding displacement or angle change and convert it into an electrical signal, ie, a first input signal.
[0055] In the second input mode, the electronic device performs an operation in response to a second input signal, where the second input signal is a signal generated by detecting a touch action on the input control component 2 .
[0056] The touch layer may include capacitive sensing software, etc., which can detect changes in capacitance when a finger or other conductive object contacts the operating portion 21, and convert the changes in capacitance into electrical signals, i.e., second input signals. Users can perform operations such as clicking, moving, and pressing on the touch layer.
[0057] The touch action can at least be used to control the content in the display interface of the electronic device.
[0058] Accordingly, the electronic device can control operations such as focus movement, selection, switching, and control of objects of displayed content in the display interface in response to the second input signal.
[0059] In this embodiment, the surface of the operating portion 21 can be covered with a touch layer, so that the input control component 2 supports two input methods, that is, the user can input instructions by physically moving the operating portion 21, or can input instructions by touching the operating portion 21. This design can fundamentally solve the problem of accidental touches that may occur when the space of the device body 1 is limited. For example, if the electronic device can include a portable gaming device, the input control component can include: a joystick, the operating portion 21 can include: a joystick cap, and the operating body 22 can include: a joystick body, and the surface of the joystick cap is covered with a touch layer, so that the joystick supports two input methods. Compared with the design in Figure 2 The manner of providing independent joysticks and touchpads in the portable gaming device shown can fundamentally solve the problem of accidental touches that may occur when the space of the device body of the portable gaming device is limited.
[0060] Furthermore, the processor 3 switches between the first input mode and the second input mode in response to a trigger event, so that the user can select a suitable input mode according to specific needs to operate the input control component 2, thereby improving the user operation experience.
[0061] In some embodiments, the operating unit 21 and the operating body 22 may include a detachable connection structure, which allows the user to remove the operating unit 21 from the operating body 22, so that the operating unit 21 and the operating body 22 are in a separated state. And when necessary, they can be accurately matched and reinstalled, so that the operating unit and the operating body 22 are in a connected state.
[0062] The processor 3 can be specifically used to detect that the operating part 21 and the operating body 22 switch from a separated state to a connected state. When the operating part 21 and the operating body 22 are in the connected state, in response to a trigger event, the electronic device is controlled to switch between a first input mode and a second input mode.
[0063] When the processor 3 detects that the operating unit 21 and the operating body 22 are switched from a separated state to a connected state, the touch layer of the operating unit 21 may be configured. The configuration process may include but is not limited to: loading a driver program related to the touch layer, and after the driver program is loaded, calibrating the touch layer, adjusting the internal parameters of the touch layer, and ensuring accurate mapping of the touch points. Also, setting the touch layer to a normal working state to prepare for receiving user input.
[0064] The processor 3 detects that the operating unit 21 and the operating body 22 are switched from a separated state to a connected state, and configures the touch layer of the operating unit 21, so that after reinstalling the operating unit 21, the user does not need to restart the electronic device to use the touch function, thereby meeting the purpose of replacing the operating unit 21 without changing the user's habits. For example, the user can replace a damaged operating unit 21 or a new operating unit 21 (e.g., a new operating unit 21 that is different in shape from the old operating unit 21 but compatible in function) without interrupting the current game, video or other activities, providing a smoother and more convenient user experience.
[0065] In some embodiments, the electronic device may further include: a target interface 4 .
[0066] The target circuit 5 is used to provide the first voltage or the second voltage to the target interface according to the separation state or the connection state between the operating portion 21 and the operating body 22.
[0067] When the operating portion 21 and the operating body 22 are in a separated state, the target circuit 5 can provide a first voltage for the target interface.
[0068] When the operating portion 21 and the operating body 22 are in a connected state, the target line 5 can provide a second voltage for the target interface.
[0069] The processor 3 detects that the operating portion 21 and the operating body 22 are switched from a separated state to a connected state, which may include:
[0070] The processor 3 detects that the target interface switches from the first voltage to the second voltage.
[0071] In this embodiment, by introducing the target interface and the target line 5, and the processor 3 detecting the voltage of the target interface, intelligent detection of the connection status between the operating part 21 and the operating body 22 and automatic configuration of the touch layer can be achieved, thereby providing users with a smoother and more convenient operating experience.
[0072] In some embodiments, the target interface 4 may include: a first interface 41 of the processor 3 .
[0073] The target circuit 5 may include: a first power source 51 , a second power source 52 , a conducting element 53 connected to the first interface 41 , and a connecting element group 54 on the operating body 22 .
[0074] When the operating portion 21 and the operating body 22 are in a separated state, the connecting elements in the connecting element group 54 are disconnected from each other, so that the first power supply 51 provides the first interface 41 with a first voltage. Figure 4 As shown, when the operating part 21 and the operating body 22 are in a separated state, the connecting element A541 and the connecting element A542 are disconnected from each other, and the connecting element B541 and the connecting element B542 are disconnected from each other, the second power supply 52 and the first interface 41 are in a disconnected state, and the first power supply 51 provides the first voltage to the first interface 41.
[0075] Figure 4 This is only one example, and it is not intended to limit the target line 5. For example, the connection element group 54 may also be only one group, that is, the connection elements A541 and A542 are provided, or the connection elements B541 and B542 are provided.
[0076] When the operating portion 21 is in a connected state with the operating body 22 , the connecting elements in the connecting element group 54 are connected to each other, so that the current from the second power source 52 flows to the conducting element 53 through the connecting element group 54 .
[0077] The conduction element 53 is switched from an off state to an on state under the action of the current from the second power source 52 , so as to divide the voltage of the first power source 51 and the second power source 52 , and provide a second voltage for the target interface.
[0078] For example, Figure 4As shown, when the operating part 21 and the operating body 22 are in a connected state, the connecting element A541 and the connecting element A542 are connected to each other, and the connecting element B541 and the connecting element B542 are connected to each other, and the conducting element 53 is switched from the disconnected state to the conducting state under the action of the current from the second power supply 52, and the second voltage is provided to the first interface 41 through the voltage division of the second power supply 52 on the first interface 41 and the voltage division of the first power supply 51 on the first interface 41.
[0079] In this embodiment, the connection element group 54 on the operating body 22 may include at least two pin pins, and the operating portion 21 may be provided with pin pins corresponding to the at least two pin pins on the operating body 22 .
[0080] When the operating portion 21 and the operating body 22 are in a separated state, the pin pins on the operating portion 21 and the pin pins on the operating body 22 will not contact, and the two pin pins on the operating body 22 will not form an electrical path, so that the second power supply 52 and the first interface 41 are in a disconnected state.
[0081] When the operating part 21 and the operating body 22 are in a connected state, the pin pins on the operating part 21 and the pin pins on the operating body 22 can contact each other, and the two pin pins on the operating body 22 can form an electrical path, so that the second power supply 52 and the first interface 41 are in a conductive state.
[0082] In some embodiments, the first interface 41 may include: a data transmission interface.
[0083] For example, Figure 5 As shown, the data transmission interface may include: a serial clock line interface (expressed as I2C_1_SCL) and a serial data line interface (expressed as I2C_1_SDA).
[0084] When the operating part 21 and the operating body 22 are in a separated state, the connecting elements A541 and A542 on the operating body 22 will not form an electrical path, and the connecting elements B541 and B542 on the operating body 22 will not form an electrical path, so that the second power supply 52 and I2C_1_SCL and I2C_1_SDA are in a disconnected state, and the first power supply 51 provides the first voltage for I2C_1_SCL and I2C_1_SDA.
[0085] When the operating part 21 is in a connected state with the operating body 22, the connecting elements A541 and A542 on the operating body 22 can form an electrical path, and the connecting elements B541 and B542 on the operating body 22 can form an electrical path, so that the second power supply 52 and I2C_1_SCL and I2C_1_SDA are in a conductive state, and the second power supply 52 and the first power supply 51 on I2C_1_SCL and I2C_1_SDA provide a second voltage for I2C_1_SCL and I2C_1_SDA.
[0086] In this embodiment, the operating body 22 may choose to include only the connecting elements A541 and A542, or only the connecting elements B541 and B542, or simultaneously include the connecting elements A541 and A542 and the connecting elements B541 and B542.
[0087] Regardless of whether the operation body 22 only includes the connection elements A541 and A542, or only includes the connection elements B541 and B542, or includes both the connection elements A541 and A542 and the connection elements B541 and B542, the processor 3 can detect the voltage of one of I2C_1_SCL and I2C_1_SDA. If it is detected that one of I2C_1_SCL and I2C_1_SDA switches from the first voltage to the second voltage, it means that the operation portion 21 and the operation body 22 switch from the separated state to the connected state.
[0088] In this embodiment, when the operating portion 21 is mounted on the operating body 22, the connecting elements in the connecting element group 54 are connected to each other and establish an electrical path. This change can trigger the conductive element 53 to change from an off state to an on state. The conduction of the conductive element 53 allows the first power source 51 and the second power source 52 to share voltage on the first interface 41, thereby changing the voltage level of the first interface 41 from the first voltage to the second voltage. This voltage change can be accurately detected by the processor 3, thereby realizing intelligent detection of the connection state between the operating portion 21 and the operating body 22 and automatic configuration of the touch layer, thereby providing users with a smoother and more convenient operating experience.
[0089] In some embodiments, the target interface includes: a second interface 42 of the processor 3; the target circuit 5 includes: a second power supply 52, a connection element group 54 on the operating body 22 and a grounding system 55 of the electronic device; the grounding system 55 is connected to the second interface 42;
[0090] When the operating portion 21 and the operating body 22 are in a separated state, the connecting elements in the connecting element group 54 are disconnected from each other, so that the first level state of the second interface 42 matches the first voltage of the grounding system 55 of the electronic device.
[0091] For example, Figure 6 As shown, when the operating part 21 and the operating body 22 are in a separated state, the connecting element C541 and the connecting element C542 in the connecting element group 54 are disconnected from each other, resulting in a loss of direct electrical connection between the second power supply 52 and the second interface 42. At this time, the second interface 42 is connected to the grounding system 55, and the voltage of the grounding system 55 can be regarded as a reference potential or a zero potential. Therefore, the level state of the second interface 42 can be regarded as a low level state.
[0092] When the operating part 21 and the operating body 22 are in a connected state, the connecting elements in the connecting element group 54 are connected to each other; the connecting elements connected to each other are used to conduct the second power supply 52 and the second interface 42 so that the second level state of the second interface 42 matches the second voltage of the second power supply 52.
[0093] For example, Figure 6 As shown, when the operating part 21 and the operating body 22 are in a connected state, the connecting element C541 and the connecting element C542 in the connecting element group 54 are connected to each other, so that the second power supply 52 and the second interface 42 are connected. At this time, the second interface 42 is no longer only connected to the grounding system 55, but forms an electrical connection with the second power supply 52 and the grounding system 55 at the same time.
[0094] Although the second interface 42 is still connected to the grounding system 55, the level state of the second interface 42 changes significantly due to the intervention of the second power supply 52. Since the second power supply 52 provides a potential higher than the voltage of the grounding system 55, the level state of the second interface 42 is thus raised to a high level state, which matches the voltage value of the second power supply 52.
[0095] In this embodiment, when the operating portion 21 and the operating body 22 are in a separated state, the connecting elements in the connecting element group 54 are disconnected from each other, the second interface 42 is connected to the grounding system 55, and its level state matches the voltage of the grounding system 55 (usually a low level). This level state can be accurately detected by the processor 3 as an indication that the operating portion 21 and the operating body 22 are not installed in a matching manner.
[0096] When the operating portion 21 is connected to the operating body 22, the connecting elements in the connecting element group 54 are connected to each other, and the circuit between the second power supply 52 and the second interface 42 is turned on. At this time, the level state of the second interface 42 is determined by the voltage of the second power supply 52, and usually becomes a high level. By detecting the change in the level state, the processor 3 can recognize that the operating portion 21 and the operating body 22 have been matched and installed, thereby realizing intelligent detection of the connection state of the operating portion 21 and the operating body 22 and automatic configuration of the touch layer, thereby providing users with a smoother and more convenient operation experience.
[0097] In some embodiments, the second interface 42 may include but is not limited to: a general purpose input and output interface (GPIO).
[0098] In some embodiments, the electronic device may further include:
[0099] The pressure detection component is used to detect the pressure acting on the operating body 22, obtain pressure parameters, and transmit the pressure parameters to the processor 3.
[0100] In this embodiment, the pressure detection component can be installed at, but is not limited to, the bottom or side door of the operating body 22 .
[0101] The step of controlling the electronic device to switch between the first input mode and the second input mode in response to the trigger event may include:
[0102] The pressure parameter is obtained from the pressure detection component. If the pressure parameter indicates that the pressure acting on the operating body 22 meets a set pressure threshold, the electronic device is controlled to switch from the first input mode to the second input mode.
[0103] If the pressure parameter represents that the pressure acting on the operating body 22 does not meet the set pressure threshold, the electronic device can be controlled to switch from the second input mode to the first input mode.
[0104] The pressure threshold can be set as needed and is not limited in this application.
[0105] In this embodiment, by introducing a pressure detection component, the electronic device can automatically switch the input mode according to the pressure exerted by the user on the operating body 22. This intelligent switching method can reduce the trouble of manual switching by the user, allowing the user to focus more on activities such as games, thereby improving the user experience.
[0106] In another embodiment of the present application, a control method is provided, referring to Figure 7 The control method may include but is not limited to the following steps:
[0107] Step S101: Detect that the operating unit and the operating body are switched from a separated state to a connected state, and configure the operating unit.
[0108] In this embodiment, configuring the operating unit may include but is not limited to at least one of the following:
[0109] Step S1011 , loading a driver program related to the touch layer covering the surface of the operating portion.
[0110] Step S1012: After the driver is loaded, the touch layer is calibrated to adjust the internal parameters of the touch layer to ensure accurate mapping of the touch points.
[0111] Step S1013: setting the touch layer to a normal working state to prepare for receiving user input.
[0112] Step S102: When the operating portion and the operating body are in the connected state, in response to a trigger event, control the electronic device to switch from the second input mode to the first input mode.
[0113] In the first input mode, the electronic device performs an operation in response to a first input signal, and the first input signal is a signal generated by detecting physical movement of the input control component; in the second input mode, the electronic device performs an operation in response to a second input signal, and the second input signal is a signal generated by detecting a touch action on the input control component; the touch action is at least used to control the content in the display interface of the electronic device.
[0114] In this embodiment, the detailed process of controlling the electronic device to switch from the second input mode to the first input mode in response to the trigger event can be found in the relevant introduction of the aforementioned embodiment, which will not be repeated here.
[0115] The processor detects that the operating unit and the operating body switch from a separated state to a connected state, and configures the touch layer of the operating unit, so that after reinstalling the operating unit, the user does not need to restart the electronic device to use the touch function, thereby meeting the purpose of replacing the operating unit without changing the user's habits. For example, the user can replace a damaged operating unit or a new operating unit (e.g., a new operating unit that is different in shape from the old operating unit but compatible in function) without interrupting the current game, video or other activities, providing a smoother and more convenient user experience.
[0116] In addition, the surface of the operating part can be covered with a touch layer, so that the input control component supports two input methods, that is, the user can input instructions by physically moving the operating part, or can input instructions by touching the operating part. This design can fundamentally solve the problem of accidental touch that may occur when the space of the device body is limited.
[0117] Furthermore, the processor controls the electronic device to switch from the second input mode to the first input mode by responding to a trigger event, so that the user can select a suitable input method according to specific needs and operate the input control component, thereby improving the user operation experience.
[0118] In another embodiment of the present application, an implementation of responding to a trigger event is provided, and responding to the trigger event may include but is not limited to:
[0119] Step S11: Detecting that the pressing pressure applied to the operating body meets a set pressure threshold.
[0120] The pressure threshold can be set as needed and is not limited in this application.
[0121] In this embodiment, the electronic device can automatically switch the input mode according to the pressure applied by the user to the operating body, which can reduce the trouble of manual switching for the user and enable the user to focus more on activities such as games, thereby improving the user experience.
[0122] In another embodiment of the present application, a control device is provided, referring to Figure 8 The control device includes: a configuration module 100 and a control module 200.
[0123] The configuration module 100 is used to detect that the operating portion and the operating body are switched from a separated state to a connected state, and configure the operating portion.
[0124] The control module 200 is used to control the electronic device to switch from the second input mode to the first input mode when the operating part and the operating body are in the connected state; in the first input mode, the electronic device performs an operation in response to a first input signal, and the first input signal is a signal generated by detecting physical movement of the input control component; in the second input mode, the electronic device performs an operation in response to a second input signal, and the second input signal is a signal generated by detecting a touch action on the input control component; the touch action is at least used to control the content in the display interface of the electronic device.
[0125] It should also be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the drawings of the device embodiments provided by the present application, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines.
[0126] Through the description of the above implementation mode, the technicians in the field can clearly understand that the present application can be implemented by means of software plus necessary general hardware, and of course, it can also be implemented by special hardware including special integrated circuits, special CPUs, special memories, special components, etc. In general, all functions completed by computer programs can be easily implemented by corresponding hardware, and the specific hardware structure used to implement the same function can also be various, such as analog circuits, digital circuits or special circuits. However, for the present application, software program implementation is a better implementation mode in more cases. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a readable storage medium, such as a computer floppy disk, a U disk, a mobile hard disk, a ROM, a RAM, a magnetic disk or an optical disk, etc., including a number of instructions to enable a computer device (which can be a personal computer, a training device, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0127] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product.
[0128] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, a computer, a training device, or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, training device, or data center. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a training device, a data center, etc. that includes one or more available media integrations. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)), etc.
Claims
1. An electronic device, comprising: Equipment body; Input control components; The input control assembly includes: an operating part and an operating body; the operating body is matched and installed with the device body; A processor controls the electronic device to switch between a first input mode and a second input mode in response to a trigger event; in the first input mode, the electronic device performs an operation in response to a first input signal, the first input signal being a signal generated by detecting physical movement of the input control component; in the second input mode, the electronic device performs an operation in response to a second input signal, the second input signal being a signal generated by detecting a touch action on the input control component; the touch action is at least used to control the content in the display interface of the electronic device.
2. According to the electronic device according to claim 1, the processor is specifically used to detect that the operating part and the operating body switch from a separated state to a connected state, and when the operating part and the operating body are in the connected state, in response to a trigger event, control the electronic device to switch between a first input mode and a second input mode.
3. The electronic device according to claim 2, further comprising: Target interface; a target circuit, for providing a first voltage or a second voltage to the target interface according to a separation state or a connection state between the operating portion and the operating body; The processor detects that the operating portion and the operating body switch from a separated state to a connected state, including: The processor detects that the target interface switches from the first voltage to the second voltage.
4. The electronic device according to claim 3, wherein the target interface comprises: a first interface of the processor; The target circuit includes: a first power source, a second power source, a conducting element connected to the first interface, and a connecting element group on the operating body; When the operating portion and the operating body are in a separated state, the connecting elements in the connecting element group are disconnected from each other, so that the first power supply provides the first voltage to the first interface; When the operating portion and the operating body are in a connected state, the connecting elements in the connecting element group are connected to each other so that the current from the second power supply flows to the conducting element through the connecting element group; The conduction element is switched from an off state to an on state under the action of the current from the second power supply, so as to divide the voltage of the first power supply and the second power supply to provide a second voltage for the target interface.
5. The electronic device according to claim 3, wherein the target interface comprises: a second interface of the processor; The target circuit includes: a second power source, a connection element group on the operating body and a grounding system of the electronic device; the grounding system is connected to the second interface; When the operating portion and the operating body are in a separated state, the connecting elements in the connecting element group are disconnected from each other, so that the first level state of the second interface matches the first voltage of the grounding system of the electronic device; When the operating portion and the operating body are in a connected state, the connecting elements in the connecting element group are connected to each other; the connecting elements connected to each other are used to conduct the second power supply and the second interface so that the second level state of the second interface matches the second voltage of the second power supply.
6. The electronic device according to claim 1, further comprising: A pressure detection component, used to detect the pressure acting on the operating body, obtain a pressure parameter, and transmit the pressure parameter to the processor; The step of controlling the electronic device to switch between the first input mode and the second input mode in response to a trigger event comprises: The pressure parameter is obtained from the pressure detection component, and if the pressure parameter represents that the pressure acting on the operating body meets a set pressure threshold, the electronic device is controlled to switch from the first input mode to the second input mode.
7. The electronic device according to claim 3, wherein the target interface comprises: The first interface or the second interface; The first interface includes: a data transmission interface, and the second interface includes: a general input and output interface.
8. A control method, comprising: Detecting that the operating portion and the operating body switch from a separated state to a connected state, and configuring the operating portion; When the operating part and the operating body are in the connected state, in response to a trigger event, the electronic device is controlled to switch from the first input mode to the second input mode; in the first input mode, the electronic device performs an operation in response to a first input signal, and the first input signal is a signal generated by detecting physical movement of the input control component; in the second input mode, the electronic device performs an operation in response to a second input signal, and the second input signal is a signal generated by detecting a touch action on the input control component; the touch action is at least used to control the content in the display interface of the electronic device.
9. The control method according to claim 8, wherein the responding to a trigger event comprises: It is detected that the pressing pressure acting on the operating body meets the set pressure threshold.
10. A control device comprising: A configuration module, configured to detect that the operating portion and the operating body are switched from a separated state to a connected state, and configure the operating portion; A control module, used for controlling the electronic device to switch from a first input mode to a second input mode in response to a trigger event when the operating portion and the operating body are in the connected state; in the first input mode, the electronic device performs an operation in response to a first input signal, the first input signal being a signal generated by detecting physical movement of the input control component; in the second input mode, the electronic device performs an operation in response to a second input signal, the second input signal being a signal generated by detecting a touch action on the input control component; the touch action is at least used to control the content in the display interface of the electronic device.