CN105677066B - Control method and electronic equipment - Google Patents

Control method and electronic equipment Download PDF

Info

Publication number
CN105677066B
CN105677066B CN201511021338.6A CN201511021338A CN105677066B CN 105677066 B CN105677066 B CN 105677066B CN 201511021338 A CN201511021338 A CN 201511021338A CN 105677066 B CN105677066 B CN 105677066B
Authority
CN
China
Prior art keywords
parameter
state
electronic device
relative
resistance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201511021338.6A
Other languages
Chinese (zh)
Other versions
CN105677066A (en
Inventor
陈智武
闫文林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201511021338.6A priority Critical patent/CN105677066B/en
Publication of CN105677066A publication Critical patent/CN105677066A/en
Application granted granted Critical
Publication of CN105677066B publication Critical patent/CN105677066B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/0362Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 1D translations or rotations of an operating part of the device, e.g. scroll wheels, sliders, knobs, rollers or belts

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)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a control method, which comprises the following steps: acquiring a first parameter corresponding to the movement of a first part of first electronic equipment relative to a second part; determining a second parameter corresponding to the first parameter; judging whether the second parameter meets a preset condition or not; when the second parameter does not meet the preset condition, generating a switching instruction to control the first electronic equipment to be switched from a first state to a second state; wherein in the first state, there is a first resistance between the first portion and the second portion of the first electronic device; in the second state, a second resistance is provided between the first portion and the second portion of the first electronic device, and the first resistance and the second resistance are different. The embodiment of the invention also provides the electronic equipment.

Description

