CN107902040B - Control method, mobile electronic device and storage medium - Google Patents

Control method, mobile electronic device and storage medium Download PDF

Info

Publication number
CN107902040B
CN107902040B CN201711014902.0A CN201711014902A CN107902040B CN 107902040 B CN107902040 B CN 107902040B CN 201711014902 A CN201711014902 A CN 201711014902A CN 107902040 B CN107902040 B CN 107902040B
Authority
CN
China
Prior art keywords
gear
characteristic information
mobile electronic
preset
stepping
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
CN201711014902.0A
Other languages
Chinese (zh)
Other versions
CN107902040A (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.)
Ninebot Beijing Technology Co Ltd
Original Assignee
Ninebot Beijing Technology Co 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 Ninebot Beijing Technology Co Ltd filed Critical Ninebot Beijing Technology Co Ltd
Priority to CN201711014902.0A priority Critical patent/CN107902040B/en
Publication of CN107902040A publication Critical patent/CN107902040A/en
Application granted granted Critical
Publication of CN107902040B publication Critical patent/CN107902040B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B62LAND VEHICLES FOR TRAVELLING OTHERWISE THAN ON RAILS
    • B62MRIDER PROPULSION OF WHEELED VEHICLES OR SLEDGES; POWERED PROPULSION OF SLEDGES OR SINGLE-TRACK CYCLES; TRANSMISSIONS SPECIALLY ADAPTED FOR SUCH VEHICLES
    • B62M25/00Actuators for gearing speed-change mechanisms specially adapted for cycles
    • B62M25/08Actuators for gearing speed-change mechanisms specially adapted for cycles with electrical or fluid transmitting systems
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B62LAND VEHICLES FOR TRAVELLING OTHERWISE THAN ON RAILS
    • B62KCYCLES; CYCLE FRAMES; CYCLE STEERING DEVICES; RIDER-OPERATED TERMINAL CONTROLS SPECIALLY ADAPTED FOR CYCLES; CYCLE AXLE SUSPENSIONS; CYCLE SIDE-CARS, FORECARS, OR THE LIKE
    • B62K23/00Rider-operated controls specially adapted for cycles, i.e. means for initiating control operations, e.g. levers, grips
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B62LAND VEHICLES FOR TRAVELLING OTHERWISE THAN ON RAILS
    • B62KCYCLES; CYCLE FRAMES; CYCLE STEERING DEVICES; RIDER-OPERATED TERMINAL CONTROLS SPECIALLY ADAPTED FOR CYCLES; CYCLE AXLE SUSPENSIONS; CYCLE SIDE-CARS, FORECARS, OR THE LIKE
    • B62K2204/00Adaptations for driving cycles by electric motor

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Transportation (AREA)
  • Control Of Transmission Device (AREA)

Abstract

The embodiment of the invention discloses a control method, which comprises the following steps: the method comprises the steps that the mobile electronic equipment moves in a first gear, and the movement characteristic information of the mobile electronic equipment is detected, wherein the movement characteristic information at least represents the movement speed of the mobile electronic equipment; if a first stepping operation of a speed reducing assembly arranged aiming at the mobile electronic equipment is detected, stepping characteristic information aiming at the first stepping operation of the speed reducing assembly is obtained; determining whether to perform a gear shift operation based on at least the movement speed characterized by the movement characteristic information and the tread characteristic information of the first tread operation, wherein the gear shift operation characterizes an operation of adjusting a driving direction of the mobile electronic device and switching from a first gear to a second gear, and the first gear and the second gear are associated with different driving directions. The embodiment of the invention also discloses the mobile electronic equipment and a storage medium.

Description

