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

CN109407832B - Terminal device control method and terminal device - Google Patents

Terminal device control method and terminal device Download PDF

Info

Publication number
CN109407832B
CN109407832B CN201811152804.8A CN201811152804A CN109407832B CN 109407832 B CN109407832 B CN 109407832B CN 201811152804 A CN201811152804 A CN 201811152804A CN 109407832 B CN109407832 B CN 109407832B
Authority
CN
China
Prior art keywords
terminal device
vibration
audio signal
target
vibration unit
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
CN201811152804.8A
Other languages
Chinese (zh)
Other versions
CN109407832A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201811152804.8A priority Critical patent/CN109407832B/en
Publication of CN109407832A publication Critical patent/CN109407832A/en
Application granted granted Critical
Publication of CN109407832B publication Critical patent/CN109407832B/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/016Input arrangements with force or tactile feedback as computer generated output to the user

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)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention provides a control method of terminal equipment and the terminal equipment, which are applied to the technical field of terminals, wherein the terminal equipment comprises at least two vibration units; the control method comprises the following steps: determining a target position in a display screen of the terminal equipment under the condition that the terminal equipment meets a vibration triggering condition; determining at least one vibration unit corresponding to the target position in the at least two vibration units, wherein the at least one vibration unit is positioned in a target area in the terminal equipment; controlling the at least one vibration unit to vibrate. The scheme is particularly applied to the process that the terminal equipment controls vibration units in different areas to vibrate so as to drive the different areas in the terminal equipment to vibrate.

Description