Control method and electronic equipment
Technical Field
The present invention relates to control technologies, and in particular, to a control method and an electronic device.
Background
At present, in order to facilitate the operation of a user, a fixed key is often arranged in an electronic device, and the fixed key is rotated to control corresponding parameters of the electronic device or other electronic devices connected with the electronic device; however, since the damping corresponding to the conventional fixed key is a fixed value when the fixed key rotates, when the fixed key rotates too fast or rotates to a certain position, even if the desired control of the corresponding parameter cannot be implemented, the electronic device cannot control the rotation, which results in poor user experience and failure to effectively perform the rotation interaction.
Disclosure of Invention
In order to solve the existing technical problem, embodiments of the present invention provide a control method and an electronic device.
The technical scheme of the embodiment of the invention is realized as follows:
the embodiment of the invention provides a control method, which comprises the following steps:
acquiring a first parameter corresponding to the movement of a first part of first electronic equipment relative to a second part;
determining a second parameter corresponding to the first parameter;
judging whether the second parameter meets a preset condition or not;
when the second parameter does not meet the preset condition, generating a switching instruction to control the first electronic equipment to be switched from a first state to a second state;
wherein in the first state, there is a first resistance between the first portion and the second portion of the first electronic device; in the second state, a second resistance is provided between the first portion and the second portion of the first electronic device, and the first resistance and the second resistance are different.
In the foregoing solution, the determining the second parameter corresponding to the first parameter includes: determining a second parameter corresponding to a speed parameter corresponding to the first parameter characterizing that the first portion moves relative to the second portion, and/or a relative position parameter corresponding to the first parameter characterizing that the first portion moves relative to the second portion, and/or a relative amplitude parameter corresponding to the first parameter characterizing that the first portion moves relative to the second portion;
correspondingly, the judging whether the second parameter meets a preset condition includes: and judging whether the second parameter is in a preset speed range, and/or whether the second parameter is in a preset position range, and/or whether the second parameter is in a preset amplitude range.
In the foregoing solution, after acquiring a first parameter corresponding to a movement of a first portion of a first electronic device relative to a second portion, the method includes:
and adjusting a third parameter of the first electronic device or a second electronic device connected with the first electronic device from a first value to a second value according to the first parameter, wherein the difference value of the first value and the second value is matched with the first parameter.
In the foregoing solution, the determining the second parameter corresponding to the first parameter includes: determining a second value corresponding to the third parameter;
correspondingly, the judging whether the second parameter meets a preset condition includes: and judging whether the second value is in a preset value range.
In the above scheme, the method further comprises:
selecting an adjusting mode corresponding to the switching instruction;
correspondingly, the controlling the first electronic device to switch from the first state to the second state includes:
and controlling the first electronic equipment to be switched from a first state to a second state by adopting the selected adjusting mode.
An embodiment of the present invention further provides a first electronic device, including:
a first portion;
a second portion movable relative to the first portion;
the sensor is used for acquiring a first parameter corresponding to the movement of the first part relative to the second part;
the processor is used for determining a second parameter corresponding to the first parameter and judging whether the second parameter meets a preset condition; the switching instruction is also used for generating a switching instruction when the second parameter does not meet the preset condition;
the adjuster is used for controlling the first electronic equipment to be switched from a first state to a second state according to the switching instruction;
wherein in the first state, there is a first resistance between the first portion and the second portion of the first electronic device; in the second state, a second resistance is provided between the first portion and the second portion of the first electronic device, and the first resistance and the second resistance are different.
In the above scheme, the adjuster is specifically a motor; wherein,
the motor is specifically used for controlling a self telescopic component according to the switching instruction so as to control the state of the first electronic equipment through the telescopic length of the telescopic component and enable the first electronic equipment to be switched from a first state to a second state;
wherein in the first state, the telescoping member has a first length; in the second state, the telescoping member has a second length, the first length being different from the second length.
In the above scheme, the elastic sheet is arranged on the telescopic part;
the motor is further used for adjusting the telescopic length of the telescopic component according to the switching instruction, and the contact pressure between the elastic sheet and the first part is controlled by adjusting the telescopic length, so that the first electronic device is switched from the first state to the second state.
In the above solution, the sensor is further configured to acquire a speed parameter corresponding to the first parameter when the first portion moves relative to the second portion, and/or a relative position parameter corresponding to the first parameter when the first portion moves relative to the second portion, and/or a relative amplitude parameter corresponding to the first parameter when the first portion moves relative to the second portion; in a corresponding manner, the first and second electrodes are,
the processor is further configured to determine a second parameter corresponding to a velocity parameter corresponding to the first parameter characterizing that the first portion moves relative to the second portion, and/or a second parameter corresponding to a relative position parameter corresponding to the first parameter characterizing that the first portion moves relative to the second portion, and/or a second parameter corresponding to a relative amplitude parameter corresponding to the first parameter characterizing that the first portion moves relative to the second portion; and the method is also used for judging whether the second parameter is in a preset speed range, and/or whether the second parameter is in a preset position range, and/or whether the second parameter is in a preset amplitude range.
In the above solution, the first electronic device further includes a communicator; wherein,
the communicator is configured to send the first parameter to a second electronic device connected to the first electronic device, so that the second electronic device adjusts a third parameter from a first value to a second value according to the first parameter, where a difference between the first value and the second value matches the first parameter.
According to the control method and the electronic device provided by the embodiment of the invention, the first parameter corresponding to the first parameter is determined by acquiring the first parameter corresponding to the first part of the first electronic device moving relative to the second part, whether the second parameter meets the preset condition is judged, and then, when the second parameter does not meet the preset condition, the switching instruction is generated, and the first electronic device is controlled to be switched from the first state to the second state according to the switching instruction, so that the purpose of adjusting the resistance between the first part and the second part according to the movement of the first part relative to the second part is realized, a foundation is laid for dynamically controlling the movement of the first part relative to the second part, and a foundation is laid for effectively carrying out rotary interaction.
Drawings
FIG. 1 is a first schematic flow chart illustrating an implementation of a control method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a second implementation flow of the control method according to the embodiment of the present invention;
fig. 3 is a first schematic structural diagram of a first electronic device according to an embodiment of the invention;
fig. 4 is a second schematic structural diagram of the first electronic device according to the embodiment of the invention;
FIG. 5 is a schematic diagram of a specific structure of a motor according to an embodiment of the present invention;
fig. 6 is a third schematic structural diagram of the first electronic device according to the embodiment of the invention;
fig. 7 is a fourth schematic structural diagram of the first electronic device according to the embodiment of the invention.
Detailed Description
So that the manner in which the features and aspects of the present invention can be understood in detail, a more particular description of the invention, briefly summarized above, may be had by reference to embodiments, some of which are illustrated in the appended drawings.
Example one
The embodiment of the invention provides a control method; FIG. 1 is a first schematic flow chart illustrating an implementation of a control method according to an embodiment of the present invention; as shown in fig. 1, the method includes:
step 101: acquiring a first parameter corresponding to the movement of a first part of first electronic equipment relative to a second part;
in this embodiment, the control method is applied to a first electronic device, where the first electronic device may specifically be an external device of a personal computer, such as a mouse, a keyboard, and the like; the mobile phone can also be a smart phone and the like; of course, the first electronic device may also be a wearable device, such as a smart watch, a smart bracelet, smart glasses, a smart headset, and other devices having data processing capabilities. In practical applications, when the first electronic device is an external device of a personal computer, the second electronic device may be the personal computer. In addition, the first electronic device may also be specifically a wireless transmitting apparatus, such as a remote controller, a central control device with a device management function, and the like.
In practical application, the first part of the first electronic device is a rotatable part; the second portion is a fixed portion such that the first parameter is acquired by the first electronic device when the first portion is rotated relative to the second portion; here, the first parameter may specifically characterize a speed parameter corresponding to the movement of the first portion relative to the second portion, and/or a relative position parameter corresponding to the movement of the first portion relative to the second portion, and/or a relative amplitude parameter corresponding to the movement of the first portion relative to the second portion.
Step 102: determining a second parameter corresponding to the first parameter;
in this embodiment, when the first electronic device detects that the first portion moves relative to the second portion and acquires a first parameter corresponding to the first portion moving relative to the second portion, the first electronic device determines the second parameter according to the first parameter. Here, the second parameter may be specifically characterized as a parameter corresponding to a speed parameter corresponding to the first parameter characterizing the movement of the first part relative to the second part, and/or a parameter corresponding to a relative position parameter corresponding to the first parameter characterizing the movement of the first part relative to the second part, and/or a parameter corresponding to a relative amplitude parameter corresponding to the first parameter characterizing the movement of the first part relative to the second part.
Correspondingly, the step 102 may specifically be: determining a second parameter corresponding to a speed parameter corresponding to the first parameter characterizing movement of the first portion relative to the second portion, and/or a relative position parameter corresponding to the first parameter characterizing movement of the first portion relative to the second portion, and/or a relative amplitude parameter corresponding to the first parameter characterizing movement of the first portion relative to the second portion.
In practical applications, the determining process in step 102 may be preset according to a user operation, for example, according to the user operation, selecting a second parameter that is matched with the user operation and corresponds to the first parameter; specifically, the user sets the first parameter, sets the first parameter as a speed parameter corresponding to the movement of the first portion relative to the second portion, and further sets the second parameter as a parameter corresponding to the speed parameter, so that whether to switch the state of the first electronic device is determined by the parameter corresponding to the speed parameter, that is, the second parameter. Alternatively, the determination process of step 102 is that the first electronic device is preset before the first electronic device leaves the factory.
Step 103: judging whether the second parameter meets a preset condition or not;
in this embodiment, when the second parameter is specifically characterized as a parameter corresponding to a speed parameter, and/or a relative position parameter, and/or a relative amplitude parameter when the first part, which is characterized by the first parameter, moves relative to the second part, in this case, step 103 may specifically be:
and judging whether the second parameter is in a preset speed range, and/or whether the second parameter is in a preset position range, and/or whether the second parameter is in a preset amplitude range.
In a specific embodiment, when the first parameter has a speed parameter corresponding to when the first portion moves relative to the second portion, and/or a relative position parameter corresponding to when the first portion moves relative to the second portion, and/or a relative amplitude parameter corresponding to when the first portion moves relative to the second portion, the second parameter corresponding to the first parameter may be further specifically characterized as: a speed parameter corresponding to the first portion moving relative to the second portion, and/or a relative position parameter corresponding to the first portion moving relative to the second portion, and/or a relative amplitude parameter corresponding to the first portion moving relative to the second portion, and further, whether the second parameter satisfies a preset condition is determined, specifically: judging whether the speed parameter corresponding to the first part moving relative to the second part is in a preset speed range, and/or judging whether the relative position parameter corresponding to the first part moving relative to the second part is in a preset position range, and/or judging whether the relative amplitude parameter corresponding to the first part moving relative to the second part is in a preset amplitude range, and thus, determining whether the state of the first electronic device needs to be adjusted according to the judgment result corresponding to the judgment, and further laying a foundation for dynamically controlling the movement of the first part relative to the second part.
Step 104: when the second parameter does not meet the preset condition, generating a switching instruction to control the first electronic equipment to be switched from a first state to a second state;
wherein in the first state, there is a first resistance between the first portion and the second portion of the first electronic device; in the second state, a second resistance is provided between the first portion and the second portion of the first electronic device, and the first resistance and the second resistance are different.
In a particular embodiment, the first state may be characterized in particular as an original resistance force, i.e. a first resistance force, between the first portion and the second portion when no additional resistance force is applied; in this case, the second state may be specifically characterized as a second resistance between the first portion and the second portion when an additional resistance is applied, and at this time, since the first resistance is an original resistance, that is, a minimum resistance, the second resistance is necessarily greater than the first resistance, that is, when the first electronic device determines that the second parameter does not satisfy the preset condition, the first electronic device may adjust the state of the first electronic device by additionally increasing the resistance, so that the first electronic device is adjusted from a first state with the minimum resistance to a second state with a larger resistance, and thus, the movement of the first portion relative to the second portion is limited.
In another particular embodiment, the first state may also be characterized specifically as a first resistance force between the first portion and the second portion when additional resistance force is applied; in this case, the second state can be characterized as a second resistance between the first portion and the second portion when additional resistance is applied, and in this case, the second resistance can be greater than the first resistance or less than the first resistance; further, the second state may also be characterized by a resistance between the first portion and the second portion when no additional resistance is applied, i.e. an original resistance, and the second resistance is necessarily smaller than the first resistance, i.e. the first electronic device may adjust the state of the first electronic device by either additionally increasing the resistance or decreasing the resistance, and thus adjust the movement of the first portion relative to the second portion by adjusting the resistance between the first portion and the second portion.
Here, taking as an example that the second parameter specifically represents a speed parameter corresponding to the movement of the first portion relative to the second portion, at this time, the preset speed range is a range between a first speed threshold and a second speed threshold; when the speed value of the speed parameter corresponding to the movement of the first portion relative to the second portion is greater than the second speed threshold, that is, the movement speed of the first portion relative to the second portion is too fast, the first electronic device switches from the first state to the second state, where a first resistance corresponding to the first state is smaller than a second resistance corresponding to the second state; thus, the purpose of increasing the resistance between the first part and the second part is achieved, and the movement speed of the first part relative to the second part is further controlled to be decelerated; therefore, hardware damage of the first part and/or the second part caused by the fact that the first part moves too fast relative to the second part can be effectively avoided, and a foundation is laid for prolonging the service life of the first electronic device.
Similarly, when the second parameter specifically represents a relative position parameter corresponding to the movement of the first portion relative to the second portion, at this time, the preset position range is a range from a first threshold value to a second threshold value; wherein the first threshold is less than the second threshold; here, the first threshold and the second threshold may be specifically angle values corresponding to a first fixed position of the first portion and a second fixed position of the second portion; that is, the angle value represented by the corresponding relative position parameter when the first portion moves relative to the second portion needs to be controlled between the first threshold and the second threshold; further, when the angle value between the first portion and the second portion exceeds a second threshold value or is smaller than the first threshold value, the first electronic device switches from a first state to a second state, wherein a first resistance corresponding to the first state is smaller than a second resistance corresponding to the second state; in this way, the purpose of increasing the resistance between the first part and the second part is achieved, and the relative movement of the first part relative to the second part is further controlled; therefore, hardware damage to the first part and/or the second part caused by an overlarge angle corresponding to the first fixing position of the first part and the second fixing position of the second part can be effectively avoided, and a foundation is laid for prolonging the service life of the first electronic device.
Similarly, the second parameter specifically represents a relative amplitude parameter corresponding to the movement of the first portion relative to the second portion, and at this time, the preset amplitude range is a range from a third threshold to a fourth threshold; wherein the third threshold is less than the fourth threshold; here, the third threshold and the fourth threshold may also be specifically angle values corresponding to a first fixed position of the first portion and a second fixed position of the second portion; at this time, the process of controlling the state of the first electronic device through the relative amplitude parameter corresponding to the movement of the first portion relative to the second portion is similar to the process of controlling the state of the first electronic device through the relative position parameter corresponding to the movement of the first portion relative to the second portion, and is not repeated here.
In practical application, when cables for mutual signal transmission are arranged inside the first part and the second part, the cables may be twisted and even cut due to the same-direction wireless rotation of the first part relative to the second part, and the risk of damage is reduced; therefore, at this time, the state of the first electronic device may be controlled by determining a relative position parameter or a relative amplitude parameter corresponding to the movement of the first portion with respect to the second portion, for example, by determining an angle value corresponding to a first fixed position of the first portion and a second fixed position of the second portion, so as to avoid the above problem; for example, when it is determined that an angle value corresponding to a first fixed position of the first portion and a second fixed position of the second portion is too large, the first electronic device is controlled to switch from a first state to a second state, where a first resistance corresponding to the first state is smaller than a second resistance corresponding to the second state; in this manner, the resistance between the first portion and the second portion is increased, limiting movement of the first portion relative to the second portion.
In practical application, in order to further improve user experience, when the first electronic device determines that the state of the first electronic device needs to be adjusted, prompt information can be generated, so that a user can adjust user operation according to the prompt information; for example, when a mechanical structure supports wireless rotation of the first portion with respect to the second portion, and the first electronic device detects that the movement speed is too fast or too slow, or a parameter value of a relative position parameter of the first portion with respect to the second portion is not within a preset position range, or a parameter value of a relative amplitude parameter of the first portion with respect to the second portion is not within a preset amplitude range, the first electronic device generates a prompt message while adjusting the state of the first electronic device, so that a user can know a reason for a state change, and further assist in adjusting the movement of the first portion with respect to the second portion.
Therefore, when the mechanical structure supports the wireless rotation of the first part relative to the second part, the embodiment of the invention can adjust the state of the first part according to the movement condition of the first part relative to the second part, and further control the movement of the first part relative to the second part, so as to effectively avoid the hardware damage of the first part and/or the second part caused by the non-standard relative movement of the first part relative to the second part, and further lay a foundation for prolonging the service life of the first electronic device; further, when the mechanical structure does not support the wireless rotation of the first portion relative to the second portion, the embodiment of the present invention can adjust the state of the first portion according to the movement of the first portion relative to the second portion, thereby effectively avoiding the hardware damage of the first portion and/or the second portion caused by the irregular relative movement of the first portion relative to the second portion, and laying a foundation for prolonging the service life of the first electronic device.
Further, when the mechanical structure supports the wireless rotation of the first portion relative to the second portion, since the embodiment of the present invention directly adjusts the resistance between the first portion and the second portion according to the movement of the first portion relative to the second portion, and then indirectly adjusts the relative movement of the first portion relative to the second portion through the adjustment of the resistance, the resistance adjustment process of the embodiment of the present invention is different from the existing case of directly limiting the relative movement of the first portion relative to the second portion to stop the movement, thereby improving the user experience. In addition, after the relative movement of the first part relative to the second part is directly limited to stop the movement, if the user continues to apply an external force to move the first part relative to the second part, the hardware structure is easily damaged, so that the method provided by the embodiment of the invention can avoid the situation, and the service life of the first electronic device is effectively prolonged.
According to the control method, the first parameter corresponding to the first parameter is determined by collecting the first parameter corresponding to the first part of the first electronic device moving relative to the second part, whether the second parameter meets the preset condition is judged, then, when the second parameter does not meet the preset condition, the switching instruction is generated, and the first electronic device is controlled to be switched from the first state to the second state according to the switching instruction, so that the purpose of adjusting the resistance between the first part and the second part according to the movement of the first part relative to the second part is achieved, a foundation is laid for dynamically controlling the movement of the first part relative to the second part, and meanwhile, a foundation is laid for effectively carrying out rotation interaction.
In addition, the embodiment of the invention can adjust the resistance between the first part and the second part according to the movement of the first part relative to the second part, so that the embodiment of the invention can enrich the user experience and simultaneously enable the user to have good experience.
Example two
FIG. 2 is a schematic diagram of a second implementation flow of the control method according to the embodiment of the present invention; as shown in fig. 2, the method includes:
step 201: acquiring a first parameter corresponding to the movement of a first part of first electronic equipment relative to a second part;
in this embodiment, the control method is applied to a first electronic device, where the first electronic device may specifically be an external device of a personal computer, such as a mouse, a keyboard, and the like; the mobile phone can also be a smart phone and the like; of course, the first electronic device may also be a wearable device, such as a smart watch, a smart bracelet, smart glasses, a smart headset, and other devices having data processing capabilities. In practical applications, when the first electronic device is an external device of a personal computer, the second electronic device may be the personal computer. In addition, the first electronic device may also be specifically a wireless transmitting apparatus, such as a remote controller, a central control device with a device management function, and the like.
In practical application, the first part of the first electronic device is a rotatable part; the second portion is a fixed portion such that the first parameter is acquired by the first electronic device when the first portion is rotated relative to the second portion; here, the first parameter may specifically characterize a speed parameter corresponding to the movement of the first portion relative to the second portion, and/or a relative position parameter corresponding to the movement of the first portion relative to the second portion, and/or a relative amplitude parameter corresponding to the movement of the first portion relative to the second portion.
Step 202: adjusting a third parameter of the first electronic device or a second electronic device connected with the first electronic device from a first value to a second value according to the first parameter, wherein the difference between the first value and the second value is matched with the first parameter;
here, the third parameter may specifically represent a parameter corresponding to movement of display content in a display interface of the electronic device, for example, when an image is browsed or a text file is browsed, the electronic device displays a large number of images or texts in a thumbnail list form, and at this time, the third parameter is a parameter for controlling movement of the thumbnail list; or the third parameter specifically represents a parameter corresponding to the switching of the application program of the control electronic device; that is to say, the first electronic device can adjust its own display interface or switch its own application program according to the corresponding first parameter when the first part moves relative to the second part; or adjusting a display interface of a second electronic device connected with the first electronic device, or switching an application program corresponding to the second electronic device.
In this embodiment, when the first electronic device adjusts the third parameter of the first electronic device or the second electronic device connected to the first electronic device from a first value to a second value according to the first parameter, the second value is used as a determination criterion, that is, in embodiment step 102, it is specifically determined that the second value corresponds to the third parameter, and in further embodiment step 103, it is specifically determined whether the second value is within a preset value range.
Step 203: determining a second value corresponding to the third parameter;
step 204: judging whether the second value is within a preset value range or not;
step 205: when the second value is not in a preset numerical range, generating a switching instruction to control the first electronic equipment to be switched from a first state to a second state;
wherein in the first state, there is a first resistance between the first portion and the second portion of the first electronic device; in the second state, a second resistance is provided between the first portion and the second portion of the first electronic device, and the first resistance and the second resistance are different.
In a particular embodiment, the first state may be characterized in particular as an original resistance force, i.e. a first resistance force, between the first portion and the second portion when no additional resistance force is applied; in this case, the second state may be specifically characterized as a second resistance between the first portion and the second portion when an additional resistance is applied, and at this time, since the first resistance is an original resistance, that is, a minimum resistance, the second resistance is necessarily greater than the first resistance, that is, when the first electronic device determines that the second value is not within the preset value range, the first electronic device may adjust the state of the first electronic device by additionally increasing the resistance, so that the first electronic device adjusts from the first state with the minimum resistance to the second state with the greater resistance, and thus, the movement of the first portion relative to the second portion is limited.
In another particular embodiment, the first state may also be characterized specifically as a first resistance force between the first portion and the second portion when additional resistance force is applied; in this case, the second state can be characterized as a second resistance between the first portion and the second portion when additional resistance is applied, and in this case, the second resistance can be greater than the first resistance or less than the first resistance; further, the second state may also be characterized by a resistance between the first portion and the second portion when no additional resistance is applied, i.e. an original resistance, and the second resistance is necessarily smaller than the first resistance, i.e. the first electronic device may adjust the state of the first electronic device by either additionally increasing the resistance or decreasing the resistance, and thus adjust the movement of the first portion relative to the second portion by adjusting the resistance between the first portion and the second portion.
According to the control method, the first parameter corresponding to the first parameter is determined by collecting the first parameter corresponding to the first part of the first electronic device moving relative to the second part, whether the second parameter meets the preset condition is judged, then, when the second parameter does not meet the preset condition, the switching instruction is generated, and the first electronic device is controlled to be switched from the first state to the second state according to the switching instruction, so that the purpose of adjusting the resistance between the first part and the second part according to the movement of the first part relative to the second part is achieved, a foundation is laid for dynamically controlling the movement of the first part relative to the second part, and meanwhile, a foundation is laid for effectively carrying out rotation interaction.
In addition, the embodiment of the invention can adjust the resistance between the first part and the second part according to the movement of the first part relative to the second part, so that the embodiment of the invention can enrich the user experience and simultaneously enable the user to have good experience.
EXAMPLE III
Based on the control method described in the first embodiment or the second embodiment, in this embodiment, the first electronic device can further select an adjustment manner corresponding to the switching instruction according to the switching instruction; and then the selected adjusting mode is adopted to control the first electronic equipment to be switched from the first state to the second state.
Here, the adjustment may be characterized in particular by gradually adjusting the resistance between the first and second portions, or by immediately adjusting the resistance between the first and second portions to a preset threshold value, so that the movement of the first portion relative to the second portion is rapidly reduced to zero. For example, when a first electronic device controls a third parameter of the first electronic device through a movement of a first portion relative to a second portion, and the third parameter represents a parameter for controlling a movement of a thumbnail list, at this time, the electronic device determines that a second value adjusted by the third parameter is not within a preset numerical range, that is, the thumbnail list displayed in a display interface of the first electronic device moves to the topmost end or the bottommost end, the first electronic device generates a switching instruction, selects an adjustment mode according to the generated switching instruction, and adjusts a resistance between the first portion and the second portion to a maximum value, that is, a preset threshold value, according to the adjustment mode, so that the movement of the first portion relative to the second portion is rapidly reduced to zero.
Here, since the embodiment of the present invention can select an adjustment manner, that is, can select to gradually adjust the resistance between the first portion and the second portion, or directly increase the resistance between the first portion and the second portion to a maximum value, that is, the embodiment of the present invention can gradually adjust the resistance between the first portion and the second portion in a multi-stage manner, and can also directly increase the resistance between the first portion and the second portion to a maximum value in a two-stage manner, the embodiment of the present invention can provide a selection space for a user, further improve user experience, and enrich user experience.
Further, when the first electronic device selects an adjusting mode for gradually adjusting the resistance between the first part and the second part, the user can perceive the gradually changing situation of the movement through the movement situation of the first part relative to the second part, and thus, a foundation is laid for the user to be capable of instantly adjusting the self-operation. Meanwhile, the problem of hardware structure damage caused by misoperation of a user can be further avoided.
The first to third embodiments of the present invention are further described in detail below with reference to specific application scenarios:
the application scene one:
the first electronic device detects that a first part of the first electronic device runs relative to a second part, collects speed parameters of the first part running relative to the second part, and determines the collected speed parameters of the first part running relative to the second part as second parameters; at this time, the first electronic device judges whether a speed parameter of the first part in operation relative to the second part is within a preset speed range, and generates a switching instruction when a judgment result represents that a parameter value corresponding to the speed parameter is greater than a maximum value within the preset speed range; the first electronic device increases the resistance between the first part and the second part according to the switching instruction, thus slowing down the speed of the first part when moving relative to the second part, even to zero.
Application scenario two:
when the first electronic equipment detects that a first part of the first electronic equipment moves relative to a second part, acquiring a speed parameter of the first part moving relative to the second part, and adjusting a parameter value of a third parameter of the first electronic equipment or second electronic equipment connected with the first electronic equipment according to a parameter value corresponding to the speed parameter to adjust the parameter value of the third parameter from a first value to a second value; and judging whether the adjusted second value corresponding to the third parameter is in a preset value range, for example, the third parameter represents a parameter for controlling the movement of the thumbnail list, and when the judgment result represents that the second value corresponding to the third parameter is not in the preset value range, that is, the thumbnail list moves to the top end, the first electronic device generates a switching instruction to increase the resistance between the first part and the second part, so that the speed of the first part moving relative to the second part is reduced to zero.
Example four
Fig. 3 is a first schematic structural diagram of a first electronic device according to an embodiment of the invention; as shown in fig. 3, the first electronic device includes:
a first portion 31;
a second portion 32 movable with respect to said first portion 31;
a sensor 33 for acquiring a first parameter corresponding to the movement of the first portion 31 relative to the second portion 32;
a processor (not shown in fig. 3) configured to determine a second parameter corresponding to the first parameter, and determine whether the second parameter satisfies a preset condition; the switching instruction is also used for generating a switching instruction when the second parameter does not meet the preset condition;
an adjuster 34 for controlling the first electronic device to switch from a first state to a second state according to the switching instruction;
wherein in the first state, there is a first resistance between the first portion and the second portion of the first electronic device; in the second state, a second resistance is provided between the first portion and the second portion of the first electronic device, and the first resistance and the second resistance are different.
In this embodiment, the sensor 33 is further configured to acquire a speed parameter corresponding to the first parameter when the first portion moves relative to the second portion, and/or a relative position parameter corresponding to the first parameter when the first portion moves relative to the second portion, and/or a relative amplitude parameter corresponding to the first parameter when the first portion moves relative to the second portion; in a corresponding manner, the first and second electrodes are,
the processor is further configured to determine a second parameter corresponding to a velocity parameter corresponding to the first parameter characterizing that the first portion moves relative to the second portion, and/or a second parameter corresponding to a relative position parameter corresponding to the first parameter characterizing that the first portion moves relative to the second portion, and/or a second parameter corresponding to a relative amplitude parameter corresponding to the first parameter characterizing that the first portion moves relative to the second portion; and the method is also used for judging whether the second parameter is in a preset speed range, and/or whether the second parameter is in a preset position range, and/or whether the second parameter is in a preset amplitude range.
In a specific embodiment, the processor is further configured to select an adjustment mode corresponding to the switching instruction; correspondingly, the adjuster 34 is further configured to control the first electronic device to switch from the first state to the second state by using the selected adjustment manner.
It should be noted that the schematic diagram of the first electronic device shown in fig. 3 is only used for explaining the embodiment of the present invention, and is not used for limiting the embodiment of the present invention. For example, the first portion may be embodied as a physical key disposed on the first electronic device, and the physical key is capable of rotating relative to a second portion, i.e., a body portion, of the first electronic device, and at this time, the adjuster may be disposed corresponding to the physical key, so that the rotation resistance of the physical key is controlled by the adjuster.
Those skilled in the art should understand that the functions of each processing unit in the first electronic device according to the embodiment of the present invention can be understood by referring to the description of the foregoing control method, and are not described herein again.
EXAMPLE five
Based on the first electronic device according to the first embodiment, in this embodiment, the adjuster may specifically increase the friction between the first portion and the second portion to achieve the purpose of adjusting the state of the first electronic device; in particular, the resistance between the first and second parts may be increased by increasing the friction in the connection area of the first and second parts, e.g. by adjusting the friction in the contact area with a controllably deformable material; the controllable deformable material can be specifically a material capable of expanding with heat and contracting with cold, a memory alloy and the like; alternatively, the movement of the first part relative to the second part is limited by a movable member, for example, by varying the contact pressure exerted by the movable member on the first part, varying the resistance to movement of the first part and thereby indirectly adjusting the resistance between the first and second parts.
EXAMPLE six
Fig. 4 is a second schematic structural diagram of the first electronic device according to the embodiment of the invention; the adjuster 34 is embodied as an electric motor 35; as shown in fig. 4, the first electronic device includes:
a first portion 31;
a second portion 32 movable with respect to said first portion 31;
a sensor 33 for acquiring a first parameter corresponding to the movement of the first portion 31 relative to the second portion 32;
a processor (not shown in fig. 3) configured to determine a second parameter corresponding to the first parameter, and determine whether the second parameter satisfies a preset condition; the switching instruction is also used for generating a switching instruction when the second parameter does not meet the preset condition;
the motor 35 is specifically configured to control the telescopic member 36 thereof according to the switching instruction, so as to control the state of the first electronic device according to the telescopic length of the telescopic member 36, and switch the first electronic device from a first state to a second state;
wherein in the first state, a first resistance is present between the first portion and the second portion of the first electronic device, and the retractable member has a first length; in the second state, a second resistance force is provided between the first part and the second part of the first electronic device, and the telescopic component has a second length; the first and second resistances are different, and the first length is different than the second length.
In this embodiment, the sensor 33 is further configured to acquire a speed parameter corresponding to the first parameter when the first portion moves relative to the second portion, and/or a relative position parameter corresponding to the first parameter when the first portion moves relative to the second portion, and/or a relative amplitude parameter corresponding to the first parameter when the first portion moves relative to the second portion; in a corresponding manner, the first and second electrodes are,
the processor is further configured to determine a second parameter corresponding to a velocity parameter corresponding to the first parameter characterizing that the first portion moves relative to the second portion, and/or a second parameter corresponding to a relative position parameter corresponding to the first parameter characterizing that the first portion moves relative to the second portion, and/or a second parameter corresponding to a relative amplitude parameter corresponding to the first parameter characterizing that the first portion moves relative to the second portion; and the method is also used for judging whether the second parameter is in a preset speed range, and/or whether the second parameter is in a preset position range, and/or whether the second parameter is in a preset amplitude range.
In practical application, the processor is further configured to select an adjustment mode corresponding to the switching instruction; correspondingly, the motor 35 is further configured to control the first electronic device to switch from the first state to the second state by using the selected adjustment manner.
In a specific embodiment, as shown in fig. 4, when the first portion 31 rotates relative to the arrow shown in fig. 4, that is, when the first portion rotates to cut the plane of fig. 4, the motor 35 can control the contact pressure between the telescopic member 36 and the supporting rod by controlling the telescopic length of the telescopic member 36, and further control the contact pressure between the supporting rod and the first portion 31, so as to achieve the purpose of controlling the resistance between the first portion and the second portion.
Those skilled in the art should understand that the functions of each processing unit in the first electronic device according to the embodiment of the present invention can be understood by referring to the description of the foregoing control method, and are not described herein again.
EXAMPLE seven
Based on the first electronic device according to the sixth embodiment, as shown in fig. 5, an elastic sheet 37 may be disposed on the telescopic member 36, and the movement of the first portion relative to the second portion is controlled by the elastic sheet 37; at this time, the motor is specifically configured to adjust the telescopic length of the telescopic member 36 according to the switching instruction, and control the contact pressure between the elastic piece 37 and the first portion by adjusting the telescopic length, so that the first electronic device is switched from the first state to the second state.
In a specific embodiment, as shown in fig. 6, when the first part moves relative to the second part in the direction of the arrow shown in fig. 6, the motor 35 can control the contact pressure between the elastic piece 37 and the supporting rod by controlling its own telescopic member 36, and further control the contact pressure between the supporting rod and the first part 31, so as to achieve the purpose of controlling the resistance between the first part and the second part.
In another embodiment, as shown in fig. 7, when the first part moves relative to the second part 32 in the direction of the arrow shown in fig. 7, the motor 35 can directly control the contact pressure between the elastic piece 37 and the first part 31 by controlling its own telescopic member 36, so as to achieve the purpose of controlling the resistance between the first part and the second part.
Those skilled in the art should understand that the functions of each processing unit in the first electronic device according to the embodiment of the present invention can be understood by referring to the description of the foregoing control method, and are not described herein again.
Example eight
The first electronic device according to any one of embodiments four to seven, in this embodiment, the first electronic device further includes a communicator; wherein,
the communicator is configured to send the first parameter to a second electronic device connected to the first electronic device, so that the second electronic device adjusts a third parameter from a first value to a second value according to the first parameter, where a difference between the first value and the second value matches the first parameter.
Correspondingly, the processor is further configured to determine a second value corresponding to the third parameter, and further determine whether the second parameter satisfies a preset condition includes: and judging whether the second value is in a preset value range.
Those skilled in the art should understand that the functions of each processing unit in the first electronic device according to the embodiment of the present invention can be understood by referring to the description of the foregoing control method, and are not described herein again.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (9)

