WO2018233561A1 - Method and apparatus for acquiring file, method and apparatus for transferring file, and storage medium - Google Patents

Method and apparatus for acquiring file, method and apparatus for transferring file, and storage medium Download PDF

Info

Publication number
WO2018233561A1
WO2018233561A1 PCT/CN2018/091461 CN2018091461W WO2018233561A1 WO 2018233561 A1 WO2018233561 A1 WO 2018233561A1 CN 2018091461 W CN2018091461 W CN 2018091461W WO 2018233561 A1 WO2018233561 A1 WO 2018233561A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
signal
transmitted
original file
present disclosure
Prior art date
Application number
PCT/CN2018/091461
Other languages
French (fr)
Chinese (zh)
Inventor
蒋晓
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2018233561A1 publication Critical patent/WO2018233561A1/en

Links

Images

Classifications

    • H04B5/72
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive loop type
    • H04B5/24
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R9/00Transducers of moving-coil, moving-strip, or moving-wire type

Definitions

  • the present disclosure relates to the field of communications, and in particular, to a file acquisition method and apparatus, a file transmission method and apparatus, and a storage medium.
  • the files shared between terminals are more and more frequent, especially the transmission of small files is very frequent, especially the audio and picture files account for the vast majority, and now the mainstream near field Transmission technologies include Bluetooth (BT) and Local Area Network (WIFI) technologies.
  • BT Bluetooth
  • WIFI Local Area Network
  • BT transmission is point-to-point transmission.
  • a BT originating source can only connect to a unique target device, and requires secret key authentication. Each transmission needs to be confirmed.
  • WIFI transmission utilizes local area network technology, which can complete cell broadcast or point-to-point transmission. When using local area network technology for near field communication, identity authentication is required.
  • An embodiment of the present disclosure provides a file obtaining method, including: acquiring, by using electromagnetic induction of a speaker electromagnetic coil of a first terminal, an analog signal transmitted by a second terminal; and performing a restoration process on the analog signal to acquire and The original file corresponding to the analog signal.
  • An embodiment of the present disclosure provides a file transfer method, including: determining an analog signal to be transmitted to a first terminal; transmitting the analog signal to the first by electromagnetic induction using a speaker electromagnetic coil of the second terminal terminal.
  • An embodiment of the present disclosure provides a file obtaining apparatus, including: a first acquiring module, configured to acquire an analog signal transmitted by a second terminal by using a speaker electromagnetic coil of the first terminal by using electromagnetic induction; and a second acquiring module, The original file corresponding to the analog signal is obtained by performing a restoration process on the analog signal.
  • An embodiment of the present disclosure provides a file transfer apparatus, including: a determining module for determining an analog signal to be transmitted to a first terminal; and a transmitting module for utilizing a speaker electromagnetic coil of the second terminal by electromagnetic induction The analog signal is transmitted to the first terminal.
  • An embodiment of the present disclosure further provides a file transmission system including a first terminal and a second terminal, wherein the first terminal is configured to perform an operation of: electromagnetically sensing by using a speaker electromagnetic coil of the first terminal Obtaining an analog signal transmitted by the second terminal; acquiring an original file corresponding to the analog signal by performing a restoration process on the analog signal; and the second terminal is configured to: determine to be transmitted to the An analog signal of the first terminal; transmitting the analog signal to the first terminal by electromagnetic induction using a speaker electromagnetic coil of the second terminal.
  • Embodiments of the present disclosure provide a storage medium including a stored program, wherein the program executes a method according to the present disclosure while it is running.
  • Embodiments of the present disclosure also provide a processor for running a program, wherein the program executes a method in accordance with the present disclosure while it is running.
  • FIG. 1 is a block diagram showing a hardware configuration of a mobile terminal that implements a file acquisition method and/or a file transfer method according to an embodiment of the present disclosure
  • FIG. 2 is a flowchart of a file acquisition method in accordance with an embodiment of the present disclosure
  • FIG. 3 is a flowchart of a file transfer method in accordance with an embodiment of the present disclosure
  • FIG. 4 is a schematic structural diagram of an apparatus for implementing a file acquisition method and a file transfer method according to an embodiment of the present disclosure
  • FIG. 5 is a schematic diagram of a position between terminals that implement a file acquisition method and a file transfer method according to an embodiment of the present disclosure
  • FIG. 6 is a schematic diagram of generating an electromagnetic field around an electromagnetic coil of a moving coil type electroacoustic transducer that implements a document transfer method according to an embodiment of the present disclosure
  • FIG. 7 is a schematic diagram showing a principle of generating a sensing signal in a file acquiring method according to an embodiment of the present disclosure
  • FIG. 8 is a flowchart showing the operation of a file transfer device according to an embodiment of the present disclosure
  • FIG. 9 is a flowchart showing the operation of a file acquiring apparatus according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic structural diagram of an apparatus for implementing a file acquisition method and a file transfer method according to an embodiment of the present disclosure
  • FIG. 11 is a schematic diagram of a data flow for transmitting an audio file in accordance with an embodiment of the present disclosure
  • FIG. 12 is a flow diagram of transmitting an audio file in accordance with an embodiment of the present disclosure.
  • FIG. 13 is a schematic diagram of a data flow for transmitting a non-audio file, in accordance with an embodiment of the present disclosure
  • FIG. 15 is a functional block diagram of a file transfer apparatus according to an embodiment of the present disclosure.
  • 16 is a functional block diagram of a file acquisition apparatus according to an embodiment of the present disclosure.
  • FIG. 17 is a structural block diagram of a file acquiring apparatus according to an embodiment of the present disclosure.
  • FIG. 18 is a block diagram showing the structure of a file transfer apparatus according to an embodiment of the present disclosure.
  • a moving coil type electroacoustic transducer is a current mainstream acoustic component for electroacoustic conversion
  • a moving coil type electroacoustic transducer has a set of coils with a fixed number of turns, and when it is subjected to electroacoustic conversion, a current is passed through the coil.
  • an electromagnetic field is generated in the space around the coil, and embodiments of the present disclosure relate to a technical solution for signal transmission using the electromagnetic field.
  • the technical solution provided by the embodiments of the present disclosure can be applied to devices such as mobile terminals, computer terminals, and the like as long as the device includes a moving coil type electroacoustic transducer.
  • mobile terminal 10 may include one or more processors 102. As an example, only one processor 102 is shown in FIG. 1.
  • Processor 102 may include, but is not limited to, a microprocessor unit (MPU), Programming logic device (PLD), etc.
  • the mobile terminal 10 may also include a memory 104 for storing data and a transmission device 106 for communication functions. It is to be understood by those skilled in the art that the structure shown in FIG. 1 is merely illustrative and does not limit the technical solutions provided by the embodiments of the present disclosure.
  • the mobile terminal 10 may have a different configuration than that shown in FIG. 1 as needed, and may include more or fewer components than those shown in FIG.
  • the memory 104 can be used to store program instructions of application software, such as file acquisition methods and/or file transfer methods corresponding to embodiments of the present disclosure, and the processor 102 executes various applications by running program instructions stored in the memory 104.
  • a file acquisition method and/or a file transfer method that implement an embodiment of the present disclosure.
  • Memory 104 may include high speed random access memory, and may also include non-volatile memory, for example, may include one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
  • memory 104 may further include memory remotely located relative to processor 102, which may be connected to mobile terminal 10 over a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, or a combination thereof.
  • Transmission device 106 is for receiving or transmitting data via a network.
  • An example of the network may include a wireless network provided by a communication provider of the mobile terminal 10.
  • the transmission device 106 includes a Network Interface Controller (NIC), so that communication with other network devices can be performed through the base station.
  • the transmission device 106 can be a Radio Frequency (RF) device to communicate wirelessly with other devices.
  • NIC Network Interface Controller
  • RF Radio Frequency
  • FIG. 2 is a flow chart of a file acquisition method in accordance with an embodiment of the present disclosure.
  • the file acquisition method can be applied to the mobile terminal 10 as shown in FIG. 1, so that the mobile terminal 10 can receive a file by the file acquisition method of the embodiment of the present disclosure.
  • the file acquiring method of the embodiment of the present disclosure includes the steps of: S202: performing electromagnetic induction through an electromagnetic coil of a moving coil type electroacoustic transducer to receive an analog signal transmitted by a magnetic effect of a current; and S204, The original file corresponding to the analog signal is obtained by performing a restoration process on the received analog signal.
  • the electromagnetic signal transmitted by the magnetic coil of the original moving coil type electroacoustic transducer in the mobile terminal can be received to receive an analog signal transmitted by the magnetic effect of the current. Since the file transmission using the electromagnetic technology does not need to be authenticated, the file acquisition method using the embodiment of the present disclosure can simplify the file transmission process and improve the user experience. In addition, since the file acquisition method of the embodiment of the present disclosure utilizes the electromagnetic coil of the moving coil type electroacoustic transducer originally in the mobile terminal, no additional electromagnetic induction device is required, thereby simplifying the file acquisition method applying the embodiment of the present disclosure. The design complexity of the mobile terminal is cost-effective.
  • step S204 includes: performing demodulation processing on the received analog signal; performing digital sampling processing on the signal obtained by the demodulation processing; and performing decoding processing on the signal obtained by the digitized sampling processing to obtain the original file.
  • the transmitting terminal that transmits the original file needs to perform corresponding processing on the file, including encoding processing, digital-to-analog conversion processing, modulation processing, and the like.
  • the file acquisition method of the embodiment of the present disclosure further includes performing at least one of amplifying, shaping, and filtering processing on the received analog signal before step S204. In this case, the subsequent reduction processing in step S204 is facilitated.
  • FIG. 3 is a flowchart of a file transfer method according to an embodiment of the present disclosure.
  • the file transfer method can be applied to the mobile terminal 10 as shown in FIG. 1, so that the mobile terminal 10 can transfer a file by the file transfer method of the embodiment of the present disclosure.
  • the file transfer method of the embodiment of the present disclosure includes the steps of: S302: determining an analog signal to be transmitted; and S304, transmitting the analog signal by a magnetic effect of a current of a solenoid of the moving coil type electroacoustic transducer.
  • the analog signal can be transmitted by the magnetic effect of the current of the electromagnetic coil of the original moving coil type electroacoustic transducer in the mobile terminal. Since file transmission using electromagnetic technology is not required to be authenticated, the file transfer method using the embodiment of the present disclosure can simplify the file transfer process and improve the user experience. In addition, since the file transfer method of the embodiment of the present disclosure utilizes the electromagnetic coil of the original moving coil type electroacoustic transducer in the mobile terminal, no additional electromagnetic equipment is required, thereby simplifying the application of the file transfer method of the embodiment of the present disclosure. The design complexity of the mobile terminal saves costs.
  • step S302 includes determining the type of the original file to be transmitted; converting the original file into an analog signal to be transmitted according to the type of the original file to be transmitted.
  • the original file may be an audio file or a non-audio file.
  • the mobile terminal on the transmitting side can perform file transfer in a manner of playing an audio file in a conventional manner, and for a non-audio file, the non-audio file can be converted into an audio file, and then the file is transferred by playing the audio file.
  • converting the original file into an analog signal to be transmitted according to a type of the original file to be transmitted includes: performing source coding on the original file to be transmitted when determining that the original file to be transmitted is a non-audio file, The original file is encoded into an audio file; the audio file corresponding to the original file to be transmitted obtained by the source encoding is converted into an analog signal.
  • the file transfer method of the embodiment of the present disclosure further includes performing at least one of an amplification, shaping, and filtering process on the analog signal to be transmitted before step S304.
  • the signal-to-noise ratio (SNR) of the analog signal to be transmitted can be increased, and the analog signal can be easily transmitted in the subsequent step S304.
  • the file to be transmitted (ie, the original file) is digital-to-analog converted, and then the analog signal corresponding to the file to be transmitted obtained by digital-to-analog conversion is transmitted to the mobile device in the form of current.
  • An electromagnetic coil of a coil type electroacoustic transducer for example, a moving coil type speaker or a moving coil type receiver
  • an electromagnetic field is generated around the electromagnetic coil
  • electromagnetic of another moving coil type electroacoustic transducer located in the electromagnetic field The coil is subjected to the electromagnetic field to generate an induced electromotive force, and the induced electromotive force is subjected to signal amplification, optimization, and analog-to-digital conversion to obtain an original file, thereby completing file transmission.
  • the transmitting side may not perform digital-to-analog conversion, and accordingly, the receiving side (ie, the acquisition side) may not perform analog-to-digital conversion.
  • the signal to be transmitted is converted into a signal suitable for playing using an electro-acoustic conversion device (for example, a signal in an ultrasonic frequency band), and then the signal is transmitted to a moving coil type electric sound.
  • An electromagnetic coil of the converter such that an electromagnetic field is generated around the electromagnetic coil, and an electromagnetic coil of another moving coil type electroacoustic transducer in the electromagnetic field is subjected to the electromagnetic field to generate an induced electromotive force, and then necessary for the induced electromotive force Processing to get the transmitted signal.
  • the device includes an uplink and downlink control unit, an uplink circuit, a downlink circuit, and a moving coil speaker (SPK).
  • the working mode of the device includes a file transfer mode and a file acquisition mode, and the file transfer mode is correspondingly implemented by a downlink circuit, and the file acquisition mode is correspondingly implemented by an uplink circuit.
  • a moving coil speaker (SPK) is used as a signal source when the device is in the file transfer mode, and a moving coil speaker (SPK) acts as a receiver when the device is in the file acquisition mode.
  • the uplink circuit may include a signal amplifier, a shaping module, a filtering module, an analog-to-digital converter, and an optimization module
  • the downlink circuit may include an optimization module, a filtering module, a digital-to-analog converter, and a power amplifier.
  • the optimization module can optimize the noise reduction or the like of the transmitted or received signal.
  • an apparatus that implements a file acquisition method and a file transmission method according to an embodiment of the present disclosure may be a mobile terminal.
  • a mobile terminal that implements a file transfer method according to an embodiment of the present disclosure is close to a mobile terminal that implements a file acquisition method according to an embodiment of the present disclosure, and transmission of a file by an electromagnetic field can be realized.
  • FIG. 1 A schematic diagram showing an electromagnetic field generated around an electromagnetic coil of a moving coil type electroacoustic transducer (for example, a moving coil speaker) that implements a document transfer method according to an embodiment of the present disclosure is shown.
  • a moving coil type electroacoustic transducer for example, a moving coil speaker
  • the mobile terminal on the receiving side of the file acquisition mode is close to the mobile terminal on the transmitting side, so that the electromagnetic coil of the moving coil speaker of the mobile terminal on the receiving side is in the electromagnetic field generated by the electromagnetic coil of the moving coil speaker of the mobile terminal on the transmitting side.
  • the electromagnetic coil of the moving coil speaker of the mobile terminal on the receiving side generates a corresponding sensing signal
  • FIG. 7 shows a schematic diagram of the generating principle of the sensing signal in the file acquiring method according to an embodiment of the present disclosure.
  • a file acquisition method and a file transfer method are required to pay attention to at least one of the following aspects: electromagnetic interference in a region where a moving coil type electroacoustic transducer is located; moving coil type electricity The structure of the acoustic transducer; the shielding of the electromagnetic structure by the metal structure; the electromagnetic field is attenuated as the distance increases; the amplitude of the induced signal of the moving coil type electroacoustic transducer on the receiving side is very small; if the amplitude of the transmitted signal is to be increased, it may be increased The number of turns of the electromagnetic coil of the moving coil type electroacoustic transducer on the large transmission side; filtering and signal amplification of the signal to be transmitted to increase the signal-to-noise ratio (SNR) of the transmitted signal
  • SNR signal-to-noise ratio
  • FIG. 8 shows a workflow diagram of a file transfer device in accordance with an embodiment of the present disclosure.
  • the file transfer apparatus according to an embodiment of the present disclosure mainly relies on the down circuit shown in FIG.
  • the workflow of the file transfer apparatus includes the following steps: S802, start; S804, the uplink and downlink control unit determines whether to perform an uplink sensing (receiving) operation or a downlink transmitting operation, in determining When performing the downlink transmission operation, proceeding to step S806, when determining to perform the uplink sensing operation, proceeding to step S810; S806, entering the downlink transmission operation mode, receiving the input of the downlink transmission data at S808; S810, entering the uplink sensing operation mode S812, the downlink circuit works; S814, the transmission is completed.
  • FIG. 9 illustrates a workflow diagram of a file acquisition apparatus in accordance with an embodiment of the present disclosure.
  • the file transfer obtaining apparatus according to an embodiment of the present disclosure mainly relies on the uplink circuit shown in FIG.
  • the workflow of the file obtaining apparatus includes the following steps: S902, start; S904, the uplink and downlink control unit determines whether to perform an uplink sensing (receiving) operation or a downlink transmitting operation, in determining When performing the downlink transmission operation, proceeding to step S906, when determining to perform the uplink sensing operation, proceeding to step S908; S906, entering the downlink transmission working mode; S908, entering the uplink sensing working mode, receiving the signal sensed at S910; S912,
  • the uplink circuit amplifies the signal; S914, the uplink circuit shapes the signal; S916, the uplink circuit filters the signal; S918, determines whether the signal is directly played, and when it is determined that the signal is directly played, proceeds to step S920, where When it is determined that the signal is not directly played, proceeding to step S922; S920, directly playing the signal; S922, performing analog-to-digital conversion on the signal; S924, the uplink circuit optimizes
  • the file obtained by digitally recording in step S928 can be converted to another type of file.
  • a moving coil type electroacoustic transducer for example, a speaker
  • a moving coil type electroacoustic transducer can be expanded in function, that is, an up circuit and a down circuit are added to implement a file acquiring device and a file transferring device according to an embodiment of the present disclosure.
  • an uplink and downlink codec unit may be separately configured, and the uplink and downlink codec unit may include an uplink decoding module and a downlink encoding module, and the uplink decoding module senses (receives) the function-expanded moving coil type electroacoustic converter. The signal is decoded, and the downlink encoding module encodes the signal to be transmitted.
  • a file in order not to affect the general function of an electroacoustic conversion device (for example, a speaker), a file (signal) may be transmitted in an ultrasonic frequency band.
  • the file transfer device may be a terminal of a moving coil type electroacoustic converter having a function expanded as in the embodiment of the present disclosure, or may be only A terminal including a general moving coil type electroacoustic transducer can be used as long as it can play an audio file through a moving coil type electroacoustic transducer.
  • the file acquiring device must be a moving coil type having an extended function as an embodiment of the present disclosure.
  • the terminal of the electroacoustic transducer ie the terminal must contain an upstream circuit as described above.
  • FIG. 11 shows a data flow diagram of transmitting an audio file in accordance with an embodiment of the present disclosure.
  • the audio file is a file type suitable for the electroacoustic converter to play
  • the downlink encoding module can be bypassed at the file transfer device.
  • the file acquisition device may also bypass the uplink decoding module.
  • FIG. 12 shows a flow chart of transmitting an audio file in accordance with an embodiment of the present disclosure.
  • the step of transmitting an audio file according to an embodiment of the present disclosure includes: S1202, starting transmission of an audio file; S1204, downlink circuit operation of the file transfer device; S1206, moving coil type electro-acoustic conversion of the file transfer device The audio file is played by the ultrasonic frequency band; S1208, the moving coil type electroacoustic converter of the file acquiring device performs electromagnetic induction; S1210, the uplink circuit of the file obtaining device works; S1212, obtains and stores the corresponding audio file.
  • FIG. 13 shows a schematic diagram of a data flow for transmitting a non-audio file in accordance with an embodiment of the present disclosure.
  • FIG. 14 illustrates a flow chart for transmitting a non-audio file in accordance with an embodiment of the present disclosure.
  • the step of transmitting a non-audio file according to an embodiment of the present disclosure includes: S1402, starting transmission of a non-audio file; S1404, a downlink encoding module of the file transfer device encoding a non-audio file to obtain a suitable playback.
  • Audio file S1406, the moving coil type electroacoustic converter of the file transfer device plays the audio file in the ultrasonic frequency band; S1408, the moving coil type electroacoustic converter of the file acquiring device performs electromagnetic induction; S1410, the upstream decoding module pair of the file obtaining device The received file is decoded; S1412, the corresponding non-audio file is obtained and stored.
  • a file transfer apparatus may perform source encoding and channel encoding, and accordingly, a file acquiring apparatus according to an embodiment of the present disclosure may perform channel decoding and signaling.
  • Source decoding may be performed by a file transfer apparatus according to an embodiment of the present disclosure.
  • the file transfer device and the file acquisition device of the embodiments of the present disclosure have a wide range of applications and can be applied to various types of terminal products. Moreover, the file transfer method and the file acquisition method of the embodiments of the present disclosure have the following advantages: the appropriate function expansion of the existing dynamic coil type electroacoustic converter of the terminal product can meet the demand, the cost is low, and the space of the terminal product is occupied. Smaller, does not affect the convenience of the end product; does not require complex operations such as key check and identity authentication to enhance the user experience; can optimize the processing of the transmitted or received signals; can achieve audio files and non-audio The transmission of files provides users with a new way to transfer files.
  • the technical solutions provided by the embodiments of the present disclosure may be used for asynchronous signal transmission, synchronous or asynchronous recording, synchronous external release, and the like.
  • the technical solutions provided by the embodiments of the present disclosure may be implemented by means of software, hardware or a combination thereof, for example, by software combined with general hardware, such as a processor, an integrated circuit, or the like. . Therefore, the technical solution of the embodiments of the present disclosure may be provided in the form of a software product, which may be stored in a storage medium (such as a ROM/RAM, a magnetic disk, an optical disk), including a plurality of instructions, and an end product (for example, The processor of the mobile phone, computer, server, or network device, etc., runs these instructions to perform the technical solutions provided by the embodiments of the present disclosure.
  • a storage medium such as a ROM/RAM, a magnetic disk, an optical disk
  • an end product for example, The processor of the mobile phone, computer, server, or network device, etc., runs these instructions to perform the technical solutions provided by the embodiments of the present disclosure.
  • FIG. 17 is a structural block diagram of a file acquiring apparatus according to an embodiment of the present disclosure.
  • the file obtaining apparatus includes a first obtaining module 172 and a second acquiring module 174, and the first acquiring module 172 is configured to receive magnetic force passing current through electromagnetic induction of a coil of the moving coil type electroacoustic transducer.
  • the second transmission module 174 is connected to the first acquisition module 172 for performing a restoration process on the received analog signal to obtain an original file corresponding to the received analog signal.
  • the second obtaining module 174 includes: a first processing unit configured to perform demodulation processing on the received analog signal; and a second processing unit configured to perform digital sampling processing on the signal obtained by the demodulation processing; And an obtaining unit, configured to perform decoding processing on the signal obtained by the digitized sampling process to obtain an original file.
  • the file obtaining apparatus further includes an optimization processing module, configured to perform at least one of an amplification process, a shaping process, and a filtering process on the received analog signal before performing the restoration process on the received analog signal.
  • an optimization processing module configured to perform at least one of an amplification process, a shaping process, and a filtering process on the received analog signal before performing the restoration process on the received analog signal.
  • FIG. 18 is a block diagram showing the structure of a file transfer apparatus according to an embodiment of the present disclosure.
  • the file transfer apparatus includes a determination module 182 for determining an analog signal to be transmitted, and a transfer module 184 coupled to the determination module 182 for passing the moving coil type electroacoustic transducer. The magnetic effect of the current of the electromagnetic coil transmits the analog signal.
  • the determining module 182 includes: a determining unit configured to determine a type of the original file to be transmitted; and a converting unit configured to convert the original file into an analog signal to be transmitted according to a type of the original file.
  • the conversion unit in the determination module 182 includes: an encoding subunit for encoding the original file to convert the original file into an audio file when determining that the type of the original file is a non-audio file; a unit for converting an encoded audio file into an analog signal to be transmitted.
  • the file transfer apparatus further includes an optimization processing module configured to perform at least one of an amplification process, a shaping process, and a filtering process on the analog signal to be transmitted before transmitting the analog signal.
  • Embodiments of the present disclosure also provide a file transfer system including a file transfer device and a file acquisition device according to an embodiment of the present disclosure.
  • Embodiments of the present disclosure also provide a storage medium storing a computer program that executes a file transfer method and/or a file acquisition method of an embodiment of the present disclosure when executed by a computer.
  • the foregoing storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • a mobile hard disk and a magnetic memory.
  • Embodiments of the present disclosure also provide a processor that runs a program to implement a file transfer method and/or a file acquisition method of an embodiment of the present disclosure.
  • the dynamic coil type electroacoustic transducer that performs the function expansion can realize the general electroacoustic conversion, and can transmit the file through the magnetic effect of the current and the electromagnetic induction, for example, in the ultrasonic frequency band.
  • audio files can be transmitted in real time or non-audio files can be transmitted asynchronously. Therefore, the present disclosure provides a completely new information transmission method, and has low transmission power consumption, strong practicability and technical achievability, and in particular, an irreplaceable advantage in application simplicity.
  • the embodiment of the present disclosure has been described with a moving coil speaker as an example of a moving coil type electroacoustic transducer, but the present disclosure is not limited thereto, and for example, the moving coil type electroacoustic transducer may further include a moving coil. Telephone receiver, etc.
  • the transmission analog signal is taken as an example.
  • the present disclosure is not limited thereto, and the technical solution of the present disclosure may transmit a digital signal, for example, in conjunction with appropriate processing.
  • module and “unit” as used in the present disclosure may be software, hardware, or a combination thereof that implements a predetermined function, such as a processor, an integrated circuit, or the like.
  • modules, units, or steps in the embodiments of the present disclosure may be implemented on a single hardware, or may be distributed on a network composed of multiple hardwares, which may be implemented by a computer.
  • the executable program code is implemented such that the corresponding program code can be stored in memory and run by the computer.
  • modules, units, or steps in the embodiments of the present disclosure may be implemented/executed in an order different from that shown or described in the present disclosure, may be implemented by a plurality of electronic circuits, or may be A single integrated circuit is implemented.

Abstract

Provided in the present disclosure are a method and apparatus for acquiring a file, a method and apparatus for transferring a file, a system for transmitting a file, and a storage medium. The method for acquiring a file comprises: performing electromagnetic induction by means of an electromagnetic coil of a moving-coil electroacoustic transducer so as to receive a signal that is transmitted by means of the magnetic effect of a current; performing reduction processing on the received signal so as to acquire an original file that corresponds to the signal. The method for transferring the file comprises: determining a signal to be transferred; transferring the signal by means of the magnetic effect of a current of the electromagnetic coil of the moving-coil electroacoustic transducer.

Description

文件获取方法及装置、文件传送方法及装置、存储介质File acquisition method and device, file transmission method and device, and storage medium 技术领域Technical field
本公开涉及通信领域,具体而言,涉及文件获取方法及装置、文件传送方法及装置、存储介质。The present disclosure relates to the field of communications, and in particular, to a file acquisition method and apparatus, a file transmission method and apparatus, and a storage medium.
背景技术Background technique
随着智能终端的应用深入人们生活的各个领域,终端之间共享文件也越来越频繁,特别是小文件的传输非常频繁,尤其以音频和图片文件占到绝大多数,现在主流的近场传输技术包括蓝牙(BT)和局域网(WIFI)技术。As the application of intelligent terminals penetrates into various fields of people's lives, the files shared between terminals are more and more frequent, especially the transmission of small files is very frequent, especially the audio and picture files account for the vast majority, and now the mainstream near field Transmission technologies include Bluetooth (BT) and Local Area Network (WIFI) technologies.
BT传输是点对点传输,一个BT发起源只能连接唯一的目标设备,且需要秘钥鉴权,每次传输都需要进行确认。WIFI传输利用局域网技术,既可以完成小区广播也可以点对点对传,而利用局域网技术进行近场通信时,需要进行身份认证。BT transmission is point-to-point transmission. A BT originating source can only connect to a unique target device, and requires secret key authentication. Each transmission needs to be confirmed. WIFI transmission utilizes local area network technology, which can complete cell broadcast or point-to-point transmission. When using local area network technology for near field communication, identity authentication is required.
发明内容Summary of the invention
本公开的实施例提供了一种文件获取方法,包括:利用第一终端的扬声器电磁线圈通过电磁感应的方式获取第二终端传输的模拟信号;通过对所述模拟信号进行还原处理,获取与所述模拟信号对应的原始文件。An embodiment of the present disclosure provides a file obtaining method, including: acquiring, by using electromagnetic induction of a speaker electromagnetic coil of a first terminal, an analog signal transmitted by a second terminal; and performing a restoration process on the analog signal to acquire and The original file corresponding to the analog signal.
本公开的实施例提供了一种文件传送方法,包括:确定待传送给第一终端的模拟信号;利用第二终端的扬声器电磁线圈通过电磁感应的方式将所述模拟信号传送给所述第一终端。An embodiment of the present disclosure provides a file transfer method, including: determining an analog signal to be transmitted to a first terminal; transmitting the analog signal to the first by electromagnetic induction using a speaker electromagnetic coil of the second terminal terminal.
本公开的实施例提供了一种文件获取装置,包括:第一获取模块,用于利用第一终端的扬声器电磁线圈通过电磁感应的方式获取第二终端传输的模拟信号;第二获取模块,用于通过对所述模拟信号进行还原处理,获取与所述模拟信号对应的原始文件。An embodiment of the present disclosure provides a file obtaining apparatus, including: a first acquiring module, configured to acquire an analog signal transmitted by a second terminal by using a speaker electromagnetic coil of the first terminal by using electromagnetic induction; and a second acquiring module, The original file corresponding to the analog signal is obtained by performing a restoration process on the analog signal.
本公开的实施例提供了一种文件传送装置,包括:确定模块,用于确定待传送给第一终端的模拟信号;传送模块,用于利用第二终 端的扬声器电磁线圈通过电磁感应的方式将所述模拟信号传送给所述第一终端。An embodiment of the present disclosure provides a file transfer apparatus, including: a determining module for determining an analog signal to be transmitted to a first terminal; and a transmitting module for utilizing a speaker electromagnetic coil of the second terminal by electromagnetic induction The analog signal is transmitted to the first terminal.
本公开的实施例还提供了一种文件传输系统,包括第一终端和第二终端,其中,所述第一终端用于执行以下操作:利用所述第一终端的扬声器电磁线圈通过电磁感应的方式获取所述第二终端传输的模拟信号;通过对所述模拟信号进行还原处理,获取与所述模拟信号对应的原始文件;所述第二终端用于执行以下操作:确定待传送给所述第一终端的模拟信号;利用所述第二终端的扬声器电磁线圈通过电磁感应的方式将所述模拟信号传送给所述第一终端。An embodiment of the present disclosure further provides a file transmission system including a first terminal and a second terminal, wherein the first terminal is configured to perform an operation of: electromagnetically sensing by using a speaker electromagnetic coil of the first terminal Obtaining an analog signal transmitted by the second terminal; acquiring an original file corresponding to the analog signal by performing a restoration process on the analog signal; and the second terminal is configured to: determine to be transmitted to the An analog signal of the first terminal; transmitting the analog signal to the first terminal by electromagnetic induction using a speaker electromagnetic coil of the second terminal.
本公开的实施例提供了一种存储介质,所述存储介质包括存储的程序,其中,所述程序运行时执行根据本公开的方法。Embodiments of the present disclosure provide a storage medium including a stored program, wherein the program executes a method according to the present disclosure while it is running.
本公开的实施例还提供了一种处理器,所述处理器用于运行程序,其中,所述程序运行时执行根据本公开的方法。Embodiments of the present disclosure also provide a processor for running a program, wherein the program executes a method in accordance with the present disclosure while it is running.
附图说明DRAWINGS
附图用来提供对本公开的进一步说明,构成本申请的一部分,附图中:The accompanying drawings are included to provide a further
图1是实施根据本公开的实施例的文件获取方法和/或文件传送方法的移动终端的硬件结构框图;1 is a block diagram showing a hardware configuration of a mobile terminal that implements a file acquisition method and/or a file transfer method according to an embodiment of the present disclosure;
图2是根据本公开的实施例的文件获取方法的流程图;2 is a flowchart of a file acquisition method in accordance with an embodiment of the present disclosure;
图3是根据本公开的实施例的文件传送方法的流程图;3 is a flowchart of a file transfer method in accordance with an embodiment of the present disclosure;
图4是实施根据本公开的实施例的文件获取方法和文件传送方法的装置的结构示意图;4 is a schematic structural diagram of an apparatus for implementing a file acquisition method and a file transfer method according to an embodiment of the present disclosure;
图5是实施根据本公开的实施例的文件获取方法和文件传送方法的终端之间的位置示意图;5 is a schematic diagram of a position between terminals that implement a file acquisition method and a file transfer method according to an embodiment of the present disclosure;
图6是实施根据本公开的实施例的文件传送方法的动圈式电声转换器的电磁线圈的周围产生电磁场的示意图;6 is a schematic diagram of generating an electromagnetic field around an electromagnetic coil of a moving coil type electroacoustic transducer that implements a document transfer method according to an embodiment of the present disclosure;
图7是根据本公开的实施例的文件获取方法中感应信号的产生原理示意图;FIG. 7 is a schematic diagram showing a principle of generating a sensing signal in a file acquiring method according to an embodiment of the present disclosure; FIG.
图8是根据本公开的实施例的文件传送装置的工作流程图;8 is a flowchart showing the operation of a file transfer device according to an embodiment of the present disclosure;
图9是根据本公开的实施例的文件获取装置的工作流程图;9 is a flowchart showing the operation of a file acquiring apparatus according to an embodiment of the present disclosure;
图10是实施根据本公开的实施例的文件获取方法和文件传送方法的装置的结构示意图;FIG. 10 is a schematic structural diagram of an apparatus for implementing a file acquisition method and a file transfer method according to an embodiment of the present disclosure; FIG.
图11是根据本公开的实施例传输音频文件的数据流示意图;11 is a schematic diagram of a data flow for transmitting an audio file in accordance with an embodiment of the present disclosure;
图12是根据本公开的实施例传输音频文件的流程图;12 is a flow diagram of transmitting an audio file in accordance with an embodiment of the present disclosure;
图13是根据本公开的实施例传输非音频文件的数据流示意图;13 is a schematic diagram of a data flow for transmitting a non-audio file, in accordance with an embodiment of the present disclosure;
图14是根据本公开的实施例的传输非音频文件的流程图;14 is a flowchart of transmitting a non-audio file, in accordance with an embodiment of the present disclosure;
图15是根据本公开的实施例的文件传送装置的功能模块示意图;15 is a functional block diagram of a file transfer apparatus according to an embodiment of the present disclosure;
图16是根据本公开的实施例的文件获取装置的功能模块示意图;16 is a functional block diagram of a file acquisition apparatus according to an embodiment of the present disclosure;
图17是根据本公开的实施例的文件获取装置的结构框图;17 is a structural block diagram of a file acquiring apparatus according to an embodiment of the present disclosure;
图18是根据本公开的实施例的文件传送装置的结构框图。FIG. 18 is a block diagram showing the structure of a file transfer apparatus according to an embodiment of the present disclosure.
具体实施方式Detailed ways
下文中将参考附图并结合实施例来详细说明本公开。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。本公开的实施例及其说明用于解释本公开,是示意性的,不构成对本公开的不当限定。The present disclosure will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. The embodiments of the present disclosure and the description thereof are for explaining the present disclosure, and are not intended to limit the present disclosure.
需要说明的是,本公开中的术语“第一”、“第二”等用于区别类似的对象,而不用于描述特定的顺序。It should be noted that the terms “first”, “second” and the like in the present disclosure are used to distinguish similar objects, and are not used to describe a specific order.
伴随着智能终端(例如,智能手机)的发展,为其配置的声学部件的性能越来越强大,体积也越来越大,但是这些声学部件的功能单一,一般仅作为常规的电声转换器使用。Along with the development of smart terminals (for example, smart phones), the performance of the acoustic components configured for them is becoming more and more powerful and larger, but these acoustic components have a single function, generally only as a conventional electroacoustic transducer. use.
例如,动圈式电声转换器是当前主流的进行电声转换的声学部件,动圈式电声转换器具备一组固定匝数的线圈,当其进行电声转换时,线圈中会通过电流,这样,线圈周围的空间中会产生电磁场,本公开的实施例涉及利用该电磁场进行信号传输的技术方案。For example, a moving coil type electroacoustic transducer is a current mainstream acoustic component for electroacoustic conversion, and a moving coil type electroacoustic transducer has a set of coils with a fixed number of turns, and when it is subjected to electroacoustic conversion, a current is passed through the coil. Thus, an electromagnetic field is generated in the space around the coil, and embodiments of the present disclosure relate to a technical solution for signal transmission using the electromagnetic field.
本公开的实施例所提供的技术方案可以应用于诸如移动终端、计算机终端等的设备,只要该设备包括动圈式电声转换器即可。以下以将本公开的实施例所提供的技术方案应用于移动终端为例进行说明。The technical solution provided by the embodiments of the present disclosure can be applied to devices such as mobile terminals, computer terminals, and the like as long as the device includes a moving coil type electroacoustic transducer. The following describes an example in which the technical solution provided by the embodiment of the present disclosure is applied to a mobile terminal.
图1是实施根据本公开的实施例的文件获取方法和/或文件传送方法的移动终端的硬件结构框图。如图1所示,移动终端10可以包括一个或多个处理器102,作为示例,图1中仅示出一个处理器102,处理器102可以包括但不限于微处理器单元(MPU)、可编程逻辑器件(PLD)等。移动终端10还可以包括用于存储数据的存储器104以及用于通信功能的传输装置106。本领域普通技术人员可以理解,图1所示的结构仅为示意性的,其并不对本公开的实施例所提供的技术方案进行限定。例如,根据需要,移动终端10可具有与图1所示的不同的配置,可包括比图1中所示的更多或者更少的组件。1 is a hardware block diagram of a mobile terminal that implements a file acquisition method and/or a file transfer method according to an embodiment of the present disclosure. As shown in FIG. 1, mobile terminal 10 may include one or more processors 102. As an example, only one processor 102 is shown in FIG. 1. Processor 102 may include, but is not limited to, a microprocessor unit (MPU), Programming logic device (PLD), etc. The mobile terminal 10 may also include a memory 104 for storing data and a transmission device 106 for communication functions. It is to be understood by those skilled in the art that the structure shown in FIG. 1 is merely illustrative and does not limit the technical solutions provided by the embodiments of the present disclosure. For example, the mobile terminal 10 may have a different configuration than that shown in FIG. 1 as needed, and may include more or fewer components than those shown in FIG.
存储器104可用于存储应用软件的程序指令,如本公开的实施例的文件获取方法和/或文件传送方法对应的程序指令,处理器102通过运行存储在存储器104内的程序指令来执行各种应用,例如实现本公开的实施例的文件获取方法和/或文件传送方法。存储器104可包括高速随机存储器,还可包括非易失性存储器,例如,可包括一个或多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器104可进一步包括相对于处理器102远程设置的存储器,这些远程设置的存储器可以通过网络连接至移动终端10。该网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网或其组合。The memory 104 can be used to store program instructions of application software, such as file acquisition methods and/or file transfer methods corresponding to embodiments of the present disclosure, and the processor 102 executes various applications by running program instructions stored in the memory 104. For example, a file acquisition method and/or a file transfer method that implement an embodiment of the present disclosure. Memory 104 may include high speed random access memory, and may also include non-volatile memory, for example, may include one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, memory 104 may further include memory remotely located relative to processor 102, which may be connected to mobile terminal 10 over a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, or a combination thereof.
传输装置106用于经由网络接收或者发送数据。该网络的实例可包括移动终端10的通信供应商提供的无线网络。在一个实例中,传输装置106包括网络接口控制器(Network Interface Controller,简称为NIC),从而可通过基站与其他网络设备进行通讯。在一个实例中,传输装置106可以为射频(Radio Frequency,简称为RF)装置,从而通过无线方式与其他设备进行通讯。Transmission device 106 is for receiving or transmitting data via a network. An example of the network may include a wireless network provided by a communication provider of the mobile terminal 10. In one example, the transmission device 106 includes a Network Interface Controller (NIC), so that communication with other network devices can be performed through the base station. In one example, the transmission device 106 can be a Radio Frequency (RF) device to communicate wirelessly with other devices.
图2是根据本公开的实施例的文件获取方法的流程图。例如,该文件获取方法可应用于如图1所示的移动终端10中,从而移动终端10可通过本公开的实施例的文件获取方法来接收文件。2 is a flow chart of a file acquisition method in accordance with an embodiment of the present disclosure. For example, the file acquisition method can be applied to the mobile terminal 10 as shown in FIG. 1, so that the mobile terminal 10 can receive a file by the file acquisition method of the embodiment of the present disclosure.
如图2所示,本公开的实施例的文件获取方法包括步骤:S202, 通过动圈式电声转换器的电磁线圈进行电磁感应,以接收通过电流的磁效应传输的模拟信号;以及S204,通过对接收到的模拟信号进行还原处理,以获取与所述模拟信号对应的原始文件。As shown in FIG. 2, the file acquiring method of the embodiment of the present disclosure includes the steps of: S202: performing electromagnetic induction through an electromagnetic coil of a moving coil type electroacoustic transducer to receive an analog signal transmitted by a magnetic effect of a current; and S204, The original file corresponding to the analog signal is obtained by performing a restoration process on the received analog signal.
本公开的实施例的文件获取方法中,可通过移动终端中原有的动圈式电声转换器的电磁线圈进行电磁感应,来接收通过电流的磁效应传输的模拟信号。由于利用电磁技术进行文件传输是无需进行认证的,因此,利用本公开的实施例的文件获取方法可以简化文件传输过程,提升用户体验。此外,由于本公开的实施例的文件获取方法利用了移动终端中原有的动圈式电声转换器的电磁线圈,无需额外的电磁感应设备,因此简化了应用本公开的实施例的文件获取方法的移动终端的设计复杂度,节约成本。In the file acquisition method of the embodiment of the present disclosure, the electromagnetic signal transmitted by the magnetic coil of the original moving coil type electroacoustic transducer in the mobile terminal can be received to receive an analog signal transmitted by the magnetic effect of the current. Since the file transmission using the electromagnetic technology does not need to be authenticated, the file acquisition method using the embodiment of the present disclosure can simplify the file transmission process and improve the user experience. In addition, since the file acquisition method of the embodiment of the present disclosure utilizes the electromagnetic coil of the moving coil type electroacoustic transducer originally in the mobile terminal, no additional electromagnetic induction device is required, thereby simplifying the file acquisition method applying the embodiment of the present disclosure. The design complexity of the mobile terminal is cost-effective.
在一些实施方式中,步骤S204包括:对接收到的模拟信号进行解调处理;对解调处理获得的信号进行数字化采样处理;以及对数字化采样处理获得的信号进行解码处理,以获取上述原始文件。该情况下,发送原始文件的发送终端在发送文件时,需要对文件进行相应的处理,包括编码处理、数模转换处理、调制处理等。In some embodiments, step S204 includes: performing demodulation processing on the received analog signal; performing digital sampling processing on the signal obtained by the demodulation processing; and performing decoding processing on the signal obtained by the digitized sampling processing to obtain the original file. . In this case, when the transmitting terminal that transmits the original file needs to perform corresponding processing on the file, including encoding processing, digital-to-analog conversion processing, modulation processing, and the like.
在一些实施方式中,本公开的实施例的文件获取方法还包括:在步骤S204之前,对接收到的模拟信号执行放大、整形、滤波处理中的至少之一。该情况下,便于进行后续的步骤S204中的还原处理。In some embodiments, the file acquisition method of the embodiment of the present disclosure further includes performing at least one of amplifying, shaping, and filtering processing on the received analog signal before step S204. In this case, the subsequent reduction processing in step S204 is facilitated.
图3是根据本公开的实施例的文件传送方法的流程图。例如,该文件传送方法可应用于如图1所示的移动终端10中,从而移动终端10可通过本公开的实施例的文件传送方法来传送文件。FIG. 3 is a flowchart of a file transfer method according to an embodiment of the present disclosure. For example, the file transfer method can be applied to the mobile terminal 10 as shown in FIG. 1, so that the mobile terminal 10 can transfer a file by the file transfer method of the embodiment of the present disclosure.
如图3所示,本公开的实施例的文件传送方法包括步骤:S302,确定待传送的模拟信号;S304,通过动圈式电声转换器的电磁线圈的电流的磁效应传送上述模拟信号。As shown in FIG. 3, the file transfer method of the embodiment of the present disclosure includes the steps of: S302: determining an analog signal to be transmitted; and S304, transmitting the analog signal by a magnetic effect of a current of a solenoid of the moving coil type electroacoustic transducer.
本公开的实施例的文件传送方法中,可通过移动终端中原有的动圈式电声转换器的电磁线圈的电流的磁效应来传送模拟信号。由于利用电磁技术进行文件传输是无需进行认证的,因此,利用本公开的实施例的文件传送方法可以简化文件传输过程,提升用户体验。此外,由于本公开的实施例的文件传送方法利用了移动终端中原有的动圈 式电声转换器的电磁线圈,无需额外的电磁设备,因此简化了应用本公开的实施例的文件传送方法的移动终端的设计复杂度,节约成本。In the file transfer method of the embodiment of the present disclosure, the analog signal can be transmitted by the magnetic effect of the current of the electromagnetic coil of the original moving coil type electroacoustic transducer in the mobile terminal. Since file transmission using electromagnetic technology is not required to be authenticated, the file transfer method using the embodiment of the present disclosure can simplify the file transfer process and improve the user experience. In addition, since the file transfer method of the embodiment of the present disclosure utilizes the electromagnetic coil of the original moving coil type electroacoustic transducer in the mobile terminal, no additional electromagnetic equipment is required, thereby simplifying the application of the file transfer method of the embodiment of the present disclosure. The design complexity of the mobile terminal saves costs.
在一些实施方式中,步骤S302包括:确定待传送的原始文件的类型;根据待传送的原始文件的类型将该原始文件转换成待传送的模拟信号。In some embodiments, step S302 includes determining the type of the original file to be transmitted; converting the original file into an analog signal to be transmitted according to the type of the original file to be transmitted.
在本实施例中,原始文件可能是音频文件,也可能是非音频文件。对于音频文件,传送侧的移动终端可以按照常规的播放音频文件的方式进行文件传送,而对于非音频文件,可将该非音频文件转换成音频文件,再通过播放音频文件的方式进行文件传送。In this embodiment, the original file may be an audio file or a non-audio file. For an audio file, the mobile terminal on the transmitting side can perform file transfer in a manner of playing an audio file in a conventional manner, and for a non-audio file, the non-audio file can be converted into an audio file, and then the file is transferred by playing the audio file.
在一些实施方式中,根据待传送的原始文件的类型将该原始文件转换成待传送的模拟信号包括:在确定待传送的原始文件为非音频文件时,对待传送的原始文件进行信源编码,以将该原始文件编码为音频文件;将信源编码获得的与待传送的原始文件对应的音频文件转换成模拟信号。In some embodiments, converting the original file into an analog signal to be transmitted according to a type of the original file to be transmitted includes: performing source coding on the original file to be transmitted when determining that the original file to be transmitted is a non-audio file, The original file is encoded into an audio file; the audio file corresponding to the original file to be transmitted obtained by the source encoding is converted into an analog signal.
在一些实施方式中,本公开的实施例的文件传送方法还包括:在步骤S304之前,对待传送的模拟信号执行放大、整形、滤波处理中的至少之一。该情况下,可以增大待传送的模拟信号的信噪比(SNR),且便于在后续的步骤S304中传送该模拟信号。In some embodiments, the file transfer method of the embodiment of the present disclosure further includes performing at least one of an amplification, shaping, and filtering process on the analog signal to be transmitted before step S304. In this case, the signal-to-noise ratio (SNR) of the analog signal to be transmitted can be increased, and the analog signal can be easily transmitted in the subsequent step S304.
本公开的实施例所提供的技术方案中,将待传送的文件(即,原始文件)进行数模转换,然后将数模转换获得的与待传送的文件对应的模拟信号以电流形式传送至动圈式电声转换器(例如,动圈式扬声器、动圈式受话器)的电磁线圈,这样,该电磁线圈的周围产生电磁场,同时处在该电磁场内的另一动圈式电声转换器的电磁线圈受该电磁场的作用而产生感应电动势,对该感应电动势进行信号放大、优化及模数转换来得到原始文件,从而完成文件传输。In the technical solution provided by the embodiment of the present disclosure, the file to be transmitted (ie, the original file) is digital-to-analog converted, and then the analog signal corresponding to the file to be transmitted obtained by digital-to-analog conversion is transmitted to the mobile device in the form of current. An electromagnetic coil of a coil type electroacoustic transducer (for example, a moving coil type speaker or a moving coil type receiver), such that an electromagnetic field is generated around the electromagnetic coil, and electromagnetic of another moving coil type electroacoustic transducer located in the electromagnetic field The coil is subjected to the electromagnetic field to generate an induced electromotive force, and the induced electromotive force is subjected to signal amplification, optimization, and analog-to-digital conversion to obtain an original file, thereby completing file transmission.
应当理解的是,本公开的实施例中,若待传送的信号本身为模拟信号,则传送侧可不执行数模转换,相应地,接收侧(即,获取侧)也可不执行模数转换。It should be understood that, in the embodiment of the present disclosure, if the signal to be transmitted is itself an analog signal, the transmitting side may not perform digital-to-analog conversion, and accordingly, the receiving side (ie, the acquisition side) may not perform analog-to-digital conversion.
总之,本公开的实施例所提供的技术方案中,将待传送的信号 转换为适合使用电声转换器件播放的信号(例如,超声波频段的信号),然后将该信号传送至动圈式电声转换器的电磁线圈,从而使该电磁线圈的周围产生电磁场,同时处在该电磁场内的另一动圈式电声转换器的电磁线圈受该电磁场的作用而产生感应电动势,然后对该感应电动势必要的处理,从而得到被传送的信号。In summary, in the technical solution provided by the embodiment of the present disclosure, the signal to be transmitted is converted into a signal suitable for playing using an electro-acoustic conversion device (for example, a signal in an ultrasonic frequency band), and then the signal is transmitted to a moving coil type electric sound. An electromagnetic coil of the converter, such that an electromagnetic field is generated around the electromagnetic coil, and an electromagnetic coil of another moving coil type electroacoustic transducer in the electromagnetic field is subjected to the electromagnetic field to generate an induced electromotive force, and then necessary for the induced electromotive force Processing to get the transmitted signal.
图4是实施根据本公开的实施例的文件获取方法和文件传送方法的装置的结构示意图。如图4所示,该装置包括上下行控制单元、上行电路、下行电路、以及动圈式扬声器(SPK)。该装置的工作模式包括文件传送模式和文件获取模式,文件传送模式对应地通过下行电路实施,文件获取模式对应地通过上行电路实施。当所述装置处于文件传送模式时,动圈式扬声器(SPK)作为信号源,当所述装置处于文件获取模式时,动圈式扬声器(SPK)作为接收器。4 is a schematic structural diagram of an apparatus for implementing a file acquisition method and a file transfer method according to an embodiment of the present disclosure. As shown in FIG. 4, the device includes an uplink and downlink control unit, an uplink circuit, a downlink circuit, and a moving coil speaker (SPK). The working mode of the device includes a file transfer mode and a file acquisition mode, and the file transfer mode is correspondingly implemented by a downlink circuit, and the file acquisition mode is correspondingly implemented by an uplink circuit. A moving coil speaker (SPK) is used as a signal source when the device is in the file transfer mode, and a moving coil speaker (SPK) acts as a receiver when the device is in the file acquisition mode.
作为示例,上行电路可包括信号放大器、整形模块、滤波模块、模数转换器、优化模块,下行电路可包括优化模块、滤波模块、数模转换器、功率放大器。例如,优化模块可对待传送的或接收到的信号进行降噪等优化。As an example, the uplink circuit may include a signal amplifier, a shaping module, a filtering module, an analog-to-digital converter, and an optimization module, and the downlink circuit may include an optimization module, a filtering module, a digital-to-analog converter, and a power amplifier. For example, the optimization module can optimize the noise reduction or the like of the transmitted or received signal.
作为示例,实施根据本公开的实施例的文件获取方法和文件传送方法的装置可以为移动终端。如图5所示,实施根据本公开的实施例的文件传送方法的移动终端与实施根据本公开的实施例的文件获取方法的移动终端靠近,则可实现通过电磁场传输文件。As an example, an apparatus that implements a file acquisition method and a file transmission method according to an embodiment of the present disclosure may be a mobile terminal. As shown in FIG. 5, a mobile terminal that implements a file transfer method according to an embodiment of the present disclosure is close to a mobile terminal that implements a file acquisition method according to an embodiment of the present disclosure, and transmission of a file by an electromagnetic field can be realized.
当传送侧的移动终端处于文件传送模式时,与待传送的文件对应的电信号传送至其动圈式扬声器的电磁线圈,按照安培定律的理论,电磁线圈的周围会产生同步的电磁场,图6示出了实施根据本公开的实施例的文件传送方法的动圈式电声转换器(例如,动圈式扬声器)的电磁线圈的周围产生电磁场的示意图。When the mobile terminal on the transmitting side is in the file transfer mode, the electrical signal corresponding to the file to be transmitted is transmitted to the electromagnetic coil of the moving coil speaker, and according to the theory of Ampere's law, a synchronous electromagnetic field is generated around the electromagnetic coil, FIG. A schematic diagram showing an electromagnetic field generated around an electromagnetic coil of a moving coil type electroacoustic transducer (for example, a moving coil speaker) that implements a document transfer method according to an embodiment of the present disclosure is shown.
处于文件获取模式的接收侧的移动终端靠近传送侧的移动终端,从而接收侧的移动终端的动圈式扬声器的电磁线圈会处于传送侧的移动终端的动圈式扬声器的电磁线圈产生的电磁场内,这样,根据变压器原理,接收侧的移动终端的动圈式扬声器的电磁线圈会产生相应 的感应信号,图7示出了根据本公开的实施例的文件获取方法中感应信号的产生原理示意图。通过对接收侧的移动终端的动圈式扬声器的电磁线圈产生的感应信号进行适当处理,就可以获得传送侧的移动终端所传送的信号(文件)。The mobile terminal on the receiving side of the file acquisition mode is close to the mobile terminal on the transmitting side, so that the electromagnetic coil of the moving coil speaker of the mobile terminal on the receiving side is in the electromagnetic field generated by the electromagnetic coil of the moving coil speaker of the mobile terminal on the transmitting side. Thus, according to the transformer principle, the electromagnetic coil of the moving coil speaker of the mobile terminal on the receiving side generates a corresponding sensing signal, and FIG. 7 shows a schematic diagram of the generating principle of the sensing signal in the file acquiring method according to an embodiment of the present disclosure. By appropriately processing the induced signal generated by the electromagnetic coil of the moving coil speaker of the mobile terminal on the receiving side, a signal (file) transmitted by the mobile terminal on the transmitting side can be obtained.
在一些实施方式中,实施根据本公开的实施例的文件获取方法和文件传送方法须关注以下几个方面中的至少之一:动圈式电声转换器所在区域的电磁干扰;动圈式电声转换器的结构;金属结构对电磁场的屏蔽;电磁场随距离增大而衰减;接收侧的动圈式电声转换器的感应信号的幅度非常小;若要增大传送信号的幅度,可增大传送侧的动圈式电声转换器的电磁线圈的匝数;可对待传送的信号进行滤波和信号放大,以增大传送信号的信噪比(Signal-to-Noise Ratio,简称为SNR);可对待传送的信号或感应信号进行整形;可设置抗电磁干扰的电磁兼容性(Electro Magnetic Compatibility,简称为EMC)电路,以减少复杂的电磁环境对感应信号的影响。In some embodiments, a file acquisition method and a file transfer method according to an embodiment of the present disclosure are required to pay attention to at least one of the following aspects: electromagnetic interference in a region where a moving coil type electroacoustic transducer is located; moving coil type electricity The structure of the acoustic transducer; the shielding of the electromagnetic structure by the metal structure; the electromagnetic field is attenuated as the distance increases; the amplitude of the induced signal of the moving coil type electroacoustic transducer on the receiving side is very small; if the amplitude of the transmitted signal is to be increased, it may be increased The number of turns of the electromagnetic coil of the moving coil type electroacoustic transducer on the large transmission side; filtering and signal amplification of the signal to be transmitted to increase the signal-to-noise ratio (SNR) of the transmitted signal The signal to be transmitted or the sensing signal can be shaped; the Electromagnetic Compatibility (EMC) circuit can be set to reduce the influence of the complex electromagnetic environment on the sensing signal.
图8示出了根据本公开的实施例的文件传送装置的工作流程图。再次参照图4,根据本公开的实施例的文件传送装置主要依赖于图4所示的下行电路。FIG. 8 shows a workflow diagram of a file transfer device in accordance with an embodiment of the present disclosure. Referring again to FIG. 4, the file transfer apparatus according to an embodiment of the present disclosure mainly relies on the down circuit shown in FIG.
如图8所示,根据本公开的实施例的文件传送装置的工作流程包括如下步骤:S802,开始;S804,上下行控制单元判断是执行上行感应(接收)操作还是执行下行传送操作,在确定执行下行传送操作时,进行到步骤S806,在确定执行上行感应操作时,进行到步骤S810;S806,进入下行传送工作模式,接收在S808处的下行传送数据的输入;S810,进入上行感应工作模式;S812,下行电路工作;S814,传送完成。As shown in FIG. 8, the workflow of the file transfer apparatus according to an embodiment of the present disclosure includes the following steps: S802, start; S804, the uplink and downlink control unit determines whether to perform an uplink sensing (receiving) operation or a downlink transmitting operation, in determining When performing the downlink transmission operation, proceeding to step S806, when determining to perform the uplink sensing operation, proceeding to step S810; S806, entering the downlink transmission operation mode, receiving the input of the downlink transmission data at S808; S810, entering the uplink sensing operation mode S812, the downlink circuit works; S814, the transmission is completed.
图9示出了根据本公开的实施例的文件获取装置的工作流程图。再次参照图4,根据本公开的实施例的文件传获取装置主要依赖于图4所示的上行电路。FIG. 9 illustrates a workflow diagram of a file acquisition apparatus in accordance with an embodiment of the present disclosure. Referring again to FIG. 4, the file transfer obtaining apparatus according to an embodiment of the present disclosure mainly relies on the uplink circuit shown in FIG.
如图9所示,根据本公开的实施例的文件获取装置的工作流程包括如下步骤:S902,开始;S904,上下行控制单元判断是执行上行感应(接收)操作还是执行下行传送操作,在确定执行下行传送操作 时,进行到步骤S906,在确定执行上行感应操作时,进行到步骤S908;S906,进入下行传送工作模式;S908,进入上行感应工作模式,接收在S910处感应的信号;S912,上行电路对信号进行放大处理;S914,上行电路对信号进行整形处理;S916,上行电路对信号进行滤波处理;S918,判断是否直接播放信号,在判断为直接播放信号时,进行到步骤S920,在判断为不直接播放信号时,进行到步骤S922;S920,直接播放信号;S922,对信号进行模数转换;S924,上行电路对信号进行优化处理;S926,判断是否直接播放信号或进行录音,在判断为直接播放信号时,进行到步骤S930,在判断为进行录音时,进行到步骤S928,在判断为不直接播放信号也不进行录音时,进行到步骤S932;S928,进行数字化录音;S930,直接播放信号;S932,上行感应完成。As shown in FIG. 9, the workflow of the file obtaining apparatus according to an embodiment of the present disclosure includes the following steps: S902, start; S904, the uplink and downlink control unit determines whether to perform an uplink sensing (receiving) operation or a downlink transmitting operation, in determining When performing the downlink transmission operation, proceeding to step S906, when determining to perform the uplink sensing operation, proceeding to step S908; S906, entering the downlink transmission working mode; S908, entering the uplink sensing working mode, receiving the signal sensed at S910; S912, The uplink circuit amplifies the signal; S914, the uplink circuit shapes the signal; S916, the uplink circuit filters the signal; S918, determines whether the signal is directly played, and when it is determined that the signal is directly played, proceeds to step S920, where When it is determined that the signal is not directly played, proceeding to step S922; S920, directly playing the signal; S922, performing analog-to-digital conversion on the signal; S924, the uplink circuit optimizes the signal; and S926, determining whether to directly play the signal or perform recording, When it is determined that the signal is directly played, the process proceeds to step S930, where it is determined to be When the recording is performed, the process proceeds to step S928. When it is determined that the signal is not directly played and the recording is not performed, the process proceeds to step S932; S928, digital recording is performed; S930, the signal is directly played; and S932, the uplink sensing is completed.
在一些实施方式中,可将步骤S928进行数字化录音获得的文件转换为其他类型的文件。In some embodiments, the file obtained by digitally recording in step S928 can be converted to another type of file.
如图10所示,可对动圈式电声转换器(例如,扬声器)进行功能扩展,即,增加上行电路和下行电路,来实现根据本公开的实施例的文件获取装置和文件传送装置。此外,例如,可单独设置上下行编解码单元,该上下行编解码单元可包括上行解码模块和下行编码模块,上行解码模块对功能扩展了的动圈式电声转换器感应(接收到)的信号进行解码处理,下行编码模块对待传送的信号进行编码处理。As shown in FIG. 10, a moving coil type electroacoustic transducer (for example, a speaker) can be expanded in function, that is, an up circuit and a down circuit are added to implement a file acquiring device and a file transferring device according to an embodiment of the present disclosure. In addition, for example, an uplink and downlink codec unit may be separately configured, and the uplink and downlink codec unit may include an uplink decoding module and a downlink encoding module, and the uplink decoding module senses (receives) the function-expanded moving coil type electroacoustic converter. The signal is decoded, and the downlink encoding module encodes the signal to be transmitted.
应当理解的是,本领域技术人员可根据需要调整上下行编解码单元及上行电路和下行电路中所包含的各模块/器件的顺序和布置,本公开的实施例不对此进行限定。It should be understood that those skilled in the art can adjust the order and arrangement of the modules and devices included in the uplink and downlink codec units and the uplink circuit and the downlink circuit as needed, which is not limited by the embodiments of the present disclosure.
作为示例,本公开的实施例中,为了不影响电声转换装置(例如,扬声器)的一般功能,可以以超声波频段来传送文件(信号)。应当理解的是,若待传送的文件为音频文件,则文件传送装置(终端)可以为如本公开的实施例中的拥有功能扩展了的动圈式电声转换器的终端,也可以为仅包含一般动圈式电声转换器的终端,只要能够通过动圈式电声转换器播放音频文件即可,然而,文件获取装置必须为如本公开的实施例的拥有扩展功能了的动圈式电声转换器的终端,即该终端必须包含如上所述的上行电路。As an example, in an embodiment of the present disclosure, in order not to affect the general function of an electroacoustic conversion device (for example, a speaker), a file (signal) may be transmitted in an ultrasonic frequency band. It should be understood that if the file to be transmitted is an audio file, the file transfer device (terminal) may be a terminal of a moving coil type electroacoustic converter having a function expanded as in the embodiment of the present disclosure, or may be only A terminal including a general moving coil type electroacoustic transducer can be used as long as it can play an audio file through a moving coil type electroacoustic transducer. However, the file acquiring device must be a moving coil type having an extended function as an embodiment of the present disclosure. The terminal of the electroacoustic transducer, ie the terminal must contain an upstream circuit as described above.
图11示出了根据本公开的实施例的传输音频文件的数据流示意图。如图11所示,由于音频文件是适合电声转换器播放的文件类型,因此传送这类文件时,文件传送装置处可以旁路下行编码模块。该情况下,文件获取装置处也可以旁路上行解码模块。FIG. 11 shows a data flow diagram of transmitting an audio file in accordance with an embodiment of the present disclosure. As shown in FIG. 11, since the audio file is a file type suitable for the electroacoustic converter to play, when the file is transmitted, the downlink encoding module can be bypassed at the file transfer device. In this case, the file acquisition device may also bypass the uplink decoding module.
图12示出了根据本公开的实施例的传输音频文件的流程图。如图12所示,根据本公开的实施例的传输音频文件的步骤包括:S1202,开始音频文件的传输;S1204,文件传送装置的下行电路工作;S1206,文件传送装置的动圈式电声转换器以超声波频段对音频文件进行播放;S1208,文件获取装置的动圈式电声转换器进行电磁感应;S1210,文件获取装置的上行电路工作;S1212,获得并存储对应的音频文件。FIG. 12 shows a flow chart of transmitting an audio file in accordance with an embodiment of the present disclosure. As shown in FIG. 12, the step of transmitting an audio file according to an embodiment of the present disclosure includes: S1202, starting transmission of an audio file; S1204, downlink circuit operation of the file transfer device; S1206, moving coil type electro-acoustic conversion of the file transfer device The audio file is played by the ultrasonic frequency band; S1208, the moving coil type electroacoustic converter of the file acquiring device performs electromagnetic induction; S1210, the uplink circuit of the file obtaining device works; S1212, obtains and stores the corresponding audio file.
图13示出了根据本公开的实施例传输非音频文件的数据流示意图。图14示出了根据本公开的实施例的传输非音频文件的流程图。如图14所示,根据本公开的实施例传输非音频文件的步骤包括:S1402,开始非音频文件的传输;S1404,文件传送装置的下行编码模块对非音频文件进行编码,以得到适合播放的音频文件;S1406,文件传送装置的动圈式电声转换器以超声波频段播放音频文件;S1408,文件获取装置的动圈式电声转换器进行电磁感应;S1410,文件获取装置的上行解码模块对接收到的文件进行解码;S1412,获得并存储对应的非音频文件。FIG. 13 shows a schematic diagram of a data flow for transmitting a non-audio file in accordance with an embodiment of the present disclosure. FIG. 14 illustrates a flow chart for transmitting a non-audio file in accordance with an embodiment of the present disclosure. As shown in FIG. 14, the step of transmitting a non-audio file according to an embodiment of the present disclosure includes: S1402, starting transmission of a non-audio file; S1404, a downlink encoding module of the file transfer device encoding a non-audio file to obtain a suitable playback. Audio file; S1406, the moving coil type electroacoustic converter of the file transfer device plays the audio file in the ultrasonic frequency band; S1408, the moving coil type electroacoustic converter of the file acquiring device performs electromagnetic induction; S1410, the upstream decoding module pair of the file obtaining device The received file is decoded; S1412, the corresponding non-audio file is obtained and stored.
应该理解的是,本公开的实施例中对待传送的信号(文件)及接收到的信号(文件)的各种处理(例如,编码、解码、调制、解调、数模转换、模数转换、滤波、整形、放大等)仅为示例,本公开的范围不限于此。It should be understood that various processes (eg, encoding, decoding, modulation, demodulation, digital-to-analog conversion, analog-to-digital conversion, etc.) of signals (files) to be transmitted and received signals (files) in embodiments of the present disclosure, Filtering, shaping, magnification, etc.) are merely examples, and the scope of the present disclosure is not limited thereto.
作为示例,如图15和图16所示,根据本公开的实施例的文件传送装置可执行信源编码和信道编码,相应地,根据本公开的实施例的文件获取装置可执行信道解码和信源解码。As an example, as shown in FIGS. 15 and 16, a file transfer apparatus according to an embodiment of the present disclosure may perform source encoding and channel encoding, and accordingly, a file acquiring apparatus according to an embodiment of the present disclosure may perform channel decoding and signaling. Source decoding.
本公开的实施例的文件传送装置和文件获取装置的应用范围大,能够应用于各类终端产品。而且,本公开的实施例文件传送方法和文件获取方法具有以下优点:对终端产品已有的动圈式电声转换器进行适当的功能扩展即可满足需求,成本较低,占用终端产品的空间较小, 不影响终端产品的使用便利性;不需要进行密钥检查和身份认证等复杂操作,提升用户体验;能够对待传送的或接收到的信号进行优化处理;可以实现对音频文件及非音频文件的传输,为用户提供了一种新型的传输文件的途径。The file transfer device and the file acquisition device of the embodiments of the present disclosure have a wide range of applications and can be applied to various types of terminal products. Moreover, the file transfer method and the file acquisition method of the embodiments of the present disclosure have the following advantages: the appropriate function expansion of the existing dynamic coil type electroacoustic converter of the terminal product can meet the demand, the cost is low, and the space of the terminal product is occupied. Smaller, does not affect the convenience of the end product; does not require complex operations such as key check and identity authentication to enhance the user experience; can optimize the processing of the transmitted or received signals; can achieve audio files and non-audio The transmission of files provides users with a new way to transfer files.
例如,本公开的实施例所提供的技术方案可以用于异步信号传输、同步或异步录音、同步外放等。For example, the technical solutions provided by the embodiments of the present disclosure may be used for asynchronous signal transmission, synchronous or asynchronous recording, synchronous external release, and the like.
应当理解的是,本公开的实施例所提供的技术方案可借助软件、硬件或其结合的方式来实现,例如,可通过软件结合通用硬件来实现,所述硬件例如为处理器、集成电路等。因此,本公开的实施例的技术方案本质上可以以软件产品的形式提供,该软件产品可存储在存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令,终端产品(例如,手机、计算机、服务器、或者网络设备等)的处理器运行这些指令以执行本公开的实施例所提供的技术方案。It should be understood that the technical solutions provided by the embodiments of the present disclosure may be implemented by means of software, hardware or a combination thereof, for example, by software combined with general hardware, such as a processor, an integrated circuit, or the like. . Therefore, the technical solution of the embodiments of the present disclosure may be provided in the form of a software product, which may be stored in a storage medium (such as a ROM/RAM, a magnetic disk, an optical disk), including a plurality of instructions, and an end product (for example, The processor of the mobile phone, computer, server, or network device, etc., runs these instructions to perform the technical solutions provided by the embodiments of the present disclosure.
图17是根据本公开的实施例的文件获取装置的结构框图。如图17所示,该文件获取装置包括第一获取模块172和第二获取模块174,第一获取模块172用于通过动圈式电声转换器的电磁线圈进行电磁感应来接收通过电流的磁效应传输的模拟信号,第二获取模块174连接至第一获取模块172,用于对接收到的模拟信号进行还原处理,以获取与接收到的模拟信号对应的原始文件。FIG. 17 is a structural block diagram of a file acquiring apparatus according to an embodiment of the present disclosure. As shown in FIG. 17, the file obtaining apparatus includes a first obtaining module 172 and a second acquiring module 174, and the first acquiring module 172 is configured to receive magnetic force passing current through electromagnetic induction of a coil of the moving coil type electroacoustic transducer. The second transmission module 174 is connected to the first acquisition module 172 for performing a restoration process on the received analog signal to obtain an original file corresponding to the received analog signal.
在一些实施方式中,第二获取模块174包括:第一处理单元,用于对接收到的模拟信号进行解调处理;第二处理单元,用于对解调处理获得的信号进行数字化采样处理;获取单元,用于对数字化采样处理获得的信号进行解码处理,以获取原始文件。In some embodiments, the second obtaining module 174 includes: a first processing unit configured to perform demodulation processing on the received analog signal; and a second processing unit configured to perform digital sampling processing on the signal obtained by the demodulation processing; And an obtaining unit, configured to perform decoding processing on the signal obtained by the digitized sampling process to obtain an original file.
在一些实施方式中,所述文件获取装置还包括优化处理模块,用于在对接收到的模拟信号进行还原处理之前,对接收到的模拟信号进行放大处理、整形处理、滤波处理中的至少之一。In some embodiments, the file obtaining apparatus further includes an optimization processing module, configured to perform at least one of an amplification process, a shaping process, and a filtering process on the received analog signal before performing the restoration process on the received analog signal. One.
图18是根据本公开的实施例的文件传送装置的结构框图。如图18所示,该文件传送装置包括确定模块182和传送模块184,确定模块182用于确定待传送的模拟信号,传送模块184连接至确定模块 182,用于通过动圈式电声转换器的电磁线圈的电流的磁效应来传送模拟信号。FIG. 18 is a block diagram showing the structure of a file transfer apparatus according to an embodiment of the present disclosure. As shown in FIG. 18, the file transfer apparatus includes a determination module 182 for determining an analog signal to be transmitted, and a transfer module 184 coupled to the determination module 182 for passing the moving coil type electroacoustic transducer. The magnetic effect of the current of the electromagnetic coil transmits the analog signal.
在一些实施方式中,确定模块182包括:确定单元,用于确定待传送的原始文件的类型;转换单元,用于根据原始文件的类型将原始文件转换成待传送的模拟信号。In some embodiments, the determining module 182 includes: a determining unit configured to determine a type of the original file to be transmitted; and a converting unit configured to convert the original file into an analog signal to be transmitted according to a type of the original file.
在一些实施方式中,确定模块182中的转换单元包括:编码子单元,用于在确定原始文件的类型为非音频文件时,对原始文件进行编码,以将原始文件转换为音频文件;转换子单元,用于将编码后获得的音频文件转换成待传送的模拟信号。In some embodiments, the conversion unit in the determination module 182 includes: an encoding subunit for encoding the original file to convert the original file into an audio file when determining that the type of the original file is a non-audio file; a unit for converting an encoded audio file into an analog signal to be transmitted.
在一些实施方式中,所述文件传送装置还包括优化处理模块,用于在传送模拟信号之前,对待传送的模拟信号进行放大处理、整形处理、滤波处理中的至少之一。In some embodiments, the file transfer apparatus further includes an optimization processing module configured to perform at least one of an amplification process, a shaping process, and a filtering process on the analog signal to be transmitted before transmitting the analog signal.
本公开的实施例还提供了一种文件传输系统,包括根据本公开的实施例的文件传送装置和文件获取装置。Embodiments of the present disclosure also provide a file transfer system including a file transfer device and a file acquisition device according to an embodiment of the present disclosure.
本公开的实施例还提供了一种存储介质,该存储介质存储有计算机程序,所述程序被计算机运行时执行本公开的实施例的文件传送方法和/或文件获取方法。Embodiments of the present disclosure also provide a storage medium storing a computer program that executes a file transfer method and/or a file acquisition method of an embodiment of the present disclosure when executed by a computer.
本公开的实施例中,上述存储介质可以包括但不限于U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟、光盘等各种可以存储程序代码的介质。In the embodiment of the present disclosure, the foregoing storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory. A variety of media that can store program code, such as discs and discs.
本公开的实施例还提供了一种处理器,该处理器运行程序来实现本公开的实施例的文件传送方法和/或文件获取方法。Embodiments of the present disclosure also provide a processor that runs a program to implement a file transfer method and/or a file acquisition method of an embodiment of the present disclosure.
本公开的实施例所提供的技术方案中,进行了功能扩展的动圈式电声转换器既能实现一般的电声转换,又能通过电流的磁效应以及电磁感应例如以超声波频段来传输文件,配合必要的上行电路及下行电路,既可以实时传输音频文件,也可以异步传输非音频文件。因此,本公开提供了一种全新的信息传输方式,且传输功耗小,具备很强的实用性和技术可实现性,尤其是在应用简洁性上更有不可替代的优势。In the technical solution provided by the embodiments of the present disclosure, the dynamic coil type electroacoustic transducer that performs the function expansion can realize the general electroacoustic conversion, and can transmit the file through the magnetic effect of the current and the electromagnetic induction, for example, in the ultrasonic frequency band. With the necessary uplink and downlink circuits, audio files can be transmitted in real time or non-audio files can be transmitted asynchronously. Therefore, the present disclosure provides a completely new information transmission method, and has low transmission power consumption, strong practicability and technical achievability, and in particular, an irreplaceable advantage in application simplicity.
应当理解,本公开的实施例中以动圈式扬声器作为动圈式电声 转换器的示例进行了描述,但是,本公开不限于此,例如,动圈式电声转换器还可包括动圈式受话器等。此外,本公开的实施例中以传输模拟信号为例进行了描述,但是,本公开不限于此,例如,配合适当的处理,本公开的技术方案可以传输数字信号。It should be understood that the embodiment of the present disclosure has been described with a moving coil speaker as an example of a moving coil type electroacoustic transducer, but the present disclosure is not limited thereto, and for example, the moving coil type electroacoustic transducer may further include a moving coil. Telephone receiver, etc. In addition, in the embodiment of the present disclosure, the transmission analog signal is taken as an example. However, the present disclosure is not limited thereto, and the technical solution of the present disclosure may transmit a digital signal, for example, in conjunction with appropriate processing.
应当注意,本公开中所使用的术语“模块”和“单元”可以是实现预定功能的软件、硬件、或其组合,所述硬件例如为处理器、集成电路等。It should be noted that the terms "module" and "unit" as used in the present disclosure may be software, hardware, or a combination thereof that implements a predetermined function, such as a processor, an integrated circuit, or the like.
本领域的技术人员应该理解,本公开的实施例中的各模块、各单元或各步骤可以集中在单个的硬件上实现,也可以分布在多个硬件所组成的网络上实现,它们可以由计算机可执行的程序代码来实现,从而,可以将相应的程序代码存储在存储器中由计算机来运行。It should be understood by those skilled in the art that the modules, units, or steps in the embodiments of the present disclosure may be implemented on a single hardware, or may be distributed on a network composed of multiple hardwares, which may be implemented by a computer. The executable program code is implemented such that the corresponding program code can be stored in memory and run by the computer.
在某些情况下,本公开的实施例中的各模块、各单元或各步骤可以以不同于本公开所示出或描述的顺序实现/执行,可以由多个电子电路分别实现,或者可以由单个集成电路来实现。In some cases, various modules, units, or steps in the embodiments of the present disclosure may be implemented/executed in an order different from that shown or described in the present disclosure, may be implemented by a plurality of electronic circuits, or may be A single integrated circuit is implemented.
因此,本公开不限制于任何特定形式软件、硬件或其结合。Thus, the present disclosure is not limited to any specific form of software, hardware or a combination thereof.
本公开的实施例仅作为示例,并不用于限制本公开的范围,对于本领域的技术人员来说,在不脱离本公开的构思的情况下,可以对本公开的实施例进行各种修改、等同替换和变化,这些修改、等同替换和变化均落入本公开的保护范围之内。The embodiments of the present disclosure are only examples, and are not intended to limit the scope of the present disclosure, and various modifications and equivalents may be made to the embodiments of the present disclosure without departing from the scope of the present disclosure. Such modifications, equivalent substitutions and variations are intended to fall within the scope of the present disclosure.

Claims (16)

  1. 一种文件获取方法,包括:A file acquisition method includes:
    通过动圈式电声转换器的电磁线圈进行电磁感应,以接收通过通过电流的磁效应传输的信号;以及Electromagnetic induction through a solenoid of a moving coil type electroacoustic transducer to receive a signal transmitted by a magnetic effect through a current;
    通过对接收到的信号进行还原处理,以获取与所述信号对应的原始文件。The original file corresponding to the signal is obtained by performing a restoration process on the received signal.
  2. 根据权利要求1所述的方法,其中,通过对接收到的信号进行还原处理以获取与所述信号对应的所述原始文件包括:The method of claim 1, wherein the obtaining the original file corresponding to the signal by performing a restoration process on the received signal comprises:
    对所述信号进行解调处理;Demodulating the signal;
    对解调处理获得的信号进行数字化采样处理;以及Digitally sampling the signal obtained by the demodulation process;
    对数字化采样处理获得的信号进行解码处理,以获取所述原始文件。The signal obtained by the digitized sampling process is subjected to decoding processing to acquire the original file.
  3. 根据权利要求1所述的方法,还包括:The method of claim 1 further comprising:
    在对接收到的信号进行还原处理之前,对接收到的信号进行放大处理、整形处理、滤波处理中的至少之一。At least one of the amplification processing, the shaping processing, and the filtering processing is performed on the received signal before the received signal is subjected to the restoration processing.
  4. 一种文件传送方法,包括:A file transfer method includes:
    确定待传送的信号;以及Determining the signal to be transmitted;
    通过动圈式电声转换器的电磁线圈的电流的磁效应传送所述信号。The signal is transmitted by the magnetic effect of the current of the electromagnetic coil of the moving coil type electroacoustic transducer.
  5. 根据权利要求4所述的方法,其中,确定待传送的信号包括:The method of claim 4 wherein determining the signal to be transmitted comprises:
    确定待传送的原始文件的类型;以及Determining the type of original file to be transferred;
    根据所述原始文件的类型将所述原始文件转换成待传送的信号。The original file is converted into a signal to be transmitted according to the type of the original file.
  6. 根据权利要求5所述的方法,其中,根据所述原始文件的类型将所述原始文件转换成待传送的信号包括:The method of claim 5, wherein converting the original file into a signal to be transmitted according to a type of the original file comprises:
    在确定所述原始文件的类型为非音频文件时,对所述原始文件进行编码,以将所述原始文件转换为音频文件;以及When determining that the type of the original file is a non-audio file, encoding the original file to convert the original file into an audio file;
    将编码获得的音频文件转换成所待传送的信号。The encoded audio file is converted into a signal to be transmitted.
  7. 根据权利要求4所述的方法,还包括:The method of claim 4 further comprising:
    在传送所述信号之前,对所述信号进行放大处理、整形处理、滤波处理中的至少之一。The signal is subjected to at least one of an amplification process, a shaping process, and a filtering process before transmitting the signal.
  8. 一种文件获取装置,包括:A file acquisition device comprising:
    第一获取模块,配置为通过动圈式电声转换器的电磁线圈进行电磁感应来接收通过电流的磁效应传输的信号;以及a first acquisition module configured to perform electromagnetic induction through a solenoid of the moving coil type electroacoustic transducer to receive a signal transmitted by a magnetic effect of the current;
    第二获取模块,配置为通过对接收到的信号进行还原处理,来获取与所述信号对应的原始文件。The second obtaining module is configured to obtain an original file corresponding to the signal by performing a restoration process on the received signal.
  9. 根据权利要求8所述的装置,其中,所述第一获取模块包括:The apparatus of claim 8, wherein the first obtaining module comprises:
    第一处理单元,配置为对接收到的信号进行解调处理;a first processing unit configured to perform demodulation processing on the received signal;
    第二处理单元,配置为对解调处理获得的信号进行数字化采样处理;以及a second processing unit configured to digitally sample the signal obtained by the demodulation process;
    获取单元,配置为对数字化采样处理获得的信号进行解码处理,以获取所述原始文件。And an acquiring unit configured to perform decoding processing on the signal obtained by the digitized sampling process to obtain the original file.
  10. 一种文件传送装置,包括:A file transfer device comprising:
    确定模块,配置为确定待传送的信号;Determining a module configured to determine a signal to be transmitted;
    传送模块,配置为通过动圈式电声转换器的电磁线圈的电流的磁效应传送所述信号。A transfer module configured to transmit the signal by a magnetic effect of a current of a solenoid of the moving coil type electroacoustic transducer.
  11. 根据权利要求10所述的装置,其中,所述确定模块包括:The apparatus of claim 10, wherein the determining module comprises:
    确定单元,配置为确定待传送的原始文件的类型;Determining a unit configured to determine a type of the original file to be transmitted;
    转换单元,配置为根据所述原始文件的类型将所述原始文件转换成待传送的信号。And a conversion unit configured to convert the original file into a signal to be transmitted according to a type of the original file.
  12. 根据权利要求11所述的装置,其中,所述转换单元包括:The apparatus of claim 11 wherein said converting unit comprises:
    编码子单元,配置为在确定所述原始文件的类型为非音频文件时,对所述原始文件进行编码,以将所述原始文件转换为音频文件;An encoding subunit configured to, when determining that the type of the original file is a non-audio file, encoding the original file to convert the original file into an audio file;
    转换子单元,配置为将编码获得的音频文件转换成待传送的信号。A conversion subunit configured to convert the encoded audio file into a signal to be transmitted.
  13. 一种文件传输系统,包括文件传送装置和文件获取装置,其中,A file transfer system including a file transfer device and a file acquisition device, wherein
    所述文件传送装置用配置为执行以下操作:确定待传送的信号;以及通过动圈式电声转换器的电磁线圈的电流的磁效应传送所述信号,The file transfer device is configured to: determine a signal to be transmitted; and transmit the signal by a magnetic effect of a current of a solenoid of the moving coil type electroacoustic transducer,
    所述文件获取装置配置为执行以下操作:The file obtaining device is configured to perform the following operations:
    通过动圈式电声转换器的电磁线圈进行电磁感应,以接收所述文件传送装置传送的信号;以及通过对接收到的信号进行还原处理,以获取与所述信号对应的原始文件。Electromagnetic induction by the electromagnetic coil of the moving coil type electroacoustic transducer to receive a signal transmitted by the file transfer device; and by performing a restoration process on the received signal to obtain an original file corresponding to the signal.
  14. 根据权利要求13所述的系统,其中,所述文件获取装置通过对接收到的信号进行还原处理以获取与所述信号对应的原始文件包括:The system according to claim 13, wherein said file obtaining means obtains an original file corresponding to said signal by performing a restoration process on said received signal comprises:
    所述文件获取装置对接收到的信号进行解调处理;The file obtaining means performs demodulation processing on the received signal;
    所述文件获取装置对解调处理获得的信号进行数字化采样处理;以及The file obtaining means digitizes a signal obtained by the demodulation process; and
    所述文件获取装置对数字化采样处理获得的信号进行解码处理,以获取所述原始文件。The file obtaining means performs a decoding process on the signal obtained by the digitized sampling process to acquire the original file.
  15. 根据权利要求13所述的系统,其中,所述文件传送装置确定待传送的信号包括:The system of claim 13 wherein said file transfer means determines that the signal to be transmitted comprises:
    所述文件传送装置确定待传送的原始文件的类型;以及The file transfer device determines the type of the original file to be transferred;
    所述文件传送装置根据所述原始文件的类型将所述原始文件转 换成待传送的信号。The file transfer device converts the original file into a signal to be transmitted according to the type of the original file.
  16. 一种存储介质,其存储有程序,所述程序运行时执行根据权利要求1至7中任一项所述的方法。A storage medium storing a program, the program running to perform the method according to any one of claims 1 to 7.
PCT/CN2018/091461 2017-06-23 2018-06-15 Method and apparatus for acquiring file, method and apparatus for transferring file, and storage medium WO2018233561A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710487483.6A CN109120309A (en) 2017-06-23 2017-06-23 File acquisition method and device, file transmitting method and device, storage medium
CN201710487483.6 2017-06-23

Publications (1)

Publication Number Publication Date
WO2018233561A1 true WO2018233561A1 (en) 2018-12-27

Family

ID=64733243

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/091461 WO2018233561A1 (en) 2017-06-23 2018-06-15 Method and apparatus for acquiring file, method and apparatus for transferring file, and storage medium

Country Status (2)

Country Link
CN (1) CN109120309A (en)
WO (1) WO2018233561A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102019118915A1 (en) * 2019-07-12 2021-01-14 František Mojžiš Analog firewall

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1127446A (en) * 1994-06-28 1996-07-24 索尼化学株式会社 Short-distance communication antenna and method of manufacturing and using the short-distance communication antenna
EP1443678A1 (en) * 2003-02-03 2004-08-04 Sulzer Markets and Technology AG Apparatus for inductive transmission of electrical signals
CN101955093A (en) * 2009-07-20 2011-01-26 杭州优迈科技有限公司 Operation and control system of multi-base-station wireless remote elevator calling and control method
CN103475106A (en) * 2013-08-15 2013-12-25 葛东良 Rotator remote measurement apparatus and remote measurement method thereof
CN106341163A (en) * 2016-10-21 2017-01-18 上海航天控制技术研究所 Short-distance magnetic coupling wireless data signal transmission system and method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102045091A (en) * 2010-12-31 2011-05-04 武汉天喻信息产业股份有限公司 Short range data transmission device and method based on electromagnetic induction
WO2013038235A1 (en) * 2011-09-16 2013-03-21 Nokia Corporation Near field communication apparatus
CN105024764A (en) * 2015-07-24 2015-11-04 上海斐讯数据通信技术有限公司 Audio-format-based file transmission method and system
CN105591675A (en) * 2016-01-19 2016-05-18 惠州Tcl移动通信有限公司 Mobile terminal short-distance wireless transmission system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1127446A (en) * 1994-06-28 1996-07-24 索尼化学株式会社 Short-distance communication antenna and method of manufacturing and using the short-distance communication antenna
EP1443678A1 (en) * 2003-02-03 2004-08-04 Sulzer Markets and Technology AG Apparatus for inductive transmission of electrical signals
CN101955093A (en) * 2009-07-20 2011-01-26 杭州优迈科技有限公司 Operation and control system of multi-base-station wireless remote elevator calling and control method
CN103475106A (en) * 2013-08-15 2013-12-25 葛东良 Rotator remote measurement apparatus and remote measurement method thereof
CN106341163A (en) * 2016-10-21 2017-01-18 上海航天控制技术研究所 Short-distance magnetic coupling wireless data signal transmission system and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102019118915A1 (en) * 2019-07-12 2021-01-14 František Mojžiš Analog firewall

Also Published As

Publication number Publication date
CN109120309A (en) 2019-01-01

Similar Documents

Publication Publication Date Title
US8155340B2 (en) Method and apparatus for rendering ambient signals
CN107077849B (en) Method and apparatus for restoring audio signal
CN204616044U (en) Based on the music share system of Bluetooth technology
JP2018528479A (en) Adaptive noise suppression for super wideband music
US20120134238A1 (en) Acoustic modulation protocol
US11757490B2 (en) Data transmission from a user terminal to another apparatus
JP5767391B2 (en) Method and system for realizing near field communication
CN108964787B (en) Information broadcasting method based on ultrasonic waves
WO2014117722A1 (en) Speech processing method, device and terminal apparatus
CN104427471A (en) Method for automatically establishing connection of mobile network and terminal
CN106611402B (en) Image processing method and device
CN105187976B (en) Mobile terminal and method for amplifying sound based on Bluetooth sound
WO2016023168A1 (en) Methods and apparatus for using audio to configure wireless network settings of a networked media player
CN103684773A (en) Secret lock device, portable terminal and audio unlocking method based on portable terminal
CN103501408A (en) Method and system for photographing video clips through mobile terminal
CN103957220A (en) Data transmission method and system based on frequency conversion sound waves
Arentz et al. Near ultrasonic directional data transfer for modern smartphones
WO2018233561A1 (en) Method and apparatus for acquiring file, method and apparatus for transferring file, and storage medium
CN103187999A (en) Information transmission method and device and mobile terminal
CN104394255A (en) A method and device for adding a friend
US11323803B2 (en) Earphone, earphone system, and method in earphone system
US11031026B2 (en) Acoustic echo cancellation during playback of encoded audio
KR101442027B1 (en) Sound processing system to recognize earphones for portable devices using sound patterns, mathod for recognizing earphone for portable devices using sound patterns, and mathod for sound processing using thereof
CN108492831B (en) Data transmission method, audio equipment and intelligent terminal
CN109587600B (en) Multi-channel audio multiplexing device and electronic equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18820325

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 08/05/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18820325

Country of ref document: EP

Kind code of ref document: A1