CN106293660B - Information processing method and electronic equipment - Google Patents

Information processing method and electronic equipment Download PDF

Info

Publication number
CN106293660B
CN106293660B CN201510263943.8A CN201510263943A CN106293660B CN 106293660 B CN106293660 B CN 106293660B CN 201510263943 A CN201510263943 A CN 201510263943A CN 106293660 B CN106293660 B CN 106293660B
Authority
CN
China
Prior art keywords
information
attribute
application program
electronic device
electronic equipment
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
CN201510263943.8A
Other languages
Chinese (zh)
Other versions
CN106293660A (en
Inventor
秦培营
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201510263943.8A priority Critical patent/CN106293660B/en
Publication of CN106293660A publication Critical patent/CN106293660A/en
Application granted granted Critical
Publication of CN106293660B publication Critical patent/CN106293660B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention discloses an information processing method, which comprises the following steps: when the electronic equipment runs a first application program, detecting first media data based on the first application program; acquiring first data information corresponding to the first media data; the first data information is used for representing audio data corresponding to the first media data; determining first attribute information corresponding to the audio data according to the audio data represented by the first data information; and generating a first execution instruction according to the first attribute information so as to control the electronic equipment to execute the first execution instruction. The embodiment of the invention also discloses the electronic equipment.

Description

Information processing method and electronic equipment
Technical Field
The present invention relates to information processing technologies, and in particular, to an information processing method and an electronic device.
Background
Generally, an electronic device user wears a high-end earphone to determine a direction of sound, for example, the electronic device user wears the high-end earphone to obtain the direction of sound in a game process, and thus a game strategy is formulated according to the direction of sound, and therefore, it becomes more and more important for the electronic device user to determine the direction indicated by the sound, but the earphone capable of determining the direction of sound is expensive, and when the electronic device user does not have the high-end earphone or does not want to wear the high-end earphone, the user experience is reduced because the direction of sound cannot be directly obtained through the existing electronic device, such as a computer.
Disclosure of Invention
In order to solve the existing technical problem, embodiments of the present invention provide an information processing method and an electronic device.
The technical scheme of the embodiment of the invention is realized as follows:
the embodiment of the invention provides an information processing method, which comprises the following steps:
when the electronic equipment runs a first application program, detecting first media data based on the first application program;
acquiring first data information corresponding to the first media data; the first data information is used for representing audio data corresponding to the first media data;
determining first attribute information corresponding to the audio data according to the audio data represented by the first data information;
and generating a first execution instruction according to the first attribute information so as to control the electronic equipment to execute the first execution instruction.
An embodiment of the present invention further provides an electronic device, including:
the electronic equipment comprises a detection unit, a processing unit and a processing unit, wherein the detection unit is used for detecting first media data based on a first application program when the electronic equipment runs the first application program;
the acquiring unit is used for acquiring first data information corresponding to the first media data; the first data information is used for representing audio data corresponding to the first media data;
the determining unit is used for determining first attribute information corresponding to the audio data according to the audio data represented by the first data information;
and the instruction generating unit is used for generating a first execution instruction according to the first attribute information so as to control the electronic equipment to execute the first execution instruction.
According to the information processing method and the electronic device provided by the embodiment of the invention, when the electronic device runs the first application program, the first media data can be detected through the first application program, the first data information corresponding to the first media data is obtained, the first attribute information of the audio data is determined according to the audio data represented by the first data information, and then the electronic device is controlled according to the first attribute information, so that the electronic device executes the first execution instruction corresponding to the first attribute information, and therefore, the purpose of controlling the electronic device according to the first attribute information corresponding to the first media data information is achieved.
Drawings
FIG. 1 is a first schematic flow chart illustrating an implementation of an information processing method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a second implementation flow of the information processing method according to the embodiment of the present invention;
FIG. 3 is a third schematic flow chart illustrating an implementation of the information processing method according to the embodiment of the present invention;
FIG. 4 is a schematic diagram of a flow chart of an implementation of the information processing method according to the embodiment of the present invention;
FIG. 5 is a fifth flowchart illustrating an implementation of the information processing method according to the embodiment of the present invention;
FIG. 6 is a first schematic structural diagram of an electronic device according to an embodiment of the present invention;
FIG. 7 is a second schematic structural diagram of an electronic device according to an embodiment of the invention;
fig. 8 is a third schematic structural diagram of an electronic device according to an embodiment of the invention.
Detailed Description
The basic idea of the embodiment of the invention is as follows: when an electronic device runs a first application program, the electronic device detects first media data based on the first application program; the electronic equipment acquires first data information corresponding to the first media data; the first data information is used for representing audio data corresponding to the first media data; the electronic equipment determines first attribute information corresponding to the audio data according to the audio data represented by the first data information, and generates a first execution instruction according to the first attribute information so as to control the electronic equipment to execute the first execution instruction.
So that the manner in which the features and aspects of the present invention can be understood in detail, a more particular description of the invention, briefly summarized above, may be had by reference to embodiments, some of which are illustrated in the appended drawings.
Example one
FIG. 1 is a first schematic flow chart illustrating an implementation of an information processing method according to an embodiment of the present invention; the method is applied to the electronic equipment; as shown in fig. 1, the method includes:
step 101: when the electronic equipment runs a first application program, detecting first media data based on the first application program;
in this embodiment, the electronic device may be any electronic device having a display function and a speaker function, such as a mobile phone, a personal computer, and a tablet computer.
In this embodiment, the first application program may specifically be a game program corresponding to game software or audio playing software.
In this embodiment, the first media data may specifically be audio data or audio/video data.
Step 102: acquiring first data information corresponding to the first media data; the first data information is used for representing audio data corresponding to the first media data;
in this embodiment, after the electronic device is based on the first media data of the first application program, the electronic device can determine, through the first media data, first data information used for representing audio data of the first media data, and then determine, according to the first data information, first attribute information corresponding to the audio data of the first media data.
In this embodiment, the electronic device is provided with or connected to a sensing unit; specifically, the electronic device determines, by using a sensing unit of the electronic device, first attribute information corresponding to the audio data according to the audio data represented by the first data information; in a specific embodiment, the sensing unit may be specifically a sound sensor, and the electronic device obtains the first attribute information of the audio data represented by the first data information through the sound sensor.
Step 103: determining first attribute information corresponding to the audio data according to the audio data represented by the first data information;
in this embodiment, the first attribute information may specifically include a direction attribute, a loudness attribute, and the like.
Step 104: and generating a first execution instruction according to the first attribute information so as to control the electronic equipment to execute the first execution instruction.
According to the information processing method provided by the embodiment of the invention, when the electronic equipment runs the first application program, the first application program can detect the first media data, the first data information corresponding to the first media data is obtained, the first attribute information of the audio data is determined according to the audio data represented by the first data information, and then the electronic equipment is controlled according to the first attribute information, so that the electronic equipment executes the first execution instruction corresponding to the first attribute information, and thus, the purpose of controlling the electronic equipment according to the first attribute information corresponding to the first media data information is realized.
Example two
FIG. 2 is a schematic diagram of a second implementation flow of the information processing method according to the embodiment of the present invention; the method is applied to the electronic device, and as shown in fig. 2, the method comprises the following steps:
step 201: when the electronic equipment runs a first application program, detecting first media data based on the first application program;
in this embodiment, the electronic device may be any electronic device having a display function and a speaker function, such as a mobile phone, a personal computer, and a tablet computer.
In this embodiment, the first application program may specifically be a game program corresponding to game software or audio playing software.
In this embodiment, the first media data may specifically be audio data or audio/video data.
Step 202: acquiring first data information corresponding to the first media data; the first data information is used for representing audio data corresponding to the first media data;
in this embodiment, after the electronic device is based on the first media data of the first application program, the electronic device can determine, through the first media data, first data information used for representing audio data of the first media data, and then determine, according to the first data information, first attribute information corresponding to the audio data of the first media data.
In this embodiment, the electronic device is provided with or connected to a sensing unit; specifically, the electronic device determines, by using a sensing unit of the electronic device, first attribute information corresponding to the audio data according to the audio data represented by the first data information; in a specific embodiment, the sensing unit may be specifically a sound sensor, and the electronic device obtains the first attribute information of the audio data represented by the first data information through the sound sensor.
Step 203: determining first attribute information corresponding to the audio data according to the audio data represented by the first data information;
in this embodiment, the first attribute information may specifically include a direction attribute, a loudness attribute, and the like.
Step 204: and generating a first execution instruction according to the first attribute information to control the electronic equipment to generate prompt information, so that prompt contents represented by the prompt information correspond to the first attribute information.
In this embodiment, the prompt message at least includes one or more of the following messages: audio prompts, image prompts, indicator light prompts and vibration prompts.
In this embodiment, the correspondence between the prompt content and the first attribute information may specifically be: the attribute represented by the prompt content corresponds to the first attribute information; for example, when the first attribute information represents the orientation attribute and the first attribute information represents the first orientation attribute, the prompt content may be prompt content with the first orientation attribute.
In this embodiment, the electronic device can control the electronic device to generate the prompt information according to the first attribute information, so that the prompt content represented by the generated prompt information corresponds to the first attribute information, thereby achieving the purpose of prompting a user of the electronic device; for example, in a specific application scenario, when the first attribute information represents an orientation attribute, specifically, the first attribute information represents a first orientation attribute, and the prompt information represents prompt content having the first orientation attribute, at this time, the electronic device user can acquire the first orientation attribute corresponding to the audio data of the first media data through the prompt content, so that even when the electronic device user does not wear a high-end headphone capable of distinguishing a sound direction, the orientation attribute corresponding to the audio data of the first media data can be acquired through the prompt content represented by the prompt information, which improves user experience and expands an application scenario of the electronic device.
According to the information processing method provided by the embodiment of the invention, when the electronic equipment runs the first application program, the first application program can detect the first media data, the first data information corresponding to the first media data is obtained, the first attribute information of the audio data is determined according to the audio data represented by the first data information, and then the electronic equipment is controlled according to the first attribute information, so that the electronic equipment executes the first execution instruction corresponding to the first attribute information, and thus, the purpose of controlling the electronic equipment according to the first attribute information corresponding to the first media data information is realized.
EXAMPLE III
FIG. 3 is a third schematic flow chart illustrating an implementation of the information processing method according to the embodiment of the present invention; the method is applied to an electronic device, and as shown in fig. 3, the method comprises the following steps:
step 301: when the electronic equipment runs a first application program, detecting first media data based on the first application program;
in this embodiment, the electronic device may be any electronic device having a display function and a speaker function, such as a mobile phone, a personal computer, and a tablet computer.
In this embodiment, the first application program may specifically be a game program corresponding to game software or audio playing software.
In this embodiment, the first media data may specifically be audio data or audio/video data.
Step 302: acquiring first data information corresponding to the first media data; the first data information is used for representing audio data corresponding to the first media data;
in this embodiment, after the electronic device is based on the first media data of the first application program, the electronic device can determine, through the first media data, first data information used for representing audio data of the first media data, and then determine, according to the first data information, first attribute information corresponding to the audio data of the first media data.
In this embodiment, the electronic device is provided with or connected to a sensing unit; specifically, the electronic device determines, by using a sensing unit of the electronic device, first attribute information corresponding to the audio data according to the audio data represented by the first data information; in a specific embodiment, the sensing unit may be specifically a sound sensor, and the electronic device obtains the first attribute information of the audio data represented by the first data information through the sound sensor.
Step 303: determining first attribute information corresponding to the audio data according to the audio data represented by the first data information; the first attribute information is an azimuth attribute;
step 304: generating a first execution instruction according to the first attribute information to control the electronic equipment to generate prompt information so that prompt content represented by the prompt information can represent the direction attribute; wherein the prompt content has second attribute information; the azimuth attribute represented by the second attribute information is the same as the azimuth attribute represented by the first attribute information.
In this embodiment, the prompt message at least includes one or more of the following messages: audio prompts, image prompts, indicator light prompts and vibration prompts.
In this embodiment, the electronic device can control the electronic device to generate the prompt information according to the first attribute information, so that the prompt content represented by the generated prompt information corresponds to the first attribute information, thereby achieving the purpose of prompting a user of the electronic device; for example, in a specific application scenario, the first attribute information represents a first orientation attribute, the prompt information represents prompt content with second attribute information, and the second attribute information also represents the azimuth attribute, and the azimuth attribute represented by the second attribute information is the same as the azimuth attribute represented by the first attribute information, that is, the second attribute information also represents the first orientation attribute, at this time, the user of the electronic device can obtain the first orientation attribute corresponding to the audio data of the first media data through the prompt content, and therefore, even if a user of the electronic equipment does not wear a high-end earphone capable of distinguishing the sound direction, the azimuth attribute corresponding to the audio data of the first media data can be obtained through the prompt content represented by the prompt information, so that the user experience is improved, and the application scene of the electronic equipment is expanded.
According to the information processing method provided by the embodiment of the invention, when the electronic equipment runs the first application program, the first application program can detect the first media data, the first data information corresponding to the first media data is obtained, the first attribute information of the audio data is determined according to the audio data represented by the first data information, and then the electronic equipment is controlled according to the first attribute information, so that the electronic equipment executes the first execution instruction corresponding to the first attribute information, and thus, the purpose of controlling the electronic equipment according to the first attribute information corresponding to the first media data information is realized.
Example four
FIG. 4 is a schematic diagram of a flow chart of an implementation of the information processing method according to the embodiment of the present invention; the method is applied to an electronic device, and as shown in fig. 4, the method comprises the following steps:
step 401: when the electronic equipment runs a first application program, detecting first media data based on the first application program;
in this embodiment, the electronic device may be any electronic device having a display function and a speaker function, such as a mobile phone, a personal computer, and a tablet computer.
In this embodiment, the first application program may specifically be a game program corresponding to game software or audio playing software.
In this embodiment, the first media data may specifically be audio data or audio/video data.
Step 402: acquiring first data information corresponding to the first media data; the first data information is used for representing audio data corresponding to the first media data;
in this embodiment, after the electronic device is based on the first media data of the first application program, the electronic device can determine, through the first media data, first data information used for representing audio data of the first media data, and then determine, according to the first data information, first attribute information corresponding to the audio data of the first media data.
In this embodiment, the electronic device is provided with or connected to a sensing unit; specifically, the electronic device determines, by using a sensing unit of the electronic device, first attribute information corresponding to the audio data according to the audio data represented by the first data information; in a specific embodiment, the sensing unit may be specifically a sound sensor, and the electronic device obtains the first attribute information of the audio data represented by the first data information through the sound sensor.
Step 403: determining first attribute information corresponding to the audio data according to the audio data represented by the first data information; the first attribute information is an azimuth attribute;
step 404: generating a first execution instruction according to the first attribute information to control the electronic equipment to generate prompt information so that prompt content represented by the prompt information can represent the direction attribute; wherein the prompt content has second attribute information; the azimuth attribute represented by the second attribute information is the same as the azimuth attribute represented by the first attribute information;
in this embodiment, the prompt message at least includes one or more of the following messages: audio prompts, image prompts, indicator light prompts and vibration prompts.
In this embodiment, the electronic device can control the electronic device to generate the prompt information according to the first attribute information, so that the prompt content represented by the generated prompt information corresponds to the first attribute information, thereby achieving the purpose of prompting a user of the electronic device; for example, in a specific application scenario, the first attribute information represents a first orientation attribute, the prompt information represents prompt content with second attribute information, and the second attribute information also represents the azimuth attribute, and the azimuth attribute represented by the second attribute information is the same as the azimuth attribute represented by the first attribute information, that is, the second attribute information also represents the first orientation attribute, at this time, the user of the electronic device can obtain the first orientation attribute corresponding to the audio data of the first media data through the prompt content, and therefore, even if a user of the electronic equipment does not wear a high-end earphone capable of distinguishing the sound direction, the azimuth attribute corresponding to the audio data of the first media data can be obtained through the prompt content represented by the prompt information, so that the user experience is improved, and the application scene of the electronic equipment is expanded.
Step 405: controlling the electronic equipment to output the prompt information on a first area in a self display area; alternatively, the first and second electrodes may be,
controlling the electronic equipment to output the prompt information in a display area of an audio output unit; wherein, the electronic equipment is connected with or comprises the audio output unit.
In this embodiment, after the electronic device generates the prompt message, in order for a user of the electronic device to observe the prompt message, the electronic device needs to output the prompt message on a first area in a display area of the electronic device, or the electronic device controls the electronic device to output the prompt message in a display area of an audio output unit; wherein, the electronic equipment is connected with or comprises the audio output unit; the audio output unit has a display area.
In this embodiment, the first area may be any area in the display area of the electronic device, for example, a lower right corner area in the display area of the electronic device.
In a specific embodiment, when the first attribute information indicates that the audio data source direction of the first media data is north, a lower right corner area in a display area of the electronic device displays first prompt content, and a second attribute information indicated by the first prompt content is north, for example, the prompt content is a plane coordinate capable of indicating the direction.
According to the information processing method provided by the embodiment of the invention, when the electronic equipment runs the first application program, the first application program can detect the first media data, the first data information corresponding to the first media data is obtained, the first attribute information of the audio data is determined according to the audio data represented by the first data information, and then the electronic equipment is controlled according to the first attribute information, so that the electronic equipment executes the first execution instruction corresponding to the first attribute information, and thus, the purpose of controlling the electronic equipment according to the first attribute information corresponding to the first media data information is realized.
EXAMPLE five
FIG. 5 is a fifth flowchart illustrating an implementation of the information processing method according to the embodiment of the present invention; the method is applied to the electronic equipment; as shown in fig. 5, the method includes:
step 501: when the electronic equipment runs a first application program, judging whether the first application program meets a preset rule or not, and acquiring a first judgment result;
in this embodiment, the electronic device may be any electronic device having a display function and a speaker function, such as a mobile phone, a personal computer, and a tablet computer.
In this embodiment, the first application program may specifically be a game program corresponding to game software or audio playing software.
In this embodiment, to determine under what condition, first media data needs to be acquired, and further, first attribute information of audio data corresponding to the first media data is acquired, a determining step is added, that is, under a specific condition, when a first application program meets a preset rule, first media data corresponding to the first application program needs to be acquired, and further, first attribute information of audio data corresponding to the first media data is acquired.
In this embodiment, the preset rule may be arbitrarily set according to actual requirements; for example, the preset rule is that the first application program is a game program corresponding to game software.
Step 502: when the obtained first judgment result represents that the first application program meets the preset rule, first media data are detected based on the first application program;
in this embodiment, the first media data may specifically be audio data or audio/video data.
Step 503: acquiring first data information corresponding to the first media data; the first data information is used for representing audio data corresponding to the first media data;
in this embodiment, after the electronic device is based on the first media data of the first application program, the electronic device can determine, through the first media data, first data information used for representing audio data of the first media data, and then determine, according to the first data information, first attribute information corresponding to the audio data of the first media data.
In this embodiment, the electronic device is provided with or connected to a sensing unit; specifically, the electronic device determines, by using a sensing unit of the electronic device, first attribute information corresponding to the audio data according to the audio data represented by the first data information; in a specific embodiment, the sensing unit may be specifically a sound sensor, and the electronic device obtains the first attribute information of the audio data represented by the first data information through the sound sensor.
Step 504: determining first attribute information corresponding to the audio data according to the audio data represented by the first data information;
in this embodiment, the first attribute information may specifically include a direction attribute, a loudness attribute, and the like.
Step 505: and generating a first execution instruction according to the first attribute information so as to control the electronic equipment to execute the first execution instruction.
According to the information processing method provided by the embodiment of the invention, when the electronic equipment runs the first application program, the first application program can detect the first media data, the first data information corresponding to the first media data is obtained, the first attribute information of the audio data is determined according to the audio data represented by the first data information, and then the electronic equipment is controlled according to the first attribute information, so that the electronic equipment executes the first execution instruction corresponding to the first attribute information, and thus, the purpose of controlling the electronic equipment according to the first attribute information corresponding to the first media data information is realized.
EXAMPLE six
FIG. 6 is a first schematic structural diagram of an electronic device according to an embodiment of the present invention; as shown in fig. 6, the electronic apparatus includes:
the detection unit 61 is configured to detect first media data based on a first application program when the electronic device runs the first application program;
an obtaining unit 62, configured to obtain first data information corresponding to the first media data; the first data information is used for representing audio data corresponding to the first media data;
a determining unit 63, configured to determine, according to the audio data represented by the first data information, first attribute information corresponding to the audio data;
the instruction generating unit 64 is configured to generate a first execution instruction according to the first attribute information, so as to control the electronic device to execute the first execution instruction.
It should be understood by those skilled in the art that the functions of each processing unit in the electronic device according to the embodiment of the present invention may be understood by referring to the description of the information processing method, and each processing unit in the electronic device according to the embodiment of the present invention may be implemented by an analog circuit that implements the functions described in the embodiment of the present invention, or may be implemented by running software that executes the functions described in the embodiment of the present invention on an intelligent terminal.
EXAMPLE seven
The electronic device according to the embodiment of the present invention has a structure similar to that of the electronic device according to the sixth embodiment, and with reference to a schematic structural diagram of the electronic device according to the sixth embodiment, in the present embodiment, the electronic device includes:
the detection unit 61 is configured to detect first media data based on a first application program when the electronic device runs the first application program;
an obtaining unit 62, configured to obtain first data information corresponding to the first media data; the first data information is used for representing audio data corresponding to the first media data;
a determining unit 63, configured to determine, according to the audio data represented by the first data information, first attribute information corresponding to the audio data;
the instruction generating unit 64 is configured to generate a first execution instruction according to the first attribute information, so as to control the electronic device to execute the first execution instruction.
In this embodiment, the instruction generating unit 64 is further configured to generate a first execution instruction according to the first attribute information, so as to control the electronic device to generate the prompt information, so that the prompt content represented by the prompt information corresponds to the first attribute information.
In this embodiment, the first attribute information is an orientation attribute; in a corresponding manner, the first and second electrodes are,
the instruction generating unit 64 is further configured to generate a first execution instruction according to the first attribute information, so as to control the electronic device to generate prompt information, so that prompt content represented by the prompt information can represent the orientation attribute;
wherein the prompt content has second attribute information; the azimuth attribute represented by the second attribute information is the same as the azimuth attribute represented by the first attribute information.
It should be understood by those skilled in the art that the functions of each processing unit in the electronic device according to the embodiment of the present invention may be understood by referring to the description of the information processing method, and each processing unit in the electronic device according to the embodiment of the present invention may be implemented by an analog circuit that implements the functions described in the embodiment of the present invention, or may be implemented by running software that executes the functions described in the embodiment of the present invention on an intelligent terminal.
Example eight
FIG. 7 is a second schematic structural diagram of an electronic device according to an embodiment of the invention; as shown in fig. 7, the electronic apparatus includes:
the detection unit 61 is configured to detect first media data based on a first application program when the electronic device runs the first application program;
an obtaining unit 62, configured to obtain first data information corresponding to the first media data; the first data information is used for representing audio data corresponding to the first media data;
a determining unit 63, configured to determine, according to the audio data represented by the first data information, first attribute information corresponding to the audio data;
the instruction generating unit 64 is configured to generate a first execution instruction according to the first attribute information, so as to control the electronic device to execute the first execution instruction.
In this embodiment, the instruction generating unit 64 is further configured to generate a first execution instruction according to the first attribute information, so as to control the electronic device to generate the prompt information, so that the prompt content represented by the prompt information corresponds to the first attribute information.
In this embodiment, the first attribute information is an orientation attribute; in a corresponding manner, the first and second electrodes are,
the instruction generating unit 64 is further configured to generate a first execution instruction according to the first attribute information, so as to control the electronic device to generate prompt information, so that prompt content represented by the prompt information can represent the orientation attribute;
wherein the prompt content has second attribute information; the azimuth attribute represented by the second attribute information is the same as the azimuth attribute represented by the first attribute information.
In this embodiment, the electronic device further includes:
a control unit 65, configured to control the electronic device to output the prompt information on a first area in a self display area; alternatively, the first and second electrodes may be,
controlling the electronic equipment to output the prompt information in a display area of an audio output unit; the electronic equipment is connected with or comprises the audio output unit.
It should be understood by those skilled in the art that the functions of each processing unit in the electronic device according to the embodiment of the present invention may be understood by referring to the description of the information processing method, and each processing unit in the electronic device according to the embodiment of the present invention may be implemented by an analog circuit that implements the functions described in the embodiment of the present invention, or may be implemented by running software that executes the functions described in the embodiment of the present invention on an intelligent terminal.
Example nine
FIG. 8 is a third schematic structural diagram of an electronic device according to an embodiment of the invention; as shown in fig. 8, the electronic apparatus includes:
the detection unit 61 is configured to detect first media data based on a first application program when the electronic device runs the first application program;
an obtaining unit 62, configured to obtain first data information corresponding to the first media data; the first data information is used for representing audio data corresponding to the first media data;
a determining unit 63, configured to determine, according to the audio data represented by the first data information, first attribute information corresponding to the audio data;
the instruction generating unit 64 is configured to generate a first execution instruction according to the first attribute information, so as to control the electronic device to execute the first execution instruction.
In this embodiment, the instruction generating unit 64 is further configured to generate a first execution instruction according to the first attribute information, so as to control the electronic device to generate the prompt information, so that the prompt content represented by the prompt information corresponds to the first attribute information.
In this embodiment, the first attribute information is an orientation attribute; in a corresponding manner, the first and second electrodes are,
the instruction generating unit 64 is further configured to generate a first execution instruction according to the first attribute information, so as to control the electronic device to generate prompt information, so that prompt content represented by the prompt information can represent the orientation attribute;
wherein the prompt content has second attribute information; the azimuth attribute represented by the second attribute information is the same as the azimuth attribute represented by the first attribute information.
In this embodiment, the electronic device further includes:
a determining unit 66, configured to determine whether the first application satisfies a preset rule, and obtain a first determination result;
correspondingly, the detecting unit 61 is further configured to detect first media data based on the first application when the obtained first determination result represents that the first application satisfies the preset rule.
It should be understood by those skilled in the art that the functions of each processing unit in the electronic device according to the embodiment of the present invention may be understood by referring to the description of the information processing method, and each processing unit in the electronic device according to the embodiment of the present invention may be implemented by an analog circuit that implements the functions described in the embodiment of the present invention, or may be implemented by running software that executes the functions described in the embodiment of the present invention on an intelligent terminal.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a mobile storage device, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (9)

1. An information processing method comprising:
when the electronic equipment runs a first application program, detecting first media data based on the first application program;
acquiring first data information corresponding to the first media data; the first data information is used for representing audio data corresponding to the first media data;
determining first attribute information corresponding to the audio data according to the audio data represented by the first data information; wherein the first attribute information is an orientation attribute;
generating a first execution instruction according to the first attribute information so as to control the electronic equipment to execute the first execution instruction;
when the electronic device runs a first application program, detecting first media data based on the first application program comprises the following steps:
when the electronic equipment runs a first application program, detecting first media data information played by the first application program;
the controlling the electronic device to execute the first execution instruction includes:
and controlling the electronic equipment to generate prompt information so that the prompt content represented by the prompt information can represent the orientation attribute.
2. The method according to claim 1, wherein the prompt content has second attribute information; the azimuth attribute represented by the second attribute information is the same as the azimuth attribute represented by the first attribute information.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
controlling the electronic equipment to output the prompt information on a first area in a self display area; alternatively, the first and second electrodes may be,
controlling the electronic equipment to output the prompt information in a display area of an audio output unit; the electronic equipment is connected with or comprises the audio output unit.
4. The method according to claim 1 or 2, wherein the prompt message comprises at least one or more of the following: audio prompts, image prompts, indicator light prompts and vibration prompts.
5. The method of claim 1, further comprising:
judging whether the first application program meets a preset rule or not, and acquiring a first judgment result;
correspondingly, the detecting first media data based on the first application program comprises:
and when the acquired first judgment result represents that the first application program meets the preset rule, detecting first media data based on the first application program.
6. An electronic device, comprising:
the electronic equipment comprises a detection unit, a processing unit and a processing unit, wherein the detection unit is used for detecting first media data based on a first application program when the electronic equipment runs the first application program;
the acquiring unit is used for acquiring first data information corresponding to the first media data; the first data information is used for representing audio data corresponding to the first media data;
the determining unit is used for determining first attribute information corresponding to the audio data according to the audio data represented by the first data information; wherein the first attribute information is an orientation attribute;
the instruction generating unit is used for generating a first execution instruction according to the first attribute information so as to control the electronic equipment to execute the first execution instruction;
when the electronic device runs a first application program, detecting first media data based on the first application program comprises the following steps:
when the electronic equipment runs a first application program, detecting first media data information played by the first application program;
the controlling the electronic device to execute the first execution instruction includes:
and controlling the electronic equipment to generate prompt information so that the prompt content represented by the prompt information can represent the orientation attribute.
7. The electronic device according to claim 6, wherein the first attribute information is an orientation attribute; in a corresponding manner, the first and second electrodes are,
the instruction generating unit is further configured to generate a first execution instruction according to the first attribute information, so as to control the electronic device to generate prompt information, so that prompt content represented by the prompt information can represent the orientation attribute;
wherein the prompt content has second attribute information; the azimuth attribute represented by the second attribute information is the same as the azimuth attribute represented by the first attribute information.
8. The electronic device of claim 6 or 7, further comprising:
the control unit is used for controlling the electronic equipment to output the prompt information on a first area in a display area of the electronic equipment; alternatively, the first and second electrodes may be,
controlling the electronic equipment to output the prompt information in a display area of an audio output unit; the electronic equipment is connected with or comprises the audio output unit.
9. The electronic device of claim 6, further comprising:
the judging unit is used for judging whether the first application program meets a preset rule or not and acquiring a first judgment result;
correspondingly, the detection unit is further configured to detect first media data based on the first application when the obtained first determination result indicates that the first application satisfies the preset rule.
CN201510263943.8A 2015-05-21 2015-05-21 Information processing method and electronic equipment Active CN106293660B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510263943.8A CN106293660B (en) 2015-05-21 2015-05-21 Information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510263943.8A CN106293660B (en) 2015-05-21 2015-05-21 Information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN106293660A CN106293660A (en) 2017-01-04
CN106293660B true CN106293660B (en) 2020-04-24

Family

ID=57632412

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510263943.8A Active CN106293660B (en) 2015-05-21 2015-05-21 Information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN106293660B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107767857B (en) * 2017-09-27 2021-06-15 联想(北京)有限公司 Information playing method, first electronic equipment and computer storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101197871A (en) * 2006-12-07 2008-06-11 乐金电子(中国)研究开发中心有限公司 Automatic voice measuring and reminding device
CN102109594A (en) * 2009-12-28 2011-06-29 深圳富泰宏精密工业有限公司 System and method for sensing and notifying voice
CN102750154A (en) * 2012-07-04 2012-10-24 宇龙计算机通信科技(深圳)有限公司 Application program volume controller and application program volume control method
CN103841495A (en) * 2014-03-03 2014-06-04 联想(北京)有限公司 Method and device for adjusting voice frequency parameters

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7818077B2 (en) * 2004-05-06 2010-10-19 Valve Corporation Encoding spatial data in a multi-channel sound file for an object in a virtual environment
US20080118074A1 (en) * 2006-11-22 2008-05-22 Shuichi Takada Stereophonic sound control apparatus and stereophonic sound control method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101197871A (en) * 2006-12-07 2008-06-11 乐金电子(中国)研究开发中心有限公司 Automatic voice measuring and reminding device
CN102109594A (en) * 2009-12-28 2011-06-29 深圳富泰宏精密工业有限公司 System and method for sensing and notifying voice
CN102750154A (en) * 2012-07-04 2012-10-24 宇龙计算机通信科技(深圳)有限公司 Application program volume controller and application program volume control method
CN103841495A (en) * 2014-03-03 2014-06-04 联想(北京)有限公司 Method and device for adjusting voice frequency parameters

Also Published As

Publication number Publication date
CN106293660A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
CN106997283B (en) Information processing method and electronic equipment
US11658932B2 (en) Message sending method and terminal device
CN103383620B (en) Show method and the mobile terminal of help information on mobile terminals
EP3435349A1 (en) Method and apparatus for processing network failure
WO2015131767A1 (en) Video processing method and apparatus
CN105094501B (en) Method, device and system for displaying messages in mobile terminal
EP3502838B1 (en) Apparatus, method and system for identifying a target object from a plurality of objects
CN108848267B (en) Audio playing method and mobile terminal
CN103929692B (en) Audio information processing method and electronic equipment
CN107911777B (en) Processing method and device for return-to-ear function and mobile terminal
CN108600539B (en) Mobile terminal, position detection method and related product
CN108052407A (en) A kind of application crash means of defence, device, equipment and storage medium
KR102226817B1 (en) Method for reproducing contents and an electronic device thereof
CN105929941B (en) Information processing method and device and terminal equipment
CN110784394A (en) Prompting method and electronic equipment
US10133408B2 (en) Method, system and computer program product
CN108319440B (en) Audio output method and mobile terminal
CN106293660B (en) Information processing method and electronic equipment
CN108040179B (en) Screen switching method and related product
CN110717133A (en) Page updating method and device, terminal equipment and storage medium
CN115643445A (en) Interaction processing method and device, electronic equipment and storage medium
CN108260115A (en) Bluetooth equipment position information processing method, device, terminal device and storage medium
CN110708582B (en) Synchronous playing method, device, electronic equipment and medium
CN108763908B (en) Behavior vector generation method, device, terminal and storage medium
CN104750453A (en) Information processing method and electronic equipment

Legal Events

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