1. A method of controlling, the method comprising:
acquiring a first parameter corresponding to the movement of a first part of first electronic equipment relative to a second part;
determining a second parameter corresponding to the first parameter;
judging whether the second parameter meets a preset condition or not;
when the second parameter does not meet the preset condition, generating a switching instruction to control the first electronic equipment to be switched from a first state to a second state;
wherein in the first state, there is a first resistance between the first portion and the second portion of the first electronic device; in the second state, a second resistance is provided between the first part and the second part of the first electronic device, and the first resistance and the second resistance are different;
wherein the controlling the first electronic device to switch from a first state to a second state comprises: controlling a telescopic component of a motor of the first electronic equipment according to the switching instruction so as to control the state of the first electronic equipment according to the telescopic length of the telescopic component, and switching the first electronic equipment from a first state to a second state;
wherein in the first state, the telescoping member has a first length; in the second state, the telescoping member has a second length, the first length being different from the second length.
2. The method of claim 1,
the determining a second parameter corresponding to the first parameter comprises: determining a second parameter corresponding to a speed parameter corresponding to the first parameter characterizing that the first portion moves relative to the second portion, and/or a relative position parameter corresponding to the first parameter characterizing that the first portion moves relative to the second portion, and/or a relative amplitude parameter corresponding to the first parameter characterizing that the first portion moves relative to the second portion;
correspondingly, the judging whether the second parameter meets a preset condition includes: and judging whether the second parameter is in a preset speed range, and/or whether the second parameter is in a preset position range, and/or whether the second parameter is in a preset amplitude range.
3. The method of claim 1 or 2, wherein after acquiring the first parameter corresponding to the movement of the first portion of the first electronic device relative to the second portion, the method comprises:
and adjusting a third parameter of the first electronic device or a second electronic device connected with the first electronic device from a first value to a second value according to the first parameter, wherein the difference value of the first value and the second value is matched with the first parameter.
4. The method of claim 3,
the determining a second parameter corresponding to the first parameter comprises: determining a second value corresponding to the third parameter;
correspondingly, the judging whether the second parameter meets a preset condition includes: and judging whether the second value is in a preset value range.
5. The method of claim 1, further comprising:
selecting an adjusting mode corresponding to the switching instruction;
correspondingly, the controlling the first electronic device to switch from the first state to the second state includes:
and controlling the first electronic equipment to be switched from a first state to a second state by adopting the selected adjusting mode.
6. A first electronic device, comprising:
a first portion;
a second portion movable relative to the first portion;
the sensor is used for acquiring a first parameter corresponding to the movement of the first part relative to the second part;
the processor is used for determining a second parameter corresponding to the first parameter and judging whether the second parameter meets a preset condition; the switching instruction is also used for generating a switching instruction when the second parameter does not meet the preset condition;
the adjuster is used for controlling the first electronic equipment to be switched from a first state to a second state according to the switching instruction;
wherein in the first state, there is a first resistance between the first portion and the second portion of the first electronic device; in the second state, a second resistance is provided between the first part and the second part of the first electronic device, and the first resistance and the second resistance are different;
wherein the adjuster is specifically an electric motor; wherein,
the motor is specifically used for controlling a self telescopic component according to the switching instruction so as to control the state of the first electronic equipment through the telescopic length of the telescopic component and enable the first electronic equipment to be switched from a first state to a second state;
wherein in the first state, the telescoping member has a first length; in the second state, the telescoping member has a second length, the first length being different from the second length.
7. The first electronic device of claim 6, wherein the retractable member is provided with a spring;
the motor is further used for adjusting the telescopic length of the telescopic component according to the switching instruction, and the contact pressure between the elastic sheet and the first part is controlled by adjusting the telescopic length, so that the first electronic device is switched from the first state to the second state.
8. The first electronic device of claim 6 or 7,
the sensor is further used for acquiring a speed parameter corresponding to the first parameter when the first part is moving relative to the second part, and/or a relative position parameter corresponding to the first parameter when the first part is moving relative to the second part, and/or a relative amplitude parameter corresponding to the first parameter when the first part is moving relative to the second part; in a corresponding manner, the first and second electrodes are,
the processor is further configured to determine a second parameter corresponding to a velocity parameter corresponding to the first parameter characterizing that the first portion moves relative to the second portion, and/or a second parameter corresponding to a relative position parameter corresponding to the first parameter characterizing that the first portion moves relative to the second portion, and/or a second parameter corresponding to a relative amplitude parameter corresponding to the first parameter characterizing that the first portion moves relative to the second portion; and the method is also used for judging whether the second parameter is in a preset speed range, and/or whether the second parameter is in a preset position range, and/or whether the second parameter is in a preset amplitude range.
9. The first electronic device of claim 6 or 7, wherein the first electronic device further comprises a communicator; wherein,
the communicator is configured to send the first parameter to a second electronic device connected to the first electronic device, so that the second electronic device adjusts a third parameter from a first value to a second value according to the first parameter, where a difference between the first value and the second value matches the first parameter.
CN201511021338.6A 2015-12-30 2015-12-30 Control method and electronic equipment Active CN105677066B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511021338.6A CN105677066B (en) 2015-12-30 2015-12-30 Control method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511021338.6A CN105677066B (en) 2015-12-30 2015-12-30 Control method and electronic equipment