Terminal device control method and terminal device
Technical Field
The embodiment of the invention relates to the technical field of terminals, in particular to a control method of terminal equipment and the terminal equipment.
Background
With the development of communication technology, the intelligent degree of terminal equipment such as mobile phones and tablet computers is continuously improved so as to meet various requirements of users. For example, users are increasingly demanding haptic feedback functions, such as vibration feedback functions, on terminal devices.
Specifically, the terminal device can realize the vibration feedback function of the terminal device by controlling the linear motor installed therein to vibrate. When the terminal device prompts some information to the user, for example, some notification messages are displayed or some voice is output, a vibration control signal can be generated, and the linear motor is controlled to vibrate through the vibration control signal, so that the terminal device is driven to vibrate.
The problem exists that the prior art generally controls the linear motor to vibrate so as to drive the terminal device to vibrate integrally. For example, when the terminal device controls the linear motor to vibrate through the vibration control signal corresponding to the notification message and the vibration control signal corresponding to the voice to be output (e.g., all voices in a game application), the terminal device is driven to vibrate as a whole. Thus, the vibration feedback form of the terminal equipment is relatively single.
Disclosure of Invention
The embodiment of the invention provides a control method of terminal equipment and the terminal equipment, aiming at improving the condition that the vibration feedback form of the terminal equipment is single.
In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides a method for controlling a terminal device, where the terminal device includes at least two vibration units; the control method comprises the following steps: determining a target position in a display screen of the terminal equipment under the condition that the terminal equipment meets a vibration triggering condition; determining at least one vibration unit corresponding to the target position in the at least two vibration units, wherein the at least one vibration unit is positioned in a target area in the terminal equipment; controlling the at least one vibration unit to vibrate.
In a second aspect, an embodiment of the present invention further provides a terminal device, where the terminal device includes at least two vibration units, a first determination module, a second determination module, and a control module; the first determining module is used for determining a target position in a display screen of the terminal equipment under the condition that the terminal equipment meets a vibration triggering condition; the second determining module is used for determining at least one vibration unit corresponding to the target position determined by the first determining module in the at least two vibration units, and the at least one vibration unit is located in a target area in the terminal equipment; and the control module is used for controlling the vibration of the at least one vibration unit determined by the second determination module.
In a third aspect, an embodiment of the present invention provides a terminal device, including a processor, a memory, and a computer program stored on the memory and operable on the processor, where the computer program, when executed by the processor, implements the steps of the control method of the terminal device according to the first aspect.
In a fourth aspect, an embodiment 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 control method of the terminal device according to the first aspect.
In the embodiment of the invention, the terminal equipment comprises at least two vibration units. In the scheme, under the condition that the terminal equipment meets the vibration triggering condition, the target position in the display screen of the terminal equipment can be determined; determining at least one vibration unit corresponding to the target position in the at least two vibration units, wherein the at least one vibration unit is positioned in a target area in the terminal equipment; controlling the at least one vibration unit to vibrate. Based on the scheme, the terminal device can control at least one vibration unit corresponding to the target position in the terminal device to vibrate instead of controlling all vibration units in the terminal device to vibrate under the condition that the vibration triggering condition is met. In this way, the target area in the terminal device is caused to vibrate, not the entire terminal device. Therefore, the device can provide specific information for the user through the vibration of the target area, and the situation that the vibration feedback form of the terminal device is single can be improved.
Drawings
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a control method for a terminal device according to an embodiment of the present invention;
fig. 3 is a schematic distribution diagram of a vibration unit in a terminal device according to an embodiment of the present invention;
fig. 4 is a second schematic diagram illustrating a distribution of vibration units in the terminal device according to the embodiment of the present invention;
fig. 5 is a schematic diagram of a position of a vibration unit of a terminal device on a display screen according to an embodiment of the present invention;
fig. 6 is a second schematic view of a position of a vibration unit of the terminal device on a display screen according to the embodiment of the present invention;
fig. 7 is a schematic structural diagram of a possible terminal device according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a hardware structure of a terminal device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that "/" in this context means "or", for example, A/B may mean A or B; "and/or" herein is merely an association describing an associated object, and means that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. "plurality" means two or more than two.
It should be noted that, in the embodiments of the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
The terms "first" and "second," and the like, in the description and in the claims of the present invention are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first audio signal and the second audio signal, etc. are for distinguishing different audio signals, rather than for describing a particular order of the audio signals.
It should be noted that the embodiment of the present invention provides a control method for a terminal device, which is specifically applied to a process of implementing a vibration feedback function of the terminal device.
Specifically, in the terminal device and the control method of the terminal device provided by the embodiment of the present invention, the terminal device includes at least two vibration units, and the at least two vibration units may be located in different areas of the terminal device. Specifically, the terminal device can independently control part of the at least two vibration units to vibrate so as to drive the region where the part of the at least two vibration units is located to vibrate, rather than drive the whole vibration of the terminal device. Therefore, the terminal equipment can provide different information for the user through the vibration of different areas, and the condition that the vibration feedback form of the terminal equipment is single can be improved.
It should be noted that, in the control method of the terminal device provided in the embodiment of the present invention, the execution main body may be the terminal device, or a Central Processing Unit (CPU) of the terminal device, or a control module in the terminal device for executing the control method of the terminal device. In the embodiment of the present invention, a method for controlling a terminal device performed by the terminal device is taken as an example, and the method for controlling a terminal device provided in the embodiment of the present invention is described.
The terminal device in the embodiment of the present invention may be a terminal device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present invention are not limited in particular.
Next, a software environment applied to the control method of the terminal device provided by the embodiment of the present invention is described by taking an android operating system as an example.
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention. In fig. 1, the architecture of the android operating system includes 4 layers, which are respectively: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
The application program layer comprises various application programs (including system application programs and third-party application programs) in an android operating system.
The application framework layer is a framework of the application, and a developer can develop some applications based on the application framework layer under the condition of complying with the development principle of the framework of the application. For example, applications such as a system setup application, a system chat application, and a system camera application. And the third-party setting application, the third-party camera application, the third-party chatting application and other application programs.
The system runtime layer includes libraries (also called system libraries) and android operating system runtime environments. The library mainly provides various resources required by the android operating system. The android operating system running environment is used for providing a software environment for the android operating system.
The kernel layer is an operating system layer of an android operating system and belongs to the bottommost layer of an android operating system software layer. The kernel layer provides kernel system services and hardware-related drivers for the android operating system based on the Linux kernel.
Taking an android operating system as an example, in the embodiment of the present invention, a developer may develop a software program for implementing the control method of the terminal device provided in the embodiment of the present invention based on the system architecture of the android operating system shown in fig. 1, so that the control method may operate based on the android operating system shown in fig. 1. Namely, the processor or the terminal device can implement the control method of the terminal device provided by the embodiment of the invention by running the software program in the android operating system.
The following describes in detail a control method of a terminal device according to an embodiment of the present invention with reference to a flowchart of the control method of the terminal device shown in fig. 2. Specifically, in the embodiment of the present invention, the terminal device may include at least two vibration units. Wherein, although the logical order of the control method of the terminal device provided by the embodiments of the present invention is shown in the method flowchart, in some cases, the steps shown or described may be performed in an order different from that here. For example, the control method of the terminal device shown in fig. 2 may include S201 to S203:
s201, under the condition that the terminal equipment meets the vibration triggering condition, the terminal equipment determines the target position in the display screen of the terminal equipment.
Optionally, the target position in the display screen of the terminal device may correspond to a region to be vibrated in the terminal device.
In the embodiment of the present invention, the target position in the display screen of the terminal device may be a trigger position for triggering vibration of the terminal device, for example, vibration of an area around the target position in the terminal device is triggered.
S202, the terminal device determines at least one vibration unit corresponding to the target position in the at least two vibration units, and the at least one vibration unit is located in the target area in the terminal device.
It is understood that the terminal device provided in the embodiments of the present invention may include a display screen and a rear case, the panel on which the display screen is located and the rear case may form a cavity, and the at least two vibration units may be disposed in the cavity, that is, the at least two vibration units are disposed in the terminal device. Wherein, at least two vibration units in the terminal equipment can be positioned below the display screen.
Alternatively, the vibration unit provided in the embodiment of the present invention may be a vibration motor, such as a linear motor.
Optionally, the at least two vibration units are evenly distributed around the target location.
It should be noted that one position (denoted as position 1) on the display screen of the terminal device may correspond to one position (denoted as position 2) in the terminal device, and the position 2 may be located in one area (denoted as area 1) in the terminal device. I.e. one position on the display of the terminal device corresponds to one position in the terminal device, as described above for position 1 to position 2. Wherein, the area 1 may include one or more vibration units, and the one or more vibration units may be vibration units of at least two vibration units in the terminal device. I.e. a position on the display of the terminal device corresponds to an area in the terminal device, such as position 1 above for area 1.
Exemplarily, as shown in fig. 3, a schematic diagram of a distribution of vibration units in a terminal device according to an embodiment of the present invention is provided. As shown in fig. 3, the terminal device includes a vibration unit a, a vibration unit B, a vibration unit C, and a vibration unit D. Among them, the terminal device includes a vibration unit a and a vibration unit B in a region P1, a vibration unit B and a vibration unit C in a region P2, a vibration unit C and a vibration unit D in a region P3, and a vibration unit D and a vibration unit a in a region P4.
For example, when the target position on the display screen of the terminal device corresponds to the position N1 in the terminal device shown in fig. 3, the at least one vibration unit corresponding to the target position is the vibration unit a and the vibration unit B shown in fig. 3. At this time, at least one of the vibration units corresponding to the target positions in the embodiment of the present invention is the vibration unit a and the vibration unit B shown in fig. 3, and the target area corresponding to the target position is the area P1 shown in fig. 3.
It is understood that in the embodiment of the present invention, one vibration unit in the terminal device may be located in two regions at the same time, and the vibration unit a shown in fig. 3 is located in both the region P1 and the region P4.
Exemplarily, as shown in fig. 4, a schematic diagram of a distribution of vibration units in another terminal device provided by the embodiment of the present invention is shown. As shown in fig. 4, the terminal device includes a vibration unit a, a vibration unit B, a vibration unit C, and a vibration unit D. Among them, the terminal device includes a vibration unit a and a vibration unit B in a region P5, a vibration unit B and a vibration unit C in a region P6, a vibration unit C and a vibration unit D in a region P7, and a vibration unit D and a vibration unit a in a region P8. In which the vibration unit a shown in fig. 4 is located in both the region 5 and the region P8.
For example, when the target position on the display screen of the terminal device corresponds to position N2 in the terminal device shown in fig. 4, the at least one vibration unit corresponding to the target position is vibration unit a and vibration unit B in region P5 shown in fig. 4. At this time, at least one of the vibration units corresponding to the target positions in the embodiment of the present invention is the vibration unit a and the vibration unit B shown in fig. 4, and the target area corresponding to the target position is the area P5 shown in fig. 4.
And S203, the terminal equipment controls at least one vibration unit to vibrate.
Specifically, the terminal device controls at least one vibration unit to vibrate, and can drive a target area including the at least one vibration unit to vibrate.
The vibration of the vibration units in different areas in the terminal equipment can drive the vibration of different areas.
Illustratively, the terminal device controls the vibration unit a and the vibration unit B shown in fig. 3 to vibrate, and may drive the region P1 shown in fig. 3 to vibrate. Alternatively, the terminal device controls the vibration unit a and the vibration unit B shown in fig. 4 to vibrate, and may drive the region P5 shown in fig. 4 to vibrate.
It can be understood that, in the embodiment of the present invention, the terminal device vibrates a partial region in the terminal region, and specific information, such as information of a virtual event or information of an actual event, can be prompted to the user through the vibration of the partial region.
It should be noted that, in the control method of the terminal device provided in the embodiment of the present invention, the terminal device includes at least two vibration units. In the scheme, under the condition that the terminal equipment meets the vibration triggering condition, the target position in the display screen of the terminal equipment can be determined; determining at least one vibration unit corresponding to the target position in the at least two vibration units, wherein the at least one vibration unit is positioned in a target area in the terminal equipment; controlling the at least one vibration unit to vibrate. Based on the scheme, under the condition that the terminal equipment meets the vibration triggering condition, at least one vibration unit corresponding to the target position in the terminal equipment can be controlled to vibrate, and not all vibration units in the terminal equipment are controlled to vibrate. In this way, the target area in the terminal device is caused to vibrate, not the entire terminal device. Therefore, the device can provide specific information for the user through the vibration of the target area, and the situation that the vibration feedback form of the terminal device is single can be improved.
In a possible implementation manner, in the control method of the terminal device provided in the embodiment of the present invention, the vibration trigger condition includes at least one of the following conditions 1 to 4:
condition 1: the terminal device detects the first audio signal.
Specifically, the first audio signal is an audio signal to be output by the terminal device.
It will be appreciated that the terminal device may detect an audio signal, such as the first audio signal described above, in the event that one or more objects are included in the interface displayed by its display screen. The interface displayed by the display screen comprises one or more objects, which can be objects in the image included by the interface.
Alternatively, the interface displayed on the display screen of the terminal device may be an interface provided by an application of the terminal device, for example, an interface provided by a game application (e.g., a role-playing game application) in the terminal device.
Illustratively, the control method of the terminal device provided by the embodiment of the present invention may be applied in a scenario where the terminal device runs a game application.
Specifically, the terminal device detecting the audio signal corresponding to the object in condition 1 may be performed in a case where the terminal device is to output the audio signal.
It will be appreciated that objects (e.g., controls) in some applications provided by the terminal device may correspond to audio signals, with the audio signals corresponding to different objects being the same or different.
Wherein, the position of the object in the terminal device in the interface provided by the application program (such as the position in the image in the interface) may correspond to the position on the display screen of the terminal device. Specifically, the terminal device may determine a position of the object in the interface of the application program to determine the position of the object on the display screen.
It will be appreciated that the application provided by the terminal device may prompt the user for information, such as information of a virtual event. One virtual event may be a virtual event occurring in an object provided by the application program, and the object may correspond to an audio signal.
For example, in a game application running in the terminal device, the virtual event provided to the user may be "gun in game character a", "explosion in game vehicle B", or the like. For example, in the virtual event "gun in game character a", the object is "game character a", and the audio signal corresponding to the object may be an audio signal indicating a gun sound. In the virtual event "game vehicle B explodes", the object is "game vehicle B", and the audio signal corresponding to the object may be an audio signal indicating an explosion sound.
Optionally, some actual events may also occur in the application program in the terminal device, such as a notification message prompting the power of the terminal device. At this time, the object provided by the embodiment of the present invention may be a prompt box for prompting the notification message, and the audio signal corresponding to the object may be an audio signal indicating a prompt tone corresponding to the notification message.
Optionally, the first audio signal corresponds to a target object (one object of one or more objects included in the interface) in an interface displayed on a display screen of the terminal device. At this time, the terminal device may determine a target position from the target object.
Specifically, S201 in the above embodiment includes S201a and S201 b:
s201a, under the condition that the terminal device detects the first audio signal, determining a target object corresponding to the first audio signal in an interface displayed by the display screen.
Illustratively, in combination with the example in the above embodiment, in the virtual event "gun in game character a" provided by the terminal device, the target object is "game character a", and the first audio signal may be an audio signal indicating a gun sound.
Illustratively, in combination with the example in the foregoing embodiment, in the actual event "notification message prompting the power of the terminal device" provided by the terminal device, the target object is a prompt box for prompting the notification message, and the first audio signal may be a prompt tone when the prompt box appears.
S201b, the terminal device determines that the position of the target object in the display screen is the target position.
Alternatively, the terminal device may determine the position of the "game character a" (i.e., the target object) through an image in the game application, such as a "map" in the game application, and further determine the target position of the target object in the display screen.
Illustratively, in combination with the example in the foregoing embodiment, in an actual event "notification message prompting the power of the terminal device" provided by the terminal device, a position of a prompt box (i.e., a target object) for prompting the notification message is a preset display position in the display screen.
Condition 2: the terminal equipment detects that the state of an object in an interface displayed by a display screen is switched.
It is to be understood that, in a case where the terminal device satisfies condition 2, the target position determined by the terminal device is a position of the object in condition 2 on the interface displayed on the display screen.
The state of the object in the implementation of the present invention may be the state of the object in a virtual event in the terminal device, or the state of the object in an actual event in the terminal device.
Optionally, the state of the object in the terminal device includes: at least one of a position of the object in the interface displayed on the display screen, a moving speed of the object in the interface, and an icon of the object.
For example, in a scenario where the terminal device runs a game application, such as a virtual event "gun in game character a" provided by the terminal device, the state of the object is switched to show a "bullet hole" in the icon of "game character a" and/or a "blood track of the gun in the icon of" game character a ", and the like.
For example, in a scenario where the terminal device runs the game application, such as an actual event "notification message prompting the power of the terminal device" provided by the terminal device, the state of the object is switched to "a prompt box for prompting the notification message" to be maximally displayed in a center position of the display screen, to be minimally displayed in a lower right corner position of the display screen, and the like.
Condition 3: the terminal equipment detects that the scene where the object is located in the interface displayed by the display screen is switched.
It is understood that, in a case where the terminal device satisfies the condition 3, the target position determined by the terminal device is a position of the object in the condition 3 on the interface displayed on the display screen.
The scene of the object in the implementation of the invention can be the scene of the object in the virtual event in the terminal equipment or the scene of the object in the actual event in the terminal equipment.
Optionally, the scene of the object in the terminal device may be brightness of the object or weather of the object.
For example, in a scene in which the terminal device runs the game application, such as a virtual event "gun in game character a" provided by the terminal device, the scene of the object is switched from "sunny" to "rainy".
For example, in a scene in which the terminal device runs the game application, such as an actual event "notification message prompting the power of the terminal device" provided by the terminal device, the scene of the object is switched, so that the scene in which the "prompt box for prompting the notification message" is located (i.e., the background image of the prompt box) is automatically switched from the image 1 to the image 2.
Condition 4: the terminal device detects an input of a user on an interface displayed on a display screen.
It is to be understood that, in a case where the terminal device satisfies condition 4, the target position determined by the terminal device is a position on the interface displayed on the display screen of the user input in condition 4.
Optionally, in this embodiment of the present invention, a scene of an object in the implementation of the present invention may be input of an object in a virtual event in the terminal device.
For example, in a scenario where the terminal device runs a game application, such as a virtual event "gun in game character a" provided by the terminal device, the user's input may be such that "virtual event" gun in game character a "occurs to" game character a ", i.e. such that" gun in game character a "input. The input by the user may be input to "game character a", among others.
For example, in a scenario where the terminal device runs a game application, such as an actual event "notification message prompting the power of the terminal device" provided by the terminal device, the user input may be input to a control (such as a close control) on "a prompt box for prompting the notification message".
Optionally, in the embodiment of the present invention, an interface displayed by a display screen of the terminal device may be a desktop of the terminal device. The object in the terminal device may be a control in the desktop, such as an icon of an application program or an icon of a widget; at this time, the input of the user may be an input of an icon of the application program.
Similarly, the virtual event provided by the control method of the terminal device provided in the embodiment of the present invention may refer to the description related to the virtual event "gun in game character a" in the above embodiment, and details of the embodiment of the present invention are not repeated.
It should be noted that the screen of the terminal device provided in the embodiment of the present invention may be a touch screen (for example, the touch screen may be integrated with a display screen), and the touch screen may be configured to receive an input from a user and display a content corresponding to the input to the user in response to the input. The input of the user may be touch screen input, fingerprint input, and the like. The touch screen input is input such as press input, long press input, slide input, click input, and hover input (input by a user near the touch screen) of a touch screen of the terminal device by the user. The fingerprint input is input such as a sliding fingerprint, a long-time pressing fingerprint, a single-click fingerprint and a double-click fingerprint of a touch screen of the terminal equipment by a user. Specifically, the input mode of the user is not particularly limited in the embodiment of the present invention, and may be any realizable mode.
It is understood that, in the embodiment of the present invention, for the case where the vibration trigger condition is two or more of the above conditions 1 to 4, the description about each condition alone in the above embodiment may be referred to; the relevant description of the target position in the display screen of the terminal device corresponding to the other vibration triggering conditions except for condition 1 is not repeated in the embodiment of the present invention.
Specifically, when the terminal device satisfies any one of the above conditions 1 to 4, the terminal device may determine to obtain one or more target locations that all address the condition. Or, in a case where the terminal device simultaneously satisfies a plurality of conditions of the above conditions 1 to 4, the terminal device may determine a target location for each of the plurality of conditions.
Optionally, the terminal device may control, for each of the determined plurality of target positions, vibration of the vibration unit corresponding to each target position at the same time.
It should be noted that, in the embodiment of the present invention, since the terminal device may determine the target position under the condition that the terminal device satisfies various vibration trigger conditions, the diversity of the target position determined by the terminal device is high. Therefore, at least one vibration unit corresponding to the target position is controlled to vibrate, and the result diversity of vibration of the target area is driven to be higher. Therefore, the situation that the vibration feedback form of the terminal equipment is single is further improved.
In a possible implementation manner, in a scenario where the terminal device satisfies condition 1 in the vibration trigger condition, before S203, for example, S204 may be further included between S202 and S203; accordingly, S203 described above may be replaced with S203 a:
and S204, the terminal equipment generates at least one vibration control signal according to the target audio signal.
Each of the at least one vibration unit corresponds to one of the at least one vibration control signal, the target audio signal is a first audio signal or a second audio signal, and the second audio signal is a signal generated according to the first audio signal.
Optionally, the terminal device may generate a target vibration control signal according to the target audio signal; and generating at least one vibration control signal from the target vibration control signal. Or, the terminal device may generate at least one sub audio signal according to the target audio signal, and then generate a vibration control signal for each sub audio signal in the at least one sub audio signal to obtain at least one vibration control signal.
Specifically, the vibration control signals in the at least one vibration control signal generated by the terminal device are the same or different.
It should be noted that the vibration duration of the vibration control signal is inversely proportional to the frequency of the target audio signal, and the vibration amplitude of the vibration control signal is directly proportional to the frequency of the target audio signal.
S203a, the terminal device controls each vibration unit to output a corresponding vibration control signal respectively so as to control at least one vibration unit to vibrate.
And the vibration control signal output by the terminal equipment is used for controlling the vibration of the corresponding vibration unit. Therefore, the terminal equipment can drive the target area in the terminal equipment to vibrate through the vibration of the at least one vibration unit.
It is understood that, in the case where an object at a target position on the display screen of the terminal device detects an audio signal (such as the first audio signal described above), i.e., the vibration trigger condition is condition 1, the terminal device generates at least one vibration control signal according to the first audio signal. In addition, when the audio signal is not detected by the object at the target position on the display screen of the terminal device, that is, the vibration trigger condition is a condition from the condition 2 to the condition 4, the terminal device generates at least one vibration control signal according to the default audio signal of the terminal device. Or when the vibration triggering condition is any one of the conditions 2 to 4, the terminal device controls at least one vibration unit to vibrate respectively according to at least one vibration control signal defaulted by the terminal device.
It is emphasized that, in the case where the terminal device simultaneously satisfies at least one of the above condition 1 and conditions 2 to 4, the vibration control signal obtained by the terminal device is obtained from the audio signal (i.e., the first audio signal) detected in condition 1 for the vibration unit corresponding to the same target position determined by the terminal device.
It should be noted that, in the control method of the terminal device provided in the embodiment of the present invention, the terminal device may control the vibration of the corresponding vibration unit according to one vibration control signal. In this way, even if one of the plurality of vibration units in one area in the terminal equipment fails, the vibration of the other vibration units in the plurality of vibration units except the one vibration unit can drive the area to vibrate. Thus, it is advantageous to ensure the accuracy of the vibration of the partial region in the terminal device.
In a possible implementation manner, in the control method of a terminal device provided in the embodiment of the present invention, the step S204 may be implemented by the step S204 a:
s204a, for each of at least one vibration unit in the terminal device, the terminal device generates a vibration control signal corresponding to the vibration unit according to the target audio signal and the first angle to obtain the at least one vibration control signal.
The first angle is an included angle between a first straight line and a second straight line, the first straight line is a straight line where a connecting line between a center point of a display screen of the terminal device and a target position is located, the second straight line is a straight line where a connecting line between the center point and a first position is located, and the first position is a position corresponding to one vibration unit on the display screen.
It is understood that any one of the at least two vibration units may be mapped to a position on the display screen along a direction in which a straight line perpendicular to the display screen is located.
Exemplarily, as shown in fig. 5, a schematic diagram of a position of a vibration unit of a terminal device provided in an embodiment of the present invention, which corresponds to a display screen, is shown. Referring to fig. 3, as shown in fig. 5, a position M1 on the display screen of the terminal device corresponds to a position of the vibration unit a in the terminal device, a position M2 on the display screen corresponds to a position of the vibration unit B, a position M3 on the display screen corresponds to a position of the vibration unit C in the terminal device, and a position M4 on the display screen corresponds to a position of the vibration unit D in the terminal device. The position O1 on the display screen of the terminal device is the center point of the display screen shown in fig. 5, and the shown position M0 is the target position, and this position M0 corresponds to the position N1 in the terminal device shown in fig. 3.
For example, in conjunction with fig. 3 and 5, for the vibration unit a shown in fig. 3, the first straight line may be a straight line on which a connecting line between the position O1 and the position M0 shown in fig. 5 is located; the second straight line may be a straight line connecting the position M1 (i.e., the first position) and the position O1 shown in fig. 5, and the first included angle is α shown in fig. 5. For the vibration unit B shown in fig. 3, the first straight line may be a straight line on which a line between the position O1 and the position M0 shown in fig. 5 is located; the second straight line may be a straight line connecting the position M2 (i.e., the first position) and the position O1 shown in fig. 5, and the first included angle is an angle formed by the angles α shown in fig. 5 being complementary angles, i.e., (90- α).
In the case that the terminal device generates a target vibration control signal according to the target audio signal, and then generates at least one vibration control signal from the target vibration control signal, the target vibration control signal may be denoted as S. Specifically, with reference to fig. 3 and 5, the vibration control signal corresponding to the vibration unit a may be Sa — sxα; the vibration control signal corresponding to the vibration unit B may be Sb ═ sx (90- α).
Exemplarily, as shown in fig. 6, a schematic diagram of a position of a vibration unit of another terminal device provided in an embodiment of the present invention, which corresponds to a display screen. Referring to fig. 4, as shown in fig. 6, a position M5 on the display screen of the terminal device corresponds to a position of the vibration unit a in the terminal device, a position M6 on the display screen corresponds to a position of the vibration unit B in the terminal device, a position M7 on the display screen corresponds to a position of the vibration unit C in the terminal device, and a position M8 on the display screen corresponds to a position of the vibration unit D in the terminal device. A position O2 on the display screen of the terminal apparatus is the center point of the display screen shown in fig. 6, and a position M0 'is shown as a target position, which position M0' corresponds to the position N2 in the terminal apparatus shown in fig. 4.
For example, in conjunction with fig. 4 and 6, for the vibration unit a shown in fig. 4, the first straight line may be a straight line on which a connecting line between the position O1 and the position M9 shown in fig. 6 is located; the second straight line may be a straight line connecting the position M5 (i.e., the first position) and the position O2 shown in fig. 6, and the first included angle is β shown in fig. 5. For the vibration unit B shown in fig. 4, the first straight line may be a straight line on which a line between the position O2 and the position M0' shown in fig. 6 is located; the second straight line may be a straight line connecting the position M6 (i.e., the first position) and the position O2 shown in fig. 6, and the first included angle is an angle formed by the angles α shown in fig. 6 and complementary angles, i.e., (90- β).
Similarly, in the case where the terminal device generates a target vibration control signal according to the target audio signal, and then generates at least one vibration control signal according to the target vibration control signal, the target vibration control signal may be denoted as S. Specifically, in conjunction with fig. 4, the vibration control signal corresponding to the vibration unit a in fig. 6 may be Sa — sxβ; the vibration control signal corresponding to the vibration unit B may be Sb ═ sx (90 — β).
It will be appreciated that the centre point of the display screen of the terminal device may be the primary location of the user's received vibration feedback. Alternatively, the location of the native game character in a virtual event provided in the game application of the terminal device.
It should be noted that, in the embodiment of the present invention, the terminal device may generate the vibration control signal related to the position of the vibration unit for different vibration units, which is favorable for controlling vibration of the vibration unit in the terminal device in a diversified manner, and further favorable for further improving a situation that a vibration feedback form of the terminal device is relatively single.
In a possible implementation manner, in the control method of a terminal device provided in an embodiment of the present invention, the target audio signal is a second audio signal. Specifically, S204 may further include S205:
and S205, the terminal equipment generates a second audio signal according to the first audio signal and the first distance.
The first distance is the distance between the center point of the display screen and the target position.
Illustratively, in conjunction with fig. 3 and 5, the first distance is the distance between position M0 and position O1 shown in fig. 5.
It is emphasized that the amplitude of the second audio signal is inversely proportional to the first distance. For example, the smaller the first distance, the larger the amplitude of the second audio signal.
It should be noted that, in the embodiment of the present invention, the terminal device may control the vibration amplitude of the second audio signal according to the first audio signal and the first distance, and further may control the vibration amplitude according to the second audio signal (i.e., the target audio signal). Therefore, the vibration unit in the terminal equipment can be controlled in a diversified mode, and the situation that the vibration feedback form of the terminal equipment is single can be further improved.
Exemplarily, as shown in fig. 7, a schematic diagram of a possible structure of a terminal device provided in an embodiment of the present invention is shown. The terminal device 70 shown in fig. 7 includes at least two vibration units, a first determination module 701, a second determination module 702, and a control module 703; a first determining module 701, configured to determine a target position in a display screen of the terminal device 70 when the terminal device 70 meets a vibration trigger condition; a second determining module 702, configured to determine at least one of the at least two vibration units, which corresponds to the target location determined by the first determining module 701, where the at least one vibration unit is located in the target area in the terminal device 70; a control module 703, configured to control the at least one vibration unit determined by the second determining module 702 to vibrate.
Optionally, the terminal device 70 meeting the vibration triggering condition includes at least one of the following: the terminal device 70 detects a first audio signal, the terminal device 70 detects that the state of an object in an interface displayed by a display screen is switched, the terminal device 70 detects that a scene where the object is located in the interface is switched, and the terminal device 70 detects that a user inputs on the interface; wherein the state of the object comprises at least one of a position of the object in the interface, a moving speed of the object in the interface, and an icon of the object.
Optionally, the terminal device 70 detects a first audio signal, where the first audio signal corresponds to a target object in the interface, and the target position is a position of the target object in the interface; the terminal device 70 further includes: a generation module; a generating module, configured to generate at least one vibration control signal according to a target audio signal before the control module 703 controls the at least one vibration unit to vibrate, where each vibration unit in the at least one vibration unit corresponds to one vibration control signal in the at least one vibration control signal, respectively, the target audio signal is a first audio signal or a second audio signal, and the second audio signal is a signal generated according to the first audio signal; the control module 703 is specifically configured to control each vibration unit to output the vibration control signal generated by the corresponding generation module.
Optionally, the generating module is specifically configured to generate, for each vibration unit of the at least one vibration unit, a vibration control signal corresponding to the vibration unit according to the target audio signal and the first angle, so as to obtain the at least one vibration control signal; the first angle is an included angle between a first straight line and a second straight line, the first straight line is a straight line where a connecting line between a center point of the display screen and a target position is located, the second straight line is a straight line where a connecting line between the center point and a first position is located, and the first position is a position corresponding to one vibration unit on the display screen.
Optionally, the target audio signal is a second audio signal; the generating module is further configured to generate a second audio signal according to the first audio signal and a first distance before generating the at least one vibration control signal according to the target audio signal, where the first distance is a distance between a center point of the display screen and the target position.
The terminal device 70 provided in the embodiment of the present invention can implement each process implemented by the terminal device in the foregoing method embodiments, and for avoiding repetition, details are not described here again.
It should be noted that, in the terminal device provided in the embodiment of the present invention, the terminal device includes at least two vibration units. In the scheme, under the condition that the terminal equipment meets the vibration triggering condition, the target position in the display screen of the terminal equipment can be determined; determining at least one vibration unit corresponding to the target position in the at least two vibration units, wherein the at least one vibration unit is positioned in a target area in the terminal equipment; controlling the at least one vibration unit to vibrate. Based on the scheme, the terminal device can control at least one vibration unit corresponding to the target position in the terminal device to vibrate instead of controlling all vibration units in the terminal device to vibrate under the condition that the vibration triggering condition is met. In this way, the target area in the terminal device is caused to vibrate, not the entire terminal device. Therefore, the device can provide specific information for the user through the vibration of the target area, and the situation that the vibration feedback form of the terminal device is single can be improved.
Fig. 8 is a schematic diagram of a hardware structure of a terminal device according to an embodiment of the present invention, where the terminal device 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the terminal device configuration shown in fig. 8 does not constitute a limitation of the terminal device, and that the terminal device may include more or fewer components than shown, or combine certain components, or a different arrangement of components. In the embodiment of the present invention, the terminal device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal device, a wearable device, a pedometer, and the like.
The processor 110 is configured to determine a target position in a display screen of the terminal device when the terminal device meets a vibration trigger condition; determining at least one vibration unit corresponding to the target position in the at least two vibration units, wherein the at least one vibration unit is positioned in a target area in the terminal equipment; controlling the at least one vibration unit to vibrate.
It should be noted that, in the terminal device provided in the embodiment of the present invention, the terminal device includes at least two vibration units. In the scheme, under the condition that the terminal equipment meets the vibration triggering condition, the target position in the display screen of the terminal equipment can be determined; determining at least one vibration unit corresponding to the target position in the at least two vibration units, wherein the at least one vibration unit is positioned in a target area in the terminal equipment; controlling the at least one vibration unit to vibrate. Based on the scheme, the terminal device can control at least one vibration unit corresponding to the target position in the terminal device to vibrate instead of controlling all vibration units in the terminal device to vibrate under the condition that the vibration triggering condition is met. In this way, the target area in the terminal device is caused to vibrate, not the entire terminal device. Therefore, the device can provide specific information for the user through the vibration of the target area, and the situation that the vibration feedback form of the terminal device is single can be improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through a wireless communication system.
The terminal device provides wireless broadband internet access to the user through the network module 102, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the terminal device 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive an audio or video signal. The input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode.
The terminal device 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the terminal device 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal device posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an organic light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal device. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and receives and executes commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 8, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the terminal device, and is not limited herein.
The interface unit 108 is an interface for connecting an external device to the terminal apparatus 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal apparatus 100 or may be used to transmit data between the terminal apparatus 100 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the terminal device, connects various parts of the entire terminal device by using various interfaces and lines, and performs various functions of the terminal device and processes data by running or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the terminal device. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The terminal device 100 may further include a power supply 111 (such as a battery) for supplying power to each component, and preferably, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the terminal device 100 includes some functional modules that are not shown, and are not described in detail here.
Preferably, an embodiment of the present invention further provides a terminal device, which includes a processor 110, a memory 109, and a computer program stored in the memory 109 and capable of running on the processor 110, where the computer program is executed by the processor 110 to implement each process of the foregoing method embodiment, and can achieve the same technical effect, and for avoiding repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the processes of the method embodiments, and can achieve the same technical effects, and in order to avoid repetition, the details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (9)

