CN108172204A - A kind of radio data transmission method and system, electronic musical instrument and intelligent terminal - Google Patents

A kind of radio data transmission method and system, electronic musical instrument and intelligent terminal Download PDF

Info

Publication number
CN108172204A
CN108172204A CN201711373314.6A CN201711373314A CN108172204A CN 108172204 A CN108172204 A CN 108172204A CN 201711373314 A CN201711373314 A CN 201711373314A CN 108172204 A CN108172204 A CN 108172204A
Authority
CN
China
Prior art keywords
data transmission
communication
wireless
musical instrument
electronic musical
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711373314.6A
Other languages
Chinese (zh)
Inventor
张光中
车超军
周昊来
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
MEDELI ELECTRONICS (SHANGHAI) CO Ltd
Original Assignee
MEDELI ELECTRONICS (SHANGHAI) CO Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by MEDELI ELECTRONICS (SHANGHAI) CO Ltd filed Critical MEDELI ELECTRONICS (SHANGHAI) CO Ltd
Priority to CN201711373314.6A priority Critical patent/CN108172204A/en
Publication of CN108172204A publication Critical patent/CN108172204A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H1/00Details of electrophonic musical instruments
    • G10H1/0033Recording/reproducing or transmission of music for electrophonic musical instruments
    • G10H1/0083Recording/reproducing or transmission of music for electrophonic musical instruments using wireless transmission, e.g. radio, light, infrared
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72412User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H2240/00Data organisation or data communication aspects, specifically adapted for electrophonic musical tools or instruments
    • G10H2240/171Transmission of musical instrument data, control or status information; Transmission, remote access or control of music data for electrophonic musical instruments
    • G10H2240/201Physical layer or hardware aspects of transmission to or from an electrophonic musical instrument, e.g. voltage levels, bit streams, code words or symbols over a physical link connecting network nodes or instruments
    • G10H2240/211Wireless transmission, e.g. of music parameters or control data by radio, infrared or ultrasound
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/11Arrangements specific to free-space transmission, i.e. transmission through air or vacuum
    • H04B10/114Indoor or close-range type systems
    • H04B10/1143Bidirectional transmission

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention provides a kind of radio data transmission method and system, electronic musical instrument and intelligent terminal, includes the following steps:The wireless data transmission for meeting the first preset condition is carried out based on the first communication and intelligent terminal;First preset condition is not more than the second predetermined threshold value for the average delay of data transmission no more than the first predetermined threshold value or data transmission power consumption;The wireless data transmission for meeting the second preset condition is carried out based on the second communication and the intelligent terminal;Second preset condition is more than third predetermined threshold value for message transmission rate.The radio data transmission method and system of the present invention, electronic musical instrument and intelligent terminal is according to different wireless transmission demands, wireless data transmission between electronic musical instrument and intelligent terminal is carried out using different communications, so as to take into account the requirement of real-time and transmission rate.

Description

