CN104580534B - Information processing method, device and electronic equipment - Google Patents

Information processing method, device and electronic equipment Download PDF

Info

Publication number
CN104580534B
CN104580534B CN201510062394.8A CN201510062394A CN104580534B CN 104580534 B CN104580534 B CN 104580534B CN 201510062394 A CN201510062394 A CN 201510062394A CN 104580534 B CN104580534 B CN 104580534B
Authority
CN
China
Prior art keywords
file
identification mark
preset information
file identification
voice stream
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
CN201510062394.8A
Other languages
Chinese (zh)
Other versions
CN104580534A (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 CN201510062394.8A priority Critical patent/CN104580534B/en
Publication of CN104580534A publication Critical patent/CN104580534A/en
Application granted granted Critical
Publication of CN104580534B publication Critical patent/CN104580534B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the invention discloses a kind of information processing method, device and electronic equipments, the information carried in the voice flow that voice flow and audio output module based on audio collection module acquisition export determines file, and the corresponding file of locating file identification marking, and file is transmitted from transmitting terminal to receiving terminal automatically by determining file, realize the automatic transmission of file, without the file to be shared of user's MS manual search, to simplify operation when user shares file.That is, information processing method, device and the electronic equipment provided through the embodiment of the present invention, user can realize that file transmits automatically in communication process, as long as user says in short in communication process, the word includes presupposed information can be intended to share another party that file is sent to call automatically with the identification marking of file to be shared, and simplify operation when user shares file.

Description

Information processing method and device and electronic equipment
Technical Field
The present invention relates to the field of information processing technologies, and in particular, to an information processing method and apparatus, and an electronic device.
Background
At present, when a user wants to share a file, the user needs to manually search for the file to be shared, and when the user does not know a storage path of the file to be shared, the user needs to spend a long time searching for the file to be shared. Therefore, the operation of the current user for sharing the file is complicated.
Disclosure of Invention
The invention aims to provide an information processing method, an information processing device and electronic equipment, so as to simplify the operation of a user in sharing files.
In order to achieve the purpose, the invention provides the following technical scheme:
an information processing method is applied to a first electronic device, wherein the first electronic device is provided with a first audio acquisition module and a first audio output module, and the method comprises the following steps:
detecting whether a voice stream acquired by the first audio acquisition module carries first preset information and a file identification mark, wherein the first preset information is used for representing that the first electronic equipment is a sending end of a file corresponding to the file identification mark;
detecting whether a voice stream output by the first audio output module carries second preset information and the identification mark of the file, wherein the second preset information is used for representing that second electronic equipment which carries out voice communication with the first electronic equipment is a receiving end of the file corresponding to the file identification mark;
when detecting that the voice stream collected by the first audio collection module carries first preset information and a file identification mark and the voice stream output by the first audio output module carries second preset information and the file identification mark, determining a file transmission mode;
and searching the file corresponding to the file identification mark, and sending the file corresponding to the file identification mark to the second electronic equipment through the determined file transmission mode.
In the foregoing method, preferably, when it is detected that the voice stream acquired by the first audio acquisition module carries first preset information and the voice stream output by the first audio output module carries second preset information, the determining a file transmission mode includes:
when detecting that the voice stream collected by the first audio collection module carries first preset information and a file identification mark and the voice stream output by the first audio output module carries second preset information and the file identification mark, judging a current voice call mode;
and determining a file transmission mode corresponding to the current voice call mode according to the preset corresponding relation between the voice call mode and the file transmission mode.
In the foregoing method, preferably, when it is detected that the voice stream acquired by the first audio acquisition module carries first preset information and the voice stream output by the first audio output module carries second preset information, the determining a file transmission mode includes:
when detecting that the voice stream collected by the first audio collection module carries first preset information and a file identification mark and the voice stream output by the first audio output module carries second preset information and the file identification mark, displaying a file transmission mode list;
and determining a file transmission mode from the file transmission mode list according to a selection instruction triggered by a user.
In the method, preferably, the determined file transmission mode is: transmitting through a cloud server; the sending the file corresponding to the file identification identifier to the second electronic device through the determined file transmission mode includes:
sending the file corresponding to the file identification mark to a cloud server;
the cloud server is used for establishing keywords according to the identification mark of the first electronic device and the file identification mark, and establishing a corresponding relation between the established keywords and a download link of a file corresponding to the file identification mark, so that the second electronic device can download the file corresponding to the file identification mark from the cloud server according to the keywords.
In the method, preferably, the determined file transmission mode is: the data is transmitted through instant messaging software or a short-distance transmission module; the sending the file corresponding to the file identification identifier to the second electronic device through the determined file transmission mode includes:
calling the determined file transmission interface of the instant messaging software, or calling the determined transmission interface of the short-distance transmission module;
and sending the file corresponding to the file identification identifier to the second electronic equipment through the instant messaging software file transmission interface or the transmission interface of the close range transmission module.
An information processing method is applied to a second electronic device, wherein the second electronic device is provided with a second audio acquisition module and a second audio output module, and the method comprises the following steps:
detecting whether a voice stream acquired by the second audio acquisition module carries second preset information and a file identification mark, wherein the second preset information is used for representing that the second electronic equipment is a receiving end of a file corresponding to the file identification mark;
detecting whether a voice stream output by the second audio output module carries first preset information and the file identification mark, wherein the first preset information is used for representing that first electronic equipment performing voice communication with the second electronic equipment is a sending end of a file corresponding to the file identification mark;
when detecting that the voice stream collected by the second audio collection module carries second preset information and a file identification mark, and the voice stream output by the second audio output module carries first preset information and the file identification mark, determining a file transmission mode;
and acquiring a file corresponding to the file identification mark sent by the first electronic equipment through the determined file transmission mode.
In the foregoing method, preferably, when it is detected that the voice stream acquired by the second audio acquisition module carries second preset information and the voice stream output by the second audio output module carries first preset information, the determining the file transmission mode includes:
when detecting that the voice stream collected by the second audio collection module carries second preset information and a file identification mark and the voice stream output by the second audio output module carries first preset information and the file identification mark, judging a current voice call mode;
and determining a file transmission mode corresponding to the current voice call mode according to the preset corresponding relation between the voice call mode and the file transmission mode.
In the foregoing method, preferably, when it is detected that the voice stream acquired by the second audio acquisition module carries second preset information and the voice stream output by the second audio output module carries first preset information, the determining the file transmission mode includes:
when detecting that the voice stream collected by the second audio collection module carries second preset information and a file identification mark, and the voice stream output by the second audio output module carries first preset information and the file identification mark, displaying a file transmission mode list;
and determining a file transmission mode from the file transmission mode list according to a selection instruction triggered by a user.
In the method, preferably, the determined file transmission mode is: transmitting through a cloud server; the obtaining of the file corresponding to the file identification identifier sent by the first electronic device through the determined file transmission mode includes:
constructing keywords according to the identification identifier of the first electronic device and the file identification identifier;
searching a downloading link of the file corresponding to the file identification mark in the cloud server according to the keyword and a corresponding relation between the keyword established by the cloud server and the downloading link of the file corresponding to the file identification mark;
and downloading the file corresponding to the file identification mark according to the searched download link.
In the method, preferably, the determined file transmission mode is: the data is transmitted through instant messaging software or a short-distance transmission module; the obtaining of the file corresponding to the file identification identifier sent by the first electronic device through the determined file transmission mode includes:
calling the determined file transmission interface of the instant messaging software, or calling the determined transmission interface of the short-distance transmission module;
and receiving the file corresponding to the file identification identifier sent by the first electronic equipment through the instant messaging software file transmission interface or the transmission interface of the close range transmission module.
An information processing apparatus applied to a first electronic device having a first audio acquisition module and a first audio output module, the apparatus comprising:
the first detection module is used for detecting whether the voice stream acquired by the first audio acquisition module carries first preset information and a file identification mark, wherein the first preset information is used for representing that the first electronic equipment is a sending end of a file corresponding to the file identification mark;
the second detection module is used for detecting whether the voice stream output by the first audio output module carries second preset information and the identification mark of the file, wherein the second preset information is used for representing that second electronic equipment which carries out voice communication with the first electronic equipment is a receiving end of the file corresponding to the file identification mark;
the first determining module is used for determining a file transmission mode when the first detecting module detects that the voice stream collected by the first audio collecting module carries first preset information and a file identification mark, and the second detecting module detects that the voice stream output by the first audio output module carries second preset information and the file identification mark;
and the sending module is used for searching the file corresponding to the file identification identifier and sending the file corresponding to the file identification identifier to the second electronic equipment through the determined file transmission mode.
The above apparatus, preferably, the first determining module includes:
the first judgment unit is used for judging the current voice call mode when the first detection module detects that the voice stream collected by the first audio collection module carries first preset information and a file identification mark, and the second detection module detects that the voice stream output by the first audio output module carries second preset information and the file identification mark;
and the first determining unit is used for determining a file transmission mode corresponding to the current voice call mode according to the preset corresponding relation between the voice call mode and the file transmission mode.
The above apparatus, preferably, the first determining module includes:
the first display unit is used for displaying a file transmission mode list when the first detection module detects that the voice stream collected by the first audio collection module carries first preset information and a file identification mark, and the second detection module detects that the voice stream output by the first audio output module carries second preset information and the file identification mark;
and the second determining unit is used for determining the file transmission mode from the file transmission mode list according to a selection instruction triggered by a user.
The above apparatus, preferably, the determined file transfer method is: transmitting through a cloud server; the sending module comprises:
the first searching unit is used for searching the file corresponding to the file identification mark;
the first sending unit is used for sending the file corresponding to the file identification mark to a cloud server;
the cloud server is used for establishing keywords according to the identification mark of the first electronic device and the file identification mark, and establishing a corresponding relation between the established keywords and a download link of a file corresponding to the file identification mark, so that the second electronic device can download the file corresponding to the file identification mark from the cloud server according to the keywords.
Preferably, in the apparatus, the determined file transmission method is as follows: the data is transmitted through instant messaging software or a short-distance transmission module; the sending module comprises:
the second searching unit is used for searching the file corresponding to the file identification mark;
the first calling unit is used for calling the determined file transmission interface of the instant messaging software or calling the determined transmission interface of the short-distance transmission module;
and the second sending unit is used for sending the file corresponding to the file identification identifier to the second electronic equipment through the instant messaging software file transmission interface or the transmission interface of the close-range transmission module.
A first electronic device comprising a first audio acquisition module, a first audio output module, at least one first processor, and a first memory coupled with the at least one first processor; wherein the at least one first processor is configured to: detecting whether a voice stream acquired by the first audio acquisition module carries first preset information and a file identification mark, wherein the first preset information is used for representing that the first electronic equipment is a sending end of a file corresponding to the file identification mark; detecting whether a voice stream output by the first audio output module carries second preset information and the identification mark of the file, wherein the second preset information is used for representing that second electronic equipment which carries out voice communication with the first electronic equipment is a receiving end of the file corresponding to the file identification mark; when detecting that the voice stream collected by the first audio collection module carries first preset information and a file identification mark and the voice stream output by the first audio output module carries second preset information and the file identification mark, determining a file transmission mode; and searching the file corresponding to the file identification mark, and sending the file corresponding to the file identification mark to the second electronic equipment through the determined file transmission mode.
An information processing apparatus applied to a second electronic device having a second audio acquisition module and a second audio output module, the apparatus comprising:
the third detection module is configured to detect whether the voice stream acquired by the second audio acquisition module carries second preset information and a file identification identifier, where the second preset information is used to represent that the second electronic device is a receiving end of a file corresponding to the file identification identifier;
a fourth detection module, configured to detect whether a voice stream output by the second audio output module carries first preset information and the file identification, where the first preset information is used to represent that a first electronic device performing a voice call with the second electronic device is a sending end of a file corresponding to the file identification;
the second determining module is configured to determine a file transmission mode when the third detecting module detects that the voice stream acquired by the second audio acquisition module carries second preset information and a file identification identifier, and the fourth detecting module detects that the voice stream output by the second audio output module carries first preset information and the file identification identifier;
and the acquisition module is used for acquiring the file corresponding to the file identification identifier sent by the first electronic equipment through the determined file transmission mode.
The above apparatus, preferably, the second determining module includes:
the second judging unit is used for judging the current voice call mode when the third detection module detects that the voice stream collected by the second audio collection module carries second preset information and a file identification mark, and the fourth detection module detects that the voice stream output by the second audio output module carries first preset information and the file identification mark;
and the third determining unit is used for determining a file transmission mode corresponding to the current voice call mode according to the preset corresponding relation between the voice call mode and the file transmission mode.
The above apparatus, preferably, the second determining module includes:
the second display unit is used for displaying a file transmission mode list when the third detection module detects that the voice stream collected by the second audio collection module carries second preset information and a file identification mark, and the fourth detection module detects that the voice stream output by the second audio output module carries first preset information and the file identification mark;
and the fourth determining unit is used for determining the file transmission mode from the file transmission mode list according to a selection instruction triggered by a user.
The above apparatus, preferably, the determined file transfer method is: transmitting through a cloud server; the acquisition module includes:
the construction unit is used for constructing keywords according to the identification identifier of the first electronic equipment and the file identification identifier;
the third searching unit is used for searching the downloading link of the file corresponding to the file identification mark in the cloud server according to the keyword and the corresponding relation between the keyword established by the cloud server and the downloading link of the file corresponding to the file identification mark;
and the downloading unit is used for downloading the file corresponding to the file identification mark according to the downloading link searched by the third searching unit.
The above apparatus, preferably, the determined file transfer method is: the data is transmitted through instant messaging software or a short-distance transmission module; the acquisition module includes:
the second calling unit is used for calling the determined file transmission interface of the instant messaging software or calling the determined transmission interface of the short-distance transmission module;
and the receiving unit is used for receiving the file corresponding to the file identification mark sent by the first electronic equipment through the instant messaging software file transmission interface or the transmission interface of the close-range transmission module.
A second electronic device, comprising: a second audio acquisition module, a second audio output module, at least one second processor, and a second memory coupled with the at least one second processor, wherein the at least one second processor is configured to: detecting whether a voice stream acquired by the second audio acquisition module carries second preset information and a file identification mark, wherein the second preset information is used for representing that the second electronic equipment is a receiving end of a file corresponding to the file identification mark; detecting whether a voice stream output by the second audio output module carries first preset information and the file identification mark, wherein the first preset information is used for representing that first electronic equipment performing voice communication with the second electronic equipment is a sending end of a file corresponding to the file identification mark; when detecting that the voice stream collected by the second audio collection module carries second preset information and a file identification mark, and the voice stream output by the second audio output module carries first preset information and the file identification mark, determining a file transmission mode; and acquiring a file corresponding to the file identification mark sent by the first electronic equipment through the determined file transmission mode.
According to the scheme, the file transmission mode is determined based on the voice stream acquired by the audio acquisition module and the information carried in the voice stream output by the audio output module, the file corresponding to the file identification mark is searched, the file is automatically transmitted from the transmitting end to the receiving end through the determined file transmission mode, the automatic transmission of the file is realized, a user does not need to manually search the file to be shared, and therefore the operation of the user in the file sharing process is simplified. That is to say, with the information processing method, the information processing device, and the electronic device provided by the embodiments of the present invention, a user can automatically transmit a file during a call, and the user can automatically send a file to be shared to another party during the call by only saying a sentence including preset information and an identifier of the file to be shared, thereby simplifying operations of the user when sharing the file.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of an implementation of an information processing method according to an embodiment of the present application;
fig. 2 is a flowchart of another implementation of an information processing method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an information processing apparatus according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a first determining module according to an embodiment of the present disclosure;
fig. 5 is another schematic structural diagram of a first determining module provided in an embodiment of the present application;
fig. 6 is a schematic structural diagram of a sending module according to an embodiment of the present disclosure;
fig. 7 is another schematic structural diagram of a sending module according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an information processing apparatus according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of an obtaining module according to an embodiment of the present application;
fig. 10 is another schematic structural diagram of the obtaining module according to an embodiment of the present application.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings described above, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be practiced otherwise than as specifically illustrated.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart illustrating an implementation of an information processing method according to an embodiment of the present disclosure. The information processing method provided by the embodiment of the invention is applied to first electronic equipment, the first electronic equipment is provided with a first audio acquisition module and a first audio output module, the first electronic equipment can carry out voice communication with second electronic equipment, when the first electronic equipment carries out voice communication with the second electronic equipment, the first electronic equipment can send the voice stream acquired by the first audio acquisition module to the second electronic equipment, and the first electronic equipment can also output the received voice stream sent to the first electronic equipment by the second electronic equipment through the first audio output module. The information processing method provided by the embodiment of the invention can comprise the following steps:
step S11: detecting whether a voice stream acquired by the first audio acquisition module carries first preset information and a file identification mark, wherein the first preset information is used for representing that the first electronic equipment is a sending end of a file corresponding to the file identification mark;
the first electronic equipment collects the voice stream through the first audio collection module and then sends the voice stream to the second electronic equipment. The first preset information may be a transmission, or may also be a synonym of the transmission, such as sending, transferring, and the like. In the embodiment of the present application, specific content of the first preset information is not specifically limited, as long as the meaning of the transmission can be represented.
The file identification is identification of a file that the user wants to transmit, such as a file name. The file may be a picture, a document, or the like, or may be a folder, or an installation package of a certain application, or the like.
When the first electronic device detects the first preset information and the identification identifier of the file in the voice stream acquired by the first audio acquisition module, the first electronic device may determine that the first electronic device is the sending end of the file corresponding to the file identification identifier.
Step S12: detecting whether a voice stream output by the first audio output module carries second preset information and the identification mark of the file, wherein the second preset information is used for representing that second electronic equipment which carries out voice communication with the first electronic equipment is a receiving end of the file corresponding to the file identification mark;
the voice stream output by the first audio output module is the voice stream sent by the second electronic equipment to the first electronic equipment. The second preset information may be received, or may be a received synonym, such as obtaining, receiving, and the like. In the embodiment of the present application, specific content of the second preset information is not specifically limited, as long as the meaning of receiving can be represented.
When the first electronic device detects the second preset information and the identification identifier of the file in the voice stream output by the first audio output module, the first electronic device may determine that the second electronic device is the receiving end of the file corresponding to the file identification identifier.
The execution sequence of steps S11 and S12 is not specifically limited, and step S11 may be executed first, and then step S12 may be executed; alternatively, step S12 is executed first, and then step S11 is executed; alternatively, step S11 is performed simultaneously with step S12.
Step S13: when detecting that the voice stream collected by the first audio collection module carries first preset information and a file identification mark and the voice stream output by the first audio output module carries second preset information and the file identification mark, determining a file transmission mode;
when the voice stream collected by the first audio collection module is detected to carry first preset information and a file identification mark, and the voice stream output by the first audio output module carries second preset information and the file identification mark, the first electronic equipment is in a file sending mode, the second electronic equipment is in a file receiving mode, and at the moment, a file transmission mode is determined.
In the embodiment of the present invention, a file transfer manner between the first electronic device and the second electronic device may be predetermined. The file transmission mode can ensure that the file transmission between the first electronic equipment and the second electronic equipment can be realized in the current voice call mode.
At present, with the rapid development of scientific technology, there are many voice communication modes between electronic devices, and besides the traditional telephone voice, people can also use other voice communication modes, such as voice communication through instant messaging software, for example, WeChat voice, or QQ voice.
Specifically, different file transfer modes may be determined for different voice call modes between the first electronic device and the second electronic device, as long as it is ensured that file transfer between the first electronic device and the second electronic device can be achieved in the current voice call mode.
It should be noted that the same file transmission method can be used for transmitting files in different voice call methods, that is, the files can be transmitted in the same file transmission method regardless of the current voice call method, as long as the file transmission between the first electronic device and the second electronic device can be ensured in the current voice call method.
Step S14: and searching the file corresponding to the file identification mark, and sending the file corresponding to the file identification mark to the second electronic equipment through the determined file transmission mode.
After the first electronic device determines that the first electronic device is in a file sending mode and the second electronic device is in a file receiving mode, searching a file corresponding to the file identification identifier in a memory of the first electronic device, and automatically sending the file corresponding to the file identification identifier to the second electronic device through the determined file transmission mode.
According to the information processing method provided by the embodiment of the invention, the file transmission mode is determined based on the voice stream acquired by the audio acquisition module and the information carried in the voice stream output by the audio output module, the file corresponding to the file identification mark is searched, and the file is automatically transmitted from the transmitting end to the receiving end through the determined file transmission mode, so that the automatic transmission of the file is realized, a user does not need to manually search the file to be shared, and the operation of the user in sharing the file is simplified. That is to say, with the information processing method provided by the embodiment of the present invention, a user can automatically transmit a file in a call process, and the user can automatically send a file to be shared to another party in the call process as long as the user says a sentence including preset information and an identification of the file to be shared, thereby simplifying the operation of the user in sharing the file.
For example, taking the case that the mobile phone a and the mobile phone B perform a voice call as an example, when the mobile phone a and the mobile phone B perform a voice call, if the mobile phone a detects "sending music security (music security is the name of an application)" in an audio stream collected by a microphone and detects "receiving music security" in a voice stream output by a receiver, the mobile phone a may determine that the mobile phone a is a sending end of the application of music security and the mobile phone B is a receiving end of the application of music security; similarly, the mobile phone B may detect "receive music safety" in the audio stream collected by the microphone and detect "send music safety" in the voice stream output by the handset, and then the mobile phone B may determine that the mobile phone a is the sending end of the application of music safety and the mobile phone B is the receiving end of the application of music safety. When the mobile phone A determines that the mobile phone A is the sending end of the application of the music security, an installation package of the application of the music security is searched in the mobile phone A, a file transmission mode is determined, and then the installation package of the application of the music security is sent to the mobile phone B through the determined file transmission mode.
In the above embodiment, optionally, when it is detected that the voice stream acquired by the first audio acquisition module carries first preset information and the voice stream output by the first audio output module carries second preset information, determining the file transmission mode may include:
when detecting that the voice stream collected by the first audio collection module carries first preset information and a file identification mark and the voice stream output by the first audio output module carries second preset information and the file identification mark, judging a current voice call mode;
and determining a file transmission mode corresponding to the current voice call mode according to the preset corresponding relation between the voice call mode and the file transmission mode.
For example, if the voice call mode is a traditional phone voice (e.g., a phone dial-up call), the file transmission mode corresponding to the traditional phone voice call mode may be a file transmission through the cloud server. If the same instant messaging software or short-range transmission module (such as a bluetooth communication module, a personal hotspot transmission module, or a near field communication module) is installed in the first electronic device and the second electronic device, the file transmission mode corresponding to the conventional telephone voice call mode may also be file transmission through the instant messaging software installed in the first electronic device and the second electronic device, or file transmission through the short-range transmission module.
If the voice call mode is a QQ voice call, the file transmission mode corresponding to the QQ voice call may be file transmission directly through a file transmission interface of the QQ software. Of course, the file transmission mode corresponding to the QQ voice call may also be file transmission through the cloud server.
Similarly, if the voice call mode is a wechat voice call, the file transmission mode corresponding to the wechat voice call may be file transmission directly through a file transmission interface of the wechat software. Of course, the file transmission mode corresponding to the wechat voice call may also be file transmission through the cloud server.
In the embodiment of the invention, the corresponding relation between the voice call mode and the file transmission mode can be preset, and after the current voice call mode is determined, the file transmission mode can be determined according to the voice passing mode and the corresponding relation between the preset voice call mode and the file transmission mode.
Optionally, when it is detected that the voice stream acquired by the first audio acquisition module carries first preset information and the voice stream output by the first audio output module carries second preset information, determining the file transmission mode may also include:
when detecting that the voice stream collected by the first audio collection module carries first preset information and a file identification mark and the voice stream output by the first audio output module carries second preset information and the file identification mark, displaying a file transmission mode list;
and determining a file transmission mode from the file transmission mode list according to a selection instruction triggered by a user.
In the embodiment of the invention, when the voice stream collected by the first audio collection module is detected to carry first preset information and a file identification mark, and the voice stream output by the first audio output module carries second preset information and the file identification mark, the file transmission mode is displayed to a user in a list mode, and the user selects the file transmission mode according to the actual situation. Specifically, the same file transmission mode may be determined and selected by the first electronic device and the second electronic device through voice call negotiation.
Optionally, if the determined file transmission manner is transmission through a cloud server, the sending the file corresponding to the file identification identifier to the second electronic device through the determined file transmission manner may include:
sending the file corresponding to the file identification mark to a cloud server;
the cloud server is used for establishing keywords according to the identification mark of the first electronic device and the file identification mark, and establishing a corresponding relation between the established keywords and a download link of a file corresponding to the file identification mark, so that the second electronic device can download the file corresponding to the file identification mark from the cloud server according to the keywords.
In the embodiment of the present invention, since the first electronic device and the second electronic device perform voice communication, the second electronic device can know the identification identifier of the first electronic device, and therefore, the second electronic device can construct the keyword according to the identification identifier of the first electronic device and the file identification identifier, and therefore, the second electronic device can obtain the download address (i.e., the download link) of the file corresponding to the file identification identifier from the cloud server according to the keyword, so as to download the file corresponding to the file identification identifier from the download address.
Optionally, if the determined file transmission mode is: the data is transmitted through instant messaging software or a short-distance transmission module; the sending, to the second electronic device, the file corresponding to the file identification identifier through the determined file transmission manner may include:
calling the determined file transmission interface of the instant messaging software, or calling the determined transmission interface of the short-distance transmission module;
and sending the file corresponding to the file identification identifier to the second electronic equipment through the instant messaging software file transmission interface or the transmission interface of the close range transmission module.
In the embodiment of the present invention, if the same instant messaging software or short-range transmission module (such as a bluetooth communication module, a personal hotspot transmission module, or a near field communication module) is installed in the first electronic device and the second electronic device, the file may be selectively transmitted by using the instant messaging software or the short-range transmission module.
Further, in order to reduce unnecessary power consumption, in an embodiment of the present invention, when it is detected that a voice stream collected by the first audio collection module carries first preset information and a file identification identifier, and a voice stream output by the first audio output module carries second preset information and the file identification identifier, and a time difference between a time when the voice stream collected by the first audio collection module carries the first preset information and the file identification identifier and a time when the voice stream output by the first audio output module carries the second preset information and the file identification identifier is not greater than a preset time, the file transmission mode may be determined.
The embodiment of the present invention further provides an information processing method applied to a second electronic device, where the second electronic device has a second audio acquisition module and a second audio output module, the second electronic device can perform voice communication with the first electronic device, when the first electronic device performs voice communication with the second electronic device, the second electronic device can send a voice stream acquired by the second audio acquisition module to the first electronic device, and the second electronic device can also output a received voice stream sent by the first electronic device through the second audio output module. Another implementation flowchart of the information processing method provided in the embodiment of the present invention is shown in fig. 2, and may include:
step S21: detecting whether a voice stream acquired by the second audio acquisition module carries second preset information and a file identification mark, wherein the second preset information is used for representing that the second electronic equipment is a receiving end of a file corresponding to the file identification mark;
the second electronic equipment collects the voice stream through the second audio collection module and then sends the voice stream to the first electronic equipment. The second preset information may be a reception or may be a synonym of the reception, such as obtaining, collecting, and the like. In the embodiment of the present application, specific content of the second preset information is not specifically limited, as long as the meaning of receiving can be represented.
The file identification is identification of a file that the user wants to transmit, such as a file name. The file may be a picture, a document, or the like, or may be a folder, or an installation package of a certain application, or the like.
When the second electronic device detects the second preset information and the file identification identifier in the voice stream acquired by the second audio acquisition module, the second electronic device may determine that the second electronic device is a receiving end of the file corresponding to the file identification identifier.
Step S22: detecting whether a voice stream output by the second audio output module carries first preset information and the file identification mark, wherein the first preset information is used for representing that first electronic equipment performing voice communication with the second electronic equipment is a sending end of a file corresponding to the file identification mark;
the voice stream output by the second audio output module is the voice stream sent by the first electronic device to the second electronic device. The first preset information may be a transmission, or may also be a synonym of the transmission, such as sending, transferring, and the like. In the embodiment of the present application, specific content of the first preset information is not specifically limited, as long as the meaning of the transmission can be represented.
When the second electronic device detects the first preset information and the file identification in the voice stream output by the second audio output module, the second electronic device may determine that the first electronic device is the sending end of the file corresponding to the file identification.
The execution sequence of steps S21 and S22 is not specifically limited, and step S21 may be executed first, and then step S22 may be executed; alternatively, step S22 is executed first, and then step S21 is executed; alternatively, step S21 is performed simultaneously with step S22.
Step S23: when detecting that the voice stream collected by the second audio collection module carries second preset information and a file identification mark, and the voice stream output by the second audio output module carries first preset information and the file identification mark, determining a file transmission mode;
when the voice stream collected by the second audio collection module is detected to carry second preset information and a file identification mark, and the voice stream output by the second audio output module carries first preset information and the file identification mark, the first electronic equipment is in a file sending mode, the second electronic equipment is in a file receiving mode, and at the moment, a file transmission mode is determined.
In the embodiment of the present invention, a file transfer manner between the first electronic device and the second electronic device may be predetermined. The file transmission mode can ensure that the file transmission between the first electronic equipment and the second electronic equipment can be realized in the current voice call mode.
At present, with the rapid development of scientific technology, there are many voice communication modes between electronic devices, and besides the traditional telephone voice, people can also use other voice communication modes, such as voice communication through instant messaging software, for example, WeChat voice, or QQ voice.
Specifically, different file transfer modes may be determined for different voice call modes between the first electronic device and the second electronic device, as long as it is ensured that file transfer between the first electronic device and the second electronic device can be achieved in the current voice call mode.
It should be noted that the same file transmission method can be used for transmitting files in different voice call methods, that is, the files can be transmitted in the same file transmission method regardless of the current voice call method, as long as the file transmission between the first electronic device and the second electronic device can be ensured in the current voice call method.
Step S24: and acquiring a file corresponding to the file identification mark sent by the first electronic equipment through the determined file transmission mode.
And when the second electronic equipment determines that the second electronic equipment is in a file receiving mode and the first electronic equipment is in a file sending mode, automatically acquiring a file corresponding to the file identification identifier sent to the second electronic equipment by the first electronic equipment through the determined file transmission mode.
According to the information processing method provided by the embodiment of the invention, the file transmission mode is determined based on the voice stream acquired by the audio acquisition module and the information carried in the voice stream output by the audio output module, and the file sent by the first electronic device is automatically acquired through the determined file transmission mode, so that the automatic transmission of the file is realized, and the operation of a user in file sharing is simplified. That is to say, with the information processing method provided by the embodiment of the present invention, a user can automatically realize file transmission in a call process, and the user can automatically acquire a file to be shared as long as the user says a sentence in the call process, where the sentence includes preset information and an identification of the file to be shared, thereby simplifying operations of the user when sharing the file.
Optionally, when it is detected that the voice stream acquired by the second audio acquisition module carries second preset information and the voice stream output by the second audio output module carries first preset information, determining the file transmission mode may include:
when detecting that the voice stream collected by the second audio collection module carries second preset information and a file identification mark and the voice stream output by the second audio output module carries first preset information and the file identification mark, judging a current voice call mode;
and determining a file transmission mode corresponding to the current voice call mode according to the preset corresponding relation between the voice call mode and the file transmission mode.
For example, if the voice call mode is a traditional phone voice (e.g., a phone dial-up call), the file transmission mode corresponding to the traditional phone voice call mode may be a file transmission through the cloud server. If the same instant messaging software or short-range transmission module (such as a bluetooth communication module, a personal hotspot transmission module, or a near field communication module) is installed in the first electronic device and the second electronic device, the file transmission mode corresponding to the conventional telephone voice call mode may also be file transmission through the instant messaging software installed in the first electronic device and the second electronic device, or file transmission through the short-range transmission module.
If the voice call mode is a QQ voice call, the file transmission mode corresponding to the QQ voice call may be file transmission directly through a file transmission interface of the QQ software. Of course, the file transmission mode corresponding to the QQ voice call may also be file transmission through the cloud server.
Similarly, if the voice call mode is a wechat voice call, the file transmission mode corresponding to the wechat voice call may be file transmission directly through a file transmission interface of the wechat software. Of course, the file transmission mode corresponding to the wechat voice call may also be file transmission through the cloud server.
In the embodiment of the invention, the corresponding relation between the voice call mode and the file transmission mode can be preset, and after the current voice call mode is determined, the file transmission mode can be determined according to the voice passing mode and the corresponding relation between the preset voice call mode and the file transmission mode.
Optionally, when it is detected that the voice stream acquired by the second audio acquisition module carries second preset information and the voice stream output by the second audio output module carries first preset information, determining the file transmission mode may include:
when detecting that the voice stream collected by the second audio collection module carries second preset information and a file identification mark, and the voice stream output by the second audio output module carries first preset information and the file identification mark, displaying a file transmission mode list;
and determining a file transmission mode from the file transmission mode list according to a selection instruction triggered by a user.
In the embodiment of the invention, when the voice stream collected by the first audio collection module is detected to carry first preset information and a file identification mark, and the voice stream output by the first audio output module carries second preset information and the file identification mark, the file transmission mode is displayed to a user in a list mode, and the user selects the file transmission mode according to the actual situation. Specifically, the same file transmission mode may be determined and selected by the first electronic device and the second electronic device through voice call negotiation.
Optionally, if the determined file transmission mode is: transmitting through a cloud server; the obtaining of the file corresponding to the file identification identifier sent by the first electronic device through the determined file transmission manner may include:
constructing keywords according to the identification identifier of the first electronic device and the file identification identifier;
searching a downloading link of the file corresponding to the file identification mark in the cloud server according to the keyword and a corresponding relation between the keyword established by the cloud server and the downloading link of the file corresponding to the file identification mark;
after the first electronic device sends the file corresponding to the file identification mark to the cloud server, the cloud server constructs keywords according to the identification mark of the first electronic device and the file identification mark, and establishes a corresponding relation between the constructed keywords and a download link of the file corresponding to the file identification mark.
And downloading the file corresponding to the file identification mark according to the searched download link.
Optionally, if the determined file transmission mode is: the data is transmitted through instant messaging software or a short-distance transmission module; the obtaining of the file corresponding to the file identification identifier sent by the first electronic device through the determined file transmission manner may include:
calling the determined file transmission interface of the instant messaging software, or calling the determined transmission interface of the short-distance transmission module;
and receiving the file corresponding to the file identification identifier sent by the first electronic equipment through the instant messaging software file transmission interface or the transmission interface of the close range transmission module.
In the embodiment of the present invention, if the same instant messaging software or short-range transmission module (such as a bluetooth communication module, a personal hotspot transmission module, or a near field communication module) is installed in the first electronic device and the second electronic device, the file may be selectively transmitted by using the instant messaging software or the short-range transmission module.
Further, in order to reduce unnecessary power consumption, in an embodiment of the present invention, when it is detected that a voice stream collected by the first audio collection module carries first preset information and a file identification identifier, and a voice stream output by the first audio output module carries second preset information and the file identification identifier, and a time difference between a time when the voice stream collected by the first audio collection module carries the first preset information and the file identification identifier and a time when the voice stream output by the first audio output module carries the second preset information and the file identification identifier is not greater than a preset time, the file transmission mode may be determined.
Corresponding to the embodiment of the method, the application also provides an information processing apparatus, which is applied to a first electronic device, wherein the first electronic device is provided with a first audio acquisition module and a first audio output module, the first electronic device can perform voice communication with a second electronic device, when the first electronic device performs voice communication with the second electronic device, the first electronic device can send a voice stream acquired by the first audio acquisition module to the second electronic device, and the first electronic device can also output the received voice stream sent to the first electronic device by the second electronic device through the first audio output module. A schematic structural diagram of an information processing apparatus provided in an embodiment of the present invention is shown in fig. 3, and may include:
a first detection module 31, a second detection module 32, a first determination module 33 and a sending module 34; wherein,
the first detection module 31 is configured to detect whether a voice stream acquired by the first audio acquisition module carries first preset information and a file identification identifier, where the first preset information is used to represent that the first electronic device is a sending end of a file corresponding to the file identification identifier;
the first electronic equipment collects the voice stream through the first audio collection module and then sends the voice stream to the second electronic equipment. The first preset information may be a transmission, or may also be a synonym of the transmission, such as sending, transferring, and the like. In the embodiment of the present application, specific content of the first preset information is not specifically limited, as long as the meaning of the transmission can be represented.
The file identification is identification of a file that the user wants to transmit, such as a file name. The file may be a picture, a document, or the like, or may be a folder, or an installation package of a certain application, or the like. When the first detection module 31 detects the first preset information and the identification identifier of the file in the voice stream acquired by the first audio acquisition module, the first electronic device may determine that the first electronic device is a sending end of the file corresponding to the file identification identifier.
The second detecting module 32 is configured to detect whether a voice stream output by the first audio output module carries second preset information and an identification identifier of the file, where the second preset information is used to represent that a second electronic device performing a voice call with the first electronic device is a receiving end of the file corresponding to the file identification identifier;
the voice stream output by the first audio output module is the voice stream sent by the second electronic equipment to the first electronic equipment. The second preset information may be received, or may be a received synonym, such as obtaining, receiving, and the like. In the embodiment of the present application, specific content of the second preset information is not specifically limited, as long as the meaning of receiving can be represented.
When the second detection module 32 detects the second preset information and the identification identifier of the file in the voice stream output by the first audio output module, the first electronic device may determine that the second electronic device is a receiving end of the file corresponding to the file identification identifier.
The first determining module 33 is configured to determine a file transmission mode when the first detecting module detects that the voice stream collected by the first audio collecting module carries first preset information and a file identification identifier, and the second detecting module detects that the voice stream output by the first audio output module carries second preset information and the file identification identifier;
when the voice stream collected by the first audio collection module is detected to carry first preset information and a file identification mark, and the voice stream output by the first audio output module carries second preset information and the file identification mark, the first electronic equipment is in a file sending mode, the second electronic equipment is in a file receiving mode, and at the moment, a file transmission mode is determined.
In the embodiment of the present invention, a file transfer manner between the first electronic device and the second electronic device may be predetermined. The file transmission mode can ensure that the file transmission between the first electronic equipment and the second electronic equipment can be realized in the current voice call mode.
At present, with the rapid development of scientific technology, there are many voice communication modes between electronic devices, and besides the traditional telephone voice, people can also use other voice communication modes, such as voice communication through instant messaging software, for example, WeChat voice, or QQ voice.
Specifically, different file transfer modes may be determined for different voice call modes between the first electronic device and the second electronic device, as long as it is ensured that file transfer between the first electronic device and the second electronic device can be achieved in the current voice call mode.
It should be noted that the same file transmission method can be used for transmitting files in different voice call methods, that is, the files can be transmitted in the same file transmission method regardless of the current voice call method, as long as the file transmission between the first electronic device and the second electronic device can be ensured in the current voice call method.
The sending module 34 is configured to search for a file corresponding to the file identification identifier, and send the file corresponding to the file identification identifier to the second electronic device through the determined file transmission manner.
After the first electronic device determines that the first electronic device is in a file sending mode and the second electronic device is in a file receiving mode, searching a file corresponding to the file identification identifier in a memory of the first electronic device, and automatically sending the file corresponding to the file identification identifier to the second electronic device through the determined file transmission mode.
According to the information processing device provided by the embodiment of the invention, the file transmission mode is determined based on the voice stream acquired by the audio acquisition module and the information carried in the voice stream output by the audio output module, the file corresponding to the file identification mark is searched, and the file is automatically transmitted from the transmitting end to the receiving end through the determined file transmission mode, so that the automatic transmission of the file is realized, a user does not need to manually search the file to be shared, and the operation of the user in sharing the file is simplified. That is to say, with the information processing apparatus provided in the embodiment of the present invention, a user can automatically transmit a file during a call, and the user can automatically send a file to be shared to another party during the call by saying a sentence including preset information and an identification of the file to be shared, which simplifies operations when the user shares the file.
Optionally, a schematic structural diagram of the first determining module 33 is shown in fig. 4, and may include:
a first judgment unit 41 and a first determination unit 42; wherein,
the first judging unit 41 is configured to judge a current voice call mode when the first detecting module detects that the voice stream collected by the first audio collecting module carries first preset information and a file identification identifier, and the second detecting module detects that the voice stream output by the first audio output module carries second preset information and the file identification identifier;
the first determining unit 42 is configured to determine a file transmission mode corresponding to the current voice call mode according to a preset correspondence between the voice call mode and the file transmission mode.
Optionally, another schematic structural diagram of the first determining module 33 is shown in fig. 5, and may include:
a first display unit 51 and a second determination unit 52; wherein,
the first display unit 51 is configured to display a file transmission mode list when the first detection module detects that the voice stream acquired by the first audio acquisition module carries first preset information and a file identification identifier, and the second detection module detects that the voice stream output by the first audio output module carries second preset information and the file identification identifier;
the second determining unit 52 is configured to determine a file transmission mode from the file transmission mode list according to a selection instruction triggered by a user.
Optionally, the determined file transmission mode is as follows: transmitting through a cloud server; a schematic structural diagram of the sending module 34 is shown in fig. 6, and may include:
a first search unit 61 and a first sending unit 62; wherein,
the first searching unit 61 is configured to search for a file corresponding to the file identification identifier;
the first sending unit 62 is configured to send a file corresponding to the file identification identifier to a cloud server;
the cloud server is used for establishing keywords according to the identification mark of the first electronic device and the file identification mark, and establishing a corresponding relation between the established keywords and a download link of a file corresponding to the file identification mark, so that the second electronic device can download the file corresponding to the file identification mark from the cloud server according to the keywords.
Optionally, the determined file transmission mode may also be: the data is transmitted through instant messaging software or a short-distance transmission module; another schematic structural diagram of the sending module 34 is shown in fig. 7, and may include:
a second search unit 71, a first calling unit 72 and a second sending unit 73; wherein,
the second searching unit 71 is configured to search for a file corresponding to the file identification identifier;
the first calling unit 72 is configured to call the determined file transmission interface of the instant messaging software, or call the determined transmission interface of the short-distance transmission module;
the second sending unit 73 is configured to send a file corresponding to the file identification identifier to the second electronic device through the file transmission interface of the instant messaging software, or through the transmission interface of the short-distance transmission module.
The embodiment of the present invention further provides a first electronic device, which includes a first audio acquisition module, a first audio output module, at least one first processor, and a first memory coupled to the at least one first processor; wherein the at least one first processor is configured to: detecting whether a voice stream acquired by the first audio acquisition module carries first preset information and a file identification mark, wherein the first preset information is used for representing that the first electronic equipment is a sending end of a file corresponding to the file identification mark; detecting whether a voice stream output by the first audio output module carries second preset information and the identification mark of the file, wherein the second preset information is used for representing that second electronic equipment which carries out voice communication with the first electronic equipment is a receiving end of the file corresponding to the file identification mark; when detecting that the voice stream collected by the first audio collection module carries first preset information and a file identification mark, and the voice stream output by the first audio output module carries second preset information and the file identification mark, determining a file transmission mode; and searching the file corresponding to the file identification mark, and sending the file corresponding to the file identification mark to the second electronic equipment through the determined file transmission mode.
The invention also provides another information processing device, which is applied to a second electronic device, wherein the second electronic device is provided with a second audio acquisition module and a second audio output module, the second electronic device can perform voice communication with the first electronic device, when the first electronic device performs voice communication with the second electronic device, the second electronic device can send the voice stream acquired by the second audio acquisition module to the first electronic device, and the second electronic device can also output the received voice stream sent by the first electronic device through the second audio output module. Another schematic structural diagram of the information processing apparatus provided in the embodiment of the present invention is shown in fig. 8, and may include:
a third detection module 81, a fourth detection module 82, a second determination module 83 and an acquisition module 84; wherein,
the third detection module 81 is configured to detect whether the voice stream acquired by the second audio acquisition module carries second preset information and a file identification identifier, where the second preset information is used to represent that the second electronic device is a receiving end of a file corresponding to the file identification identifier;
the third detection module 81 collects the voice stream through the second audio collection module and then sends the voice stream to the first electronic device. The second preset information may be received, or may be a received synonym, such as obtaining, receiving, and the like. In the embodiment of the present application, specific content of the second preset information is not specifically limited, as long as the meaning of receiving can be represented.
The file identification is the identification of the file that the user wants to transmit. The file may be a picture, a document, or the like, or may be a folder, or an installation package of a certain application, or the like.
When the second electronic device detects the second preset information and the file identification identifier in the voice stream acquired by the second audio acquisition module through the third detection module 81, the second electronic device may determine that the second electronic device is a receiving end of the file corresponding to the file identification identifier.
The fourth detecting module 82 is configured to detect whether a voice stream output by the second audio output module carries first preset information and the file identification, where the first preset information is used to represent that a first electronic device performing a voice call with the second electronic device is a sending end of a file corresponding to the file identification;
the voice stream output by the second audio output module is the voice stream sent by the first electronic device to the second electronic device. The first preset information may be a transmission, or may also be a synonym of the transmission, such as sending, transferring, and the like. In the embodiment of the present application, specific content of the first preset information is not specifically limited, as long as the meaning of the transmission can be represented.
When the second electronic device detects the first preset information and the file identification in the voice stream output by the second audio output module through the fourth detecting module 82, the second electronic device may determine that the first electronic device is the sending end of the file corresponding to the file identification.
The second determining module 83 is configured to determine a file transmission mode when the third detecting module detects that the voice stream acquired by the second audio acquiring module carries second preset information and a file identification identifier, and the fourth detecting module detects that the voice stream output by the second audio output module carries first preset information and the file identification identifier;
when the voice stream collected by the second audio collection module is detected to carry second preset information and a file identification mark, and the voice stream output by the second audio output module carries first preset information and the file identification mark, the first electronic equipment is in a file sending mode, the second electronic equipment is in a file receiving mode, and at the moment, a file transmission mode is determined.
In the embodiment of the present invention, a file transfer manner between the first electronic device and the second electronic device may be predetermined. The file transmission mode can ensure that the file transmission between the first electronic equipment and the second electronic equipment can be realized in the current voice call mode.
At present, with the rapid development of scientific technology, there are many voice communication modes between electronic devices, and besides the traditional telephone voice, people can also use other voice communication modes, such as voice communication through instant messaging software, for example, WeChat voice, or QQ voice.
Specifically, different file transfer modes may be determined for different voice call modes between the first electronic device and the second electronic device, as long as it is ensured that file transfer between the first electronic device and the second electronic device can be achieved in the current voice call mode.
It should be noted that the same file transmission method can be used for transmitting files in different voice call methods, that is, the files can be transmitted in the same file transmission method regardless of the current voice call method, as long as the file transmission between the first electronic device and the second electronic device can be ensured in the current voice call method.
The obtaining module 84 is configured to obtain, through the determined file transmission manner, a file corresponding to the file identification identifier sent by the first electronic device.
And when the second electronic equipment determines that the second electronic equipment is in a file receiving mode and the first electronic equipment is in a file sending mode, automatically acquiring a file corresponding to the file identification identifier sent to the second electronic equipment by the first electronic equipment through the determined file transmission mode.
According to the information processing device provided by the embodiment of the invention, the file transmission mode is determined based on the voice stream acquired by the audio acquisition module and the information carried in the voice stream output by the audio output module, and the file sent by the first electronic equipment is automatically acquired through the determined transmission mode, so that the automatic transmission of the file is realized, and the operation of a user in sharing the file is simplified. That is to say, with the information processing apparatus provided in the embodiment of the present invention, a user can automatically transmit a file during a call, and the user can automatically obtain a file to be shared as long as the user says a sentence during the call, where the sentence includes preset information and an identification of the file to be shared, thereby simplifying operations of the user when sharing the file.
Optionally, the second determining module 83 may include:
the second judging unit is used for judging the current voice call mode when the third detection module detects that the voice stream collected by the second audio collection module carries second preset information and a file identification mark, and the fourth detection module detects that the voice stream output by the second audio output module carries first preset information and the file identification mark;
and the third determining unit is used for determining a file transmission mode corresponding to the current voice call mode according to the preset corresponding relation between the voice call mode and the file transmission mode.
Optionally, the second determining module 83 may also include:
the second display unit is used for displaying a file transmission mode list when the third detection module detects that the voice stream collected by the second audio collection module carries second preset information and a file identification mark, and the fourth detection module detects that the voice stream output by the second audio output module carries first preset information and the file identification mark;
and the fourth determining unit is used for determining the file transmission mode from the file transmission mode list according to a selection instruction triggered by a user.
Optionally, the determined file transmission mode is as follows: transmitting through a cloud server; a schematic structural diagram of the obtaining module 84 is shown in fig. 9, and may include:
a construction unit 91, a third search unit 92 and a download unit 93; wherein,
the building unit 91 is configured to build a keyword according to the identification identifier of the first electronic device and the file identification identifier;
the third searching unit 92 is configured to search, in the cloud server, a download link of the file corresponding to the file identification identifier according to the keyword and a corresponding relationship between the keyword established by the cloud server and the download link of the file corresponding to the file identification identifier;
the downloading unit 93 is configured to download the file corresponding to the file identification identifier according to the downloading link found by the third searching unit.
Optionally, the determined file transmission mode is as follows: the data is transmitted through instant messaging software or a short-distance transmission module; another schematic structural diagram of the obtaining module 84 is shown in fig. 10, and may include:
the second calling unit 101 is configured to call the determined file transmission interface of the instant messaging software, or call the determined transmission interface of the short-distance transmission module;
the receiving unit 102 is configured to receive, through the file transmission interface of the instant messaging software, or through the transmission interface of the close-range transmission module, a file corresponding to the file identification identifier sent by the first electronic device.
An embodiment of the present invention further provides a second electronic device, where the second electronic device includes: a second audio acquisition module, a second audio output module, at least one second processor, and a second memory coupled with the at least one second processor, wherein the at least one second processor is configured to: detecting whether a voice stream acquired by the second audio acquisition module carries second preset information and a file identification mark, wherein the second preset information is used for representing that the second electronic equipment is a receiving end of a file corresponding to the file identification mark; detecting whether a voice stream output by the second audio output module carries first preset information and the file identification mark, wherein the first preset information is used for representing that first electronic equipment performing voice communication with the second electronic equipment is a sending end of a file corresponding to the file identification mark; when detecting that the voice stream collected by the second audio collection module carries second preset information and a file identification mark, and the voice stream output by the second audio output module carries first preset information and the file identification mark, determining a file transmission mode; and acquiring a file corresponding to the file identification mark sent by the first electronic equipment through the determined file transmission mode.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
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 system (if present), apparatus, and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The 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 invention may be embodied in the form of a software product, which is stored in a storage medium and includes 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 invention. 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.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (22)

1. An information processing method is applied to a first electronic device, wherein the first electronic device is provided with a first audio acquisition module and a first audio output module, and the method comprises the following steps:
detecting whether a voice stream acquired by the first audio acquisition module carries first preset information and a file identification mark, wherein the first preset information is used for representing that the first electronic equipment is a sending end of a file corresponding to the file identification mark;
detecting whether a voice stream output by the first audio output module carries second preset information and the identification mark of the file, wherein the second preset information is used for representing that second electronic equipment which carries out voice communication with the first electronic equipment is a receiving end of the file corresponding to the file identification mark;
when detecting that the voice stream collected by the first audio collection module carries first preset information and a file identification mark and the voice stream output by the first audio output module carries second preset information and the file identification mark, determining a file transmission mode;
and searching the file corresponding to the file identification mark, and sending the file corresponding to the file identification mark to the second electronic equipment through the determined file transmission mode.
2. The method according to claim 1, wherein when it is detected that the voice stream collected by the first audio collection module carries first preset information and the voice stream output by the first audio output module carries second preset information, determining a file transmission mode comprises:
when detecting that the voice stream collected by the first audio collection module carries first preset information and a file identification mark and the voice stream output by the first audio output module carries second preset information and the file identification mark, judging a current voice call mode;
and determining a file transmission mode corresponding to the current voice call mode according to the preset corresponding relation between the voice call mode and the file transmission mode.
3. The method according to claim 1, wherein when it is detected that the voice stream collected by the first audio collection module carries first preset information and the voice stream output by the first audio output module carries second preset information, determining a file transmission mode comprises:
when detecting that the voice stream collected by the first audio collection module carries first preset information and a file identification mark and the voice stream output by the first audio output module carries second preset information and the file identification mark, displaying a file transmission mode list;
and determining a file transmission mode from the file transmission mode list according to a selection instruction triggered by a user.
4. A method according to any one of claims 1-3, characterized in that the determined file transfer mode is: transmitting through a cloud server; the sending the file corresponding to the file identification identifier to the second electronic device through the determined file transmission mode includes:
sending the file corresponding to the file identification mark to a cloud server;
the cloud server is used for establishing keywords according to the identification mark of the first electronic device and the file identification mark, and establishing a corresponding relation between the established keywords and a download link of a file corresponding to the file identification mark, so that the second electronic device can download the file corresponding to the file identification mark according to the keywords from the cloud server, wherein the second electronic device can establish the keywords according to the identification mark of the first electronic device and the file identification mark.
5. A method according to any one of claims 1-3, characterized in that the determined file transfer mode is: the data is transmitted through instant messaging software or a short-distance transmission module; the sending the file corresponding to the file identification identifier to the second electronic device through the determined file transmission mode includes:
calling the determined file transmission interface of the instant messaging software, or calling the determined transmission interface of the short-distance transmission module;
and sending the file corresponding to the file identification identifier to the second electronic equipment through the instant messaging software file transmission interface or the transmission interface of the close range transmission module.
6. An information processing method applied to a second electronic device, wherein the second electronic device is provided with a second audio acquisition module and a second audio output module, the method comprising:
detecting whether a voice stream acquired by the second audio acquisition module carries second preset information and a file identification mark, wherein the second preset information is used for representing that the second electronic equipment is a receiving end of a file corresponding to the file identification mark;
detecting whether a voice stream output by the second audio output module carries first preset information and the file identification mark, wherein the first preset information is used for representing that first electronic equipment performing voice communication with the second electronic equipment is a sending end of a file corresponding to the file identification mark;
when detecting that the voice stream collected by the second audio collection module carries second preset information and a file identification mark, and the voice stream output by the second audio output module carries first preset information and the file identification mark, determining a file transmission mode;
and acquiring a file corresponding to the file identification mark sent by the first electronic equipment through the determined file transmission mode.
7. The method according to claim 6, wherein when it is detected that the voice stream collected by the second audio collection module carries second preset information and the voice stream output by the second audio output module carries first preset information, determining a file transmission mode comprises:
when detecting that the voice stream collected by the second audio collection module carries second preset information and a file identification mark and the voice stream output by the second audio output module carries first preset information and the file identification mark, judging a current voice call mode;
and determining a file transmission mode corresponding to the current voice call mode according to the preset corresponding relation between the voice call mode and the file transmission mode.
8. The method according to claim 6, wherein when it is detected that the voice stream collected by the second audio collection module carries second preset information and the voice stream output by the second audio output module carries first preset information, determining a file transmission mode comprises:
when detecting that the voice stream collected by the second audio collection module carries second preset information and a file identification mark, and the voice stream output by the second audio output module carries first preset information and the file identification mark, displaying a file transmission mode list;
and determining a file transmission mode from the file transmission mode list according to a selection instruction triggered by a user.
9. The method according to any one of claims 6 to 8, wherein the determined file transfer mode is: transmitting through a cloud server; the obtaining of the file corresponding to the file identification identifier sent by the first electronic device through the determined file transmission mode includes:
constructing keywords according to the identification identifier of the first electronic device and the file identification identifier;
searching a downloading link of a file corresponding to the file identification mark in a cloud server according to the keyword and a corresponding relation between the keyword established by the cloud server and the downloading link of the file corresponding to the file identification mark, wherein the keyword is established by the cloud server according to the identification mark of the first electronic device and the file identification mark;
and downloading the file corresponding to the file identification mark according to the searched download link.
10. The method according to any one of claims 6 to 8, wherein the determined file transfer mode is: the data is transmitted through instant messaging software or a short-distance transmission module; the obtaining of the file corresponding to the file identification identifier sent by the first electronic device through the determined file transmission mode includes:
calling the determined file transmission interface of the instant messaging software, or calling the determined transmission interface of the short-distance transmission module;
and receiving the file corresponding to the file identification identifier sent by the first electronic equipment through the instant messaging software file transmission interface or the transmission interface of the close range transmission module.
11. An information processing apparatus applied to a first electronic device having a first audio acquisition module and a first audio output module, the apparatus comprising:
the first detection module is used for detecting whether the voice stream acquired by the first audio acquisition module carries first preset information and a file identification mark, wherein the first preset information is used for representing that the first electronic equipment is a sending end of a file corresponding to the file identification mark;
the second detection module is used for detecting whether the voice stream output by the first audio output module carries second preset information and the identification mark of the file, wherein the second preset information is used for representing that second electronic equipment which carries out voice communication with the first electronic equipment is a receiving end of the file corresponding to the file identification mark;
the first determining module is used for determining a file transmission mode when the first detecting module detects that the voice stream collected by the first audio collecting module carries first preset information and a file identification mark, and the second detecting module detects that the voice stream output by the first audio output module carries second preset information and the file identification mark;
and the sending module is used for searching the file corresponding to the file identification identifier and sending the file corresponding to the file identification identifier to the second electronic equipment through the determined file transmission mode.
12. The apparatus of claim 11, wherein the first determining module comprises:
the first judgment unit is used for judging the current voice call mode when the first detection module detects that the voice stream collected by the first audio collection module carries first preset information and a file identification mark, and the second detection module detects that the voice stream output by the first audio output module carries second preset information and the file identification mark;
and the first determining unit is used for determining a file transmission mode corresponding to the current voice call mode according to the preset corresponding relation between the voice call mode and the file transmission mode.
13. The apparatus of claim 11, wherein the first determining module comprises:
the first display unit is used for displaying a file transmission mode list when the first detection module detects that the voice stream collected by the first audio collection module carries first preset information and a file identification mark, and the second detection module detects that the voice stream output by the first audio output module carries second preset information and the file identification mark;
and the second determining unit is used for determining the file transmission mode from the file transmission mode list according to a selection instruction triggered by a user.
14. The apparatus according to any one of claims 11-13, wherein the determined file transfer mode is: transmitting through a cloud server; the sending module comprises:
the first searching unit is used for searching the file corresponding to the file identification mark;
the first sending unit is used for sending the file corresponding to the file identification mark to a cloud server;
the cloud server is used for establishing keywords according to the identification mark of the first electronic device and the file identification mark, and establishing a corresponding relation between the established keywords and a download link of a file corresponding to the file identification mark, so that the second electronic device can download the file corresponding to the file identification mark according to the keywords from the cloud server, wherein the second electronic device can establish the keywords according to the identification mark of the first electronic device and the file identification mark.
15. The apparatus according to any one of claims 11-13, wherein the determined file transfer mode is: the data is transmitted through instant messaging software or a short-distance transmission module; the sending module comprises:
the second searching unit is used for searching the file corresponding to the file identification mark;
the first calling unit is used for calling the determined file transmission interface of the instant messaging software or calling the determined transmission interface of the short-distance transmission module;
and the second sending unit is used for sending the file corresponding to the file identification identifier to the second electronic equipment through the instant messaging software file transmission interface or the transmission interface of the close-range transmission module.
16. A first electronic device comprising a first audio acquisition module, a first audio output module, at least one first processor, and a first memory coupled to the at least one first processor; wherein the at least one first processor is configured to: detecting whether a voice stream acquired by the first audio acquisition module carries first preset information and a file identification mark, wherein the first preset information is used for representing that the first electronic equipment is a sending end of a file corresponding to the file identification mark; detecting whether a voice stream output by the first audio output module carries second preset information and the identification mark of the file, wherein the second preset information is used for representing that second electronic equipment which carries out voice communication with the first electronic equipment is a receiving end of the file corresponding to the file identification mark; when detecting that the voice stream collected by the first audio collection module carries first preset information and a file identification mark and the voice stream output by the first audio output module carries second preset information and the file identification mark, determining a file transmission mode; and searching the file corresponding to the file identification mark, and sending the file corresponding to the file identification mark to the second electronic equipment through the determined file transmission mode.
17. An information processing apparatus applied to a second electronic device having a second audio acquisition module and a second audio output module, the apparatus comprising:
the third detection module is configured to detect whether the voice stream acquired by the second audio acquisition module carries second preset information and a file identification identifier, where the second preset information is used to represent that the second electronic device is a receiving end of a file corresponding to the file identification identifier;
a fourth detection module, configured to detect whether a voice stream output by the second audio output module carries first preset information and the file identification, where the first preset information is used to represent that a first electronic device performing a voice call with the second electronic device is a sending end of a file corresponding to the file identification;
the second determining module is configured to determine a file transmission mode when the third detecting module detects that the voice stream acquired by the second audio acquisition module carries second preset information and a file identification identifier, and the fourth detecting module detects that the voice stream output by the second audio output module carries first preset information and the file identification identifier;
and the acquisition module is used for acquiring the file corresponding to the file identification identifier sent by the first electronic equipment through the determined file transmission mode.
18. The apparatus of claim 17, wherein the second determining module comprises:
the second judging unit is used for judging the current voice call mode when the third detection module detects that the voice stream collected by the second audio collection module carries second preset information and a file identification mark, and the fourth detection module detects that the voice stream output by the second audio output module carries first preset information and the file identification mark;
and the third determining unit is used for determining a file transmission mode corresponding to the current voice call mode according to the preset corresponding relation between the voice call mode and the file transmission mode.
19. The apparatus of claim 17, wherein the second determining module comprises:
the second display unit is used for displaying a file transmission mode list when the third detection module detects that the voice stream collected by the second audio collection module carries second preset information and a file identification mark, and the fourth detection module detects that the voice stream output by the second audio output module carries first preset information and the file identification mark;
and the fourth determining unit is used for determining the file transmission mode from the file transmission mode list according to a selection instruction triggered by a user.
20. The apparatus according to any of claims 17-19, wherein the determined file transfer mode is: transmitting through a cloud server; the acquisition module includes:
the construction unit is used for constructing keywords according to the identification identifier of the first electronic equipment and the file identification identifier;
a third searching unit, configured to search, in the cloud server, a download link of a file corresponding to the file identification identifier according to the keyword and a corresponding relationship between the keyword established by the cloud server and the download link of the file corresponding to the file identification identifier, where the cloud server constructs the keyword according to the identification identifier of the first electronic device and the file identification identifier;
and the downloading unit is used for downloading the file corresponding to the file identification mark according to the downloading link searched by the third searching unit.
21. The apparatus according to any of claims 17-19, wherein the determined file transfer mode is: the data is transmitted through instant messaging software or a short-distance transmission module; the acquisition module includes:
the second calling unit is used for calling the determined file transmission interface of the instant messaging software or calling the determined transmission interface of the short-distance transmission module;
and the receiving unit is used for receiving the file corresponding to the file identification mark sent by the first electronic equipment through the instant messaging software file transmission interface or the transmission interface of the close-range transmission module.
22. A second electronic device, comprising: a second audio acquisition module, a second audio output module, at least one second processor, and a second memory coupled with the at least one second processor, wherein the at least one second processor is configured to: detecting whether a voice stream acquired by the second audio acquisition module carries second preset information and a file identification mark, wherein the second preset information is used for representing that the second electronic equipment is a receiving end of a file corresponding to the file identification mark; detecting whether a voice stream output by the second audio output module carries first preset information and the file identification mark, wherein the first preset information is used for representing that first electronic equipment performing voice communication with the second electronic equipment is a sending end of a file corresponding to the file identification mark; when detecting that the voice stream collected by the second audio collection module carries second preset information and a file identification mark, and the voice stream output by the second audio output module carries first preset information and the file identification mark, determining a file transmission mode; and acquiring a file corresponding to the file identification mark sent by the first electronic equipment through the determined file transmission mode.
CN201510062394.8A 2015-02-06 2015-02-06 Information processing method, device and electronic equipment Active CN104580534B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510062394.8A CN104580534B (en) 2015-02-06 2015-02-06 Information processing method, device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510062394.8A CN104580534B (en) 2015-02-06 2015-02-06 Information processing method, device and electronic equipment

Publications (2)

Publication Number Publication Date
CN104580534A CN104580534A (en) 2015-04-29
CN104580534B true CN104580534B (en) 2018-08-31

Family

ID=53095691

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510062394.8A Active CN104580534B (en) 2015-02-06 2015-02-06 Information processing method, device and electronic equipment

Country Status (1)

Country Link
CN (1) CN104580534B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107767864B (en) * 2016-08-23 2021-06-29 阿里巴巴集团控股有限公司 Method, device and mobile terminal for sharing information based on voice
CN107547717A (en) * 2017-08-01 2018-01-05 联想(北京)有限公司 Information processing method, electronic equipment and computer-readable storage medium
CN107465829A (en) * 2017-08-29 2017-12-12 努比亚技术有限公司 A kind of document sending method, mobile terminal and computer-readable recording medium
CN107657022A (en) * 2017-09-27 2018-02-02 努比亚技术有限公司 A kind of document retrieval method, mobile terminal and computer-readable recording medium
CN108133707B (en) * 2017-11-30 2021-08-17 百度在线网络技术(北京)有限公司 Content sharing method and system
CN109144735B (en) * 2018-09-29 2019-12-27 百度在线网络技术(北京)有限公司 Method and apparatus for processing data
CN110798397B (en) * 2019-10-25 2022-11-04 维沃移动通信有限公司 File transmission method, device and electronic device
CN111787051B (en) * 2020-05-15 2023-06-27 厦门快商通科技股份有限公司 File transmission method and system based on voice recognition and mobile terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102664008A (en) * 2012-04-27 2012-09-12 上海量明科技发展有限公司 Method, terminal and system for transmitting data
CN103810285A (en) * 2014-02-24 2014-05-21 联想(北京)有限公司 Method and device for obtaining information
CN103973730A (en) * 2013-01-29 2014-08-06 腾讯科技(深圳)有限公司 Method, terminal and system for achieving data sharing
CN104270468A (en) * 2014-10-23 2015-01-07 深圳市领耀东方科技股份有限公司 System for controlling device for internet of things through Wechat

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102664008A (en) * 2012-04-27 2012-09-12 上海量明科技发展有限公司 Method, terminal and system for transmitting data
CN103973730A (en) * 2013-01-29 2014-08-06 腾讯科技(深圳)有限公司 Method, terminal and system for achieving data sharing
CN103810285A (en) * 2014-02-24 2014-05-21 联想(北京)有限公司 Method and device for obtaining information
CN104270468A (en) * 2014-10-23 2015-01-07 深圳市领耀东方科技股份有限公司 System for controlling device for internet of things through Wechat

Also Published As

Publication number Publication date
CN104580534A (en) 2015-04-29

Similar Documents

Publication Publication Date Title
CN104580534B (en) Information processing method, device and electronic equipment
EP3200549B1 (en) Method and device for wireless communication between communication terminals
CN103596160B (en) Method and device for data transmission
KR20130029912A (en) Apparatus and method for connecting bluetooth device in portable terminal
CN105764159B (en) Network connection method, system and terminal thereof
EP2941058A1 (en) Near field communication method and device
CN103220822A (en) Data transmission method, data transmission device and mobile terminal
JP2016533059A (en) Bluetooth communication method and Bluetooth communication equipment
CN103078900B (en) A kind of document transmission method of terminal room and document transmission system
CN105210396A (en) A method and device for selecting an information push terminal
US9332406B2 (en) Method, apparatus, and system for updating contact information
CN104852984A (en) Method and system for transmitting data between smart terminals based on multi-screen interaction
CN111491279A (en) Bluetooth scanning method, device, equipment and computer readable storage medium
EP3051772B1 (en) Method and apparatus for accessing network
CN104184898A (en) Incoming call information display processing method and device
CN104023040B (en) A kind of method and device of information processing
CN105487887B (en) A bluetooth startup method and bluetooth device
CN104010269A (en) Method and device for sending file in communication terminal
CN106254465B (en) A kind of data transmission method, system and electronic equipment
CN103517373A (en) Network access method and device
CN104410744B (en) Method and device based on minor number intelligent dialing
KR20150003588A (en) Method and apparatus for service negotiation
CN106211036A (en) A kind of method and apparatus connecting equipment
CN103023542B (en) A kind of document transmission method of intelligent mobile communication terminal, system
CN103491609A (en) Method, system and device for carry out communication between mobile terminals

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