Control method, mobile electronic device and storage medium
Technical Field
The present invention relates to control technologies, and in particular, to a control method, a mobile electronic device, and a storage medium.
Background
The electric kart and the electric racing car have simple structure, high safety and excellent racing characteristic, and are popular with the public. However, the forward and backward gear shifting of the existing electric kart and electric racing car needs manual shifting in a manner similar to that of a key switch, so that the user experience is reduced, and moreover, control components such as the key switch are additionally added, so that the cost is increased.
Disclosure of Invention
In order to solve the existing technical problems, embodiments of the present invention provide a control method, a mobile electronic device, and a storage medium, which can at least solve the above problems in the prior art.
The technical scheme of the embodiment of the invention is realized as follows:
a first aspect of an embodiment of the present invention provides a control method, including:
the method comprises the steps that the mobile electronic equipment moves in a first gear, and the movement characteristic information of the mobile electronic equipment is detected, wherein the movement characteristic information at least represents the movement speed of the mobile electronic equipment;
if a first stepping operation of a speed reducing assembly arranged aiming at the mobile electronic equipment is detected, stepping characteristic information aiming at the first stepping operation of the speed reducing assembly is obtained;
determining whether to perform a gear shift operation based on at least the movement speed characterized by the movement characteristic information and the tread characteristic information of the first tread operation, wherein the gear shift operation characterizes an operation of adjusting a driving direction of the mobile electronic device and switching from a first gear to a second gear, and the first gear and the second gear are associated with different driving directions.
In the above scheme, the method further comprises:
judging whether the moving speed represented by the moving characteristic information is smaller than a preset speed threshold value or not;
correspondingly, the determining whether to perform the shift range switching operation based on at least the moving speed characterized by the moving characteristic information and the stepping characteristic information of the first stepping operation includes:
and after the movement speed represented by the movement characteristic information is determined to be smaller than a preset speed threshold, determining whether to perform gear switching operation or not based on the treading characteristic information of the first treading operation.
In the above scheme, the method further comprises:
detecting whether the treading characteristic information of the first treading operation is matched with a preset treading rule;
correspondingly, the determining whether to perform the shift range switching operation based on at least the moving speed characterized by the moving characteristic information and the stepping characteristic information of the first stepping operation includes:
and after the treading characteristic information of the first treading operation is determined to be matched with the preset treading rule, determining whether to perform gear shifting operation or not based on the movement speed represented by the movement characteristic information.
In the above scheme, the method further comprises:
and if a second stepping operation aiming at an acceleration assembly arranged on the mobile electronic equipment is detected, the mobile electronic equipment moves in a preset driving direction under a preset gear according to the second stepping operation.
In the above scheme, the method further comprises:
detecting whether the current gear is the same as a preset gear or not;
determining that the current gear is the same as the preset gear, and moving under the current gear; or,
and determining that the current gear is different from the preset gear, and performing gear switching operation to switch to the preset gear with a preset driving direction, wherein the preset gear is a forward gear.
In the above scheme, the method further comprises:
and after detecting the gear switching operation, generating first prompt information to prompt the mobile electronic equipment to execute the gear switching operation.
In the above scheme, the method further comprises:
detecting whether the current gear is a reverse gear or not;
and after the current gear is determined to be the reverse gear, generating second prompt information to prompt the mobile electronic equipment to move under the reverse gear.
A second aspect of an embodiment of the present invention provides a mobile electronic device, including:
the detection unit is used for moving in a first gear and detecting movement characteristic information of the mobile electronic equipment, wherein the movement characteristic information at least represents the movement speed of the mobile electronic equipment; if a first stepping operation of a speed reducing assembly arranged aiming at the mobile electronic equipment is detected, stepping characteristic information aiming at the first stepping operation of the speed reducing assembly is obtained;
a processing unit, configured to determine whether to perform a shift range switching operation based on at least a movement speed represented by the movement characteristic information and tread characteristic information of the first tread operation, where the shift range switching operation represents an operation of adjusting a driving direction of the mobile electronic device and switching from a first shift range to a second shift range, and the first shift range and the second shift range are associated with different driving directions.
In the foregoing solution, the processing unit is further configured to:
judging whether the moving speed represented by the moving characteristic information is smaller than a preset speed threshold value or not;
and after the movement speed represented by the movement characteristic information is determined to be smaller than a preset speed threshold, determining whether to perform gear switching operation or not based on the treading characteristic information of the first treading operation.
In the foregoing solution, the processing unit is further configured to:
detecting whether the treading characteristic information of the first treading operation is matched with a preset treading rule;
and after the treading characteristic information of the first treading operation is determined to be matched with the preset treading rule, determining whether to perform gear shifting operation or not based on the movement speed represented by the movement characteristic information.
In the above solution, the detecting unit is further configured to detect a second stepping operation of an acceleration component provided for the mobile electronic device;
correspondingly, the processing unit is further configured to move in a preset driving direction at a preset gear according to the second stepping operation.
In the above scheme, the detection unit is further configured to detect whether the current gear is the same as a preset gear;
correspondingly, the processing unit is further configured to determine that the current gear is the same as the preset gear, and move the current gear; or determining that the current gear is different from the preset gear, and performing gear switching operation to switch to the preset gear with the preset driving direction, wherein the preset gear is a forward gear.
In the foregoing solution, the processing unit is further configured to generate first prompt information after detecting a gear shift operation, so as to prompt the mobile electronic device to execute the gear shift operation.
In the above scheme, the detecting unit is further configured to detect whether the current gear is a reverse gear;
correspondingly, the processing unit is further configured to generate second prompt information after determining that the current gear is the reverse gear, so as to prompt the mobile electronic device to move in the reverse gear.
A third aspect of an embodiment of the present invention provides a mobile electronic device, including: a processor and a memory for storing a computer program operable on the processor, wherein the processor is operable to perform the steps of the method when executing the computer program.
A fourth aspect of embodiments of the present invention provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps of the method described above.
The control method, the mobile electronic device and the storage medium can determine whether to switch the gears based on the current actual moving speed and the stepping operation of the user on the speed reducing assembly, and the process is realized without an assembly similar to an operation key, so that the problem that the gears can be switched only by using the operation key in the prior art is solved, the user experience is improved, and a foundation is laid for reducing the cost of the mobile electronic device; meanwhile, a specific key is omitted from the appearance of the mobile electronic equipment, and the requirement of a user on attractiveness is met.
Furthermore, since the embodiment of the invention determines whether to perform the gear switching operation based on the operation of the user on the deceleration component and the current moving speed of the mobile electronic device, the gear switching can be realized on the premise of ensuring safety, and the switching operation is simple, namely, the gear switching is realized by means of the existing operation mode of the deceleration component, so that the operation can be performed without special learning of the user, and the user experience is improved while the user operation is simplified.
Drawings
FIG. 1 is a schematic diagram of a flow chart of a control method according to an embodiment of the present invention;
FIG. 2 is a front view of a mobile electronic device according to an embodiment of the present invention;
FIG. 3 is a side view of a mobile electronic device according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a logical unit structure of a mobile electronic device according to an embodiment of the present 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 present embodiment provides a control method, which is applied to a mobile electronic device, where the mobile electronic device may be embodied as an electric toy car, an electric racing car, or other intelligent mobile vehicle, and the like, and the present embodiment is not limited thereto. Further, in order to solve the problem that the conventional mobile electronic devices such as electric karts and electric racing cars need to be manually switched in a manner similar to a key switch, so as to reduce user experience and increase production cost, an embodiment of the present invention provides a control method for a mobile electronic device, and specifically, fig. 1 is a schematic view of an implementation flow of the control method according to the embodiment of the present invention, and as shown in fig. 1, the method includes:
step 101: the method comprises the steps that the mobile electronic equipment moves in a first gear, and the movement characteristic information of the mobile electronic equipment is detected, wherein the movement characteristic information at least represents the movement speed of the mobile electronic equipment;
in practical applications, the gear is associated with a driving direction, for example, the first gear is associated with a first driving direction, and the second gear is associated with a second driving direction; correspondingly, the moving of the mobile electronic device in the first gear may be: the mobile electronic device moves in a first driving direction in a first gear.
Of course, in practical application, the motion characteristic information may also represent an acceleration of the mobile electronic device, and the like, which is not limited in this embodiment, and in practical application, the parameter represented by the motion characteristic information may also be adjusted according to an actual requirement.
In practical applications, the first gear may specifically be a forward gear, and in this case, the first driving direction may specifically be a direction indicated by driving the mobile electronic device to move forward; or, the first gear is specifically a reverse gear, and at this time, the second driving direction is specifically a direction indicated by driving the mobile electronic device to move backward.
Here, in practical applications, the forward or backward direction may be equivalent to that of a user, for example, when the user is in a predetermined position relationship with the mobile electronic device, the forward direction is a forward direction toward which the user faces, and the backward direction is a direction corresponding to the forward direction toward which the user faces, that is, a backward direction; alternatively, the forward or backward may be relative to the mobile electronic device itself, for example, a direction indicated by a specific area in the mobile electronic device is defined as a forward direction, and a direction corresponding to the forward direction is a backward direction. In practical applications, the first driving direction corresponding to the first gear and the second driving direction corresponding to the second gear can be defined according to the usage habit of the user.
Step 102: the method comprises the steps that if the mobile electronic equipment detects a first stepping operation of a speed reducing assembly arranged on the mobile electronic equipment, stepping characteristic information of the first stepping operation of the speed reducing assembly is obtained;
in this embodiment, the speed reduction assembly may be embodied as a speed reducer, also referred to as a brake; correspondingly, the first stepping operation is specifically a stepping brake operation. Further, the stepping characteristic information may specifically be a stepping depth (for example, whether stepping is performed to a maximum limit), a stepping speed, a stepping frequency, or a stepping frequency, and in practical applications, the specific characteristic included in the stepping characteristic information may be selected according to a requirement.
Step 103: the mobile electronic device determines whether to perform a gear shifting operation based on at least the movement speed represented by the movement characteristic information and the tread characteristic information of the first tread operation, wherein the gear shifting operation represents an operation of adjusting a driving direction of the mobile electronic device and shifting from a first gear to a second gear, and the first gear and the second gear are associated with different driving directions.
Here, when the second gear is associated with the second driving direction, the gear shifting operation may be characterized as an operation of adjusting the driving direction of the mobile electronic device and shifting from a first gear having the first driving direction to a second gear having the second driving direction.
That is to say, in this embodiment, the mobile electronic device can determine whether to switch the gear based on the current actual moving speed and the stepping operation of the user on the deceleration component, and the above process is implemented without using a component similar to an operation key, so that the problem that the gear switching must be performed only by using the operation key in the prior art is solved, the user experience is improved, and a foundation is laid for reducing the cost of the mobile electronic device; meanwhile, a specific key is omitted from the appearance of the mobile electronic equipment, and the requirement of a user on attractiveness is met.
Furthermore, since the embodiment of the invention determines whether to perform the gear switching operation based on the operation of the user on the deceleration component and the current moving speed of the mobile electronic device, the gear switching can be realized on the premise of ensuring safety, and the switching operation is simple, namely, the gear switching is realized by means of the existing operation mode of the deceleration component, so that the operation can be performed without special learning of the user, and the user experience is improved while the user operation is simplified.
In a specific embodiment, after the mobile electronic device detects and obtains the movement feature information, it is further required to determine whether a movement speed represented by the movement feature information is smaller than a preset speed threshold; here, the preset speed threshold may be set according to an actual requirement, for example, whether the mobile electronic device is in a low-speed moving state is determined, and then after it is determined that the moving speed represented by the moving characteristic information is smaller than the preset speed threshold, that is, after it is determined that the mobile electronic device is in the low-speed moving state, it is determined whether to perform a gear shift operation based on the stepping characteristic information of the first stepping operation, that is, only after the mobile electronic device is in the low-speed state, it is determined whether to perform the gear shift operation according to the first stepping operation on the deceleration component, so that safety of a user is ensured.
In another embodiment, the mobile electronic device detects whether the pedaling characteristic information of the first pedaling operation matches a preset pedaling rule after acquiring the pedaling characteristic information of the first pedaling operation, where the preset pedaling rule is also a pedaling rule for switching gears, and the preset pedaling rule may also be set according to an actual requirement; further, after the treading characteristic information of the first treading operation is determined to be matched with the preset treading rule, whether gear shifting operation is carried out or not is determined based on the movement speed represented by the movement characteristic information. That is, even if the pedaling characteristic information of the first pedaling operation satisfies the preset pedaling rule, the gear shifting operation is not performed, and whether to perform the gear shifting is determined based on the moving speed of the mobile electronic device, so as to ensure the safety of the user.
In practical applications, the preset pedaling rule may be embodied as an operation of pedaling the deceleration assembly twice within a preset time range. Or the preset trampling rule is that after the operation of trampling the speed reduction assembly once is completed, the speed reduction assembly is trampled to the maximum limit again within a preset time range. Of course, in practical applications, the preset pedaling rule may be set according to practical requirements, which is not limited in this embodiment.
Further, the mobile electronic device may perform a gear shift operation after determining that the movement speed represented by the movement characteristic information is smaller than a preset speed threshold and determining that the tread characteristic information of the first tread operation matches the preset tread rule; here, in the above process, the step of determining whether the moving speed represented by the moving characteristic information is smaller than a preset speed threshold, and the step of detecting whether the pedaling characteristic information of the first pedaling operation matches a preset pedaling rule may be executed sequentially or synchronously, and this embodiment does not limit the execution order of the two steps.
In a specific example, the user may also be prompted by a prompt message, specifically, after the mobile electronic device detects the gear shift operation, a first prompt message is generated to prompt the mobile electronic device to perform the gear shift operation, for example, the first prompt message is generated and output during the gear shift operation to prompt the user that the gear shift operation is being performed, or after the gear shift operation is completed, the first prompt message is generated and output to prompt the user that the gear shift operation is completed. Here, the first prompt message may be specifically a vibration such as an audio, for example, a beep to prompt the user that the shift range switching operation is performed.
Similarly, when the mobile electronic device is in the reverse gear, a prompt may be performed, specifically, the mobile electronic device detects whether the current gear is the reverse gear, and then generates second prompt information to prompt the mobile electronic device to move in the reverse gear after determining that the current gear is the reverse gear. Here, the second prompt message may be a vibration such as an audio frequency, for example, a beep continuously generated when the mobile electronic device is in the reverse gear, so as to prompt the user that the mobile electronic device is in the reverse gear. Of course, in practical applications, the step of detecting whether the current gear is the reverse gear may be performed after the gear switching operation, so that the mobile electronic device can perform targeted detection, and reduction of cruising ability caused by frequent detection is avoided.
In this way, according to the method provided by the embodiment of the invention, the mobile electronic device can determine whether to switch the gears based on the current actual moving speed and the stepping operation of the user on the speed reducing assembly, and the above process is realized without using an assembly similar to an operation key, so that the problem that the gears can be switched only by using the operation key is solved, the user experience is improved, and a foundation is laid for reducing the cost of the mobile electronic device; meanwhile, a specific key is omitted from the appearance of the mobile electronic equipment, and the requirement of a user on attractiveness is met.
Furthermore, since the embodiment of the invention determines whether to perform the gear switching operation based on the operation of the user on the deceleration component and the current moving speed of the mobile electronic device, the gear switching can be realized on the premise of ensuring safety, and the switching operation is simple, namely, the gear switching is realized by means of the existing operation mode of the deceleration component, so that the operation can be performed without special learning of the user, and the user experience is improved while the user operation is simplified.
Example two
Based on the method of the first embodiment, the present embodiment provides another gear shifting manner, specifically, the mobile electronic device detects a second stepping operation of the acceleration component, and moves in a preset driving direction in a preset gear according to the second stepping operation.
Here, the preset gear may be specifically a forward gear, and the preset driving direction is a direction indicated by driving the mobile electronic device to move forward, that is, the acceleration component is an accelerator of the mobile electronic device under the preset gear, for example, an accelerator under the forward gear, at this time, the mobile electronic device switches to the forward gear to perform the acceleration movement as long as the second stepping operation on the acceleration component is detected, no matter whether the mobile electronic device is in the forward gear before the second stepping operation is performed, so that the steps of gear switching are simplified, and the requirements of the user are met.
Specifically, the mobile electronic device detects whether a current gear is the same as a preset gear, and determines that the current gear is the same as the preset gear, and moves in the current gear, such as accelerated movement; or determining that the current gear is different from the preset gear, and performing gear switching operation to switch to the preset gear with the preset driving direction, wherein the preset gear is a forward gear.
The embodiments of the present invention will be described in further detail with reference to specific examples; specifically, as shown in fig. 2 and 3, the mobile electronic device (e.g., an electric toy vehicle) detects a vehicle body speed by using a Micro Control Unit (MCU) inside a controller S3, and determines that the vehicle body speed is lower than a threshold value, and then considers that the vehicle body is in a near stationary state, where it is determined whether the vehicle body is in the near stationary state to avoid gear shifting during driving, thereby avoiding an accident; further, after the vehicle body is in the near-stationary state, it is detected that the user depresses the speed reducer S1 twice (for example, the speed reducer S1 may be fully depressed and then fully released as a count), that is, it is determined that the user has performed the operation of shifting the gear. Further, when the gear shifting is completed, if the operation of stepping on the accelerator (accelerator) S2 is detected, the vehicle body can be controlled to perform acceleration movement, such as acceleration forward or acceleration backward, according to the current gear.
Of course, in practical applications, there may be a plurality of operations for determining whether to switch the gear, and the above process is only one way, for example, the gear switching may also be implemented in a manner that a mobile electronic device (such as an electric toy car) detects a car body speed by using an MCU in the controller S3, and determines that the car body speed is lower than a threshold value, and then considers that the car body is in a near-stationary state; further, after the vehicle body is in the near-stationary state, it is detected that the user steps on the speed reducer S1 1 time (for example, the speed reducer S1 may be stepped to the bottom and then completely released as a count), at this time, an operation of stepping on the speed reducer S1 for the second time (for example, an operation of stepping on the speed reducer S1 for the second time is detected), during the operation of stepping on the speed reducer S1 for the second time, when the speed reducer S1 is stepped on for the second time, it is determined that the user has performed an operation of switching the gear, at this time, if the vehicle body is in the forward gear, the forward gear is switched to the reverse gear, and if the vehicle body is in the reverse gear, the reverse gear is switched to the forward gear. Here, the process of slowly releasing the second depression of the speed reducer S1 is a process of controlling the vehicle body to move backward, and further, when the operation of depressing the accelerator (accelerator) S2 is detected after the completion of the shift change, the vehicle body is controlled to accelerate in the forward range regardless of whether the vehicle body is in the forward range.
Like this, through the existing accelerator of combination automobile body, the switching that the automobile body gos forward or retreat the gear is realized to the reduction gear, does not need extra gear detection switch, push rod, consequently, has solved and has had to use the problem that the operation button just can carry out the gear switching now, has promoted user experience, has also laid a good foundation for reducing mobile electronic equipment's cost.
EXAMPLE III
The present embodiment provides a mobile electronic device, as shown in fig. 4, the mobile electronic device includes:
a detecting unit 41, configured to move in a first gear, and detect movement characteristic information of the mobile electronic device, where the movement characteristic information at least represents a movement speed of the mobile electronic device; if a first stepping operation of a speed reducing assembly arranged aiming at the mobile electronic equipment is detected, stepping characteristic information aiming at the first stepping operation of the speed reducing assembly is obtained;
a processing unit 42, configured to determine whether to perform a shift range switching operation based on at least the movement speed represented by the movement characteristic information and the tread characteristic information of the first tread operation, where the shift range switching operation represents an operation of adjusting a driving direction of the mobile electronic device and switching from a first shift range to a second shift range, and the first shift range and the second shift range are associated with different driving directions.
In an embodiment, the processing unit 42 is further configured to:
judging whether the moving speed represented by the moving characteristic information is smaller than a preset speed threshold value or not;
and after the movement speed represented by the movement characteristic information is determined to be smaller than a preset speed threshold, determining whether to perform gear switching operation or not based on the treading characteristic information of the first treading operation.
In another specific embodiment, the processing unit 42 is further configured to:
detecting whether the treading characteristic information of the first treading operation is matched with a preset treading rule;
and after the treading characteristic information of the first treading operation is determined to be matched with the preset treading rule, determining whether to perform gear shifting operation or not based on the movement speed represented by the movement characteristic information.
In another specific embodiment, the detecting unit 41 is further configured to detect a second stepping operation of an acceleration component provided for the mobile electronic device;
correspondingly, the processing unit 42 is further configured to move in a preset driving direction at a preset gear according to the second stepping operation.
In another specific embodiment, the detecting unit 41 is further configured to detect whether the currently located gear is the same as a preset gear;
correspondingly, the processing unit 42 is further configured to determine that the current gear is the same as the preset gear, and move in the current gear; or determining that the current gear is different from the preset gear, and performing gear switching operation to switch to the preset gear with the preset driving direction, wherein the preset gear is a forward gear.
In another specific embodiment, the processing unit 42 is further configured to generate a first prompting message after detecting the gear shift operation, so as to prompt the mobile electronic device to execute the gear shift operation.
In another specific embodiment, the detecting unit 41 is further configured to detect whether the current gear is a reverse gear;
correspondingly, the processing unit 42 is further configured to generate second prompt information after determining that the currently located gear is the reverse gear, so as to prompt the mobile electronic device to move in the reverse gear.
The embodiment also discloses a mobile electronic device, including: a processor and a memory for storing a computer program operable on the processor, wherein the processor is operable to perform the following steps when executing the computer program:
the method comprises the steps that the mobile electronic equipment moves in a first gear, and the movement characteristic information of the mobile electronic equipment is detected, wherein the movement characteristic information at least represents the movement speed of the mobile electronic equipment;
if a first stepping operation of a speed reducing assembly arranged aiming at the mobile electronic equipment is detected, stepping characteristic information aiming at the first stepping operation of the speed reducing assembly is obtained;
determining whether to perform a gear shift operation based on at least the movement speed characterized by the movement characteristic information and the tread characteristic information of the first tread operation, wherein the gear shift operation characterizes an operation of adjusting a driving direction of the mobile electronic device and switching from a first gear to a second gear, and the first gear and the second gear are associated with different driving directions.
In a specific example, the following steps are also performed:
judging whether the moving speed represented by the moving characteristic information is smaller than a preset speed threshold value or not;
correspondingly, the determining whether to perform the shift range switching operation based on at least the moving speed characterized by the moving characteristic information and the stepping characteristic information of the first stepping operation includes:
and after the movement speed represented by the movement characteristic information is determined to be smaller than a preset speed threshold, determining whether to perform gear switching operation or not based on the treading characteristic information of the first treading operation.
In another specific example, the following steps are also performed:
detecting whether the treading characteristic information of the first treading operation is matched with a preset treading rule;
correspondingly, the determining whether to perform the shift range switching operation based on at least the moving speed characterized by the moving characteristic information and the stepping characteristic information of the first stepping operation includes:
and after the treading characteristic information of the first treading operation is determined to be matched with the preset treading rule, determining whether to perform gear shifting operation or not based on the movement speed represented by the movement characteristic information.
In another specific example, the following steps are also performed:
and if a second stepping operation aiming at an acceleration assembly arranged on the mobile electronic equipment is detected, the mobile electronic equipment moves in a preset driving direction under a preset gear according to the second stepping operation.
In another specific example, the following steps are also performed:
detecting whether the current gear is the same as a preset gear or not;
determining that the current gear is the same as the preset gear, and moving under the current gear; or,
and determining that the current gear is different from the preset gear, and performing gear switching operation to switch to the preset gear with a preset driving direction, wherein the preset gear is a forward gear.
In another specific example, the following steps are also performed:
and after detecting the gear switching operation, generating first prompt information to prompt the mobile electronic equipment to execute the gear switching operation.
In another specific example, the following steps are also performed:
detecting whether the current gear is a reverse gear or not;
and after the current gear is determined to be the reverse gear, generating second prompt information to prompt the mobile electronic equipment to move under the reverse gear.
Here, it should be noted that: the above description of the embodiment of the mobile electronic device is similar to the above description of the embodiment of the method, and has similar beneficial effects to the embodiment of the method, and therefore, the description is omitted here for brevity. For technical details not disclosed in the embodiment of the mobile electronic device of the present invention, please refer to the description of the embodiment of the method of the present invention for understanding, and therefore, for brevity, will not be described again.
The present embodiments also provide a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
the method comprises the steps that the mobile electronic equipment moves in a first gear, and the movement characteristic information of the mobile electronic equipment is detected, wherein the movement characteristic information at least represents the movement speed of the mobile electronic equipment;
if a first stepping operation of a speed reducing assembly arranged aiming at the mobile electronic equipment is detected, stepping characteristic information aiming at the first stepping operation of the speed reducing assembly is obtained;
determining whether to perform a gear shift operation based on at least the movement speed characterized by the movement characteristic information and the tread characteristic information of the first tread operation, wherein the gear shift operation characterizes an operation of adjusting a driving direction of the mobile electronic device and switching from a first gear to a second gear, and the first gear and the second gear are associated with different driving directions.
In a specific example, the following steps are also implemented:
judging whether the moving speed represented by the moving characteristic information is smaller than a preset speed threshold value or not;
correspondingly, the determining whether to perform the shift range switching operation based on at least the moving speed characterized by the moving characteristic information and the stepping characteristic information of the first stepping operation includes:
and after the movement speed represented by the movement characteristic information is determined to be smaller than a preset speed threshold, determining whether to perform gear switching operation or not based on the treading characteristic information of the first treading operation.
In another specific example, the following steps are also implemented:
detecting whether the treading characteristic information of the first treading operation is matched with a preset treading rule;
correspondingly, the determining whether to perform the shift range switching operation based on at least the moving speed characterized by the moving characteristic information and the stepping characteristic information of the first stepping operation includes:
and after the treading characteristic information of the first treading operation is determined to be matched with the preset treading rule, determining whether to perform gear shifting operation or not based on the movement speed represented by the movement characteristic information.
In another specific example, the following steps are also implemented:
and if a second stepping operation aiming at an acceleration assembly arranged on the mobile electronic equipment is detected, the mobile electronic equipment moves in a preset driving direction under a preset gear according to the second stepping operation.
In another specific example, the following steps are also implemented:
detecting whether the current gear is the same as a preset gear or not;
determining that the current gear is the same as the preset gear, and moving under the current gear; or,
and determining that the current gear is different from the preset gear, and performing gear switching operation to switch to the preset gear with a preset driving direction, wherein the preset gear is a forward gear.
In another specific example, the following steps are also implemented:
and after detecting the gear switching operation, generating first prompt information to prompt the mobile electronic equipment to execute the gear switching operation.
In another specific example, the following steps are also implemented:
detecting whether the current gear is a reverse gear or not;
and after the current gear is determined to be the reverse gear, generating second prompt information to prompt the mobile electronic equipment to move under the reverse gear.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
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 (10)

1. A control method, characterized in that the method comprises:
the method comprises the steps that the mobile electronic equipment moves in a first gear, and the movement characteristic information of the mobile electronic equipment is detected, wherein the movement characteristic information at least represents the movement speed of the mobile electronic equipment;
if a first stepping operation of a speed reducing assembly arranged aiming at the mobile electronic equipment is detected, stepping characteristic information aiming at the first stepping operation of the speed reducing assembly is obtained;
determining whether to perform a gear shift operation based on at least the movement speed characterized by the movement characteristic information and the tread characteristic information of the first tread operation, wherein the gear shift operation characterizes an operation of adjusting a driving direction of the mobile electronic device and switching from a first gear having a first driving direction to a second gear having a second driving direction, and the first driving direction is different from the second driving direction.
2. The method of claim 1, further comprising:
judging whether the moving speed represented by the moving characteristic information is smaller than a preset speed threshold value or not;
correspondingly, the determining whether to perform the shift range switching operation based on at least the moving speed characterized by the moving characteristic information and the stepping characteristic information of the first stepping operation includes:
and after the movement speed represented by the movement characteristic information is determined to be smaller than a preset speed threshold, determining whether to perform gear switching operation or not based on the treading characteristic information of the first treading operation.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
detecting whether the treading characteristic information of the first treading operation is matched with a preset treading rule;
correspondingly, the determining whether to perform the shift range switching operation based on at least the moving speed characterized by the moving characteristic information and the stepping characteristic information of the first stepping operation includes:
and after the treading characteristic information of the first treading operation is determined to be matched with the preset treading rule, determining whether to perform gear shifting operation or not based on the movement speed represented by the movement characteristic information.
4. The method of claim 1, further comprising:
and if a second stepping operation aiming at an acceleration assembly arranged on the mobile electronic equipment is detected, the mobile electronic equipment moves in a preset driving direction under a preset gear according to the second stepping operation.
5. The method of claim 4, further comprising:
detecting whether the current gear is the same as a preset gear or not;
determining that the current gear is the same as the preset gear, and moving under the current gear; or,
and determining that the current gear is different from the preset gear, and performing gear switching operation to switch to the preset gear with a preset driving direction, wherein the preset gear is a forward gear.
6. The method of claim 1, further comprising:
and after detecting the gear switching operation, generating first prompt information to prompt the mobile electronic equipment to execute the gear switching operation.
7. The method of claim 1, further comprising:
detecting whether the current gear is a reverse gear or not;
and after the current gear is determined to be the reverse gear, generating second prompt information to prompt the mobile electronic equipment to move under the reverse gear.
8. A mobile electronic device, comprising:
the detection unit is used for moving in a first gear and detecting movement characteristic information of the mobile electronic equipment, wherein the movement characteristic information at least represents the movement speed of the mobile electronic equipment; if a first stepping operation of a speed reducing assembly arranged aiming at the mobile electronic equipment is detected, stepping characteristic information aiming at the first stepping operation of the speed reducing assembly is obtained;
a processing unit, configured to determine whether to perform a shift switching operation based on at least a movement speed represented by the movement characteristic information and tread characteristic information of the first tread operation, where the shift switching operation represents an operation of adjusting a driving direction of the mobile electronic device and switching from a first shift position having a first driving direction to a second shift position having a second driving direction, and the first driving direction is different from the second driving direction.
9. A mobile electronic device, comprising: a processor and a memory for storing a computer program operable on the processor, wherein the processor is operable to perform the steps of the method of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of claims 1 to 7.
CN201711014902.0A 2017-10-26 2017-10-26 Control method, mobile electronic device and storage medium Active CN107902040B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711014902.0A CN107902040B (en) 2017-10-26 2017-10-26 Control method, mobile electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711014902.0A CN107902040B (en) 2017-10-26 2017-10-26 Control method, mobile electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN107902040A CN107902040A (en) 2018-04-13
CN107902040B true CN107902040B (en) 2020-09-22