A kind of radio data transmission method and system, electronic musical instrument and intelligent terminal
Technical field
The present invention relates to the technical field of wireless communication, more particularly to a kind of radio data transmission method and system, electricity Sub- musical instrument and intelligent terminal.
Background technology
Electronic musical instrument refers to, by limited means triggering electronic signal, it be made to utilize electronic synthesis technology or sampling technique Come the musical instrument made a sound by electroacoustic equipment, such as electronic organ, fender, electronic synthesizer, electronic drum.
In the prior art, it needs to carry out wireless data with intelligent terminals such as smart mobile phones in the playing procedure of electronic musical instrument Communication, to complete specific function.For example, electronic musical instrument and intelligent terminal can be completed to swim by wireless data communication to cooperate with Play operation.However, the communication between existing electronic musical instrument and intelligent terminal can not meet real-time and biography simultaneously The requirement of defeated rate causes user experience poor.For example, when carrying out wireless data communication using WiFi modes, transmission rate Quickly, but real-time is poor, often there is hundreds of millisecond delays;When carrying out wireless data communication using bluetooth approach, real-time is good, Delay can foreshorten to more than ten millisecond, but transmission rate is very low.
Invention content
In view of the foregoing deficiencies of prior art, the purpose of the present invention is to provide a kind of radio data transmission method and According to different wireless transmission demands, electronics is carried out using different communications for system, electronic musical instrument and intelligent terminal Wireless data transmission between musical instrument and intelligent terminal, so as to take into account real-time, transmission rate and the requirement for transmitting power consumption.
In order to achieve the above objects and other related objects, the present invention provides a kind of radio data transmission method, applied to electricity Sub- musical instrument, includes the following steps:The wireless of the first preset condition of satisfaction is carried out based on the first communication and intelligent terminal Data transmission;First preset condition is not more than the first predetermined threshold value or data transmission power consumption for the average delay of data transmission No more than the second predetermined threshold value;The nothing for meeting the second preset condition is carried out based on the second communication and the intelligent terminal Line data transmission;Second preset condition is more than third predetermined threshold value for message transmission rate.
In one embodiment of the invention, first predetermined threshold value is 80ms, and second predetermined threshold value is 90mW;It is described Third predetermined threshold value is 80Kbps.
In one embodiment of the invention, first communication communicates for bluetooth 4.0, infrared communication and IEEE 802.15.4 one or more combinations in communication, NFC communication;Second communication communicates for IEEE 802.11, One or more combinations in 3G communications, 4G communications, the communication of bluetooth 3.0.
Accordingly, the present invention provides a kind of wireless system for transmitting data, applied to electronic musical instrument, including the first wireless data Transmission module and the second wireless data transfer module;
First wireless data transfer module is used to carry out satisfaction the based on the first communication and intelligent terminal The wireless data transmission of one preset condition;First preset condition is not more than the first default threshold for the average delay of data transmission Value or data transmission power consumption are not more than the second predetermined threshold value;
Second wireless data transfer module is used to the intelligent terminal be expired based on the second communication The wireless data transmission of the second preset condition of foot;Second preset condition is more than third predetermined threshold value for message transmission rate.
The present invention provides a kind of electronic musical instrument, including the first wireless communicator, the second wireless communicator, memory and processing Device;
First wireless communicator is used to carry out wireless data transmission based on the first communication and intelligent terminal;
Second wireless communicator is used to carry out wireless data based on the second communication and the intelligent terminal Transmission;
The memory is used to store computer program;
The processor is used to perform the computer program of the memory storage, so that electronic musical instrument execution is above-mentioned Radio data transmission method.
The present invention provides a kind of radio data transmission method, applied to intelligent terminal, includes the following steps:
The wireless data transmission for meeting the first preset condition is carried out based on the first communication and electronic musical instrument;It is described First preset condition is pre- no more than second no more than the first predetermined threshold value or data transmission power consumption for the average delay of data transmission If threshold value;
The wireless data transmission for meeting the second preset condition is carried out based on the second communication and the electronic musical instrument; Second preset condition is more than third predetermined threshold value for message transmission rate.
In one embodiment of the invention, first predetermined threshold value is 80ms, and second predetermined threshold value is 90mW;It is described Third predetermined threshold value is 80Kbps.
In one embodiment of the invention, first communication communicates for bluetooth 4.0, infrared communication and IEEE 802.15.4 one or more combinations in communication, NFC communication;Second communication communicates for IEEE 802.11, One or more combinations in 3G communications, 4G communications, the communication of bluetooth 3.0.
Accordingly, the present invention provides a kind of wireless system for transmitting data, applied to intelligent terminal, including the first wireless data Transmission module and the second wireless data transfer module;
First wireless data transfer module is used to carry out satisfaction the based on the first communication and electronic musical instrument The wireless data transmission of one preset condition;First preset condition is not more than the first default threshold for the average delay of data transmission Value or data transmission power consumption are not more than the second predetermined threshold value;
Second wireless data transfer module is used to the electronic musical instrument be expired based on the second communication The wireless data transmission of the second preset condition of foot;Second preset condition is more than third predetermined threshold value for message transmission rate.
The present invention provides a kind of intelligent terminal, including the first wireless communicator, the second wireless communicator, memory and processing Device;
First wireless communicator is used to carry out wireless data transmission based on the first communication and electronic musical instrument;
Second wireless communicator is used to carry out wireless data based on the second communication and the electronic musical instrument Transmission;
The memory is used to store computer program;
The processor is used to perform the computer program of the memory storage, so that intelligent terminal execution is above-mentioned Radio data transmission method.
Finally, the present invention provides a kind of wireless system for transmitting data of electronic musical instrument, including above-mentioned electronic musical instrument and upper The intelligent terminal stated.
As described above, the radio data transmission method and system of the present invention, electronic musical instrument and intelligent terminal, have with following Beneficial effect:
(1) according to different wireless transmission demands, electronic musical instrument and intelligence are carried out eventually using different communications Wireless data transmission between end so as to take into account the requirement of real-time and transmission rate, takes into account the requirement of power consumption or transmission rate;
(2) user experience is greatly improved.
Description of the drawings
Fig. 1 is shown as flow chart of the radio data transmission method of the present invention in an embodiment;
Fig. 2 is shown as the first radio connection schematic diagram of electronic musical instrument and intelligent terminal;
Fig. 3 is shown as second of radio connection schematic diagram of electronic musical instrument and intelligent terminal;
Fig. 4 is shown as structure diagram of the wireless system for transmitting data of the present invention in an embodiment;
Fig. 5 is shown as structure diagram of the electronic musical instrument of the present invention in an embodiment;
Fig. 6 is shown as flow chart of the radio data transmission method of the present invention in another embodiment;
Fig. 7 is shown as structure diagram of the wireless system for transmitting data of the present invention in another embodiment;
Fig. 8 is shown as structure diagram of the intelligent terminal of the present invention in an embodiment;
Fig. 9 is shown as structure diagram of the wireless system for transmitting data of the present invention in another embodiment;
Figure 10 is shown as the one Application Example schematic diagram of wireless system for transmitting data of the present invention;
Figure 11 is shown as flow chart of the radio data transmission method of the present invention in another embodiment;
Figure 12 is shown as flow chart of the radio data transmission method of the present invention in another embodiment.
Component label instructions
41 first wireless data transfer modules
42 second wireless data transfer modules
51 first wireless communicators
52 second wireless communicators
53 memories
54 processors
71 first wireless data transfer modules
72 second wireless data transfer modules
81 first wireless communicators
82 second wireless communicators
83 memories
84 processors
91 electronic musical instruments
92 intelligent terminals
Specific embodiment
Illustrate embodiments of the present invention below by way of specific specific example, those skilled in the art can be by this specification Disclosed content understands other advantages and effect of the present invention easily.The present invention can also pass through in addition different specific realities The mode of applying is embodied or practiced, the various details in this specification can also be based on different viewpoints with application, without departing from Various modifications or alterations are carried out under the spirit of the present invention.It should be noted that in the absence of conflict, following embodiment and implementation Feature in example can be combined with each other.
It should be noted that the diagram provided in following embodiment only illustrates the basic structure of the present invention in a schematic way Think, component count, shape and size when only display is with related component in the present invention rather than according to actual implementation in schema then It draws, kenel, quantity and the ratio of each component can be a kind of random change during actual implementation, and its assembly layout kenel It is likely more complexity.
The radio data transmission method and system of the present invention, electronic musical instrument and intelligent terminal can be according to different wireless biographies Defeated demand carries out the wireless data transmission between electronic musical instrument and intelligent terminal, so as to simultaneous using different communications The requirement of real-time and transmission rate is cared for, the requirement of power consumption and transmission rate is taken into account, greatly improves user experience.
As shown in Figure 1, in an embodiment, radio data transmission method of the invention is applied to electronic musical instrument, including with Lower step:
Step S11, the wireless data for meeting the first preset condition is carried out based on the first communication and intelligent terminal Transmission;First preset condition is little no more than the first predetermined threshold value or data transmission power consumption for the average delay of data transmission In the second predetermined threshold value.
Specifically, when the wireless data transmission for needing progress requirement of real-time higher between electronic musical instrument and intelligent terminal When, using the first communication.The communication must have the delay of smaller data transmission, to message transmission rate It does not require excessively.In one embodiment of the invention, first predetermined threshold value is 80ms.
Specifically, when needing to be transmitted the higher wireless data transmission of power consumption requirements between electronic musical instrument and intelligent terminal When, using the first communication.The communication must have smaller data transmission power consumption, to message transmission rate It does not require excessively.In one embodiment of the invention, second predetermined threshold value is 90mW.
In one embodiment of the invention, the carrier frequency of transport protocol is more than used by first communication 37.5KHz, message transmission rate are more than or equal to 10Kbps.
Step S12, it carries out meeting the wireless of the second preset condition with the intelligent terminal based on the second communication Data transmission;Second preset condition is more than third predetermined threshold value for message transmission rate.
Specifically, when needing to carry out data transmission the larger wireless data transmission of rate between electronic musical instrument and intelligent terminal When, using the second communication.The communication must have larger wireless transmission rate, and real-time was not made More requirements.In one embodiment of the invention, the third predetermined threshold value is 80Kbps.
In one embodiment of the invention, the carrier frequency of transport protocol is more than used by second communication 88MHz, message transmission rate are more than or equal to 80Kbps.
In one embodiment of the invention, first communication communicates for bluetooth 4.0, infrared communication and One or more combinations in IEEE802.15.4 communications, NFC communication;Second communication is IEEE 802.11 One or more combinations in communication, 3G communications, 4G communications, the communication of bluetooth 3.0.Wherein, 4.0 standard of bluetooth is operated in 2.4GHz Frequency range, highest transmission speed about 24Mbps, delay is low, meets the requirement of the first communication.IEEE 802.11 communicates Standard is operated in 2.4GHz frequency ranges, and transmission speed 11-54Mbps meets the requirement of the second communication.
In one embodiment of the invention, when the wireless data transmission between electronic musical instrument and intelligent terminal does not have real-time When being distinctly claimed, can the first communication or the second communication be selected according to the data volume of transmitted data. Specifically, if the average delay requirement of wireless data transmission is no more than the first predetermined threshold value, using the first communication; Otherwise judge whether volume of transmitted data is more than the 4th predetermined threshold value, if it is not, using the first communication, if so, using the Two communications.
It illustrates electronic musical instrument in detail below and how intelligent terminal realizes bluetooth as the first communication It is connected with the WiFi as the second communication.As shown in Fig. 2, electronic musical instrument and intelligent terminal are connected to same routing Device, intelligent terminal can establish a TCP connection after the IP for obtaining electronic musical instrument with electronic musical instrument, so as to fulfill electricity WiFi connections between sub- musical instrument and intelligent terminal.Electronic musical instrument not only supports Station patterns, while also supports ap mode, As shown in figure 3, electronic musical instrument, as ap mode, the WiFi of intelligent terminal is connected to the AP of electronic musical instrument.Therefore, intelligent terminal exists The IP for obtaining electronic musical instrument can establish a TCP connection with electronic musical instrument later, so as to fulfill electronic musical instrument and intelligence The WiFi connections of terminal.
From the foregoing, it will be observed that using the connection mode of Fig. 2 or Fig. 3, nothing is established between electronic musical instrument and intelligent terminal Line connection has to pass through following steps:
(1) bluetooth of electronic musical instrument is connected;
(2) communicated by bluetooth with electronic musical instrument the IP of the WiFi for obtaining electronic musical instrument;
(3) IP is obtained later with regard to establishing the TCP connection with electronic musical instrument.
Specifically, intelligent terminal established with electronic musical instrument bluetooth connection process it is as follows:Electronic musical instrument shows bluetooth title, Intelligent terminal searches for the electronic musical instrument for being capable of bluetooth connection, and the indigo plant after the bluetooth title for obtaining electronic musical instrument with electronic musical instrument Tooth is attached.Specifically, have and can connected with the electronic musical instrument of bluetooth connection, electronic musical instrument in order to which intelligent terminal is allowed to know It can will send out a udp broadcast after connecting to the Net at regular intervals by UDP;Intelligent terminal after udp broadcast is received, Equally broadcast can be sent by UDP electronic musical instrument to be notified to have intelligent terminal to need to connect.Electronic musical instrument is being received from intelligence The bluetooth title of itself will be shown after the broadcast of terminal.The indigo plant of intelligent terminal after the bluetooth title for obtaining electronic musical instrument Tooth can be established with the bluetooth of electronic musical instrument and be connected.
The process that intelligent terminal establishes TCP connection with electronic musical instrument is as follows:Intelligent terminal needs to obtain as TCP Host The IP address of electronic musical instrument with electronic musical instrument to establish TCP connection.Since IP address only has a small amount of data, Ke Yitong It is obtained after the bluetooth connection established before.IP address is asked to send by intelligent terminal using bluetooth by specified data form To electronic musical instrument, the IP of the WiFi of electronic musical instrument is just sent to intelligent terminal by electronic musical instrument after IP address request is received. Intelligent terminal then establishes TCP connection according to the IP address and the port numbers specified with electronic musical instrument.
As shown in figure 4, in an embodiment, wireless system for transmitting data of the invention is applied to electronic musical instrument, including the One wireless data transfer module 41 and the second wireless data transfer module 42.
First wireless data transfer module 41 is used to carry out satisfaction first with intelligent terminal based on the first communication The wireless data transmission of preset condition;First preset condition is not more than the first predetermined threshold value for the average delay of data transmission Or data transmission power consumption is not more than the second predetermined threshold value.
Specifically, when the wireless data transmission for needing progress requirement of real-time higher between electronic musical instrument and intelligent terminal When, using the first communication.The communication must have the delay of smaller data transmission, to message transmission rate It does not require excessively.In one embodiment of the invention, first predetermined threshold value is 80ms.
Specifically, when needing to be transmitted the higher wireless data transmission of power consumption requirements between electronic musical instrument and intelligent terminal When, using the first communication.The communication must have smaller data transmission power consumption, to message transmission rate It does not require excessively.In one embodiment of the invention, second predetermined threshold value is 90mW.
In one embodiment of the invention, the carrier frequency of transport protocol is more than used by first communication 37.5KHz, message transmission rate are more than or equal to 10Kbps.
Second wireless data transfer module 42 is used to the intelligent terminal be met based on the second communication The wireless data transmission of second preset condition;Second preset condition is more than third predetermined threshold value for message transmission rate.
Specifically, when needing to carry out data transmission the larger wireless data transmission of rate between electronic musical instrument and intelligent terminal When, using the second communication.The communication must have larger wireless transmission rate, and real-time was not made More requirements.In one embodiment of the invention, the third predetermined threshold value is 80Kbps.
In one embodiment of the invention, the carrier frequency of transport protocol is more than used by second communication 88MHz, message transmission rate are more than or equal to 80Kbps.
In one embodiment of the invention, first communication communicates for bluetooth 4.0, infrared communication and One or more combinations in IEEE802.15.4 communications, NFC communication;Second communication is IEEE 802.11 One or more combinations in communication, 3G communications, 4G communications, the communication of bluetooth 3.0.Wherein, 4.0 standard of bluetooth is operated in 2.4GHz Frequency range, highest transmission speed about 24Mbps, delay is low, meets the requirement of the first communication.IEEE 802.11 communicates Standard is operated in 2.4GHz frequency ranges, and transmission speed 11-54Mbps meets the requirement of the second communication.
In one embodiment of the invention, when the wireless data transmission between electronic musical instrument and intelligent terminal does not have real-time When being distinctly claimed, can the first communication or the second communication be selected according to the data volume of transmitted data. Specifically, if the average delay requirement of wireless data transmission is no more than the first predetermined threshold value, using the first communication; Otherwise judge whether volume of transmitted data is more than the 4th predetermined threshold value, if it is not, using the first communication, if so, using the Two communications.
It should be noted that it should be understood that the modules of system above division be only a kind of division of logic function, It can completely or partially be integrated on a physical entity in actual implementation, it can also be physically separate.And these modules can be with All realized in the form of software is called by processing element;It can also all realize in the form of hardware;It can also part mould Block calls the form of software to realize by processing element, and part of module is realized by the form of hardware.For example, x modules can be The processing element individually set up can also be integrated in some chip of above device and realize, in addition it is also possible to program generation The form of code is stored in the memory of above device, is called by some processing element of above device and is performed more than x moulds The function of block.The realization of other modules is similar therewith.In addition these modules can completely or partially integrate, can also be only It is vertical to realize.Processing element described here can be a kind of integrated circuit, have the processing capacity of signal.During realization, Each step of the above method or more modules can be by the integrated logic circuit of the hardware in processor elements or soft The instruction of part form is completed.
For example, the above module can be arranged to implement one or more integrated circuits of above method, such as: One or more specific integrated circuits (ApplicationSpecificIntegratedCircuit, abbreviation ASIC) or, one Or multi-microprocessor (digitalsingnalprocessor, abbreviation DSP) or, one or more field-programmable gate array It arranges (FieldProgrammableGateArray, abbreviation FPGA) etc..For another example, when some above module is dispatched by processing element When the form of program code is realized, which can be general processor, such as central processing unit (CentralProcessingUnit, abbreviation CPU) or it is other can be with the processor of caller code.For another example, these modules can To integrate, realized in the form of system on chip (system-on-a-chip, abbreviation SOC).
As shown in figure 5, in an embodiment, it is wireless that electronic musical instrument of the invention includes the first wireless communicator 51, second Communicator 52, memory 53 and processor 54.
First wireless communicator 51 is used to carry out wireless data biography based on the first communication and intelligent terminal It is defeated.
Second wireless communicator 52 is used to carry out without line number based on the second communication and the intelligent terminal According to transmission.
The memory 53 is used to store computer program.
Preferably, the memory 53 includes:ROM, RAM, magnetic disc or CD etc. are various can to store program code Medium.
The processor 54 is connected with the first wireless communicator 51, the second wireless communicator 52, memory 53, for performing The computer program that the memory 53 stores, so that the electronic musical instrument performs above-mentioned radio data transmission method.
Preferably, processor 54 can be general processor, including central processing unit (CentralProcessingUnit, Abbreviation CPU), network processing unit (NetworkProcessor, abbreviation NP) etc.;It can also be digital signal processor (DigitalSignalProcessing, abbreviation DSP), application-specific integrated circuit (ApplicationSpecificIntegratedCircuit, abbreviation ASIC), field programmable gate array (Field- ProgrammableGateArray, abbreviation FPGA) either other programmable logic device, discrete gate or transistor logic device Part, discrete hardware components.
As shown in fig. 6, in an embodiment, radio data transmission method of the invention is applied to intelligent terminal, including with Lower step:
Step S61, the wireless data for meeting the first preset condition is carried out based on the first communication and electronic musical instrument Transmission;First preset condition is little no more than the first predetermined threshold value or data transmission power consumption for the average delay of data transmission In the second predetermined threshold value.
Specifically, when the wireless data transmission for needing progress requirement of real-time higher between electronic musical instrument and intelligent terminal When, using the first communication.The communication must have the delay of smaller data transmission, to message transmission rate It does not require excessively.In one embodiment of the invention, first predetermined threshold value is 80ms.
Specifically, when needing to be transmitted the higher wireless data transmission of power consumption requirements between electronic musical instrument and intelligent terminal When, using the first communication.The communication must have smaller data transmission power consumption, to message transmission rate It does not require excessively.In one embodiment of the invention, second predetermined threshold value is 90mW.
In one embodiment of the invention, the carrier frequency of transport protocol is more than used by first communication 37.5KHz, message transmission rate are more than or equal to 10Kbps.
Step S62, it carries out meeting the wireless of the second preset condition with the electronic musical instrument based on the second communication Data transmission;Second preset condition is more than third predetermined threshold value for message transmission rate.
Specifically, when needing to carry out data transmission the larger wireless data transmission of rate between electronic musical instrument and intelligent terminal When, using the second communication.The communication must have larger wireless transmission rate, and real-time was not made More requirements.In one embodiment of the invention, the third predetermined threshold value is 80Kbps.
In one embodiment of the invention, the carrier frequency of transport protocol is more than used by second communication 88MHz, message transmission rate are more than or equal to 80Kbps.
In one embodiment of the invention, first communication communicates for bluetooth 4.0, infrared communication and One or more combinations in IEEE802.15.4 communications, NFC communication;Second communication is IEEE 802.11 One or more combinations in communication, 3G communications, 4G communications, the communication of bluetooth 3.0.Wherein, 4.0 standard of bluetooth is operated in 2.4GHz Frequency range, highest transmission speed about 24Mbps, delay is low, meets the requirement of the first communication.IEEE 802.11 communicates Standard is operated in 2.4GHz frequency ranges, and transmission speed 11-54Mbps meets the requirement of the second communication.
In one embodiment of the invention, when the wireless data transmission between electronic musical instrument and intelligent terminal does not have real-time When being distinctly claimed, can the first communication or the second communication be selected according to the data volume of transmitted data. Specifically, if the average delay requirement of wireless data transmission is no more than the first predetermined threshold value, using the first communication; Otherwise judge whether volume of transmitted data is more than the 4th predetermined threshold value, if it is not, using the first communication, if so, using the Two communications.
As shown in fig. 7, in an embodiment, wireless system for transmitting data of the invention is applied to intelligent terminal, including the One wireless data transfer module 71 and the second wireless data transfer module 72.
First wireless data transfer module 71 is used to carry out satisfaction first with electronic musical instrument based on the first communication The wireless data transmission of preset condition;First preset condition is not more than the first predetermined threshold value for the average delay of data transmission Or data transmission power consumption is not more than the second predetermined threshold value.
Specifically, when the wireless data transmission for needing progress requirement of real-time higher between electronic musical instrument and intelligent terminal When, using the first communication.The communication must have the delay of smaller data transmission, to message transmission rate It does not require excessively.In one embodiment of the invention, first predetermined threshold value is 80ms.
Specifically, when needing to be transmitted the higher wireless data transmission of power consumption requirements between electronic musical instrument and intelligent terminal When, using the first communication.The communication must have smaller data transmission power consumption, to message transmission rate It does not require excessively.In one embodiment of the invention, second predetermined threshold value is 90mW.
In one embodiment of the invention, the carrier frequency of transport protocol is more than used by first communication 37.5KHz, message transmission rate are more than or equal to 10Kbps.
Second wireless data transfer module 72 is used to the electronic musical instrument be met based on the second communication The wireless data transmission of second preset condition;Second preset condition is more than third predetermined threshold value for message transmission rate.
Specifically, when needing to carry out data transmission the larger wireless data transmission of rate between electronic musical instrument and intelligent terminal When, using the second communication.The communication must have larger wireless transmission rate, and real-time was not made More requirements.In one embodiment of the invention, the third predetermined threshold value is 80Kbps.
In one embodiment of the invention, the carrier frequency of transport protocol is more than used by second communication 88MHz, message transmission rate are more than or equal to 80Kbps.
In one embodiment of the invention, first communication communicates for bluetooth 4.0, infrared communication and One or more combinations in IEEE802.15.4 communications, NFC communication;Second communication is IEEE 802.11 One or more combinations in communication, 3G communications, 4G communications, the communication of bluetooth 3.0.Wherein, 4.0 standard of bluetooth is operated in 2.4GHz Frequency range, highest transmission speed about 24Mbps, delay is low, meets the requirement of the first communication.IEEE 802.11 communicates Standard is operated in 2.4GHz frequency ranges, and transmission speed 11-54Mbps meets the requirement of the second communication.
In one embodiment of the invention, when the wireless data transmission between electronic musical instrument and intelligent terminal does not have real-time When being distinctly claimed, can the first communication or the second communication be selected according to the data volume of transmitted data. Specifically, if the average delay requirement of wireless data transmission is no more than the first predetermined threshold value, using the first communication; Otherwise judge whether volume of transmitted data is more than the 4th predetermined threshold value, if it is not, using the first communication, if so, using the Two communications.
It should be noted that it should be understood that the modules of system above division be only a kind of division of logic function, It can completely or partially be integrated on a physical entity in actual implementation, it can also be physically separate.And these modules can be with All realized in the form of software is called by processing element;It can also all realize in the form of hardware;It can also part mould Block calls the form of software to realize by processing element, and part of module is realized by the form of hardware.For example, x modules can be The processing element individually set up can also be integrated in some chip of above device and realize, in addition it is also possible to program generation The form of code is stored in the memory of above device, is called by some processing element of above device and is performed more than x moulds The function of block.The realization of other modules is similar therewith.In addition these modules can completely or partially integrate, can also be only It is vertical to realize.Processing element described here can be a kind of integrated circuit, have the processing capacity of signal.During realization, Each step of the above method or more modules can be by the integrated logic circuit of the hardware in processor elements or soft The instruction of part form is completed.
For example, the above module can be arranged to implement one or more integrated circuits of above method, such as: One or more specific integrated circuits (ApplicationSpecificIntegratedCircuit, abbreviation ASIC) or, one Or multi-microprocessor (digitalsingnalprocessor, abbreviation DSP) or, one or more field-programmable gate array It arranges (FieldProgrammableGateArray, abbreviation FPGA) etc..For another example, when some above module is dispatched by processing element When the form of program code is realized, which can be general processor, such as central processing unit (CentralProcessingUnit, abbreviation CPU) or it is other can be with the processor of caller code.For another example, these modules can To integrate, realized in the form of system on chip (system-on-a-chip, abbreviation SOC).
As shown in figure 8, in an embodiment, it is wireless that intelligent terminal of the invention includes the first wireless communicator 81, second Communicator 82, memory 83 and processor 84.
First wireless communicator 81 is used to carry out wireless data biography based on the first communication and electronic musical instrument It is defeated.
Second wireless communicator 82 is used to carry out without line number based on the second communication and the electronic musical instrument According to transmission.
The memory 83 is used to store computer program.
Preferably, the memory 83 includes:ROM, RAM, magnetic disc or CD etc. are various can to store program code Medium.
The processor 84 is used to perform the computer program of the memory storage, so that the intelligent terminal performs The radio data transmission method stated.
Preferably, processor 84 can be general processor, including central processing unit (CentralProcessingUnit, Abbreviation CPU), network processing unit (NetworkProcessor, abbreviation NP) etc.;It can also be digital signal processor (DigitalSignalProcessing, abbreviation DSP), application-specific integrated circuit (ApplicationSpecificIntegratedCircuit, abbreviation ASIC), field programmable gate array (Field- ProgrammableGateArray, abbreviation FPGA) either other programmable logic device, discrete gate or transistor logic device Part, discrete hardware components.
As shown in figure 9, in an embodiment, the wireless system for transmitting data of electronic musical instrument of the invention includes above-mentioned electricity Sub- musical instrument 91 and above-mentioned intelligent terminal 92.
It should be noted that intelligent terminal involved in the present invention include being not limited to smart mobile phone, tablet computer, PDA and other terminal devices with data processing function.In general, intelligent terminal refers to there is independent operating system, it can Voluntarily to install the program of the third party service providers such as software, game offer by user, constantly set by this class method to hand-held Standby function is expanded, and such terminal equipment 1 of wireless network access can be realized by mobile communication network.
Carry out the application process of wireless data communication system that the present invention is further explained below by specific embodiment.Such as figure Shown in 10, electronic musical instrument uses smart mobile phone using drum machine, intelligent terminal.Drum machine coordinates smart mobile phone to complete to play.The trip Play is a typical non real-time high-volume data transmission and the cooperation of real-time small lot data transmission to complete correlation function A process.When being played, need to rouse machine and the smart mobile phone audio file that be played simultaneously one identical, simultaneously The information such as the percussion of drum generator terminal drum are required to be transferred to smart mobile phone in real time.It is broadcast since drum is confidential with smart mobile phone needs Same audio file is put, so smart mobile phone is needed first to give audio file transmissions to drum machine before being played.Transmit audio File is the high-volume data not high to requirement of real-time, and the need can be met by being transmitted using the TCP connection set up It asks.Game process can be proceeded by after this, and the process is higher to requirement of real-time, while the broadcasting control of audio The information such as system, the drum percussion of drum machine are all a small amount of data, can meet the demand using the bluetooth connection of foundation.Therefore, By using two kinds of wireless data transmission modes of bluetooth and WiFi, while the demand of real-time and volume of transmitted data is taken into account.
How low prolong is taken into account come the radio data transmission method that the present invention is further explained by specific embodiment again below When high-speed and low-power consumption high-speed.
Embodiment one
In this embodiment, radio data transmission method of the invention is applied between electronic musical instrument and intelligent terminal, root Suitable data transfer mode is selected according to the data volume transmitted and to the requirement of real-time of transmission.Specifically, such as Figure 11 institutes Show, include the following steps:
111) when carrying out data transmission between electronic musical instrument and intelligent terminal, first determine whether that the real-time of data transmission will It asks, i.e., data average delay whether is required to be not more than the first predetermined threshold value;If desired certain real-time, then it is wireless using first Communication mode;
If 112) do not need to certain real-time, then judge the data volume size to be transmitted;If data volume size is little In the 4th predetermined threshold value, such as 80 bytes;Then using the first communication, otherwise big data quantity transmission needs the logical of high-speed Letter mode, i.e., using the second communication.
Embodiment two
In this embodiment, radio data transmission method of the invention is applied between electronic musical instrument and intelligent terminal, solution The problem of low-power consumption/high-speed of having determined.This is because the first communication is typically low-power consumption, i.e. power consumption is less than or equal to 90mW, therefore, in the higher occasion of power consumption requirements, using the first communication.When wireless data transmission has high-speed Requirement when, using high-power carry out high-speed transfer, i.e., using the second communication.Specifically, as shown in figure 12, including Following steps:
121) when carrying out data transmission between electronic musical instrument and intelligent terminal, the power consumption for judging whether there is data transmission will It asks, i.e., power consumption whether is required to be not more than a certain predetermined threshold value;
It is otherwise wireless using second using the first communication if 112) power consumption requirements with data transmission Communication mode.
In conclusion the radio data transmission method and system of the present invention, electronic musical instrument and intelligent terminal are according to different Wireless transmission demand carries out the wireless data transmission between electronic musical instrument and intelligent terminal using different communications, So as to take into account the requirement of real-time and transmission rate, the requirement of power consumption or transmission rate is taken into account;Greatly improve user experience. So the present invention effectively overcomes various shortcoming of the prior art and has high industrial utilization.
The above-described embodiments merely illustrate the principles and effects of the present invention, and is not intended to limit the present invention.It is any ripe The personage for knowing this technology all can carry out modifications and changes under the spirit and scope without prejudice to the present invention to above-described embodiment.Cause This, those of ordinary skill in the art is complete without departing from disclosed spirit and institute under technological thought such as Into all equivalent modifications or change, should by the present invention claim be covered.