Publications (2)

Publication Number Publication Date
CN105677066A CN105677066A (en) 2016-06-15
CN105677066B true CN105677066B (en) 2020-04-24

Family

ID=56298117

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511021338.6A Active CN105677066B (en) 2015-12-30 2015-12-30 Control method and electronic equipment

Country Status (1)

Country Link
CN (1) CN105677066B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1841273A (en) * 2005-03-31 2006-10-04 王宇 Rotary instruction inputting device and use method thereof
CN1950786A (en) * 2001-12-21 2007-04-18 索尼爱立信移动通讯股份有限公司 Contactless sensing input device
CN101887305A (en) * 2009-05-11 2010-11-17 船井电机株式会社 Feeling applicator and electronic equipment
CN102479047A (en) * 2010-11-22 2012-05-30 现代自动车株式会社 Method for differentiating haptic feelings by a select menu of a rotary switch

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7671851B1 (en) * 2001-02-22 2010-03-02 Pryor Timothy R Reconfigurable tactile controls and displays
JP6112015B2 (en) * 2012-11-02 2017-04-12 日本精工株式会社 Tilt-type steering device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1950786A (en) * 2001-12-21 2007-04-18 索尼爱立信移动通讯股份有限公司 Contactless sensing input device
CN1841273A (en) * 2005-03-31 2006-10-04 王宇 Rotary instruction inputting device and use method thereof
CN101887305A (en) * 2009-05-11 2010-11-17 船井电机株式会社 Feeling applicator and electronic equipment
CN102479047A (en) * 2010-11-22 2012-05-30 现代自动车株式会社 Method for differentiating haptic feelings by a select menu of a rotary switch