Family

ID=61841699

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711014902.0A Active CN107902040B (en) 2017-10-26 2017-10-26 Control method, mobile electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN107902040B (en)

Also Published As

Publication number Publication date
CN107902040A (en) 2018-04-13

Similar Documents

Publication Publication Date Title
CN110368679B (en) Vehicle-mounted game method, device, vehicle and machine-readable medium
CN110341709B (en) Intelligent piloting driving switch control method and system based on L2 level
CN107000711B (en) Electric parking brake apparatus
CN113101672A (en) Automobile intelligent cabin game control method and system
CN110368681A (en) Vehicle-mounted method for gaming, device, vehicle and machine readable media
CN112373475B (en) Vehicle control method, device, medium, equipment and vehicle
CN110126801B (en) Vehicle braking mode selection control method and device and automobile
CN109305170A (en) Shift control method, device, system and the storage medium of electric car
CN111494963A (en) Vehicle-mounted game method, system, device, computer equipment and storage medium
CN112937432A (en) Control method, device and equipment of vehicle sound production device and storage medium
JP2017184377A (en) Regeneration control apparatus
CN109050346B (en) Vehicle gear shifting method and device and vehicle
CN107902040B (en) Control method, mobile electronic device and storage medium
JP2014039772A (en) Control device of electric wheelchair
CN112569609B (en) Vehicle and game control method and device thereof
CN109278632B (en) Brake lamp control method, storage medium and electronic device
CN110339560B (en) Vehicle-mounted game method and device
CN113110487A (en) Vehicle simulation control method and device, electronic equipment and storage medium
CN110371051B (en) Prompt tone playing method and device for vehicle-mounted entertainment
CN110772784B (en) Carrier control method and device, storage medium and electronic device
CN112040619A (en) Vehicle atmosphere lamp control system and control method thereof
JP2020056374A (en) Vehicle control device
CN116726478A (en) Game hand feeling feedback method, device and medium based on steering wheel
CN114701435A (en) Control method and device for vehicle-mounted entertainment mode and computer-readable storage medium
JP2020116993A (en) Vehicle control device

Legal Events

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