Claims (11)

1. a kind of radio data transmission method, applied to electronic musical instrument, it is characterised in that:Include the following steps:
The wireless data transmission for meeting the first preset condition is carried out based on the first communication and intelligent terminal;Described first Preset condition is not more than the second default threshold for the average delay of data transmission no more than the first predetermined threshold value or data transmission power consumption Value;
The wireless data transmission for meeting the second preset condition is carried out based on the second communication and the intelligent terminal;It is described Second preset condition is more than third predetermined threshold value for message transmission rate.
2. radio data transmission method according to claim 1, it is characterised in that:First predetermined threshold value is 80ms, Second predetermined threshold value is 90mW;The third predetermined threshold value is 80Kbps.
3. radio data transmission method according to claim 1, it is characterised in that:First communication is indigo plant Tooth 4.0 communicates, infrared communication and IEEE 802.15.4 communications, one or more combinations in NFC communication;Described second is wireless One or more combinations during communication mode communicates for IEEE 802.11,3G communicates, 4G communicates, bluetooth 3.0 communicates.
4. a kind of wireless system for transmitting data, applied to electronic musical instrument, it is characterised in that:Including the first wireless data transfer module With the second wireless data transfer module;
First wireless data transfer module is used to meet first in advance based on the first communication and intelligent terminal If the wireless data transmission of condition;First preset condition for data transmission average delay no more than the first predetermined threshold value or Data transmission power consumption is not more than the second predetermined threshold value;
Second wireless data transfer module is used to carry out satisfaction the based on the second communication and the intelligent terminal The wireless data transmission of two preset conditions;Second preset condition is more than third predetermined threshold value for message transmission rate.
5. a kind of electronic musical instrument, it is characterised in that:Including the first wireless communicator, the second wireless communicator, memory and processing Device;
First wireless communicator is used to carry out wireless data transmission based on the first communication and intelligent terminal;
Second wireless communicator is used to carry out wireless data transmission based on the second communication and the intelligent terminal;
The memory is used to store computer program;
The processor is used to perform the computer program of the memory storage, so that the electronic musical instrument perform claim requires Any radio data transmission method in 1-3.
6. a kind of radio data transmission method, applied to intelligent terminal, it is characterised in that:Include the following steps:
The wireless data transmission for meeting the first preset condition is carried out based on the first communication and electronic musical instrument;Described first Preset condition is not more than the second default threshold for the average delay of data transmission no more than the first predetermined threshold value or data transmission power consumption Value;
The wireless data transmission for meeting the second preset condition is carried out based on the second communication and the electronic musical instrument;It is described Second preset condition is more than third predetermined threshold value for message transmission rate.
7. radio data transmission method according to claim 6, it is characterised in that:First predetermined threshold value is 80ms, Second predetermined threshold value is 90mW;The third predetermined threshold value is 80Kbps.
8. radio data transmission method according to claim 6, it is characterised in that:First communication is indigo plant Tooth 4.0 communicates, infrared communication and IEEE 802.15.4 communications, one or more combinations in NFC communication;Described second is wireless One or more combinations during communication mode communicates for IEEE 802.11,3G communicates, 4G communicates, bluetooth 3.0 communicates.
9. a kind of wireless system for transmitting data, applied to intelligent terminal, it is characterised in that:Including the first wireless data transfer module With the second wireless data transfer module;
First wireless data transfer module is used to meet first in advance based on the first communication and electronic musical instrument If the wireless data transmission of condition;First preset condition for data transmission average delay no more than the first predetermined threshold value or Data transmission power consumption is not more than the second predetermined threshold value;
Second wireless data transfer module is used to carry out satisfaction the based on the second communication and the electronic musical instrument The wireless data transmission of two preset conditions;Second preset condition is more than third predetermined threshold value for message transmission rate.
10. a kind of intelligent terminal, it is characterised in that:Including the first wireless communicator, the second wireless communicator, memory and processing Device;
First wireless communicator is used to carry out wireless data transmission based on the first communication and electronic musical instrument;
Second wireless communicator is used to carry out wireless data transmission based on the second communication and the electronic musical instrument;
The memory is used to store computer program;
The processor is used to perform the computer program of the memory storage, so that the intelligent terminal perform claim requires Any radio data transmission method in 6-8.
11. a kind of wireless system for transmitting data of electronic musical instrument, it is characterised in that:Including the electronic musical instrument described in claim 5 With intelligent terminal according to any one of claims 10.
CN201711373314.6A 2017-12-19 2017-12-19 A kind of radio data transmission method and system, electronic musical instrument and intelligent terminal Pending CN108172204A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711373314.6A CN108172204A (en) 2017-12-19 2017-12-19 A kind of radio data transmission method and system, electronic musical instrument and intelligent terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711373314.6A CN108172204A (en) 2017-12-19 2017-12-19 A kind of radio data transmission method and system, electronic musical instrument and intelligent terminal

Publications (1)

Publication Number Publication Date
CN108172204A true CN108172204A (en) 2018-06-15

Family

ID=62522865

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711373314.6A Pending CN108172204A (en) 2017-12-19 2017-12-19 A kind of radio data transmission method and system, electronic musical instrument and intelligent terminal

Country Status (1)

Country Link
CN (1) CN108172204A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111093105A (en) * 2019-12-17 2020-05-01 青岛海信宽带多媒体技术有限公司 Remote control method and device
CN113170215A (en) * 2020-03-13 2021-07-23 深圳市大疆创新科技有限公司 Video live broadcast method, system and computer storage medium
CN115052184A (en) * 2022-06-02 2022-09-13 北京达佳互联信息技术有限公司 Content sharing method and device, electronic equipment, storage medium and program product
CN117241241A (en) * 2023-11-13 2023-12-15 武汉本物科技股份有限公司 Combined communication method and device of solar heat storage heating system and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090164821A1 (en) * 2005-10-28 2009-06-25 Nxp B.V. Method and a system for controlling a sleep mode of a device in a wireless communications network or in a mobile point-to-point connection
CN102404093A (en) * 2010-09-10 2012-04-04 中国移动通信集团公司 Management method of data transmission modes and data transmission equipment
CN103402247A (en) * 2013-08-22 2013-11-20 深圳市金立通信设备有限公司 Terminal data transmission method and terminal
CN103634932A (en) * 2012-08-27 2014-03-12 联想(北京)有限公司 Data transmission method and electronic apparatus
CN103687052A (en) * 2012-09-17 2014-03-26 联想(北京)有限公司 Data transmission method and electronic equipment
CN104780593A (en) * 2014-01-13 2015-07-15 华为终端有限公司 Method and device for reducing power consumption
CN106792921A (en) * 2016-12-14 2017-05-31 努比亚技术有限公司 The regulating power consumption device and method of mobile terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090164821A1 (en) * 2005-10-28 2009-06-25 Nxp B.V. Method and a system for controlling a sleep mode of a device in a wireless communications network or in a mobile point-to-point connection
CN102404093A (en) * 2010-09-10 2012-04-04 中国移动通信集团公司 Management method of data transmission modes and data transmission equipment
CN103634932A (en) * 2012-08-27 2014-03-12 联想(北京)有限公司 Data transmission method and electronic apparatus
CN103687052A (en) * 2012-09-17 2014-03-26 联想(北京)有限公司 Data transmission method and electronic equipment
CN103402247A (en) * 2013-08-22 2013-11-20 深圳市金立通信设备有限公司 Terminal data transmission method and terminal
CN104780593A (en) * 2014-01-13 2015-07-15 华为终端有限公司 Method and device for reducing power consumption
CN106792921A (en) * 2016-12-14 2017-05-31 努比亚技术有限公司 The regulating power consumption device and method of mobile terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111093105A (en) * 2019-12-17 2020-05-01 青岛海信宽带多媒体技术有限公司 Remote control method and device
CN113170215A (en) * 2020-03-13 2021-07-23 深圳市大疆创新科技有限公司 Video live broadcast method, system and computer storage medium
WO2021179315A1 (en) * 2020-03-13 2021-09-16 深圳市大疆创新科技有限公司 Video live streaming method and system, and computer storage medium
CN115052184A (en) * 2022-06-02 2022-09-13 北京达佳互联信息技术有限公司 Content sharing method and device, electronic equipment, storage medium and program product
CN117241241A (en) * 2023-11-13 2023-12-15 武汉本物科技股份有限公司 Combined communication method and device of solar heat storage heating system and electronic equipment
CN117241241B (en) * 2023-11-13 2024-01-19 武汉本物科技股份有限公司 Combined communication method and device of solar heat storage heating system and electronic equipment