Also Published As

Publication number Publication date
CN105677066A (en) 2016-06-15

Similar Documents

Publication Publication Date Title
KR101430887B1 (en) Environment-dependent dynamic range control for gesture recognition
KR101794000B1 (en) Apparatus and method for scrolling in portable terminal
EP2840472B1 (en) Menu layout processing method and apparatus
CN108550353B (en) Brightness adjusting method and related product
EP2942936B1 (en) Zoom input and camera selection
TWI503706B (en) Computer system including mouse device with adjustable dpi based on screen size and operating method thereof
US9720573B2 (en) Method for controlling page flipping of terminal and terminal
KR20150028731A (en) Haptic warping system
CN106095022B (en) Control method and electronic equipment
EP4053672A1 (en) Electronic device including display changing in size and control method therefor
KR20150012290A (en) User interface interaction method and apparatus applied in touchscreen device, and touchscreen device
CN104346060B (en) The method and electronic equipment of information processing
JP4284271B2 (en) DATA INPUT DEVICE, DATA INPUT METHOD, DATA INPUT PROGRAM, AND RECORDING MEDIUM CONTAINING THE SAME
CN104035678A (en) Scrolling method and electronic device using same
US10063781B2 (en) Imaging control device, imaging control method, imaging system, and program
US12086395B2 (en) Device control method, storage medium, and non-transitory computer-readable electronic device
US10802620B2 (en) Information processing apparatus and information processing method
CN109643174B (en) Information processing apparatus, storage medium, and information processing system
CN105677066B (en) Control method and electronic equipment
CN104597965B (en) A kind of information collecting device, electronic equipment and angle control method
JP5773961B2 (en) Portable electronic devices
CN112198953A (en) Control method and control device of terminal equipment and control equipment
KR20150115454A (en) Electronic device and method for displaying a service display
US10645144B2 (en) Computer-implemented method for controlling a remote device with a local device
KR20150026423A (en) Method and apparatus for controlling screen on mobile device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant