CN110851102A - Output volume control method and device, electronic equipment and medium - Google Patents
Output volume control method and device, electronic equipment and medium Download PDFInfo
- Publication number
- CN110851102A CN110851102A CN201910955248.6A CN201910955248A CN110851102A CN 110851102 A CN110851102 A CN 110851102A CN 201910955248 A CN201910955248 A CN 201910955248A CN 110851102 A CN110851102 A CN 110851102A
- Authority
- CN
- China
- Prior art keywords
- information
- output volume
- user
- mobile terminal
- determining
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 66
- 238000013507 mapping Methods 0.000 claims description 67
- 238000005516 engineering process Methods 0.000 claims description 16
- 238000004590 computer program Methods 0.000 claims description 11
- 238000004422 calculation algorithm Methods 0.000 claims description 9
- 238000001514 detection method Methods 0.000 claims description 5
- 230000003993 interaction Effects 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 description 9
- 238000004891 communication Methods 0.000 description 7
- 230000010365 information processing Effects 0.000 description 7
- 230000008569 process Effects 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 230000009286 beneficial effect Effects 0.000 description 4
- 230000008901 benefit Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000013473 artificial intelligence Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000008447 perception Effects 0.000 description 3
- 230000003044 adaptive effect Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/16—Sound input; Sound output
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/29—Geographical information databases
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Remote Sensing (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application provides an output volume control method and device for a mobile terminal, electronic equipment and a computer readable medium. The output volume control method for the mobile terminal comprises the following steps: detecting spatial information of the mobile terminal; according to the spatial information, output volume information corresponding to the spatial information is determined; and controlling the output volume of the mobile terminal according to the output volume information. According to the method, the volume matched with the spatial information of the mobile terminal can be output, so that the proper output volume can be automatically adjusted without manual operation of a user, the output volume meets the listening requirement of the user, the manual volume adjusting operation of the user is reduced, and the user interaction experience is improved.
Description
Technical Field
The application relates to the technical field of artificial intelligence, in particular to an output volume control method and device for a mobile terminal, electronic equipment and a computer readable medium.
Background
A Robot (Robot) is a machine device that automatically executes work, and can accept human commands, run pre-programmed programs, and perform actions according to principles formulated by artificial intelligence techniques.
With the development of Artificial Intelligence (AI) technology, intelligent robot technology has been rapidly developed and started to be applied in real life, which brings great convenience to people's daily life.
The intelligent robot can be applied to various scenes, such as hotels, factories, exhibition halls, shopping malls, residences and the like, and can interact with users through voice.
Disclosure of Invention
The application aims to provide an output volume control method and device for a mobile terminal, an electronic device and a computer readable medium.
A first aspect of the present application provides an output volume control method for a mobile terminal, including:
detecting spatial information of the mobile terminal;
according to the spatial information, output volume information corresponding to the spatial information is determined;
and controlling the output volume of the mobile terminal according to the output volume information.
In some embodiments of the first aspect of the present application, the spatial information includes spatial size information of a space in which the mobile terminal is located;
the detecting the spatial information of the mobile terminal includes:
determining an electronic map of a space where the mobile terminal is located and a position coordinate of the mobile terminal in the electronic map by adopting an instant positioning and map building SLAM technology;
and determining the space size information of the space where the mobile terminal is located according to the electronic map and the position coordinates.
In some embodiments of the first aspect of the present application, the determining, according to the electronic map and the position coordinates, space size information of a space in which the mobile terminal is located includes:
and calculating the space size information of the space where the mobile terminal is located by utilizing a boundary algorithm and the scale information of the electronic map according to the electronic map and the position coordinates.
In some embodiments of the first aspect of the present application, the determining, according to the spatial information, output volume information corresponding to the spatial information includes:
and according to the spatial information, determining output volume information corresponding to the spatial information by inquiring a preset output volume mapping table, wherein the output volume mapping table records mapping information between the spatial information and the output volume information.
In some embodiments of the first aspect of the present application, the method further comprises:
after detecting that the output volume is adjusted by the user, determining first output volume information after the adjustment by the user;
determining mapping information between the first output volume information and the current spatial information as custom mapping information;
and adding the custom mapping information to the output volume mapping table.
In some embodiments of the first aspect of the present application, the determining the first output volume information after the user adjustment is detected includes:
and after detecting that the user adjusts the output volume for multiple times, determining one of the adjusted output volume information with the highest occurrence probability as first output volume information.
In some embodiments of the first aspect of the present application, the determining, according to the spatial information, output volume information corresponding to the spatial information by querying a preset output volume mapping table includes:
inquiring user-defined mapping information corresponding to the spatial information from the output volume mapping table;
if the first output volume information is found, determining the first output volume information in the user-defined mapping information as the output volume information corresponding to the spatial information;
and if the output volume information is not found, determining second output volume information in default mapping information corresponding to the spatial information as the output volume information corresponding to the spatial information.
In some embodiments of the first aspect of the present application, before determining, according to the spatial information, output volume information corresponding to the spatial information, the method further includes:
acquiring user information of a current user;
and determining output volume information corresponding to the user information and the spatial information according to the user information and the spatial information.
In some embodiments of the first aspect of the present application, the obtaining user information of the current user includes:
and determining the user information of the current user by a face recognition technology.
A second aspect of the present application provides an output volume control device for a mobile terminal, comprising:
the spatial information detection module is used for detecting the spatial information of the mobile terminal;
the output volume determining module is used for determining output volume information corresponding to the spatial information according to the spatial information;
and the volume control module is used for controlling the output volume of the mobile terminal according to the output volume information.
In some embodiments of the second aspect of the present application, the spatial information includes spatial size information of a space in which the mobile terminal is located;
the spatial information detection module includes:
the map building unit is used for determining an electronic map of the space where the mobile terminal is located and the position coordinates of the mobile terminal in the electronic map by adopting an instant positioning and map building SLAM technology;
and the space size determining unit is used for determining the space size information of the space where the mobile terminal is located according to the electronic map and the position coordinates.
In some embodiments of the second aspect of the present application, the space size determining unit includes:
and the boundary determining subunit is used for calculating the space size information of the space where the mobile terminal is located by utilizing a boundary algorithm and the scale information of the electronic map according to the electronic map and the position coordinates.
In some embodiments of the second aspect of the present application, the output volume determination module comprises:
and the table look-up determining unit is used for determining output volume information corresponding to the spatial information by inquiring a preset output volume mapping table according to the spatial information, wherein the output volume mapping table records mapping information between the spatial information and the output volume information.
In some embodiments of the second aspect of the present application, the apparatus further comprises:
the adjustment volume determining module is used for determining first output volume information adjusted by a user after detecting that the output volume is adjusted by the user;
the user-defined volume determining module is used for determining mapping information between the first output volume information and the current spatial information as user-defined mapping information;
and the user-defined volume storage module is used for adding the user-defined mapping information to the output volume mapping table.
In some embodiments of the second aspect of the present application, the adjusted volume determination module comprises:
and the high-probability adjustment volume determining unit is used for determining one of the adjusted output volume information with the highest probability as the first output volume information after detecting that the output volume is adjusted for multiple times by the user.
In some embodiments of the second aspect of the present application, the table lookup determination unit comprises:
the user-defined information query unit is used for querying user-defined mapping information corresponding to the spatial information from the output volume mapping table;
the user-defined information processing unit is used for determining first output volume information in the user-defined mapping information as output volume information corresponding to the spatial information if the user-defined mapping information is found;
and the default information processing unit is used for determining second output volume information in default mapping information corresponding to the spatial information as the output volume information corresponding to the spatial information if the second output volume information is not found.
In some embodiments of the second aspect of the present application, the apparatus further comprises:
the user information acquisition module is used for acquiring the user information of the current user;
and the user corresponding output volume determining module is used for determining output volume information corresponding to the user information and the spatial information according to the user information and the spatial information.
In some embodiments of the second aspect of the present application, the user information obtaining module includes:
and the face recognition unit is used for determining the user information of the current user through a face recognition technology.
A third aspect of the present application provides an electronic device comprising: memory, a processor and a computer program stored on the memory and executable on the processor, the processor executing the computer program when executing the computer program to perform the method of the first aspect of the application.
In some embodiments of the third aspect of the present application, the electronic device comprises a robot or a controller of the robot.
A fourth aspect of the present application provides a computer readable medium having computer readable instructions stored thereon which are executable by a processor to implement the method of the first aspect of the present application.
Compared with the prior art, the output volume control method for the mobile terminal, provided by the application, the mobile terminal firstly detects the spatial information where the mobile terminal is located, then, according to the spatial information, the output volume information corresponding to the spatial information is determined, and then, according to the output volume information, the output volume of the mobile terminal is controlled, so that the volume adaptive to the spatial information where the mobile terminal is located can be output, for example, if the space is large, a high volume is output, if the space is small, a small volume is output, and therefore, the appropriate output volume can be automatically adjusted without manual operation of a user, the output volume meets the listening requirement of the user, the manual volume adjustment operation of the user is reduced, and the user interaction experience is improved.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the application. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 illustrates a flow chart of an output volume control method for a mobile terminal according to some embodiments of the present application;
fig. 2 illustrates a schematic diagram of an output volume control apparatus for a mobile terminal according to some embodiments of the present application;
FIG. 3 illustrates a schematic diagram of an electronic device provided by some embodiments of the present application;
FIG. 4 illustrates a schematic diagram of a computer medium provided by some embodiments of the present application.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
It is to be noted that, unless otherwise specified, technical or scientific terms used herein shall have the ordinary meaning as understood by those skilled in the art to which this application belongs.
In addition, the terms "first", "second", and "third", etc. are used to distinguish different objects, rather than to describe a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
The embodiment of the application provides an output volume control method and device for a mobile terminal, an electronic device and a computer readable medium, which are exemplarily described below with reference to the accompanying drawings.
Referring to fig. 1, which shows a flowchart of an output volume control method for a mobile terminal according to some embodiments of the present application, the output volume control method for a mobile terminal may include the following steps:
step S101: and detecting the spatial information of the mobile terminal.
Step S102: and determining output volume information corresponding to the spatial information according to the spatial information.
Step S103: and controlling the output volume of the mobile terminal according to the output volume information.
Compared with the prior art, according to the output volume control method for the mobile terminal, the mobile terminal firstly detects the spatial information where the mobile terminal is located, then, according to the spatial information, the output volume information corresponding to the spatial information is determined, and then, according to the output volume information, the output volume of the mobile terminal is controlled, so that the volume adaptive to the spatial information where the mobile terminal is located can be output, for example, if the space is large, a high volume is output, if the space is small, a small volume is output, and therefore, the appropriate output volume can be automatically adjusted without manual operation of a user, the output volume meets the listening requirement of the user, the manual volume adjustment operation of the user is reduced, and the user interaction experience is improved.
It should be noted that the spatial information may include spatial size information of a space where the mobile terminal is located, closing condition information of the space, obstacle information in the space, and the like, and the spatial information may all affect a sound propagation effect, so that in the embodiment of the present application, different output volume information may be set correspondingly for different spatial information, and then, corresponding output volume information is determined according to actual spatial information to output.
For example, according to the space size information, in a space with a large space size, the output volume corresponding to the output volume information is relatively large; in the space with smaller space size, the output volume corresponding to the output volume information is relatively smaller so as to meet the auditory perception of the user.
For another example, according to the closed condition information of the space, in a more open space, the output volume corresponding to the output volume information is relatively large; in a relatively closed space, the output volume corresponding to the output volume information is relatively small, so as to meet the auditory perception of the user.
For another example, according to the obstacle information in the space, in the space with more obstacles and more intervals, the output volume corresponding to the output volume information is relatively larger; in the space with fewer obstacles and fewer intervals, the output volume corresponding to the output volume information is relatively smaller so as to meet the auditory perception of the user.
Those skilled in the art can flexibly set the corresponding relationship between the spatial information and the output volume information according to the above exemplary description and in combination with actual requirements, and the embodiments of the present application do not limit specific parameters and forms thereof, which should be within the scope of the present application.
The above spatial information may be obtained by scanning by the mobile terminal, and specifically, may be implemented by a map construction technology, for example, in some modified implementations of the embodiment of the present application, the spatial information includes spatial size information of a space where the mobile terminal is located;
the detecting the spatial information of the mobile terminal includes:
determining an electronic map of a space where the mobile terminal is located And a position coordinate of the mobile terminal in the electronic map by adopting an instant positioning And mapping (SLAM) technology;
and determining the space size information of the space where the mobile terminal is located according to the electronic map and the position coordinates.
It is easily understood that, in order to achieve the purpose of the embodiment of the present application, the mobile terminal may be configured with corresponding sensors to obtain the above spatial information, for example, a laser range finder, an infrared range finder, and a positioning module (for example, a positioning module such as GPS, beidou, etc.), and a person skilled in the art may flexibly select the sensors according to actual needs to achieve the purpose of the embodiment of the present application, and the embodiment of the present application is not limited to a specific implementation manner thereof.
Through the embodiment, the electronic map of the environment where the mobile terminal is located can be accurately mapped by adopting the SLAM technology, so that the spatial information where the mobile terminal is located can be more accurately determined, and more appropriate output volume information can be matched for output.
In addition to the foregoing embodiments, in some variations, the determining, according to the electronic map and the position coordinates, space size information of a space in which the mobile terminal is located includes:
and calculating the space size information of the space where the mobile terminal is located by utilizing a boundary algorithm and the scale information of the electronic map according to the electronic map and the position coordinates.
The method includes the steps that space size information of a space where the mobile terminal is located is determined by using a boundary algorithm and the like based on an electronic map, implementation can be flexibly changed according to the boundary algorithm provided by the prior art, and the specific implementation mode is not limited in the embodiment of the application.
Through the embodiment, the space size information of the space where the mobile terminal is located can be quickly determined by utilizing the boundary algorithm, the method has the advantage of high processing speed, the response speed of the mobile terminal can be effectively improved, and the output volume of the mobile terminal can be timely and accurately adjusted in the moving process.
In some modifications of the embodiments of the present application, the determining, according to the spatial information, output volume information corresponding to the spatial information includes:
and according to the spatial information, determining output volume information corresponding to the spatial information by inquiring a preset output volume mapping table, wherein the output volume mapping table records mapping information between the spatial information and the output volume information.
In this embodiment, the output volume mapping table may be preset, and when necessary, the output volume information corresponding to the spatial information may be determined by looking up the table, which has the advantages of simplicity, convenience, high processing efficiency, and the like.
In addition to the above embodiments, in some variations, the method further comprises:
after detecting that the output volume is adjusted by the user, determining first output volume information after the adjustment by the user;
determining mapping information between the first output volume information and the current spatial information as custom mapping information;
and adding the custom mapping information to the output volume mapping table.
By the embodiment, user-defined mapping information can be supported, personalized customization of output volume under different spatial information is realized, and personalized and diversified auditory demands of users are met.
In addition to the foregoing embodiments, in some modified embodiments, the determining the first output volume information after the user adjustment is detected includes:
and after detecting that the user adjusts the output volume for multiple times, determining one of the adjusted output volume information with the highest occurrence probability as first output volume information.
Through the embodiment, the first output volume information with the highest probability can be determined through probability calculation, so that the matched output volume information has higher probability to meet the use requirements of users.
In other modified embodiments of the embodiment of the present application, the determining, according to the spatial information, output volume information corresponding to the spatial information by querying a preset output volume mapping table includes:
inquiring user-defined mapping information corresponding to the spatial information from the output volume mapping table;
if the first output volume information is found, determining the first output volume information in the user-defined mapping information as the output volume information corresponding to the spatial information;
and if the output volume information is not found, determining second output volume information in default mapping information corresponding to the spatial information as the output volume information corresponding to the spatial information.
The default mapping information can be obtained through a large number of experimental statistics and summarization, and is preset in the mobile terminal.
According to the embodiment, under the condition that the user-defined mapping information exists, the user-defined first output volume information is preferentially adopted for output, and under the condition that the user-defined mapping information does not exist, the default second output volume information is adopted, so that the user-defined output volume information is preferentially adopted for output, the user-defined output volume requirement is met to the maximum extent, and the user use experience is improved.
In some modifications of the embodiments of the present application, before determining the output volume information corresponding to the spatial information according to the spatial information, the method further includes:
acquiring user information of a current user;
and determining output volume information corresponding to the user information and the spatial information according to the user information and the spatial information.
In the embodiment, the same mobile terminal can be used by a plurality of users, and each user can customize the mapping information, so that when sound needs to be played, the mobile terminal firstly acquires the user information of the current user and then inquires the output volume information corresponding to the user information to output, thereby meeting the user-defined output volume requirement under the condition of multi-user use and further improving the user experience.
The user information may include identification information of the user, and may include, but is not limited to, a unique identification ID assigned by the mobile terminal to the user, fingerprint information of the user, iris information, face information, voice information, and the like. The mobile terminal may be configured with a corresponding user information collecting device (e.g., a camera, a fingerprint identifier, a keyboard, etc.) to collect the user information, and then match the corresponding output volume for the user.
For example, on the basis of the above embodiment, in some modified embodiments, the acquiring the user information of the current user includes:
and determining the user information of the current user by a face recognition technology.
According to the embodiment, the device such as the camera for face recognition can be configured in the mobile terminal, then the user information of the current user is determined through the face recognition technology, and then the corresponding output volume is matched for the user.
On the basis of any of the above embodiments, the mobile device may include a robot, and the above output volume control method applied to the robot has at least the following beneficial effects:
the space size of the robot can be accurately calculated through the space positioning technology and the space size judgment algorithm of the robot, and then the volume of the mobile robot is automatically adjusted. Meanwhile, the robot can record data adjusted by a user, continuously learn optimization, and then automatically adjust the volume according to the spatial position through the stored space and volume relation. By the method, the voice interaction user experience can be effectively improved.
In the above embodiment, an output volume control method for a mobile terminal is provided, and correspondingly, the present application also provides an output volume control device for a mobile terminal. The output volume control device for the mobile terminal provided by the embodiment of the application can implement the information processing method, and the information processing device can be implemented by software, hardware or a combination of software and hardware. For example, the information processing apparatus may include integrated or separate functional modules or units to perform the corresponding steps in the above-described methods. Referring to fig. 2, a schematic diagram of an output volume control device for a mobile terminal according to some embodiments of the present application is shown. Since the apparatus embodiments are substantially similar to the method embodiments, they are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for relevant points. The device embodiments described below are merely illustrative.
As shown in fig. 2, the output volume control device 10 for a mobile terminal may include:
a spatial information detection module 101, configured to detect spatial information where the mobile terminal is located;
an output volume determining module 102, configured to determine, according to the spatial information, output volume information corresponding to the spatial information;
and the volume control module 103 is configured to control the output volume of the mobile terminal according to the output volume information.
In some implementations of embodiments of the present application, the spatial information includes spatial size information of a space where the mobile terminal is located;
the spatial information detection module 101 includes:
the map building unit is used for determining an electronic map of the space where the mobile terminal is located and the position coordinates of the mobile terminal in the electronic map by adopting an instant positioning and map building SLAM technology;
and the space size determining unit is used for determining the space size information of the space where the mobile terminal is located according to the electronic map and the position coordinates.
In some implementations of embodiments of the present application, the space size determining unit includes:
and the boundary determining subunit is used for calculating the space size information of the space where the mobile terminal is located by utilizing a boundary algorithm and the scale information of the electronic map according to the electronic map and the position coordinates.
In some implementations of embodiments of the present application, the output volume determining module 102 includes:
and the table look-up determining unit is used for determining output volume information corresponding to the spatial information by inquiring a preset output volume mapping table according to the spatial information, wherein the output volume mapping table records mapping information between the spatial information and the output volume information.
In some implementations of embodiments of the present application, the apparatus 10 further comprises:
the adjustment volume determining module is used for determining first output volume information adjusted by a user after detecting that the output volume is adjusted by the user;
the user-defined volume determining module is used for determining mapping information between the first output volume information and the current spatial information as user-defined mapping information;
and the user-defined volume storage module is used for adding the user-defined mapping information to the output volume mapping table.
In some implementations of embodiments of the present application, the adjusting volume determination module includes:
and the high-probability adjustment volume determining unit is used for determining one of the adjusted output volume information with the highest probability as the first output volume information after detecting that the output volume is adjusted for multiple times by the user.
In some implementations of embodiments of the present application, the table lookup determination unit includes:
the user-defined information query unit is used for querying user-defined mapping information corresponding to the spatial information from the output volume mapping table;
the user-defined information processing unit is used for determining first output volume information in the user-defined mapping information as output volume information corresponding to the spatial information if the user-defined mapping information is found;
and the default information processing unit is used for determining second output volume information in default mapping information corresponding to the spatial information as the output volume information corresponding to the spatial information if the second output volume information is not found.
In some implementations of embodiments of the present application, the apparatus 10, further comprises:
the user information acquisition module is used for acquiring the user information of the current user;
and the user corresponding output volume determining module 102 is configured to determine, according to the user information and the spatial information, output volume information corresponding to both the user information and the spatial information.
In some implementations of embodiments of the present application, the user information obtaining module includes:
and the face recognition unit is used for determining the user information of the current user through a face recognition technology.
The output volume control device 10 for the mobile terminal provided in the embodiment of the present application has the same beneficial effects as the output volume control method for the mobile terminal provided in the previous embodiment of the present application based on the same inventive concept.
An embodiment of the present application further provides an electronic device corresponding to the output volume control method for a mobile terminal provided in the foregoing embodiment, where the electronic device may be any mobile device with a voice playing capability, such as a robot, a smart speaker, a computer, a mobile phone, and the like, or may be a controller of the mobile device, so as to execute the output volume control method for a mobile terminal, which is not limited in this embodiment of the present application.
Please refer to fig. 3, which illustrates a schematic diagram of an electronic device according to some embodiments of the present application. As shown in fig. 3, the electronic device 20 includes: the system comprises a processor 200, a memory 201, a bus 202 and a communication interface 203, wherein the processor 200, the communication interface 203 and the memory 201 are connected through the bus 202; the memory 201 stores a computer program that can be executed on the processor 200, and the processor 200 executes the computer program to execute the output volume control method for the mobile terminal provided in any of the foregoing embodiments.
The Memory 201 may include a high-speed Random Access Memory (RAM) and may further include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 203 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like can be used.
The processor 200 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 200. The Processor 200 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 201, and the processor 200 reads the information in the memory 201 and completes the steps of the method in combination with the hardware thereof.
The electronic device provided by the embodiment of the application and the method for controlling the output volume of the mobile terminal provided by the embodiment of the application have the same beneficial effects as the method adopted, operated or realized by the electronic device.
In some embodiments of the embodiment of the application, the electronic device may include a robot or a controller of the robot, and the robot often moves to different spaces in practical application, so that by using the output volume control method for the mobile terminal provided by the embodiment of the application, the output volume of the robot can be automatically adjusted more accurately and timely, so that better human-computer interaction with a user is realized, and the user experience is improved.
Referring to fig. 4, a computer-readable storage medium is shown as an optical disc 30, on which a computer program (i.e., a program product) is stored, and when the computer program is executed by a processor, the computer program executes the output volume control method for a mobile terminal provided in any of the foregoing embodiments.
It should be noted that examples of the computer-readable storage medium may also include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory, or other optical and magnetic storage media, which are not described in detail herein.
The computer-readable storage medium provided by the above-mentioned embodiment of the present application and the output volume control method for a mobile terminal provided by the embodiment of the present application have the same beneficial effects as the method adopted, run or implemented by the application program stored in the computer-readable storage medium.
It should be noted that the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and 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 of devices or units through some communication interfaces, 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 application 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 functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should 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 or all of the technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the present disclosure, and the present disclosure should be construed as being covered by the claims and the specification.
Claims (13)
1. An output volume control method for a mobile terminal, comprising:
detecting spatial information of the mobile terminal;
according to the spatial information, output volume information corresponding to the spatial information is determined;
and controlling the output volume of the mobile terminal according to the output volume information.
2. The method according to claim 1, wherein the spatial information includes spatial size information of a space in which the mobile terminal is located;
the detecting the spatial information of the mobile terminal includes:
determining an electronic map of a space where the mobile terminal is located and a position coordinate of the mobile terminal in the electronic map by adopting an instant positioning and map building SLAM technology;
and determining the space size information of the space where the mobile terminal is located according to the electronic map and the position coordinates.
3. The method according to claim 2, wherein the determining the spatial size information of the space where the mobile terminal is located according to the electronic map and the position coordinates comprises:
and calculating the space size information of the space where the mobile terminal is located by utilizing a boundary algorithm and the scale information of the electronic map according to the electronic map and the position coordinates.
4. The method of claim 1, wherein determining the output volume information corresponding to the spatial information according to the spatial information comprises:
and according to the spatial information, determining output volume information corresponding to the spatial information by inquiring a preset output volume mapping table, wherein the output volume mapping table records mapping information between the spatial information and the output volume information.
5. The method of claim 4, further comprising:
after detecting that the output volume is adjusted by the user, determining first output volume information after the adjustment by the user;
determining mapping information between the first output volume information and the current spatial information as custom mapping information;
and adding the custom mapping information to the output volume mapping table.
6. The method of claim 5, wherein determining the user-adjusted first output volume information after detecting that the user has adjusted the output volume comprises:
and after detecting that the user adjusts the output volume for multiple times, determining one of the adjusted output volume information with the highest occurrence probability as first output volume information.
7. The method according to claim 4, wherein the determining, according to the spatial information, output volume information corresponding to the spatial information by querying a preset output volume mapping table includes:
inquiring user-defined mapping information corresponding to the spatial information from the output volume mapping table;
if the first output volume information is found, determining the first output volume information in the user-defined mapping information as the output volume information corresponding to the spatial information;
and if the output volume information is not found, determining second output volume information in default mapping information corresponding to the spatial information as the output volume information corresponding to the spatial information.
8. The method according to claim 1, wherein before determining the output volume information corresponding to the spatial information according to the spatial information, further comprising:
acquiring user information of a current user;
and determining output volume information corresponding to the user information and the spatial information according to the user information and the spatial information.
9. The method of claim 8, wherein the obtaining user information of the current user comprises:
and determining the user information of the current user by a face recognition technology.
10. An output volume control device for a mobile terminal, comprising:
the spatial information detection module is used for detecting the spatial information of the mobile terminal;
the output volume determining module is used for determining output volume information corresponding to the spatial information according to the spatial information;
and the volume control module is used for controlling the output volume of the mobile terminal according to the output volume information.
11. An electronic device, comprising: memory, processor and computer program stored on the memory and executable on the processor, characterized in that the processor executes the computer program to implement the method according to any of claims 1 to 9.
12. The electronic device of claim 11, wherein the electronic device comprises a robot or a controller of the robot.
13. A computer readable medium having computer readable instructions stored thereon which are executable by a processor to implement the method of any one of claims 1 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910955248.6A CN110851102A (en) | 2019-10-09 | 2019-10-09 | Output volume control method and device, electronic equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910955248.6A CN110851102A (en) | 2019-10-09 | 2019-10-09 | Output volume control method and device, electronic equipment and medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110851102A true CN110851102A (en) | 2020-02-28 |
Family
ID=69596556
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910955248.6A Pending CN110851102A (en) | 2019-10-09 | 2019-10-09 | Output volume control method and device, electronic equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110851102A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111787460A (en) * | 2020-06-23 | 2020-10-16 | 北京小米移动软件有限公司 | Equipment control method and device |
CN113064576A (en) * | 2021-04-09 | 2021-07-02 | 北京云迹科技有限公司 | Volume adjusting method and device, mobile equipment and storage medium |
CN113504889A (en) * | 2021-06-25 | 2021-10-15 | 和美(深圳)信息技术股份有限公司 | Automatic robot volume adjusting method and device, electronic equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106487984A (en) * | 2016-09-27 | 2017-03-08 | 广州酷狗计算机科技有限公司 | A kind of method and apparatus of adjustment volume |
CN107277260A (en) * | 2017-07-07 | 2017-10-20 | 珠海格力电器股份有限公司 | Contextual model adjusting method and device and mobile terminal |
CN108628318A (en) * | 2018-06-28 | 2018-10-09 | 广州视源电子科技股份有限公司 | Congestion environment detection method and device, robot and storage medium |
CN109298847A (en) * | 2018-10-18 | 2019-02-01 | 珠海格力电器股份有限公司 | Volume adjusting method, device and system |
WO2019033984A1 (en) * | 2017-08-18 | 2019-02-21 | Oppo广东移动通信有限公司 | Volume adjusting method, device, terminal, and storage medium |
CN109799968A (en) * | 2019-02-25 | 2019-05-24 | 努比亚技术有限公司 | Adjusting method, wearable device and the computer readable storage medium of device voice volume |
-
2019
- 2019-10-09 CN CN201910955248.6A patent/CN110851102A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106487984A (en) * | 2016-09-27 | 2017-03-08 | 广州酷狗计算机科技有限公司 | A kind of method and apparatus of adjustment volume |
CN107277260A (en) * | 2017-07-07 | 2017-10-20 | 珠海格力电器股份有限公司 | Contextual model adjusting method and device and mobile terminal |
WO2019033984A1 (en) * | 2017-08-18 | 2019-02-21 | Oppo广东移动通信有限公司 | Volume adjusting method, device, terminal, and storage medium |
CN108628318A (en) * | 2018-06-28 | 2018-10-09 | 广州视源电子科技股份有限公司 | Congestion environment detection method and device, robot and storage medium |
CN109298847A (en) * | 2018-10-18 | 2019-02-01 | 珠海格力电器股份有限公司 | Volume adjusting method, device and system |
CN109799968A (en) * | 2019-02-25 | 2019-05-24 | 努比亚技术有限公司 | Adjusting method, wearable device and the computer readable storage medium of device voice volume |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111787460A (en) * | 2020-06-23 | 2020-10-16 | 北京小米移动软件有限公司 | Equipment control method and device |
CN111787460B (en) * | 2020-06-23 | 2021-11-09 | 北京小米移动软件有限公司 | Equipment control method and device |
US11922093B2 (en) | 2020-06-23 | 2024-03-05 | Beijing Xiaomi Mobile Software Co., Ltd. | Device control method and apparatus |
CN113064576A (en) * | 2021-04-09 | 2021-07-02 | 北京云迹科技有限公司 | Volume adjusting method and device, mobile equipment and storage medium |
CN113064576B (en) * | 2021-04-09 | 2024-08-13 | 北京云迹科技股份有限公司 | Volume adjusting method and device, movable equipment and storage medium |
CN113504889A (en) * | 2021-06-25 | 2021-10-15 | 和美(深圳)信息技术股份有限公司 | Automatic robot volume adjusting method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110851102A (en) | Output volume control method and device, electronic equipment and medium | |
CN106782540B (en) | Voice equipment and voice interaction system comprising same | |
KR101722588B1 (en) | Context aware localization, mapping, and tracking | |
TWI665584B (en) | A voice controlling system and method | |
CN110286601A (en) | Method and device for controlling intelligent household equipment, control equipment and storage medium | |
WO2020244573A1 (en) | Voice instruction processing method and device, and control system | |
US11031008B2 (en) | Terminal device and method for controlling thereof | |
US20140129560A1 (en) | Context labels for data clusters | |
US9477302B2 (en) | System and method for programing devices within world space volumes | |
CN106325228B (en) | Method and device for generating control data of robot | |
CN109240641B (en) | Sound effect adjusting method and device, electronic equipment and storage medium | |
US20240169687A1 (en) | Model training method, scene recognition method, and related device | |
CN105700366B (en) | Apparatus control method, device and terminal | |
CN112445341B (en) | Keyboard perspective method and device of virtual reality equipment and virtual reality equipment | |
CN111142398A (en) | Equipment linkage method and device, electronic equipment and storage medium | |
CN105042789A (en) | Control method and system of intelligent air conditioner | |
CN113495487A (en) | Terminal and method for adjusting operation parameters of target equipment | |
CN114442503B (en) | Smart home linkage management method and system | |
CN111629332B (en) | Correlation method and device of building information model and Internet of things equipment and mobile terminal | |
CN107145221A (en) | A kind of information processing method and electronic equipment | |
CN115841575A (en) | Key point detection method, device, electronic apparatus, storage medium, and program product | |
CN106453853A (en) | Photographing method and terminal | |
CN116958794A (en) | Equipment control method, device, electronic equipment and storage medium | |
CN107861708A (en) | Volume method to set up, device, terminal device and storage medium | |
CN104967493A (en) | Interference object determining method and mobile 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200228 |
|
RJ01 | Rejection of invention patent application after publication |