[go: up one dir, main page]

CN109068239B - Terminal control method, control device and electronic equipment - Google Patents

Terminal control method, control device and electronic equipment Download PDF

Info

Publication number
CN109068239B
CN109068239B CN201810781804.8A CN201810781804A CN109068239B CN 109068239 B CN109068239 B CN 109068239B CN 201810781804 A CN201810781804 A CN 201810781804A CN 109068239 B CN109068239 B CN 109068239B
Authority
CN
China
Prior art keywords
terminal
distance
range
function
microphone
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
CN201810781804.8A
Other languages
Chinese (zh)
Other versions
CN109068239A (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.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius 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 Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201810781804.8A priority Critical patent/CN109068239B/en
Publication of CN109068239A publication Critical patent/CN109068239A/en
Application granted granted Critical
Publication of CN109068239B publication Critical patent/CN109068239B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • H04R3/12Circuits for transducers, loudspeakers or microphones for distributing signals to two or more loudspeakers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups

Landscapes

  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Otolaryngology (AREA)
  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The invention is suitable for the technical field of communication, and provides a control method, a control device, electronic equipment and a computer readable storage medium of a terminal, wherein the control method comprises the following steps: the method comprises the steps that a first distance is obtained, wherein the first distance is the distance from a first terminal to a second terminal, and the second terminal is in communication connection with the first terminal; acquiring a second distance, wherein the second distance is the distance from the first terminal to the ground of the current scene; and if the first distance is within a preset first range and the second distance is within a preset second range, starting the appointed function of the first terminal. The invention can solve the problem that the infant group in the prior art is difficult to operate the terminal by oneself (for example, the microphone is difficult to be turned on by oneself).

Description

Terminal control method, control device and electronic equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a terminal control method, a terminal control apparatus, an electronic device, and a computer-readable storage medium.
Background
At present, many early education machine products on the market are equipped with external equipment, such as a microphone; the microphone can realize the interaction with children, and can perform early education and language guidance on the children, so that the children are more willing to express in language, and the attention of the children can be attracted, and the learning interest of the children is improved.
However, the microphones in the prior art all require the user to turn on the microphone by operating a physical switch on the microphone when the user is using the microphone. However, for children, especially young children, it is not convenient enough to operate the physical switch of the microphone by themselves, which often requires the help of parents.
Disclosure of Invention
In view of the above, the present invention provides a control method, a control device, an electronic device and a computer-readable storage medium for a terminal, which can solve the problem that it is difficult for a group of children to operate the terminal by themselves (for example, it is difficult for the group of children to turn on a microphone by themselves) in the prior art.
A first aspect of the present invention provides a control method for a terminal, including:
acquiring a first distance, wherein the first distance is the distance from a first terminal to a second terminal, and the second terminal is in communication connection with the first terminal;
acquiring a second distance, wherein the second distance is the distance from the first terminal to the ground of the current scene;
and if the first distance is within a preset first range and the second distance is within a preset second range, starting the appointed function of the first terminal.
Based on the first aspect of the present invention, in a first possible implementation manner of the first aspect, after the starting of the specified function of the first terminal, the method includes:
and if the first distance is not in the first range or the second distance is not in the second range, closing the specified function.
Based on the first possible implementation manner of the first aspect of the present invention, in a second possible implementation manner of the first aspect, if the first distance is not within the first range, or the second distance is not within the second range, the turning off the specified function includes:
and if the duration that the first distance is not in the first range is longer than a first preset duration, or the duration that the second distance is not in the second range is longer than a second preset duration, closing the specified function.
Based on the first aspect of the present invention and any one of the foregoing possible implementation manners of the first aspect, in a third possible implementation manner, the starting a specific function of the first terminal includes:
if the appointed function of the first terminal is not started, starting the appointed function of the first terminal;
and if the appointed function of the first terminal is started, keeping the starting state of the appointed function of the first terminal.
Based on the first aspect of the present invention and any one of the foregoing possible implementation manners of the first aspect, in a fourth possible implementation manner, the obtaining the first distance includes:
and when the second terminal is in a power-on state, acquiring a first distance.
Based on the first aspect of the present invention and any one of the foregoing possible implementation manners of the first aspect, in a fourth possible implementation manner, the first terminal is a microphone, and the designated function is a sound collection function.
A second aspect of the present invention provides a control apparatus of a terminal, the control apparatus including:
the terminal comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein the first acquisition unit is used for acquiring a first distance, the first distance is the distance from a first terminal to a second terminal, and the second terminal is in communication connection with the first terminal;
the second obtaining unit is used for obtaining a second distance, wherein the second distance is the distance from the first terminal to the ground of the current scene;
and the control unit is used for starting the appointed function of the first terminal when the first distance acquired by the first acquisition unit is in a preset first range and the second distance acquired by the second acquisition unit is in a preset second range.
A third aspect of the invention provides an electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the control method of any of the terminals when executing the computer program.
A fourth aspect of the present invention provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the control method of the terminal according to any one of the above.
Compared with the prior art, the invention has the following beneficial effects:
according to the invention, a first distance is obtained, wherein the first distance is the distance from a first terminal to a second terminal, and the second terminal is in communication connection with the first terminal; acquiring a second distance, wherein the second distance is the distance from the first terminal to the ground of the current scene; if the first distance is within a preset first range and the second distance is within a preset second range, starting a designated function of the first terminal; the problem that in the prior art, the infant group is difficult to operate the terminal by oneself (for example, the microphone is difficult to be opened by oneself) is solved; that is, when the second terminal is the early education machine and the first terminal is the microphone, by detecting the distance from the ground of the microphone and the distance from the microphone to the early education machine, since the two distances do not exceed the respective corresponding limited ranges with a high probability when the user uses the microphone, it can be determined that the user needs to use the microphone when detecting that the two distances are in the respective corresponding limited ranges, thereby automatically starting the designated function (e.g., the sound collection function) of the microphone.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a flowchart illustrating an implementation of a control method for a terminal according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a control device of a terminal according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an electronic device provided in an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following description is made by way of specific embodiments with reference to the accompanying drawings.
Referring to fig. 1, it shows an implementation flowchart of a control method of a terminal provided in the embodiment of the present invention, which is detailed as follows:
in the embodiment of the present invention, the first terminal may be an external device of the second terminal, the first terminal may be a microphone, the second terminal may be an early education machine, and may also be a mobile terminal such as a smart tablet or a smart phone, and the second terminal is in communication connection with the microphone, collects voice information of a user through the microphone, and performs playing, recording, or other operations related to voice collection.
The following embodiments of the present invention will be described with reference to the first terminal as a microphone and the second terminal as an early education machine.
In step 101, a first distance is obtained, where the first distance is a distance from a first terminal to a second terminal, and the second terminal is in communication connection with the first terminal;
in the embodiment of the invention, the distance between the microphone and the early education machine which is in communication connection with the microphone is acquired, wherein the microphone can be in wired connection with the early education machine, for example, the microphone can be connected with the early education machine through an audio line; and the early education machine can be connected with the early education machine through wireless connection, such as Bluetooth connection.
In an application scenario, the microphone is in communication connection with the early education machine through the Bluetooth, and the distance between the microphone and the early education machine can be judged according to the strength of Bluetooth signals.
In another application scenario, the positioning modules are arranged on the microphone and the early education machine to acquire the geographic position coordinate information of the microphone and the early education machine, and the acquired coordinate information of the microphone and the early education machine is compared to obtain the distance between the microphone and the early education machine.
In step 102, a second distance is obtained, where the second distance is a distance from the first terminal to the ground of the current scene.
When a user uses the microphone, the bottom of the microphone generally faces the ground of the current scene, so in the embodiment of the invention, an infrared sensor can be arranged at the part of the microphone facing the ground for infrared distance measurement, and a microwave device can be arranged for measuring the distance from the microphone to the ground currently through electromagnetic waves.
In an embodiment of the present invention, the second distance is a vertical distance from the first terminal to a ground of the current scene, and when the microphone is in a non-vertical state during use, that is, when the microphone is not in a vertical state with respect to the ground, but is in an inclination angle smaller than 90 degrees, the tilt angle of the microphone may be detected by configuring a gyroscope sensor, and the vertical distance from the microphone to the ground may be calculated according to the tilt angle and the infrared ranging result or the microwave ranging result.
In step 103, if the first distance is within a preset first range and the second distance is within a preset second range, the designated function of the first terminal is turned on.
In the embodiment of the invention, a first range can be obtained by capturing the behavior habit of a user who usually uses a microphone, acquiring a large amount of first data of the distance from the microphone to the ground when the user uses the microphone and second data of the distance from the microphone to the early education machine equipment, and carrying out big data analysis on the first data; analyzing the second data to obtain a second range; the two ranges are used as threshold values to judge whether the user is in a state of needing to use the microphone.
In the embodiment of the present invention, the designated function of the first terminal may be a sound collection function of a microphone, and when it is determined that the user needs to use the microphone, that is, the first distance is within a preset first range, and the second distance is within a preset second range, the sound collection function of the microphone is turned on, so that the user does not need to perform a physical switch operation, and the sound collection function of the microphone is automatically turned on when the user needs to use the microphone.
In another application scenario, the first range and the second range may be defined in combination with the actual age or height of the user when performing the above big data analysis, for example, the first range and the second range may be set lower for a user with a smaller age or a smaller height, and the first range and the second range may be set higher for a user with a larger age or a larger height.
In addition, by applying the invention, the microphone can be designed without configuring a physical switch, namely, the main body of the microphone reduces control keys, thereby enabling the process design to have larger play space.
Optionally, in step 101, the obtaining the first distance includes:
and when the second terminal is in a power-on state, acquiring a first distance.
In this embodiment, when the early teaching machine is in the power-on state, the first distance is triggered to be acquired, so that unnecessary overhead of the system can be reduced.
Optionally, in step 103, the starting of the designated function of the first terminal includes:
if the appointed function of the first terminal is not started, starting the appointed function of the first terminal;
and if the appointed function of the first terminal is started, keeping the starting state of the appointed function of the first terminal.
In the embodiment of the invention, the first distance and the second distance are acquired, whether the user needs to use the microphone is judged according to the first distance and the second distance, when the user needs to use the microphone is judged, the current state of the appointed function (such as a sound acquisition function) of the microphone is further detected, if the current sound acquisition function is started, the starting state is kept, and if the current sound acquisition function is not started, the sound acquisition function is started.
Optionally, after the step 103, the method includes:
and if the first distance is not in the first range or the second distance is not in the second range, closing the specified function.
In this embodiment, after it is determined that the user needs to use the microphone and automatically turns on the sound collection function of the microphone, the first distance and the second distance are continuously monitored, and when the first distance is not in the first range or the second distance is not in the second range, it is determined that the user does not need to use the microphone any more, so that the sound collection function of the microphone is turned off, and power consumption of the microphone is saved.
Further, if the first distance is not within the first range or the second distance is not within the second range, the turning off the designated function includes: and if the duration that the first distance is not in the first range is longer than a first preset duration, or the duration that the second distance is not in the second range is longer than a second preset duration, closing the specified function.
It should be noted that, a user may be in an ambulatory state during a process of using a microphone, and therefore, a certain probability exists between the first distance and the second distance and may exceed the corresponding first range and second range, and therefore, in this embodiment, a duration that the first distance is not in the first range may be detected, and when the duration is longer than a first preset duration, it is determined that the user does not need to use the microphone, and then an operation of closing a sound collection function of the microphone is performed; or detecting the duration that the second distance is not in the second range, and when the duration is longer than a second preset duration, judging that the user does not need to use the microphone, and then executing the operation of closing the sound collection function of the microphone.
The first preset time period and the second preset time period may be set to 10 seconds or 15 seconds, and may be flexibly set according to actual conditions, which is not limited herein.
As can be seen from the above, the present invention obtains the first distance, where the first distance is a distance from the first terminal to the second terminal, and the second terminal is in communication connection with the first terminal; acquiring a second distance, wherein the second distance is the distance from the first terminal to the ground of the current scene; if the first distance is within a preset first range and the second distance is within a preset second range, starting a designated function of the first terminal; the problem that in the prior art, the infant group is difficult to operate the terminal by oneself (for example, the microphone is difficult to be opened by oneself) is solved; that is, when the second terminal is the early education machine and the first terminal is the microphone, by detecting the distance from the ground of the microphone and the distance from the microphone to the early education machine, since the two distances do not exceed the respective corresponding limited ranges with a high probability when the user uses the microphone, it can be determined that the user needs to use the microphone when detecting that the two distances are in the respective corresponding limited ranges, thereby automatically starting the designated function (e.g., the sound collection function) of the microphone.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
The following are embodiments of the apparatus of the invention, reference being made to the corresponding method embodiments described above for details which are not described in detail therein.
Fig. 2 is a schematic structural diagram of a control device of a terminal according to an embodiment of the present invention, and for convenience of description, only the portions related to the embodiment of the present invention are shown, and detailed descriptions are as follows:
as shown in fig. 2, the control device 2 of the terminal includes: a first acquisition unit 21, a second acquisition unit 22 and a control unit 23.
A first obtaining unit 21, configured to obtain a first distance, where the first distance is a distance from a first terminal to a second terminal, and the second terminal is in communication connection with the first terminal;
a second obtaining unit 22, configured to obtain a second distance, where the second distance is a distance from the first terminal to a ground of a current scene;
the control unit 23 is configured to start the designated function of the first terminal when the first distance acquired by the first acquiring unit 21 is within a preset first range, and the second distance acquired by the second acquiring unit 22 is within a preset second range.
Optionally, the control unit 23 is further configured to:
after the designation function of the first terminal is turned on, when the first distance acquired by the first acquiring unit 21 is not in the first range or the second distance acquired by the second acquiring unit 22 is not in the second range, the designation function is turned off.
Optionally, the control unit 23 is further specifically configured to:
after the appointed function of the first terminal is started, when the duration that the first distance acquired by the first acquiring unit 21 is not in the first range is longer than a first preset duration, or the duration that the second distance acquired by the second acquiring unit 22 is not in the second range is longer than a second preset duration, the appointed function is closed.
Optionally, the control unit 23 is further specifically configured to:
if the appointed function of the first terminal is not started, starting the appointed function of the first terminal;
and if the appointed function of the first terminal is started, keeping the starting state of the appointed function of the first terminal.
Optionally, the first obtaining unit 21 is further configured to obtain the first distance when the second terminal is in a power-on state.
Optionally, the first terminal is a microphone, and the designated function is a sound collection function.
As can be seen from the above, the present invention obtains the first distance, where the first distance is a distance from the first terminal to the second terminal, and the second terminal is in communication connection with the first terminal; acquiring a second distance, wherein the second distance is the distance from the first terminal to the ground of the current scene; if the first distance is within a preset first range and the second distance is within a preset second range, starting a designated function of the first terminal; the problem that in the prior art, the infant group is difficult to operate the terminal by oneself (for example, the microphone is difficult to be opened by oneself) is solved; that is, when the second terminal is the early education machine and the first terminal is the microphone, by detecting the distance from the ground of the microphone and the distance from the microphone to the early education machine, since the two distances do not exceed the respective corresponding limited ranges with a high probability when the user uses the microphone, it can be determined that the user needs to use the microphone when detecting that the two distances are in the respective corresponding limited ranges, thereby automatically starting the designated function (e.g., the sound collection function) of the microphone.
Fig. 3 is a schematic diagram of an electronic device according to an embodiment of the present invention. As shown in fig. 3, the electronic apparatus 3 of this embodiment includes: a processor 30, a memory 31 and a computer program 32 stored in said memory 31 and executable on said processor 30. The processor 30 implements the steps in the control method embodiments of the respective terminals described above, such as the steps 101 to 103 shown in fig. 1, when executing the computer program 32. Alternatively, the processor 30, when executing the computer program 32, implements the functions of the modules/units in the above-mentioned device embodiments, such as the functions of the units 21 to 23 shown in fig. 2.
Illustratively, the computer program 32 may be partitioned into one or more modules/units that are stored in the memory 31 and executed by the processor 30 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 32 in the electronic device 3. For example, the computer program 32 may be divided into a first acquisition unit, a second acquisition unit and a control unit, each unit functioning specifically as follows:
the terminal comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein the first acquisition unit is used for acquiring a first distance, the first distance is the distance from a first terminal to a second terminal, and the second terminal is in communication connection with the first terminal;
the second obtaining unit is used for obtaining a second distance, wherein the second distance is the distance from the first terminal to the ground of the current scene;
and the control unit is used for starting the appointed function of the first terminal when the first distance acquired by the first acquisition unit is in a preset first range and the second distance acquired by the second acquisition unit is in a preset second range.
The electronic device 3 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The electronic device may include, but is not limited to, a processor 30, a memory 31. It will be appreciated by those skilled in the art that fig. 3 is merely an example of the electronic device 3, and does not constitute a limitation of the electronic device 3, and may include more or less components than those shown, or combine certain components, or different components, for example, the electronic device may also include input output devices, network access devices, buses, etc.
The Processor 30 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 31 may be an internal storage unit of the electronic device 3, such as a hard disk or a memory of the electronic device 3. The memory 31 may also be an external storage device of the electronic device 3, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the electronic device 3. Further, the memory 31 may also include both an internal storage unit and an external storage device of the electronic device 3. The memory 31 is used for storing the computer program and other programs and data required by the electronic device. The memory 31 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/electronic device and method may be implemented in other ways. For example, the above-described apparatus/electronic device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
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, 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, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media which may not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (9)

1. A control method of a terminal, the control method comprising:
acquiring a first distance, wherein the first distance is the distance from a first terminal to a second terminal, and the second terminal is in communication connection with the first terminal;
acquiring a second distance, wherein the second distance is the distance from the first terminal to the ground of the current scene;
if the first distance is within a preset first range and the second distance is within a preset second range, starting an appointed function of the first terminal, wherein the first terminal is a microphone and the appointed function is a sound collection function.
2. The method for controlling the terminal according to claim 1, wherein after the starting of the specified function of the first terminal, the method comprises:
and if the first distance is not in the first range or the second distance is not in the second range, closing the specified function.
3. The method according to claim 2, wherein the turning off the specific function if the first distance is not within the first range or the second distance is not within the second range comprises:
and if the duration that the first distance is not in the first range is longer than a first preset duration, or the duration that the second distance is not in the second range is longer than a second preset duration, closing the specified function.
4. The method according to any one of claims 1 to 3, wherein the starting of the specified function of the first terminal includes:
if the appointed function of the first terminal is not started, starting the appointed function of the first terminal;
and if the appointed function of the first terminal is started, keeping the starting state of the appointed function of the first terminal.
5. The method according to any one of claims 1 to 3, wherein the obtaining the first distance comprises:
and when the second terminal is in a power-on state, acquiring a first distance.
6. A control apparatus of a terminal, characterized in that the control apparatus comprises:
the terminal comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein the first acquisition unit is used for acquiring a first distance, the first distance is the distance from a first terminal to a second terminal, and the second terminal is in communication connection with the first terminal;
the second obtaining unit is used for obtaining a second distance, wherein the second distance is the distance from the first terminal to the ground of the current scene;
the control unit is used for starting the appointed function of the first terminal when the first distance acquired by the first acquisition unit is within a preset first range and the second distance acquired by the second acquisition unit is within a preset second range, the first terminal is a microphone, and the appointed function is a sound acquisition function.
7. The control device of the terminal according to claim 6, wherein the control unit is further configured to:
after the appointed function of the first terminal is started, when the first distance acquired by the first acquisition unit is not in the first range or the second distance acquired by the second acquisition unit is not in the second range, the appointed function is closed.
8. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the steps of the method according to any of claims 1 to 5 are implemented when the computer program is executed by the processor.
9. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
CN201810781804.8A 2018-07-17 2018-07-17 Terminal control method, control device and electronic equipment Active CN109068239B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810781804.8A CN109068239B (en) 2018-07-17 2018-07-17 Terminal control method, control device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810781804.8A CN109068239B (en) 2018-07-17 2018-07-17 Terminal control method, control device and electronic equipment

Publications (2)

Publication Number Publication Date
CN109068239A CN109068239A (en) 2018-12-21
CN109068239B true CN109068239B (en) 2021-02-19

Family

ID=64816772

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810781804.8A Active CN109068239B (en) 2018-07-17 2018-07-17 Terminal control method, control device and electronic equipment

Country Status (1)

Country Link
CN (1) CN109068239B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117711410B (en) * 2023-05-30 2024-12-31 荣耀终端有限公司 Voice wake-up method and related equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6778842B2 (en) * 2000-12-12 2004-08-17 Nec Corporation Portable telephone and data communication control method for portable telephone
CN202353773U (en) * 2011-12-05 2012-07-25 佳乐电子股份有限公司 Induction opening type microphone
CN104050402A (en) * 2014-06-12 2014-09-17 深圳市汇顶科技股份有限公司 Mobile terminal security certification method and system and mobile terminal
CN104079972A (en) * 2014-06-30 2014-10-01 惠州Tcl移动通信有限公司 Method and system for detecting user to be in sleep state to automatically turn off television
CN107948877A (en) * 2017-12-21 2018-04-20 广东小天才科技有限公司 Microphone control method and system and microphone
CN108040306A (en) * 2017-12-11 2018-05-15 广东小天才科技有限公司 Control method of microphone equipment and microphone equipment
CN108052195A (en) * 2017-12-05 2018-05-18 广东小天才科技有限公司 Control method of microphone equipment and terminal equipment
CN108108006A (en) * 2017-12-19 2018-06-01 广东小天才科技有限公司 Microphone remote control method and system
CN108174369A (en) * 2017-11-30 2018-06-15 广东小天才科技有限公司 Microphone starting method and device of early education equipment, early education equipment and storage medium
CN108196819A (en) * 2018-01-30 2018-06-22 广东小天才科技有限公司 Working mode switching method and device applied to terminal and electronic equipment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8189807B2 (en) * 2008-06-27 2012-05-29 Microsoft Corporation Satellite microphone array for video conferencing
US8941560B2 (en) * 2011-09-21 2015-01-27 Google Inc. Wearable computer with superimposed controls and instructions for external device
US9460590B2 (en) * 2012-09-24 2016-10-04 Wal-Mart Stores, Inc. Determination of customer proximity to a register through use of sound and methods thereof
US9398130B2 (en) * 2014-08-15 2016-07-19 Htc Corporation Mobile terminal and method for controlling answer mode of the mobile terminal and non-transitory computer-readable storage medium
CN107636657A (en) * 2016-08-18 2018-01-26 深圳市柔宇科技有限公司 A kind of wearable device and control method
CN107067679B (en) * 2017-06-26 2019-04-30 广东小天才科技有限公司 An alarm method and device
CN107765891B (en) * 2017-10-19 2021-12-21 广东小天才科技有限公司 Microphone control method and microphone

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6778842B2 (en) * 2000-12-12 2004-08-17 Nec Corporation Portable telephone and data communication control method for portable telephone
CN202353773U (en) * 2011-12-05 2012-07-25 佳乐电子股份有限公司 Induction opening type microphone
CN104050402A (en) * 2014-06-12 2014-09-17 深圳市汇顶科技股份有限公司 Mobile terminal security certification method and system and mobile terminal
CN104079972A (en) * 2014-06-30 2014-10-01 惠州Tcl移动通信有限公司 Method and system for detecting user to be in sleep state to automatically turn off television
CN108174369A (en) * 2017-11-30 2018-06-15 广东小天才科技有限公司 Microphone starting method and device of early education equipment, early education equipment and storage medium
CN108052195A (en) * 2017-12-05 2018-05-18 广东小天才科技有限公司 Control method of microphone equipment and terminal equipment
CN108040306A (en) * 2017-12-11 2018-05-15 广东小天才科技有限公司 Control method of microphone equipment and microphone equipment
CN108108006A (en) * 2017-12-19 2018-06-01 广东小天才科技有限公司 Microphone remote control method and system
CN107948877A (en) * 2017-12-21 2018-04-20 广东小天才科技有限公司 Microphone control method and system and microphone
CN108196819A (en) * 2018-01-30 2018-06-22 广东小天才科技有限公司 Working mode switching method and device applied to terminal and electronic equipment

Also Published As

Publication number Publication date
CN109068239A (en) 2018-12-21

Similar Documents

Publication Publication Date Title
CN107643977B (en) Anti-addiction method and related product
CN106055962B (en) Unlocking control method and mobile terminal
US20200167581A1 (en) Anti-counterfeiting processing method and related products
CN105512685B (en) Object identification method and device
CN107256707B (en) Voice recognition method, system and terminal equipment
CN103716309A (en) Security authentication method and terminal
CN105512545B (en) Access rights management method and device
CN109190648B (en) Simulation environment generation method and device, mobile terminal and computer readable storage medium
AU2018284487B2 (en) Application control method and application control device
CN106598676B (en) Application program management method and device and terminal equipment
CN110364156A (en) Voice interactive method, system, terminal and readable storage medium storing program for executing
US20180365443A1 (en) Information Processing Method And Related Products
CN106446946B (en) Image recognition method and device
CN109961781B (en) Robot-based voice information receiving method and system and terminal equipment
CN106096515B (en) A kind of solution lock control method and terminal device
KR20200072196A (en) Electronic device audio enhancement and method thereof
CN110807180A (en) Method and device for safety certification and training safety certification model and electronic equipment
CN107592427B (en) Mode switching method, terminal device and computer-readable storage medium
CN107909011A (en) Face identification method and Related product
CN107316637A (en) Speech recognition method and related products
CN106484614A (en) A kind of method of verification picture processing effect, device and mobile terminal
CN107515765B (en) Alarm turn-off method, system and terminal equipment
CN109068239B (en) Terminal control method, control device and electronic equipment
CN105868598A (en) Method and terminal for fingerprint unlocking
CN106488168B (en) Method and device for switching angles of pictures collected in electronic terminal

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