Multifunctional music playing system
Technical Field
The invention relates to the technical field of music playing, in particular to a multifunctional music playing system.
Background
Music is a form of expressing the thought emotion and the real life of the society of people, and music playing equipment for playing music has become a necessity in the life of people along with the improvement of the living standard of people. At present, with the arrival of the mobile internet, the network music is becoming a main music source in people's life due to convenience and personalized experience, the traditional music player using CD/VCD/DVD/cassette tape/U disk and the like as media is gradually replaced by the network music player, and computers, mobile phones and the like become main playing devices for playing the network music. The existing music playing equipment mainly depends on a control panel or a remote controller to control the equipment.
With the development of science and technology, the functions of the existing intelligent terminals such as the smart phone or the tablet personal computer are very powerful and rich, and it is realistic to control the music playing device through the intelligent terminal. However, when the existing intelligent terminal controls the music playing device to play music on demand, the user experience is poor, and how to construct a music system which is convenient for the user to control and operate becomes a technical problem to be solved by the invention. Therefore, it is desirable to provide a multifunctional music playing system to solve the above problems.
Disclosure of Invention
The present invention is directed to a multifunctional music playing system to solve the above problems.
In order to achieve the purpose, the invention provides the following technical scheme: a multifunctional music playing system comprises a music playing system, a network server and an intelligent terminal, wherein the music playing system is used for receiving music signals transmitted by a user and the server and playing the music signals, the network server is used for providing network music service for the music playing system, the intelligent terminal is used for performing artificial music service for the music playing system, a UPS (uninterrupted power supply) power storage module is arranged at the connecting end of the music playing system, the input end of the UPS power storage module is connected with a municipal AC 220V power supply to realize charging, and the music playing system consists of a single chip microcomputer, a detection system and a buffer reservation and clearing system, wherein the single chip microcomputer, the detection system and the buffer reservation and clearing system are respectively connected with the intelligent terminal;
the singlechip is used for analyzing and processing the music signals transmitted by the network server and the intelligent terminal and received by the music playing system, storing the music signals and performing autonomous playing when a certain music signal needs to be played;
the detection system is used for detecting the music signals received by the singlechip and arranging the music signals according to the input time, and meanwhile, the detection system can automatically filter repeated music signals received by the singlechip;
the buffer reservation clearing system is used for clearing the buffer generated by the music signal received by the singlechip and storing the buffer for standby again after the buffer is deleted once, and when the signal received by the singlechip is stored for standby in the buffer reservation clearing system, the singlechip directly calls the buffer reservation clearing system, and when the stored standby music signal reaches a certain time, the secondary deletion is carried out to release the space of the buffer reservation clearing system;
the intelligent terminal is connected with the music playing system in a Bluetooth/wireless mode through the network communication module or the Bluetooth module.
Preferably, the singlechip is including receiving and output unit, data analysis processing unit, arithmetic unit and storage module, receive and the output unit output is connected with data analysis processing unit input, data analysis processing unit output is connected with the arithmetic unit input, the arithmetic unit output is connected with the storage module input, the storage module output is provided with the unit of fetching, and fetches the unit output and receive and the output unit input is connected, the storage module input still is provided with the unit of comparing.
Preferably, detecting system includes that time types unit, automatic screening unit and range unit, the time types the unit output and is connected with automatic screening unit input, automatic screening unit output is connected with range unit input, data analysis processing unit, time types unit, automatic screening unit, range unit and arithmetic unit establish ties and form a return circuit.
Preferably, the buffer reservation clearing system comprises a buffer primary deleting unit, a buffer secondary deleting unit and a buffer storage unit, wherein the output end of the buffer primary deleting unit is connected with the input end of the buffer storage unit, the input end of the buffer secondary deleting unit is connected with the output end of the buffer storage unit, the other output end of the buffer storage unit is provided with a buffer calling unit, and the output end of the buffer calling unit is connected with the input end of the receiving and output unit.
Preferably, the input end of the music playing system is provided with a memory, and the memory is connected with the calling unit in the music playing system through one of a USB 3.0 interface, a VGA interface, an HDMI interface, an SD interface or a DVI interface.
Preferably, the intelligent terminal is one of an intelligent mobile phone, an iPad and a computer, wherein the mobile phone is connected with the music playing system through a bluetooth module, the iPad is connected with the music playing system through a network communication module or a bluetooth module, and the computer is connected with the music playing system through a network communication module.
Preferably, the music play system output is provided with the speaker, the speaker input is connected with the receipt in the singlechip and output unit output, the speaker input still is provided with the sound regulating unit, the sound regulating unit output is connected with the singlechip input.
A playing method of a multifunctional music playing system comprises the following specific steps:
the method comprises the following steps: the method comprises the steps that firstly, a UPS electric storage module is electrically connected with a music playing system, the UPS electric storage module is used for continuously supplying power to the music playing system, then a memory storing a large amount of music is connected with the music playing system through one of a USB 3.0 interface, a VGA interface, an HDMI interface, an SD interface or a DVI interface, and then the music playing system is connected with a network server or an intelligent terminal in a wired, wireless or Bluetooth connection mode through a network communication module or a Bluetooth module;
step two: when music ordering playing is needed, people order music through one of a smart phone, an iPad or a computer in the intelligent terminal, and transmits the music ordering signal to a singlechip in the music playing system in a Bluetooth or wireless transmission mode, the receiving and output unit in the singlechip receives the transmitted signal and transmits the signal to the data analysis and processing unit, the data analysis and processing unit analyzes and processes the received signal and transmits the signal to the arithmetic unit for operation, the arithmetic unit pre-stores the signal in the storage module after the signal is operated, the comparison unit compares the signal pre-stored in the storage module with the signal stored in the storage, if the memory has the signal of the music ordered by people, the calling unit directly calls the corresponding signal from the memory and transmits the signal to the loudspeaker for playing the music through the receiving and outputting unit;
if the comparison unit compares the signals of the music ordered by people in the memory, the calling unit utilizes the network communication module to connect the network server, calls corresponding music signals from the network server and then transmits the music signals to the loudspeaker for music playing through the receiving and outputting unit;
step three: in the process that the data analysis processing unit analyzes and processes the received music signals and transmits the processed music signals to the arithmetic unit, the time input unit in the detection system inputs the pointed music according to the time processed by the data analysis processing unit, the automatic screening unit screens the input music, deletes some repeated music, arranges the music according to the time input by the time input unit by the arrangement unit, and transmits the arranged music to the arithmetic unit for operation;
step four: after a large amount of music is played, a first cache deleting unit in the cache reservation clearing system deletes a music cache generated in a storage module for the first time, the deleted music occupies the time and is pre-stored in a cache storage unit, a comparison unit compares signals called from the cache storage unit in the second step at the same time, if the cache storage unit contains signals of music ordered by people, the cache calling unit directly calls corresponding music signals from the cache storage unit and transmits the music signals to a loudspeaker for music playing through a receiving and output unit, and when the cache storage unit pre-stores the music which is deleted for the first time for a specified time, a second cache deleting unit permanently deletes the music which is in the cache storage unit and reaches the pre-stored time.
The invention has the technical effects and advantages that:
1. the invention realizes the multi-azimuth calling of music sources by connecting the memory for storing a large amount of music with the music playing system, connecting the music playing system with the network server through the network communication module and pre-storing music in the cache memory unit in the cache reservation clearing system, and compared with the prior art of directly searching music through the network server, the invention can greatly relieve the network burden;
2. the music playing system is connected with the network server or the intelligent terminal in a wired, wireless or Bluetooth connection mode through the network communication module or the Bluetooth module, so that the music playing system can quickly guide music from the network server, the intelligent terminal is utilized to realize remote signal input to the music playing system, and meanwhile, the music playing system is electrically connected with the UPS storage module, so that the music playing system can be prevented from being incapable of being used under the condition of power failure;
3. according to the invention, through the arrangement of the detection system, the time of the received signal is input by utilizing the time input unit, and the input signal is checked for duplicate by the automatic screening unit, so that the operation burden of the single chip microcomputer can be greatly reduced, and the service life of the single chip microcomputer is prolonged;
4. the invention can clear the cache generated by the storage module in the singlechip through the setting of the cache reservation clearing system, greatly relieves the space in the storage module, thereby improving the calling speed, prestores the once-deleted music through the secondary deletion of the cache primary deletion unit and the cache secondary deletion unit and the cache storage unit, and greatly improves the utilization rate of the music played by the singlechip.
Drawings
FIG. 1 is a schematic diagram of the system of the present invention.
Fig. 2 is a schematic structural diagram of a music playing system according to the present invention.
FIG. 3 is a schematic diagram of a cache reservation clearing system according to the present invention.
In the figure: 1. a music playing system; 2. a network server; 3. an intelligent terminal; 4. a UPS power storage module; 5. a single chip microcomputer; 51. a receiving and outputting unit; 52. a data analysis processing unit; 53. an arithmetic unit; 54. a storage module; 55. a calling unit; 56. a comparison unit; 6. a detection system; 61. a time recording unit; 62. an automatic screening unit; 63. an arrangement unit; 7. a cache reservation clearing system; 71. caching a primary deleting unit; 72. caching a secondary deleting unit; 73. a cache storage unit; 74. a cache calling unit; 8. a network communication module; 9. a Bluetooth module; 10. a memory; 11. a loudspeaker.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
Example 1
The invention provides a multifunctional music playing system as shown in fig. 1-3, which comprises a music playing system 1 for receiving and playing music signals transmitted by a user and a server, a network server 2 for providing network music service for the music playing system 1 and an intelligent terminal 3 for performing artificial music service for the music playing system 1, wherein a UPS (uninterrupted power supply) storage module 4 is arranged at the connecting end of the music playing system 1, the input end of the UPS storage module 4 is connected with a municipal AC (alternating current) 220V power supply for realizing charging, the music playing system 1 consists of a singlechip 5, a detection system 6 and a buffer reservation clearing system 7, wherein:
the singlechip 5 is used for analyzing and processing the music signals transmitted by the network server 2 and the intelligent terminal 3 and received by the music playing system 1, storing the music signals, and automatically playing the music signals by the singlechip 5 when the music signals need to be played;
the detection system 6 is used for detecting the music signals received by the singlechip 5 and arranging the music signals according to the input time, and meanwhile, the detection system 6 can automatically filter repeated music signals received by the singlechip 5;
the buffer reservation clearing system 7 is used for clearing the buffer generated by the music signal received by the singlechip 5 and storing the buffer for standby after the buffer is deleted for the first time, and when the signal received by the singlechip 5 is stored for standby in the buffer reservation clearing system 7, the singlechip 5 directly calls the buffer reservation clearing system 7, and when the stored standby music signal reaches a certain time, the second deletion is carried out to release the space of the buffer reservation clearing system 7;
the intelligent terminal is characterized in that a network communication module 8 and a Bluetooth module 9 are arranged at the connecting end of the single chip microcomputer 5, the network server 2 is in wireless or wired connection with the music playing system 1 through the network communication module 8, and the intelligent terminal 3 is in Bluetooth/wireless connection with the music playing system 1 through the network communication module 8 or the Bluetooth module 9.
Example 2
Further, in the above scheme, the single chip 5 includes a receiving and outputting unit 51, a data analyzing and processing unit 52, an operator 53 and a storage module 54, an output end of the receiving and outputting unit 51 is connected with an input end of the data analyzing and processing unit 52, an output end of the data analyzing and processing unit 52 is connected with an input end of the operator 53, an output end of the operator 53 is connected with an input end of the storage module 54, an output end of the storage module 54 is provided with a calling unit 55, an output end of the calling unit 55 is connected with an input end of the receiving and outputting unit 51, and an input end of the storage module 54 is further provided with a comparing unit 56.
Further, in the above scheme, the detection system 6 includes a time input unit 61, an automatic screening unit 62 and an arrangement unit 63, an output end of the time input unit 61 is connected with an input end of the automatic screening unit 62, an output end of the automatic screening unit 62 is connected with an input end of the arrangement unit 63, and the data analysis processing unit 52, the time input unit 61, the automatic screening unit 62, the arrangement unit 63 and the arithmetic unit 53 are connected in series to form a loop.
Further, in the above scheme, the cache reservation clearing system 7 includes a cache primary deleting unit 71, a cache secondary deleting unit 72, and a cache storage unit 73, an output end of the cache primary deleting unit 71 is connected to an input end of the cache storage unit 73, an input end of the cache secondary deleting unit 72 is connected to an output end of the cache storage unit 73, another output end of the cache storage unit 73 is provided with a cache retrieving unit 74, and an output end of the cache retrieving unit 74 is connected to an input end of the receiving and outputting unit 51.
Further, in the above solution, the input end of the music playing system 1 is provided with a memory 10, and the memory 10 is connected with the retrieving unit 55 in the music playing system 1 through one of a USB 3.0 interface, a VGA interface, an HDMI interface, an SD interface or a DVI interface.
Further, in the above scheme, the intelligent terminal 3 is set as one of an intelligent mobile phone, an iPad or a computer, wherein the mobile phone is connected to the music playing system 1 through the bluetooth module 9, the iPad is connected to the music playing system 1 through the network communication module 8 or the bluetooth module 9, and the computer is connected to the music playing system 1 through the network communication module 8.
Further, in the above scheme, the output end of the music playing system 1 is provided with a speaker 10, the input end of the speaker 10 is connected with the output end of the receiving and outputting unit 51 in the single chip microcomputer 5, the input end of the speaker 10 is further provided with a sound adjusting unit, and the output end of the sound adjusting unit is connected with the input end of the single chip microcomputer 5.
Example 3
The invention also provides a playing method of the multifunctional music playing system, which comprises the following specific steps:
the method comprises the following steps: firstly, the UPS storage module 4 is electrically connected with the music playing system 1, the UPS storage module 4 is utilized to continuously supply power to the music playing system 1, then the memory 10 which stores a large amount of music is connected with the music playing system 1 through one of a USB 3.0 interface, a VGA interface, an HDMI interface, an SD interface or a DVI interface, and then the music playing system 1 is connected with the network server 2 or the intelligent terminal 3 in a wired, wireless or Bluetooth connection mode through the network communication module 8 or the Bluetooth module 9;
step two: when music ordering playing is needed, people order music through one of the smart phone, iPad or computer in the intelligent terminal 3, and transmits the music ordering signal to the singlechip 5 in the music playing system 1 through a Bluetooth or wireless transmission mode, the receiving and output unit 51 in the single chip 5 receives the transmitted signal and transmits the signal to the data analysis and processing unit 52, the data analysis and processing unit 52 analyzes and processes the received signal and transmits the signal to the arithmetic unit 53 for operation, the arithmetic unit 53 pre-stores the signal in the storage module 54 after the signal operation is completed, the comparison unit 56 compares the signals pre-stored in the memory module 54 with the signals stored in the memory 10, if the memory 10 stores the signal of the music ordered by people, the calling unit 55 directly calls the corresponding signal from the memory 10 and transmits the signal to the loudspeaker 10 through the receiving and outputting unit 51 for playing the music;
if the comparison unit 56 compares that the signal of the music ordered by the people exists in the memory 10, the calling unit 55 uses the network communication module 8 to connect the network server 2, and calls the corresponding music signal from the network server 2, and then transmits the music signal to the loudspeaker 10 for music playing through the receiving and outputting unit 51;
step three: in the process that the data analysis processing unit 52 analyzes and processes the received music signals and transmits the processed music signals to the arithmetic unit 53, the time input unit 61 in the detection system 6 inputs the pointed music according to the time processed by the data analysis processing unit 52, the automatic screening unit 62 screens the input music, deletes some repeated music, arranges the music according to the time input by the time input unit 61 by the arrangement unit 63, and transmits the arranged music to the arithmetic unit 53 for operation;
step four: after playing a large amount of music, the buffer one-time deleting unit 71 in the buffer reservation clearing system 7 deletes the music buffer generated in the storage block 54 for the first time, and prestores the deleted music in the buffer storage unit 73 for the time spent, in the second step, the comparison unit 56 will simultaneously retrieve the signal from the cache storage unit 73 for comparison, for example, if there is a signal of the music ordered by people in the cache storage unit 73, the buffer retrieval unit 74 retrieves the corresponding music signal directly from the buffer storage unit 73 and delivers it to the speaker 10 via the reception and output unit 51 for music playback, when the cache storage unit 73 prestores the music for the first deletion for a predetermined time (for example, the predetermined time is set to 36 hours), the cache secondary deletion unit 72 permanently deletes the music in the cache storage unit 73 for the prestoring time.
Finally, it should be noted that: although the present invention has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that modifications may be made to the embodiments or portions thereof without departing from the spirit and scope of the invention.