1. The control method of the terminal equipment is characterized by being applied to the terminal equipment, wherein the terminal equipment comprises at least two vibration units; the control method comprises the following steps:
determining a target position in a display screen of the terminal equipment under the condition that the terminal equipment meets a vibration triggering condition; determining at least one vibration unit corresponding to the target position in the at least two vibration units, wherein the at least one vibration unit is positioned in a target area in the terminal equipment; controlling the at least one vibration unit to vibrate;
the determining the target position in the display screen of the terminal device under the condition that the terminal device meets the vibration triggering condition includes:
under the condition that a first audio signal is detected, determining a target object corresponding to the first audio signal in an interface displayed by the display screen, and determining the position of the target object as the target position;
before the controlling the at least one vibration unit to vibrate, the control method further includes:
generating at least one vibration control signal according to a target audio signal, wherein each vibration unit of the at least one vibration unit corresponds to one vibration control signal of the at least one vibration control signal;
the controlling the at least one vibration unit to vibrate includes:
controlling each vibration unit to output a corresponding vibration control signal respectively;
the target audio signal is the first audio signal or a second audio signal, and the second audio signal is a signal generated according to the first audio signal and a first distance.
2. The control method according to claim 1, wherein the terminal device satisfying a vibration trigger condition comprises at least one of:
the terminal device detects a first audio signal, the terminal device detects that the state of an object in an interface displayed by the display screen is switched, the terminal device detects that a scene where the object in the interface is located is switched, and the terminal device detects that a user inputs on the interface;
wherein the state of the object comprises at least one of a position of the object in the interface, a moving speed of the object in the interface, and an icon of the object.
3. The control method of claim 1, wherein the generating at least one vibration control signal based on the target audio signal comprises:
for each vibration unit in the at least one vibration unit, generating a vibration control signal corresponding to the vibration unit according to the target audio signal and the first angle to obtain the at least one vibration control signal;
the first angle is an included angle between a first straight line and a second straight line, the first straight line is a straight line where a connecting line between a center point of the display screen and the target position is located, the second straight line is a straight line where a connecting line between the center point and a first position is located, and the first position is a position, corresponding to the vibration unit, on the display screen.
4. The control method according to claim 1, wherein the target audio signal is the second audio signal;
before the generating at least one vibration control signal according to the target audio signal, the control method further includes:
and generating the second audio signal according to the first audio signal and a first distance, wherein the first distance is the distance between the center point of the display screen and the target position.
5. The terminal equipment is characterized by comprising at least two vibration units, a first determination module, a second determination module and a control module;
the first determining module is used for determining a target position in a display screen of the terminal equipment under the condition that the terminal equipment meets a vibration triggering condition;
the second determining module is configured to determine at least one of the at least two vibration units corresponding to the target location determined by the first determining module, where the at least one vibration unit is located in a target area in the terminal device;
the control module is used for controlling the at least one vibration unit determined by the second determination module to vibrate;
the first determining module is specifically configured to determine, when a first audio signal is detected, a target object corresponding to the first audio signal in an interface displayed on the display screen, and determine that a position of the target object is the target position;
the terminal device further includes: a generation module;
the generating module is configured to generate at least one vibration control signal according to a target audio signal before the control module controls the at least one vibration unit to vibrate, where each vibration unit in the at least one vibration unit corresponds to one vibration control signal in the at least one vibration control signal, the target audio signal is the first audio signal or a second audio signal, and the second audio signal is a signal generated according to the first audio signal;
the control module is specifically configured to control each vibration unit to output the vibration control signal generated by the corresponding generation module.
6. The terminal device of claim 5, wherein the terminal device satisfying a vibration trigger condition comprises at least one of:
the terminal device detects a first audio signal, the terminal device detects that the state of an object in an interface displayed by the display screen is switched, the terminal device detects that a scene where the object in the interface is located is switched, and the terminal device detects that a user inputs on the interface;
wherein the state of the object comprises at least one of a position of the object in the interface, a moving speed of the object in the interface, and an icon of the object.
7. The terminal device of claim 5,
the generating module is specifically configured to generate, for each vibration unit of the at least one vibration unit, a vibration control signal corresponding to the vibration unit according to the target audio signal and the first angle, so as to obtain the at least one vibration control signal;
the first angle is an included angle between a first straight line and a second straight line, the first straight line is a straight line where a connecting line between a center point of the display screen and the target position is located, the second straight line is a straight line where a connecting line between the center point and a first position is located, and the first position is a position, corresponding to the vibration unit, on the display screen.
8. The terminal device according to claim 5, wherein the target audio signal is the second audio signal;
the generating module is further configured to generate the second audio signal according to the first audio signal and a first distance before generating at least one vibration control signal according to a target audio signal, where the first distance is a distance between a center point of the display screen and the target position.
9. A terminal device, characterized by comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the control method of a terminal device according to any one of claims 1 to 4.
CN201811152804.8A 2018-09-29 2018-09-29 Terminal device control method and terminal device Active CN109407832B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811152804.8A CN109407832B (en) 2018-09-29 2018-09-29 Terminal device control method and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811152804.8A CN109407832B (en) 2018-09-29 2018-09-29 Terminal device control method and terminal device