Similar Documents

Publication Publication Date Title
CN108172204A (en) A kind of radio data transmission method and system, electronic musical instrument and intelligent terminal
CN109803325A (en) Data distribution method, device, mobile terminal and storage medium
CN112291816B (en) Data transmission method, device, storage medium and electronic equipment
CN106658366A (en) Switching method and device for Bluetooth working modes, Bluetooth chip and electronic equipment
CN104754003B (en) Transmit the method and system of data
CN112187435B (en) Bandwidth part BWP activation method and related product
CN108040367A (en) A kind of UE bands of position update method, access network entity, UE and core network entity
CN112399484B (en) Data transmission method and device, storage medium and electronic equipment
TWI390859B (en) Integrated wireless transceiver and audio processor
TW201826838A (en) Method for signaling transmission and apparatus
CN109922504A (en) Data distribution method and Related product
CN100461874C (en) Architecture for implementation of radio access bearer manager and packet data convergence protocol process
CN105493473A (en) Methods and apparatus for transmitting service information in a neighborhood of peer-to-peer communication groups
CN105144132B (en) Equipment is converted to the protocol adaptation layers of default setting by instruction(PAL)The devices, systems, and methods of communication
CN105554824B (en) A kind of method and device of radio frequency link control
CN109217995A (en) A kind of data processing method, terminal and base station
CN117837203A (en) Electronic equipment for controlling E2 terminal based on service information of E2 terminal and method for operating electronic equipment
CN107347202A (en) The initial access method and device that a kind of terminal is cut into slices under framework in network
CN106708240A (en) Power saving method, server and power saving system
CN109428668A (en) A kind of method and apparatus of data transmission
CN101237450A (en) Method and apparatus for handling packets in a wireless communications system
TWI678903B (en) Method for uplink data transmission, and terminal
CN108347768A (en) Leader resource group technology, leading selection method, the network equipment and terminal device
CN104978981B (en) A kind of music shuffle method and device
WO2022166746A1 (en) Subscription configuration information method, communication apparatus, chip, and module device

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Room 312, No.81, caodong Branch Road, Xuhui District, Shanghai, 200233

Applicant after: MEDELI ELECTRONICS (SHANGHAI) Co.,Ltd.

Address before: 200233, No. 2, building 398, Tianlin Road, Shanghai, Xuhui District, 4B

Applicant before: MEDELI ELECTRONICS (SHANGHAI) Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180615