Embodiment
Describe embodiments of the invention below in detail, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has the element of identical or similar functions from start to finish.Be exemplary below by the embodiment being described with reference to the drawings, only for explaining the present invention, and can not be interpreted as limitation of the present invention.
Disclosing below provides many different embodiment or example to be used for realizing different structure of the present invention.Of the present invention open in order to simplify, hereinafter the parts to specific examples and setting are described.Certainly, they are only example, and object does not lie in restriction the present invention.In addition, the present invention can be in different examples repeat reference numerals and/or letter.This repetition is in order to simplify and object clearly, itself do not indicate the relation between discussed various embodiment and/or setting.In addition, the various specific technique the invention provides and the example of material, but those of ordinary skills can recognize the property of can be applicable to of other techniques and/or the use of other materials.In addition, First Characteristic described below Second Characteristic it " on " structure can comprise that the first and second Characteristics creations are the direct embodiment of contact, also can comprise the embodiment of other Characteristics creation between the first and second features, such the first and second features may not be direct contacts.
In description of the invention, it should be noted that, unless otherwise prescribed and limit, term " installation ", " being connected ", " connection " should be interpreted broadly, for example, can be mechanical connection or electrical connection, also can be the connection of two element internals, can be to be directly connected, and also can indirectly be connected by intermediary, for the ordinary skill in the art, can understand as the case may be the concrete meaning of above-mentioned term.
With reference to description and accompanying drawing below, these and other aspects of embodiments of the invention will be known.In these descriptions and accompanying drawing, specifically disclose some specific implementations in embodiments of the invention, represent some modes of the principle of implementing embodiments of the invention, but should be appreciated that the scope of embodiments of the invention is not limited.On the contrary, embodiments of the invention comprise all changes, modification and the equivalent within the scope of spirit and the intension that falls into additional claims.
The audio data transmission method proposing according to first aspect present invention embodiment is described below with reference to Fig. 1.
As shown in Figure 1, this audio data transmission method comprises the following steps:
S101, the first equipment obtains voice data waiting for transmission.
In one embodiment of the invention, the first equipment can be mobile terminal.Particularly, mobile terminal can be mobile phone, panel computer, but is not limited only to this.Voice data refers to the data of transmitting by audio frequency mode.Wherein, voice data waiting for transmission can be the identification data of set form, for example: the identification data of this set form has identified the modulation system that voice data waiting for transmission adopts; Or voice data waiting for transmission can be the transmission data containing variable content, for example: the transmission data of variable content are the various data of normal need transmission, for example: the various data such as user profile, Transaction Information.
S102, the first equipment is modulated voice data waiting for transmission respectively by least two kinds of modulation systems.
In an example of the present invention, modulation system can be amplitude modulation(PAM), frequency modulation(FM), carrier modulation or negative carrier modulation etc.
S103, the voice data code stream of at least two kinds of modulation systems of generation.
That is to say, in an example of the present invention, the first equipment can be modulated voice data waiting for transmission respectively by four kinds of modulation systems, and generate voice data code stream A, B, C, the D of four kinds of modulation systems, and voice data code stream A, B, C, modulation system that D is corresponding are different.
In one embodiment of the invention, voice data code stream forms in the following way:
Voice data waiting for transmission is modulated into analog waveform signal by modulation system by the first equipment, thereby form voice data code stream.
S104, the voice data code stream of at least two kinds of modulation systems is spliced into an audio data stream by the first equipment.
In one embodiment of the invention, the mode of splicing can be the connecting method without the time interval, can be also the connecting method at free interval.Splicing connects together the analog waveform after modulating by different modulating mode.
S105 transfers to the second equipment by the first audio data stream by the audio interface of the first equipment once in different time reference frame.
In one embodiment of the invention, different time reference frame refers to: the initial time of each modulation waveform is according to synchronous head acquisition of information.
Concrete, in the time that voice data waiting for transmission is modulated to voice data code stream, also need to generate synchronous head information, this synchronous head information is used to indicate the initial time of each modulation waveform, and the synchronous head information of generation is added in voice data code stream, thereby can guarantee once described audio data stream to be transferred to the second equipment in different time reference frame time, the audio data stream that the second equipment can send according to the first equipment, find respectively the synchronous head of each modulation waveform, obtain the synchronizing information of each modulation waveform, and find the initial time of each modulation waveform according to described synchronizing information, to guarantee correctly audio reception data of the second equipment.
In another embodiment of the present invention, once audio data stream being transferred to the second equipment by the audio interface of the first equipment also comprises:
Audio interface by the first equipment is transferring to audio data stream once the second equipment in reference frame at the same time.
Wherein, reference frame refers at the same time: the initial time of the time period at each modulation waveform place and/or the finish time make an appointment with respect to the duration with reference to the moment of making an appointment.
For reference frame at the same time, be specifically described referring to Fig. 6:
For example, send successively two modulation waveforms, the common time of arranging on a time shaft is T0 with reference to the moment, the initial time of the time period at first modulation waveform place is T1, the duration of T1-T0 is what make an appointment, and the initial time of the time period at second modulation waveform place is T2, and the duration of T2-T0 is also what make an appointment, certainly, now T2 is greater than T1.
In like manner, the finish time of the time period at each modulation waveform place also can be for making an appointment with respect to the duration with reference to the moment of making an appointment.For example: the common time of arranging on a time shaft is T0 with reference to the moment, be T1 ' finish time of the time period at first modulation waveform place, the duration of T1 '-T0 is what make an appointment, be T2 ' finish time of the time period at second modulation waveform place, the duration of T2 '-T0 is also what make an appointment, certainly, now T2 ' is greater than T1 '.
Certainly, the initial time T2 of the time period at second modulation waveform place also can be identical with the T1 ' finish time time period at the place of first modulation waveform.
In like manner, the initial time of the time period at each modulation waveform place and the finish time respectively all can be for making an appointment with respect to the duration with reference to the moment of making an appointment.
Certainly,, in the present embodiment, that makes an appointment is identical or different with reference to moment possibility.
Certainly, in the present embodiment, each modulation waveform can also be positioned at arbitrary position of time period, and for example: 1, the initial time of modulation waveform is identical with the initial time of the time period at this modulation waveform place, the finish time of modulation waveform is identical with the finish time of the time period at this modulation waveform place; T1 to T1 shown in Figure 6 '.
2, the initial time of modulation waveform is identical with the initial time of the time period at this modulation waveform place, and the finish time of modulation waveform is different from the finish time of the time period at this modulation waveform place; T2 to T2 shown in Figure 6 '.
3, the initial time of modulation waveform is different from the initial time of the time period at this modulation waveform place, and the finish time of modulation waveform is identical with the finish time of the time period at this modulation waveform place; T3 to T3 shown in Figure 6 '.
4, the initial time of modulation waveform is different from the initial time of the time period at this modulation waveform place, and the finish time of modulation waveform is also different from the finish time of the time period at this modulation waveform place.T4 to T4 shown in Figure 6 '.Wherein, the initial time of modulation waveform is different from the initial time of the time period at this modulation waveform place, when the finish time of the finish time of modulation waveform and the time period at this modulation waveform place is also different, the initial time of each modulation waveform need to be undertaken synchronously by synchronous head information separately.
As can be seen here, voice data code stream A, B, C, the D of above-mentioned four kinds of modulation systems are spliced into an audio data stream, be convenient to disposable transmission, reduce the number of times of transmission, reduced the possibility of data distortion, also improved the data volume of data interaction, success rate while having improved transfer of data, in addition, reduce the probability of the data transmission fails that data cause due to the distortion factor, the degree of distortion in reciprocal process, improved the quality of data interaction.
Particularly, in an example of the present invention, the second equipment can be electric signing tools, and for example audio frequency Key is similar to a kind of key device of U shield, and just data transfer mode is different, but example of the present invention is not limited in this.
According to the audio data transmission method of the embodiment of the present invention, carry out once data interaction thereby can make the voice data code stream of various modulation systems be spliced into an audio data stream, greatly improve the data volume of a data interaction speed.In addition, selected, after available modulation system, to transmit data by this mode at communicating pair, greatly reduced the distortion factor of interaction data, guaranteed the quality of data interaction.
The audio data transmission system proposing according to second aspect present invention embodiment is described below with reference to Fig. 2 and Fig. 3.
As shown in Figure 2, this audio data transmission system comprises the first equipment 201 and the second equipment 202, and connects by audio interface 203 between the first equipment 201 and the second equipment 202.Wherein, the first equipment 201 modulates to generate respectively the voice data code stream of at least two kinds of modulation systems to voice data waiting for transmission by least two kinds of modulation systems, the voice data code stream of at least two kinds of modulation systems is spliced into an audio data stream, once audio data stream is transferred to the second equipment 202 by audio interface 203.
In one embodiment of the invention, the first equipment 201 is also further used for by audio interface 203 once audio data stream being transferred to the second equipment 202 in reference frame at the same time.
Wherein, reference frame refers at the same time: the initial time of the time period at each modulation waveform place and/or the finish time make an appointment with respect to the duration with reference to the moment of making an appointment.
In another embodiment of the present invention, the first equipment 201 further also for transferring to audio data stream once the second equipment 202 in different time reference frame by audio interface 203.
Wherein, different time reference frame refers to: the initial time of each modulation waveform is according to synchronous head acquisition of information.Certainly, in the time that voice data waiting for transmission is modulated to voice data code stream, also need to generate synchronous head information, this synchronous head information is used to indicate the initial time of each modulation waveform, and the synchronous head information of generation is added in voice data code stream, thereby assurance can be obtained the initial time of each modulation waveform.
In one embodiment of the invention, voice data waiting for transmission can be the identification data of set form, or contains the transmission data of variable content.Wherein: the identification data of set form can identify the modulation system that voice data waiting for transmission adopts; The transmission data of variable content are the various data of normal need transmission, for example: the various data such as user profile, Transaction Information.
And voice data code stream forms in the following way:
Voice data waiting for transmission is modulated into analog waveform signal by modulation system by the first equipment 201, thereby form voice data code stream.
Modulation system in the present embodiment can be amplitude modulation(PAM), frequency modulation(FM), carrier modulation or negative carrier modulation etc.
Particularly, in one embodiment of the invention, as shown in Figure 3, the first equipment 201 can be modulated voice data waiting for transmission respectively by four kinds of modulation systems, and generate voice data code stream A, B, C, the D of four kinds of modulation systems, and voice data code stream A, B, C, modulation system that D is corresponding are different.
Voice data code stream A, B, C, the D of above-mentioned four kinds of modulation systems are spliced into an audio data stream by the first equipment 201, is convenient to disposable transmission, reduced the number of times of transmission, reduced the possibility of data distortion, also improved the data volume of data interaction.
Wherein, in one embodiment of the invention, the mode of splicing can be the connecting method without the time interval, can be also the connecting method at free interval.
In one embodiment of the invention, the first equipment 201 can be mobile terminal, and the second equipment 202 can be electric signing tools.
According to the audio data transmission system of the embodiment of the present invention, can make the data flow between the first equipment 201 and the second equipment 202 realize mutual fast, improve the data volume of data interaction, in addition, select after available modulation system at communicating pair, transmit data by this mode, greatly reduce distortion and the distortion factor of interaction data, improve and guaranteed the quality of data interaction.
The audio data transmission apparatus 400 for mobile terminal proposing according to third aspect present invention embodiment is described below with reference to Fig. 4.
As shown in Figure 4, this device 400 is applied in mobile terminal 404, comprises modulation module 401, concatenation module 402 and transport module 403.
Wherein, modulation module 401 is for modulating to generate respectively the voice data code stream of at least two kinds of modulation systems to voice data waiting for transmission by least two kinds of modulation systems.Concatenation module 402 is for being spliced into an audio data stream by the voice data code stream of at least two kinds of modulation systems.Transport module 403 transfers to audio data stream electric signing tools 500 once for the audio interface 405 by mobile terminal 404.
In one embodiment of the invention, transport module 403 is further used for audio interface 405 by mobile terminal 404 once audio data stream being transferred to electric signing tools 500 in reference frame at the same time.
Wherein, reference frame refers at the same time: the initial time of the time period at each modulation waveform place and/or the finish time make an appointment with respect to the duration with reference to the moment of making an appointment.
In another embodiment of the present invention, transport module 403 is further used in different time reference frame, once audio data stream being transferred to electric signing tools 500 by the audio interface 405 of mobile terminal 404.
Wherein, different time reference frame refers to: the initial time of each modulation waveform is according to synchronous head acquisition of information.Certainly, in the time that voice data waiting for transmission is modulated to voice data code stream, also need to generate synchronous head information, this synchronous head information is used to indicate the initial time of each modulation waveform, and the synchronous head information of generation is added in voice data code stream, thereby assurance can be obtained the initial time of each modulation waveform.
In one embodiment of the invention, modulation module 401 is further used for, by installing 400 modulation system, voice data waiting for transmission is modulated into analog waveform signal, thereby forms voice data code stream.
Wherein, voice data waiting for transmission can be the identification data of set form, or is the transmission data containing variable content.Wherein: the identification data of set form can identify the modulation system that voice data waiting for transmission adopts; The transmission data of variable content are the various data of normal need transmission, for example: the various data such as user profile, Transaction Information.
In addition, modulation module 401 is modulated in the following way: amplitude modulation(PAM), frequency modulation(FM), carrier modulation or negative carrier modulation etc.
In one embodiment of the invention, the mode of concatenation module 402 can be the connecting method without the time interval, can be also the connecting method at free interval.Splicing connects together the analog waveform after modulating by different modulating mode.
According to the audio data transmission apparatus 400 for mobile terminal of the embodiment of the present invention, can realize and carry out fast data interaction between electric signing tools 500, improve interactive speed, save the time, in addition, data distortion factor in reciprocal process has also obtained reduction, has guaranteed the quality of data interaction.
The electric signing tools 500 proposing according to fourth aspect present invention embodiment is described below with reference to Fig. 5.
As shown in Figure 5, this electric signing tools 500 comprises modulation module 501, concatenation module 502 and transport module 503.
Wherein, modulation module 501 is for modulating to generate respectively the voice data code stream of at least two kinds of modulation systems to voice data waiting for transmission by least two kinds of modulation systems.Concatenation module 502 is for being spliced into an audio data stream by the voice data code stream of at least two kinds of modulation systems.Transport module 503 transfers to audio data stream mobile terminal 404 once for the audio interface 504 by electric signing tools 500.
In one embodiment of the invention, transport module 503 is further used for audio interface 504 by electric signing tools 500 once audio data stream being transferred to mobile terminal 404 in reference frame at the same time.
Wherein, reference frame refers at the same time: the initial time of the time period at each modulation waveform place and/or the finish time make an appointment with respect to the duration with reference to the moment of making an appointment.
In another embodiment of the present invention, transport module 503 is further used in different time reference frame, once audio data stream being transferred to mobile terminal 404 by the audio interface 504 of electric signing tools 500.
Wherein, different time reference frame refers to: the initial time of each modulation waveform is according to synchronous head acquisition of information.Certainly, in the time that voice data waiting for transmission is modulated to voice data code stream, also need to generate synchronous head information, this synchronous head information is used to indicate the initial time of each modulation waveform, and the synchronous head information of generation is added in voice data code stream, thereby assurance can be obtained the initial time of each modulation waveform.
In one embodiment of the invention, modulation module 501 is further used for, by the modulation system of electric signing tools 500, voice data waiting for transmission is modulated into analog waveform signal, thereby forms voice data code stream.
Wherein, voice data waiting for transmission can be the identification data of set form, or is the transmission data containing variable content.Wherein: the identification data of set form can identify the modulation system that voice data waiting for transmission adopts; The transmission data of variable content are the various data of normal need transmission, for example: the various data such as user profile, Transaction Information.
And modulation module 501 is modulated in the following way: amplitude modulation(PAM), frequency modulation(FM), carrier modulation or negative carrier modulation etc.
In addition, in one embodiment of the invention, concatenation module 502 is by the connecting method splicing voice data code stream at the connecting method without the time interval or free interval.Splicing connects together the analog waveform after modulating by different modulating mode.
According to the electric signing tools 500 of the embodiment of the present invention, can realize and carry out fast data interaction between mobile terminal 404, improve mutual data volume, save the time, in addition, data distortion factor in follow-up reciprocal process has also obtained reduction, has guaranteed the quality of data interaction.
Any process of otherwise describing in flow chart or at this or method are described and can be understood to, represent to comprise that one or more is for realizing module, fragment or the part of code of executable instruction of step of specific logical function or process, and the scope of the preferred embodiment of the present invention comprises other realization, wherein can be not according to order shown or that discuss, comprise according to related function by the mode of basic while or by contrary order, carry out function, this should be understood by embodiments of the invention person of ordinary skill in the field.
The logic and/or the step that in flow chart, represent or otherwise describe at this, for example, can be considered to the sequencing list of the executable instruction for realizing logic function, may be embodied in any computer-readable medium, use for instruction execution system, device or equipment (as computer based system, comprise that the system of processor or other can and carry out the system of instruction from instruction execution system, device or equipment instruction fetch), or use in conjunction with these instruction execution systems, device or equipment.With regard to this specification, " computer-readable medium " can be anyly can comprise, device that storage, communication, propagation or transmission procedure use for instruction execution system, device or equipment or in conjunction with these instruction execution systems, device or equipment.The example more specifically (non-exhaustive list) of computer-readable medium comprises following: the electrical connection section (electronic installation) with one or more wirings, portable computer diskette box (magnetic device), random-access memory (ram), read-only memory (ROM), the erasable read-only memory (EPROM or flash memory) of editing, fiber device, and portable optic disk read-only memory (CDROM).In addition, computer-readable medium can be even paper or other the suitable medium that can print described program thereon, because can be for example by paper or other media be carried out to optical scanner, then edit, decipher or process in electronics mode and obtain described program with other suitable methods if desired, be then stored in computer storage.
Should be appreciated that each several part of the present invention can realize with hardware, software, firmware or their combination.In the above-described embodiment, multiple steps or method can realize with being stored in software or the firmware carried out in memory and by suitable instruction execution system.For example, if realized with hardware, the same in another embodiment, can realize by any one in following technology well known in the art or their combination: there is the discrete logic for data-signal being realized to the logic gates of logic function, there is the application-specific integrated circuit (ASIC) of suitable combinational logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA) etc.
Those skilled in the art are appreciated that realizing all or part of step that above-described embodiment method carries is can carry out the hardware that instruction is relevant by program to complete, described program can be stored in a kind of computer-readable recording medium, this program, in the time carrying out, comprises step of embodiment of the method one or a combination set of.
In addition, the each functional unit in each embodiment of the present invention can be integrated in a processing module, can be also that the independent physics of unit exists, and also can be integrated in a module two or more unit.Above-mentioned integrated module both can adopt the form of hardware to realize, and also can adopt the form of software function module to realize.If described integrated module realizes and during as production marketing independently or use, also can be stored in a computer read/write memory medium using the form of software function module.
The above-mentioned storage medium of mentioning can be read-only memory, disk or CD etc.
In the description of this specification, the description of reference term " embodiment ", " some embodiment ", " example ", " concrete example " or " some examples " etc. means to be contained at least one embodiment of the present invention or example in conjunction with specific features, structure, material or the feature of this embodiment or example description.In this manual, the schematic statement of above-mentioned term is not necessarily referred to identical embodiment or example.And specific features, structure, material or the feature of description can be with suitable mode combination in any one or more embodiment or example.
Although illustrated and described embodiments of the invention, for the ordinary skill in the art, be appreciated that without departing from the principles and spirit of the present invention and can carry out multiple variation, modification, replacement and modification to these embodiment, scope of the present invention is by claims and be equal to and limit.