Publications (2)

Publication Number Publication Date
CN109407832A CN109407832A (en) 2019-03-01
CN109407832B true CN109407832B (en) 2021-06-29

Family

ID=65465769

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811152804.8A Active CN109407832B (en) 2018-09-29 2018-09-29 Terminal device control method and terminal device

Country Status (1)

Country Link
CN (1) CN109407832B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110064196A (en) * 2019-03-27 2019-07-30 努比亚技术有限公司 Method for controlling mobile terminal, mobile terminal and computer readable storage medium
CN110149428B (en) * 2019-05-21 2021-07-30 Oppo广东移动通信有限公司 Vibration method, terminal and storage medium
CN110121008A (en) * 2019-05-21 2019-08-13 Oppo广东移动通信有限公司 Method for oscillating, terminal and storage medium
WO2020258225A1 (en) * 2019-06-28 2020-12-30 瑞声声学科技(深圳)有限公司 Gamepad and gamepad vibration method and apparatus
CN113840023B (en) * 2021-09-13 2024-04-02 维沃移动通信有限公司 Electronic device, control method and control device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101631162A (en) * 2008-07-01 2010-01-20 Lg电子株式会社 Mobile terminal using proximity sensor and method of controlling the mobile terminal
CN102111496A (en) * 2009-12-24 2011-06-29 三星电子株式会社 Method and apparatus for generating vibrations in portable terminal
CN103003775A (en) * 2010-06-28 2013-03-27 Tp视觉控股有限公司 Enhancing content viewing experience
CN104063056A (en) * 2006-04-06 2014-09-24 伊梅森公司 Systems And Methods For Enhanced Haptic Effects
CN105511628A (en) * 2015-12-25 2016-04-20 魅族科技(中国)有限公司 Method for controlling motor and terminal
CN107111334A (en) * 2014-11-06 2017-08-29 微软技术许可有限责任公司 Modular wearable equipment for passing on affective state
CN108319361A (en) * 2017-01-17 2018-07-24 中兴通讯股份有限公司 A kind of feedback method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10152125B2 (en) * 2015-11-20 2018-12-11 Immersion Corporation Haptically enabled flexible devices
CN106997235B (en) * 2016-01-25 2018-07-13 亮风台(上海)信息科技有限公司 For realizing method, the equipment of augmented reality interaction and displaying

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104063056A (en) * 2006-04-06 2014-09-24 伊梅森公司 Systems And Methods For Enhanced Haptic Effects
CN101631162A (en) * 2008-07-01 2010-01-20 Lg电子株式会社 Mobile terminal using proximity sensor and method of controlling the mobile terminal
CN102111496A (en) * 2009-12-24 2011-06-29 三星电子株式会社 Method and apparatus for generating vibrations in portable terminal
CN103003775A (en) * 2010-06-28 2013-03-27 Tp视觉控股有限公司 Enhancing content viewing experience
CN107111334A (en) * 2014-11-06 2017-08-29 微软技术许可有限责任公司 Modular wearable equipment for passing on affective state
CN105511628A (en) * 2015-12-25 2016-04-20 魅族科技(中国)有限公司 Method for controlling motor and terminal
CN108319361A (en) * 2017-01-17 2018-07-24 中兴通讯股份有限公司 A kind of feedback method and device

Also Published As

Publication number Publication date
CN109407832A (en) 2019-03-01

Similar Documents

Publication Publication Date Title
CN110752980B (en) Message sending method and electronic equipment
CN109407832B (en) Terminal device control method and terminal device
CN110874147B (en) Display method and electronic equipment
CN109828732B (en) Display control method and terminal equipment
CN110062105B (en) Interface display method and terminal equipment
CN110058836B (en) Audio signal output method and terminal equipment
CN110913066A (en) Display method and electronic equipment
US20210352040A1 (en) Message sending method and terminal device
CN111163224B (en) Voice message playing method and electronic equipment
CN109032468B (en) Method and terminal for adjusting equipment parameters
CN110944408B (en) Data transmission method and electronic equipment
CN108681427B (en) Access right control method and terminal equipment
CN110445924B (en) Network task execution method and terminal equipment
CN109257505B (en) Screen control method and mobile terminal
CN110012151B (en) Information display method and terminal equipment
CN110058686B (en) Control method and terminal equipment
CN109933267B (en) Method for controlling terminal equipment and terminal equipment
CN109992192B (en) Interface display method and terminal equipment
CN109857305B (en) Input response method and mobile terminal
CN108449490B (en) Terminal control method and terminal
CN110366182A (en) A kind of data transmission method and terminal device
CN109857292B (en) Object display method and terminal equipment
CN109828702B (en) Interface display method and terminal equipment
CN110851106A (en) Audio output method and electronic equipment
CN110928508B (en) Control method and electronic equipment

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