CN109637559A - A kind of method for playing music applied to bullet train - Google Patents
A kind of method for playing music applied to bullet train Download PDFInfo
- Publication number
- CN109637559A CN109637559A CN201811334592.5A CN201811334592A CN109637559A CN 109637559 A CN109637559 A CN 109637559A CN 201811334592 A CN201811334592 A CN 201811334592A CN 109637559 A CN109637559 A CN 109637559A
- Authority
- CN
- China
- Prior art keywords
- played
- music file
- app client
- train
- account number
- 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.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 title claims abstract description 72
- 230000000694 effects Effects 0.000 claims abstract description 18
- 230000005236 sound signal Effects 0.000 claims description 34
- 230000003997 social interaction Effects 0.000 claims description 23
- 238000003860 storage Methods 0.000 claims description 19
- 230000001360 synchronised effect Effects 0.000 claims description 18
- 238000012544 monitoring process Methods 0.000 claims description 4
- 230000004044 response Effects 0.000 description 14
- 230000015654 memory Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 8
- 238000004891 communication Methods 0.000 description 6
- 210000000613 ear canal Anatomy 0.000 description 5
- 230000003993 interaction Effects 0.000 description 3
- 210000001367 artery Anatomy 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000004080 punching Methods 0.000 description 2
- 210000003462 vein Anatomy 0.000 description 2
- OKTJSMMVPCPJKN-UHFFFAOYSA-N Carbon Chemical compound [C] OKTJSMMVPCPJKN-UHFFFAOYSA-N 0.000 description 1
- 240000007594 Oryza sativa Species 0.000 description 1
- 235000007164 Oryza sativa Nutrition 0.000 description 1
- 229910052799 carbon Inorganic materials 0.000 description 1
- 238000004134 energy conservation Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 235000009566 rice Nutrition 0.000 description 1
- 238000009331 sowing Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B20/10527—Audio or video recording; Data buffering arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/10—Earpieces; Attachments therefor ; Earphones; Monophonic headphones
- H04R1/1041—Mechanical or electronic switches, or control elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/20—Arrangements for obtaining desired frequency or directional characteristics
- H04R1/22—Arrangements for obtaining desired frequency or directional characteristics for obtaining desired frequency characteristic only
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B20/10527—Audio or video recording; Data buffering arrangements
- G11B2020/10537—Audio or video recording
- G11B2020/10546—Audio or video recording specifically adapted for audio data
- G11B2020/10555—Audio or video recording specifically adapted for audio data wherein the frequency, the amplitude, or other characteristics of the audio signal is taken into account
- G11B2020/10564—Audio or video recording specifically adapted for audio data wherein the frequency, the amplitude, or other characteristics of the audio signal is taken into account frequency
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Health & Medical Sciences (AREA)
- Otolaryngology (AREA)
- Multimedia (AREA)
- Reverberation, Karaoke And Other Acoustics (AREA)
Abstract
A kind of method for playing music applied to bullet train, include: ticketing platform in the corresponding electronic ticket of a certain targeted seat that the first APP client is successfully bought on bullet train, the seat identification of the corresponding first social account number of the first APP client and targeted seat is bound together and sends the corresponding train medium server of supreme fast train stores;Train medium server notifies the first APP client to report the first music file set to be played when identifying that successfully social account number corresponding to a certain APP client of the two dimensional code progress barcode scanning in targeted seat the first social activity account number corresponding with the first APP client is identical;Train medium server stores the first APP client and reports the first music file set to be played, and the wired earphone of control targeted seat connection plays the music file to be played that the first music file set to be played includes.Implement the present invention, can guarantee the music that uppick oneself is liked on bullet train, is experienced by bus to be conducive to be promoted.
Description
Technical field
The present invention relates to Internet technical field more particularly to a kind of method for playing music applied to bullet train.
Background technique
Bullet train refer to can at a high speed continuous service train, maximum travel speed generally to reach 200km/h it
On.Bullet train belongs to the rapid of modernization, is the concentrated reflection of the top science and technology of train, can greatly improve
Commercial speed is to improve train conevying efficiency.Bullet train quick comfortable, steady safety, energy conservation and environmental protection, it is deep by the present age
The welcome of people, all support meets growing trip requirements with novel high-speed train energetically for countries in the world.
Currently, user when taking bullet train, although the music of bullet train broadcast can be listened to, not can guarantee
The music of uppick is the music of oneself hobby, is unfavorable for being promoted and experience by bus.
Summary of the invention
The embodiment of the invention discloses a kind of method for playing music applied to bullet train, can guarantee in bullet train
The music of upper uppick oneself hobby is experienced by bus to be conducive to be promoted.
The embodiment of the present invention discloses a kind of method for playing music applied to bullet train, comprising:
Ticketing platform successfully buys the corresponding electronics of a certain targeted seat on the bullet train in the first APP client
When ticket, the seat identification of the corresponding first social account number of the first APP client and the targeted seat is bound together
And it is sent to the corresponding train medium server of the bullet train and is stored;
The train medium server is identifying successfully to two in the targeted seat belonging to the seat identification
Tie up the corresponding social activity account number of a certain APP client the first social account corresponding with the first APP client that code carries out barcode scanning
When number identical, the first APP client is notified to report the first music file set to be played;
The train medium server stores the first APP client and reports the first music file set to be played, and
The wired earphone for controlling the targeted seat connection plays the music to be played that the described first music file set to be played includes
File.
As an alternative embodiment, in the embodiment of the present invention, the method also includes:
The train medium server identifies the second music file set to be played of storage, second sound to be played
The quantity of overlapping music file to be played between music file set and the described first music file set to be played is most;
The train medium server obtains the 2nd APP client pair for reporting the described second music file set to be played
The social account number of second answered;
The train medium server is by the corresponding first social account number of the first APP client and the 2nd APP client
The corresponding second social account number is held to be pushed to social interaction server device;
The social interaction server device is in the good friend society for verifying out the described second social account number and being not belonging to the described first social account number
When the number of handing over the accounts, the described second social account number is recommended into the described first social account number.
As an alternative embodiment, the train medium server identifies storage in the embodiment of the present invention
Before second music file set to be played, the method also includes:
The train medium server is reported to the ticketing platform carries corresponding first society of the first APP client
First inquiry request of the number of handing over the accounts, first inquiry request are used to inquire the first APP client to the ticketing platform
Whether bullet train friend-making business has been opened;
The train medium server receives the first inquiry that the ticketing platform is returned according to first inquiry request
As a result, if first query result shows that the first APP client has opened bullet train friend-making business, the train matchmaker
Body server executes the second music file set to be played for identifying storage.
As an alternative embodiment, in the embodiment of the present invention, the train medium server is by the first APP
The corresponding first social account number of client and the corresponding second social account number of the 2nd APP client be pushed to social interaction server device it
Before, the method also includes:
The train medium server is reported to the ticketing platform carries corresponding second society of the 2nd APP client
Second inquiry request of the number of handing over the accounts, second inquiry request are used to inquire the 2nd APP client to the ticketing platform
Whether bullet train friend-making business has been opened;
The train medium server receives the second inquiry that the ticketing platform is returned according to second inquiry request
As a result, if second query result shows that the 2nd APP client has opened bullet train friend-making business, the train matchmaker
It is described in the execution of body server that the corresponding first social account number of the first APP client and the 2nd APP client is corresponding
Second social account number is pushed to social interaction server device.
As an alternative embodiment, in the embodiment of the present invention, the social interaction server device is by the described second social account
After number recommending the described first social account number, the method also includes:
The social interaction server device establishes good friend's social activity account pass in the described second social account number and the first social account number
After system, Xiang Suoshu train medium server push prompting message, the prompting message is for prompting the described second social account number
Good friend's social activity account relationship has been established with the described first social account number;
According to the prompt information, the first APP client of Xiang Suoshu sends the first inquiry and disappears the train medium server
Breath, the first inquiry message are used to ask whether to need by the described second music to be played of the described second social account number binding
The music file to be played that file set includes is synchronized to the described first music file set to be played;
If the first APP client feedback is needed the described second music to be played of the described second social account number binding
The music file to be played that file set includes is synchronized to the described first music file set to be played, the train medium service
Device determines be not present in the described first music file set to be played that the described second music file set to be played includes
A part of target music file to be played;
First part's target music file to be played is synchronized to described first wait broadcast by the train medium server
It puts the music on file set.
As an alternative embodiment, in the embodiment of the present invention, the method also includes:
According to the prompt information, the 2nd APP client of Xiang Suoshu sends the second inquiry and disappears the train medium server
Breath, the second inquiry message are used to ask whether to need by the described first music to be played of the described first social account number binding
The music file to be played that file set includes is synchronized to the described second music file set to be played;
If the 2nd APP client feedback is needed the described first music to be played of the described first social account number binding
The music file to be played that file set includes is synchronized to the described second music file set to be played, the train medium service
Device determines be not present in the described second music file set to be played that the described first music file set to be played includes
Two partial targets music file to be played;
The second part target music file to be played is synchronized to described second wait broadcast by the train medium server
It puts the music on file set.
As an alternative embodiment, in the embodiment of the present invention, the method also includes:
The ticketing platform sends the height that the first APP client is successfully bought to the train medium server
The corresponding First terminal point station identifications of the electronic ticket of fast train;
The train medium server judges whether to arrived First terminal point station belonging to the First terminal point station identifications, if
It is the first APP the client corresponding first social account number, the first APP client corresponding first for deleting storage
The seat identification of the targeted seat of social account number binding and the first music file set to be played.
As an alternative embodiment, in the embodiment of the present invention, the method also includes:
The ticketing platform sends the height that the 2nd APP client is successfully bought to the train medium server
The corresponding second terminal station identifications of the electronic ticket of fast train;
The train medium server judges whether to arrived the second terminus belonging to the second terminal station identifications, if
It is the 2nd APP the client corresponding second social account number, the 2nd APP client corresponding second for deleting storage
The seat identification of social account number binding and the second music file set to be played.
As an alternative embodiment, in the embodiment of the present invention, the method also includes:
The train medium server is to be played in the wired earphone broadcasting described first for controlling the targeted seat connection
During the music file to be played that music file set includes, whether the earphone cable for monitoring the wired earphone generates vibration
Signal;
If so, the train medium server judges whether the intensity of the vibration signal is greater than default value;If more than
The default value, then the wired earphone that the train medium server connects the targeted seat play described first to
The corresponding audio signal of music file to be played that playing music set includes is handled.
As an alternative embodiment, the train medium server is controlling the mesh in the embodiment of the present invention
The wired earphone of standard seat position connection plays the process for the music file to be played that the described first music file set to be played includes
In, whether the earphone cable for monitoring the wired earphone generates vibration signal, comprising:
The train medium server is to be played in the wired earphone broadcasting described first for controlling the targeted seat connection
During the music file to be played that music file set includes, the vibration that is arranged on the earphone cable by the wired earphone
Whether the earphone cable that sensor monitors the wired earphone generates vibration signal.
As an alternative embodiment, the train medium server is to the target seat in the embodiment of the present invention
The corresponding sound of music file to be played that the described first music file set to be played that the wired earphone of position connection plays includes
Frequency signal is handled, comprising:
The intensity that the train medium server calculates the vibration signal accounts for the wired earphone of the targeted seat connection
The ratio of the intensity for the corresponding audio signal of music file to be played that the described first music file set to be played played includes
Example, and according to audio signal described in the ratio enlargement.
As an alternative embodiment, the train medium server is to the target seat in the embodiment of the present invention
The corresponding sound of music file to be played that the described first music file set to be played that the wired earphone of position connection plays includes
Frequency signal is handled, comprising:
Described the first of the wired earphone broadcasting that the train medium collection of server is connected by the targeted seat is wait broadcast
The corresponding audio signal of music file to be played that file set of putting the music on includes and the vibration signal are in user ear canal
The echo signal of generation;
The train medium server calculates arteries and veins according to the audio signal, the vibration signal and the echo signal
Punching response;
Whether the number that the impulse response of the train medium server judgement within a preset time period occurs is big
In default value, if it is greater, then calculating the time difference between each adjacent two impulse response;
The train medium server judges whether the time difference between each adjacent two impulse response is identical, if it is not, saying
There is influence of noise in the bright audio signal, is then added and the vibration signal opposite in phase, intensity in the audio signal
Identical inverse noise signal, to realize that noise is eliminated.
As an alternative embodiment, the train medium server is according to the audio in the embodiment of the present invention
Signal, the vibration signal and the echo signal calculate impulse response, comprising:
The train medium server is according to the audio signal, the vibration signal, the echo signal and as follows
Formula calculates impulse response:
W (t)=(r (t)-e (t))/(s (t)+z (t));
Wherein, the w (t) is impulse response, and the r (t) is the echo signal, and the s (t) is audio letter
Number, the z (t) is the vibration signal;The e (t) is noise parameter, including ambient noise and circuit noise, ambient noise
When for not playing audio signal, the noise that is generated in Recording Process;Circuit noise is related to earphone build-in attribute.
In the embodiment of the present invention, ticketing platform successfully buys a certain mesh on the bullet train in the first APP client
When the corresponding electronic ticket in standard seat position, notify that the first APP client reports the first music file set to be played, and by institute
State the first APP client reports described first music file set to be played and the first APP client corresponding
One social account number binding is simultaneously sent to the corresponding train medium server of the bullet train and is stored;On this basis, institute
It states train medium server and successfully the two dimensional code in the targeted seat belonging to the seat identification is swept identifying
When the corresponding social activity account number of a certain APP client of code the first social activity account number corresponding with the first APP client is identical, lead to
Know that the first APP client reports the first music file set to be played, and the train medium server can store
The first APP client reports the first music file set to be played, and controls the wired earphone of the targeted seat connection
The music file to be played that the described first music file set to be played includes is played, thereby may be ensured that the first APP visitor
The music that family end owning user can be liked on bullet train with uppick oneself is experienced by bus to be conducive to be promoted.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for ability
For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 is a kind of architecture diagram of the music playing system applied to bullet train disclosed by the embodiments of the present invention;
Fig. 2 is a kind of flow diagram of the method for playing music applied to bullet train disclosed by the embodiments of the present invention;
Fig. 3 is the architecture diagram of another music playing system for being applied to bullet train disclosed by the embodiments of the present invention;
Fig. 4 is the process signal of another method for playing music for being applied to bullet train disclosed by the embodiments of the present invention
Figure;
Fig. 5 is the process signal of another method for playing music for being applied to bullet train disclosed by the embodiments of the present invention
Figure.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that the described embodiment is only a part of the embodiment of the present invention, instead of all the embodiments.Based on this
Embodiment in invention, every other reality obtained by those of ordinary skill in the art without making creative efforts
Example is applied, shall fall within the protection scope of the present invention.
It should be noted that the term " includes " of the embodiment of the present invention and " having " and their any deformation, it is intended that
Be to cover it is non-exclusive include, for example, containing the process, method, system, product or equipment of a series of steps or units not
Those of be necessarily limited to be clearly listed step or unit, but may include be not clearly listed or for these processes, side
The intrinsic other step or units of method, product or equipment.
The embodiment of the invention discloses a kind of method for playing music applied to bullet train, can guarantee in bullet train
The music of upper uppick oneself hobby is experienced by bus to be conducive to be promoted.Attached drawing is combined below to be described in detail.
A kind of method for playing music applied to bullet train disclosed in embodiment to facilitate the understanding of the present invention, below first
The present embodiments relate to a kind of music playing systems applied to bullet train arrived for introduction.Referring to Fig. 1, Fig. 1 is this hair
A kind of architecture diagram of the music playing system applied to bullet train disclosed in bright embodiment.As shown in Figure 1, high speed should be applied to
The music playing system of train may include: the first APP client, ticketing platform and train medium server;Wherein, described
First APP client can be installed in cell phone, tablet computer or wearable device (such as smartwatch) tool of user
On the electronic equipment of standby barcode scanning function, and the first APP client can be communicated by internet and the ticketing platform
Connection, and the first APP client owning user can operate the first APP client, so that the first APP is objective
A certain targeted seat corresponding electronic ticket of the family end on ticketing platform purchase bullet train.The train medium server is
The corresponding train medium server of the bullet train, the train medium server can be flat by internet and the ticketing
Platform communication connection, the train medium server is used to store the data that the ticketing platform is sent, and can sell with described
Ticket platform carries out instruction and/or data interaction.The train medium server can also pass through internet and the first APP visitor
The connection of family end communication, the train medium server are used to store data (such as music text that the first APP client reports
Part).Based on the music playing system shown in FIG. 1 applied to bullet train, can guarantee to use belonging to the first APP client
The music that family can be liked on bullet train with uppick oneself is experienced by bus to be conducive to be promoted.
Based on the music playing system shown in FIG. 1 applied to bullet train, the embodiment of the present invention discloses one kind and is applied to
The method for playing music of bullet train.Referring to Figure 2 together, Fig. 2 is that a kind of high speed that is applied to disclosed by the embodiments of the present invention arranges
The flow diagram of the method for playing music of vehicle.As shown in Fig. 2, should may include applied to the method for playing music of bullet train
Following steps:
201, it is corresponding in the first APP client successfully to buy a certain targeted seat on the bullet train for ticketing platform
When electronic ticket, together by the seat identification of the corresponding first social account number of the first APP client and the targeted seat
It binds and is sent to the corresponding train medium server of the bullet train and stored.
In the embodiment of the present invention, the corresponding first social account number of the first APP client can be the first APP visitor
The unique identity at family end, for characterizing the first APP client owning user.
202, the train medium server is identifying successfully in the targeted seat belonging to the seat identification
Two dimensional code carry out the corresponding social account number of a certain APP client the first society corresponding with the first APP client of barcode scanning
When the number of handing over the accounts is identical, the first APP client is notified to report the first music file set to be played.
In the embodiment of the present invention, the first music file set to be played may include at least one music text to be played
Part.
203, the train medium server stores the first APP client and reports the first music file collection to be played
It is to be played to play that the described first music file set to be played includes for the wired earphone for closing, and controlling targeted seat connection
Music file.
In the embodiment of the present invention, the train medium server the first APP client can be reported first to
The seat identification of playing music set, the first APP client corresponding first social account number and the targeted seat
Binding storage together.On this basis, the train medium server can control the wired earphone of the targeted seat connection
Play the music file to be played that the described first music file set to be played includes.Wherein, the described first music text to be played
The corresponding audio signal of music file to be played that part set includes can be exported by the train medium server to the mesh
Control panel built in standard seat position, and the control panel built in the targeted seat can be by the described first music file collection to be played
The corresponding audio signal of music file to be played that conjunction includes is exported to the ear on the control panel connected built in the targeted seat
The wired earphone in machine transplanting of rice hole plays out.
Wherein, implement method described in Fig. 2, the first APP client owning user can be guaranteed in bullet train
On can with uppick oneself like music, thus be conducive to promoted by bus experience.
Referring to Fig. 3, Fig. 3 is another music playing system for being applied to bullet train disclosed by the embodiments of the present invention
Architecture diagram.As shown in figure 3, the another kind be applied to bullet train music playing system may include: the first APP client,
The corresponding social interaction server device of first APP client, ticketing platform and train medium server;Wherein, the first APP client
The cell phone, tablet computer or wearable device (such as smartwatch) that end can be installed in user have barcode scanning function
On electronic equipment, and the first APP client can be put down by internet and the social interaction server device, the ticketing respectively
Platform communication connection;The first APP client owning user can operate the first APP client, so that the first APP
A certain targeted seat corresponding electronic ticket of the client on ticketing platform purchase bullet train;The first APP client
It can receive other social account numbers that the social interaction server device is recommended and interacted with the social interaction server device.The train matchmaker
Body server is the corresponding train medium server of the bullet train, the train medium server can by internet with
The ticketing platform communication connection, the train medium server are used to store the data that the ticketing platform is sent, and can
To carry out instruction and/or data interaction with the ticketing platform.The train medium server can by internet with it is described
Social interaction server device communication connection, and instruction and/or data interaction can be carried out with the social interaction server device.The train medium
Server can also be connect by internet with the first APP user client communication, and the train medium server is for storing
The data (such as music file) that the first APP client reports.Based on another sound for being applied to bullet train shown in Fig. 3
Happy play system can guarantee what the first APP client owning user can be liked on bullet train with uppick oneself
Music is experienced by bus to be conducive to be promoted.
Based on another music playing system for being applied to bullet train shown in Fig. 3, the embodiment of the present invention discloses another
Kind is applied to the method for playing music of bullet train.Referring to Figure 4 together, Fig. 4 is that another kind disclosed by the embodiments of the present invention is answered
The flow diagram of method for playing music for bullet train.As shown in figure 4, the another kind is applied to the music of bullet train
Playback method may comprise steps of:
401, it is corresponding in the first APP client successfully to buy a certain targeted seat on the bullet train for ticketing platform
When electronic ticket, together by the seat identification of the corresponding first social account number of the first APP client and the targeted seat
It binds and is sent to the corresponding train medium server of the bullet train and stored.
402, the train medium server is identifying successfully in the targeted seat belonging to the seat identification
Two dimensional code carry out the corresponding social account number of a certain APP client the first society corresponding with the first APP client of barcode scanning
When the number of handing over the accounts is identical, the first APP client is notified to report the first music file set to be played.
403, the train medium server stores the first APP client and reports the first music file collection to be played
It is to be played to play that the described first music file set to be played includes for the wired earphone for closing, and controlling targeted seat connection
Music file.
404, the train medium server identifies the second music file set to be played of storage, and described second wait broadcast
The quantity for the overlapping music file to be played put the music between file set and the described first music file set to be played is most
It is more.
405, the train medium server obtains the 2nd APP client for reporting the described second music file set to be played
Hold the corresponding second social account number.
In the embodiment of the present invention, the success of the 2nd APP client has purchased on the bullet train to the ticketing platform
The corresponding electronic ticket in other seats in addition to the targeted seat.
406, the train medium server is by the corresponding first social account number of the first APP client and the 2nd APP
The corresponding second social account number of client is pushed to social interaction server device.
407, the social interaction server device is not belonging to the good of the described first social account number verifying out the described second social account number
When friendly social activity account number, the described second social account number is recommended into the described first social account number.
In the embodiment of the present invention, implement above-mentioned steps 404- step 407, can guarantee the first APP client institute
Belong to the music that user can be liked on bullet train with uppick oneself, thus while being conducive to be promoted experience by bus, so that
The first APP client owning user can be recommended between the first APP client owning user that there are identical
Preferred music and the other users being located on same bullet train, to be conducive to promote the accuracy and success rate made friends.
Based on another music playing system for being applied to bullet train shown in Fig. 3, the embodiment of the present invention discloses another
Kind is applied to the method for playing music of bullet train.Please refer to fig. 5, Fig. 5 is that another kind disclosed by the embodiments of the present invention is answered
The flow diagram of method for playing music for bullet train.As shown in figure 5, the another kind is applied to the music of bullet train
Playback method may comprise steps of:
501, it is corresponding in the first APP client successfully to buy a certain targeted seat on the bullet train for ticketing platform
When electronic ticket, together by the seat identification of the corresponding first social account number of the first APP client and the targeted seat
It binds and is sent to the corresponding train medium server of the bullet train and stored.
502, the train medium server is identifying successfully in the targeted seat belonging to the seat identification
Two dimensional code carry out the corresponding social account number of a certain APP client the first society corresponding with the first APP client of barcode scanning
When the number of handing over the accounts is identical, the first APP client is notified to report the first music file set to be played.
503, the train medium server stores the first APP client and reports the first music file collection to be played
It is to be played to play that the described first music file set to be played includes for the wired earphone for closing, and controlling targeted seat connection
Music file.
504, the train medium server is reported to the ticketing platform carries the first APP client corresponding the
First inquiry request of one social account number, first inquiry request are used to inquire the first APP visitor to the ticketing platform
Whether bullet train friend-making business has been opened in family end.
505, the train medium server receives first that the ticketing platform is returned according to first inquiry request
Query result, if first query result shows that the first APP client has opened bullet train friend-making business, the column
Vehicle media server identifies the second music file set to be played of storage, the second music file set to be played and institute
The quantity for stating the music file to be played of the overlapping between the first music file set to be played is most.
506, the train medium server obtains the 2nd APP client for reporting the described second music file set to be played
Hold the corresponding second social account number.
In the embodiment of the present invention, the success of the 2nd APP client has purchased on the bullet train to the ticketing platform
The corresponding electronic ticket in other seats in addition to the targeted seat.
507, the train medium server is reported to the ticketing platform carries the 2nd APP client corresponding the
Second inquiry request of two social account numbers, second inquiry request are used to inquire the 2nd APP visitor to the ticketing platform
Whether bullet train friend-making business has been opened in family end.
508, the train medium server receives second that the ticketing platform is returned according to second inquiry request
Query result, if second query result shows that the 2nd APP client has opened bullet train friend-making business, the column
Vehicle media server is by the corresponding first social account number of the first APP client and corresponding second society of the 2nd APP client
The number of handing over the accounts is pushed to social interaction server device.
509, the social interaction server device is not belonging to the good of the described first social account number verifying out the described second social account number
When friendly social activity account number, the described second social account number is recommended into the described first social account number.
In the embodiment of the present invention, implement above-mentioned steps 504- step 509, can guarantee the first APP client institute
Belong to the music that user can be liked on bullet train with uppick oneself, thus while being conducive to be promoted experience by bus, so that
The first APP client owning user can accurately be recommended to exist between the first APP client owning user
Identical preferred music and be located at same bullet train on other users, thus be conducive to promoted make friends accuracy and at
Power, and can agree to just carry out recommendation other users to user when receiving to recommend in user, it prevents from causing to recommend to interfere.
Wherein, implement method described in Fig. 5, the first APP client owning user can be guaranteed in bullet train
On can with uppick oneself like music, thus be conducive to promoted by bus experience.In addition, implementing method described in Fig. 5, make
The first APP client owning user can be recommended between the first APP client owning user that there are identical
Preferred music and be located at same bullet train on other users, thus be conducive to promoted make friends accuracy and success rate.
As an alternative embodiment, in the method described in Fig. 5, the method also includes:
The social interaction server device establishes good friend's social activity account pass in the described second social account number and the first social account number
After system, Xiang Suoshu train medium server push prompting message, the prompting message is for prompting the described second social account number
Good friend's social activity account relationship has been established with the described first social account number;
According to the prompt information, the first APP client of Xiang Suoshu sends the first inquiry and disappears the train medium server
Breath, the first inquiry message are used to ask whether to need by the described second music to be played of the described second social account number binding
The music file to be played that file set includes is synchronized to the described first music file set to be played;
If the first APP client feedback is needed the described second music to be played of the described second social account number binding
The music file to be played that file set includes is synchronized to the described first music file set to be played, the train medium service
Device determines be not present in the described first music file set to be played that the described second music file set to be played includes
A part of target music file to be played;
First part's target music file to be played is synchronized to described first wait broadcast by the train medium server
It puts the music on file set.
Wherein, implement above embodiment, may be implemented there are identical preferred music and be located on same bullet train
Good friend user between music share.
As an alternative embodiment, in the method described in Fig. 5, the method also includes:
According to the prompt information, the 2nd APP client of Xiang Suoshu sends the second inquiry and disappears the train medium server
Breath, the second inquiry message are used to ask whether to need by the described first music to be played of the described first social account number binding
The music file to be played that file set includes is synchronized to the described second music file set to be played;
If the 2nd APP client feedback is needed the described first music to be played of the described first social account number binding
The music file to be played that file set includes is synchronized to the described second music file set to be played, the train medium service
Device determines be not present in the described second music file set to be played that the described first music file set to be played includes
Two partial targets music file to be played;
The second part target music file to be played is synchronized to described second wait broadcast by the train medium server
It puts the music on file set.
Wherein, implement above embodiment, may be implemented there are identical preferred music and be located on same bullet train
Good friend user between music share.
As an alternative embodiment, in the method described in Fig. 5, the method also includes:
The ticketing platform sends the height that the first APP client is successfully bought to the train medium server
The corresponding First terminal point station identifications of the electronic ticket of fast train;
The train medium server judges whether to arrived First terminal point station belonging to the First terminal point station identifications, if
It is the institute for the described first music file set to be played and first music file set binding to be played for deleting storage
State the corresponding first social account number of the first APP client.
As an alternative embodiment, in the method described in Fig. 5, the method also includes:
The ticketing platform sends the height that the 2nd APP client is successfully bought to the train medium server
The corresponding second terminal station identifications of the electronic ticket of fast train;
The train medium server judges whether to arrived the second terminus belonging to the second terminal station identifications, if
It is the institute for the described second music file set to be played and second music file set binding to be played for deleting storage
State the corresponding second social account number of the 2nd APP client.
Wherein, implement above embodiment, the occupancy of the memory space to the train medium server can be reduced.
As an alternative embodiment, in the method described in Fig. 5, the method also includes:
The train medium server is to be played in the wired earphone broadcasting described first for controlling the targeted seat connection
During the music file to be played that music file set includes, whether the earphone cable for monitoring the wired earphone generates vibration
Signal;
If so, the train medium server judges whether the intensity of the vibration signal is greater than default value;If more than
The default value, then the wired earphone that the train medium server connects the targeted seat play described first to
The corresponding audio signal of music file to be played that playing music set includes is handled.
As an alternative embodiment, the train medium server is controlling the wired of the targeted seat connection
During earphone plays the music file to be played that the described first music file set to be played includes, wired ear is monitored
Whether the earphone cable of machine generates vibration signal, comprising:
The train medium server is to be played in the wired earphone broadcasting described first for controlling the targeted seat connection
During the music file to be played that music file set includes, the vibration that is arranged on the earphone cable by the wired earphone
Whether the earphone cable that sensor monitors the wired earphone generates vibration signal.
As an alternative embodiment, the wired earphone that the train medium server connects the targeted seat
The corresponding audio signal of music file to be played that the described first music file set to be played played includes is handled, and is wrapped
It includes:
The intensity that the train medium server calculates the vibration signal accounts for the wired earphone of the targeted seat connection
The ratio of the intensity for the corresponding audio signal of music file to be played that the described first music file set to be played played includes
Example, and according to audio signal described in the ratio enlargement.
As another optional embodiment, wired ear that the train medium server connects the targeted seat
The corresponding audio signal of music file to be played that the described first music file set to be played that machine sowing is put includes is handled,
Include:
Described the first of the wired earphone broadcasting that the train medium collection of server is connected by the targeted seat is wait broadcast
The corresponding audio signal of music file to be played that file set of putting the music on includes and the vibration signal are in user ear canal
The echo signal of generation;
The train medium server calculates arteries and veins according to the audio signal, the vibration signal and the echo signal
Punching response;
The impulse response of the train medium server judgement within a preset time period (such as in 10 seconds) occurs
Number whether be greater than default value (such as default value be 3), if it is greater, then calculating between each adjacent two impulse response
Time difference;
The train medium server judge the time difference between each adjacent two impulse response it is whether identical for example whether
Be 1 second), if so, illustrate the vibration signal and the audio signal be in phase it is matched, social user may at this time
It is to beat time or as audio signal moves together, be not necessarily to amplify the audio signal at this time, it is only necessary to continue to play sound
Frequency signal;If not (such as the first time and the second minor tick 3 seconds, second and third minor tick 0.5 second), illustrate the sound
There is influence of noise in frequency signal, is then added in the audio signal identical with the vibration signal opposite in phase, intensity anti-
To noise signal, to realize that noise is eliminated.
Electroacoustic transducer can be set in the embodiment of the present invention, on wired earphone or wired earphone is located at user
Position in ear canal is provided with microphone, and correspondingly the train medium server can pass through electroacoustic transducer or Mike's elegance
Collect the echo signal generated in user ear canal by the audio signal and the vibration signal.
As an alternative embodiment, the train medium server is believed according to the audio signal, the vibration
Number and the echo signal calculate impulse response, comprising:
The train medium server is according to the audio signal, the vibration signal, the echo signal and as follows
Formula calculates impulse response:
W (t)=(r (t)-e (t))/(s (t)+z (t));
Wherein, the w (t) is impulse response, and the r (t) is the echo signal, and the s (t) is audio letter
Number, the z (t) is the vibration signal;The e (t) is noise parameter, including ambient noise and circuit noise, ambient noise
When for not playing audio signal, the noise that is generated in Recording Process;Circuit noise is related to earphone build-in attribute.
In the embodiment of the present invention, when the first APP client owning user is sitting in the target of the bullet train
On seat and wears wired earphone to listen to the music file to be played that the described first music file set to be played includes corresponding
When audio signal, it will usually there are " stethoscope effect ", i.e. generation when the earphone cable of wired earphone shakes and/or rubs
Vibration can be directly delivered in user ear canal by earphone cable, allow the very offending sound of user to generate.Therefore, implement
Aforesaid way can reduce the first APP client owning user and be sitting in the targeted seat of the bullet train and wear
When wearing wired earphone and listening to the corresponding audio signal of music file to be played that the described first music file set to be played includes
The influence of " stethoscope effect " to the audio signal promotes the first APP client owning user and is sitting in the high speed column
In the targeted seat of vehicle and wearing wired earphone listens to the sound to be played that the described first music file set to be played includes
Experience sense when the corresponding audio signal of music file.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage
Medium include read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory,
RAM), programmable read only memory (Programmable Read-only Memory, PROM), erasable programmable is read-only deposits
Reservoir (Erasable Programmable Read Only Memory, EPROM), disposable programmable read-only memory (One-
Time Programmable Read-Only Memory, OTPROM), the electronics formula of erasing can make carbon copies read-only memory
(Electrically-Erasable Programmable Read-Only Memory, EEPROM), CD-ROM (Compact
Disc Read-Only Memory, CD-ROM) or other disc memories, magnetic disk storage, magnetic tape storage or can
For carrying or any other computer-readable medium of storing data.
Detailed Jie has been carried out to a kind of method for playing music applied to bullet train disclosed by the embodiments of the present invention above
It continues, used herein a specific example illustrates the principle and implementation of the invention, and the explanation of above embodiments is only
It is to be used to help understand method and its core concept of the invention;At the same time, for those skilled in the art, according to this hair
Bright thought, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not manage
Solution is limitation of the present invention.
Claims (10)
1. a kind of method for playing music applied to bullet train characterized by comprising
Ticketing platform successfully buys the corresponding electronic ticket of a certain targeted seat on the bullet train in the first APP client
When, the seat identification of the corresponding first social account number of the first APP client and the targeted seat is bound concurrently together
It send to the corresponding train medium server of the bullet train and is stored;
The train medium server is identifying successfully to the two dimensional code in the targeted seat belonging to the seat identification
Carry out the corresponding social activity account number of a certain APP client the first social account number phase corresponding with the first APP client of barcode scanning
Meanwhile the first APP client being notified to report the first music file set to be played;
The train medium server stores the first APP client and reports the first music file set to be played, and controls
The wired earphone of the targeted seat connection plays the music file to be played that the described first music file set to be played includes.
2. method for playing music according to claim 1, which is characterized in that the method also includes:
The train medium server identifies the second music file set to be played of storage, the second music text to be played
The quantity of overlapping music file to be played between part set and the described first music file set to be played is most;
The train medium server acquisition reports the 2nd APP client of the described second music file set to be played corresponding
Second social account number;
The train medium server is by the corresponding first social account number of the first APP client and the 2nd APP client pair
The social account number of second answered is pushed to social interaction server device;
The social interaction server device is in the good friend's social activity account for verifying out the described second social account number and being not belonging to the described first social account number
Number when, the described second social account number is recommended into the described first social account number.
3. method for playing music according to claim 2, which is characterized in that the train medium server identifies storage
The second music file set to be played before, the method also includes:
The train medium server is reported to the ticketing platform carries the corresponding first social account of the first APP client
Number the first inquiry request, first inquiry request is used to whether inquire the first APP client to the ticketing platform
Bullet train friend-making business is opened;
The train medium server receives the first query result that the ticketing platform is returned according to first inquiry request,
If first query result shows that the first APP client has opened bullet train friend-making business, the train medium clothes
Business device executes the second music file set to be played for identifying storage.
4. method for playing music according to claim 3, which is characterized in that the train medium server is by described first
The corresponding first social account number of APP client and the corresponding second social account number of the 2nd APP client are pushed to social interaction server device
Before, the method also includes:
The train medium server is reported to the ticketing platform carries the corresponding second social account of the 2nd APP client
Number the second inquiry request, second inquiry request is used to whether inquire the 2nd APP client to the ticketing platform
Bullet train friend-making business is opened;
The train medium server receives the second query result that the ticketing platform is returned according to second inquiry request,
If second query result shows that the 2nd APP client has opened bullet train friend-making business, the train medium clothes
It is engaged in the corresponding first social account number of the first APP client and the 2nd APP client corresponding second described in device execution
Social account number is pushed to social interaction server device.
5. according to the described in any item method for playing music of claim 2-4, which is characterized in that the social interaction server device will be described
After second social account number recommends the described first social account number, the method also includes:
The social interaction server device establishes good friend's social activity account and is related to it in the described second social account number and the first social account number
Afterwards, Xiang Suoshu train medium server push prompting message, the prompting message is for prompting the described second social account number and institute
It states the first social account number and good friend's social activity account relationship has been established;
For the train medium server according to the prompt information, the first APP client of Xiang Suoshu sends the first inquiry message, institute
The first inquiry message is stated to need for asking whether by the described second music file to be played of the described second social account number binding
The music file to be played that set includes is synchronized to the described first music file set to be played;
If the first APP client feedback is needed the described second music file to be played of the described second social account number binding
The music file to be played that set includes is synchronized to the described first music file set to be played, and the train medium server is true
First for being not present in the described first music file set to be played that the fixed second music file set to be played includes
Partial objectives for music file to be played;
First part's target music file to be played is synchronized to the described first sound to be played by the train medium server
Music file set.
6. method for playing music according to claim 5, which is characterized in that the method also includes:
For the train medium server according to the prompt information, the 2nd APP client of Xiang Suoshu sends the second inquiry message, institute
The second inquiry message is stated to need for asking whether by the described first music file to be played of the described first social account number binding
The music file to be played that set includes is synchronized to the described second music file set to be played;
If the 2nd APP client feedback is needed the described first music file to be played of the described first social account number binding
The music file to be played that set includes is synchronized to the described second music file set to be played, and the train medium server is true
Second for being not present in the described second music file set to be played that the fixed first music file set to be played includes
Partial objectives for music file to be played;
The second part target music file to be played is synchronized to the described second sound to be played by the train medium server
Music file set.
7. method for playing music according to claim 6, which is characterized in that the method also includes:
The ticketing platform sends the high speed column that the first APP client is successfully bought to the train medium server
The corresponding First terminal point station identifications of the electronic ticket of vehicle;
The train medium server judges whether to arrived First terminal point station belonging to the First terminal point station identifications, if so,
Delete the corresponding first social account number of the first APP client, corresponding first social activity of the first APP client of storage
The seat identification of the targeted seat of account number binding and the first music file set to be played.
8. method for playing music according to claim 7, which is characterized in that the method also includes:
The ticketing platform sends the high speed column that the 2nd APP client is successfully bought to the train medium server
The corresponding second terminal station identifications of the electronic ticket of vehicle;
The train medium server judges whether to arrived the second terminus belonging to the second terminal station identifications, if so,
Delete the corresponding second social account number of the 2nd APP client, corresponding second social activity of the 2nd APP client of storage
The seat identification of account number binding and the second music file set to be played.
9. method for playing music according to claim 1-8, which is characterized in that the method also includes:
The train medium server plays first music to be played in the wired earphone for controlling the targeted seat connection
During the music file to be played that file set includes, whether the earphone cable for monitoring the wired earphone generates vibration letter
Number;
If so, the train medium server judges whether the intensity of the vibration signal is greater than default value;If more than described
Default value, then described the first of the wired earphone broadcasting that the train medium server connects the targeted seat are to be played
The corresponding audio signal of music file to be played that music file set includes is handled.
10. method for playing music according to claim 9, which is characterized in that the train medium server is to the mesh
The music file to be played that the described first music file set to be played that the wired earphone of standard seat position connection plays includes is corresponding
Audio signal handled, comprising:
The wired earphone that the intensity that the train medium server calculates the vibration signal accounts for the targeted seat connection plays
The described first music file set to be played corresponding audio signal of music file to be played for including intensity ratio, and
According to audio signal described in the ratio enlargement.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811334592.5A CN109637559A (en) | 2018-11-10 | 2018-11-10 | A kind of method for playing music applied to bullet train |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811334592.5A CN109637559A (en) | 2018-11-10 | 2018-11-10 | A kind of method for playing music applied to bullet train |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109637559A true CN109637559A (en) | 2019-04-16 |
Family
ID=66067607
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811334592.5A Withdrawn CN109637559A (en) | 2018-11-10 | 2018-11-10 | A kind of method for playing music applied to bullet train |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109637559A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104008138A (en) * | 2014-05-08 | 2014-08-27 | 南京邮电大学 | Music recommendation method based on social network |
CN104320414A (en) * | 2014-11-12 | 2015-01-28 | 李天� | Entertainment system and method for civil aircraft |
US20170235539A1 (en) * | 2014-06-13 | 2017-08-17 | 1More Inc. | Processing method and system for identifying data by an audio conversion device |
CN107277165A (en) * | 2017-07-21 | 2017-10-20 | 成都柏硕文化传播有限公司 | Music earphone cloud synchronization system and method |
CN108734880A (en) * | 2018-05-17 | 2018-11-02 | 东莞市华睿电子科技有限公司 | Management-control method caused by ticketing management system access cloud platform based on station |
-
2018
- 2018-11-10 CN CN201811334592.5A patent/CN109637559A/en not_active Withdrawn
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104008138A (en) * | 2014-05-08 | 2014-08-27 | 南京邮电大学 | Music recommendation method based on social network |
US20170235539A1 (en) * | 2014-06-13 | 2017-08-17 | 1More Inc. | Processing method and system for identifying data by an audio conversion device |
CN104320414A (en) * | 2014-11-12 | 2015-01-28 | 李天� | Entertainment system and method for civil aircraft |
CN107277165A (en) * | 2017-07-21 | 2017-10-20 | 成都柏硕文化传播有限公司 | Music earphone cloud synchronization system and method |
CN108734880A (en) * | 2018-05-17 | 2018-11-02 | 东莞市华睿电子科技有限公司 | Management-control method caused by ticketing management system access cloud platform based on station |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20210166712A1 (en) | Personal audio assistant device and method | |
CN102339626B (en) | Methods, systems, and program products for controlling the playback of music | |
US9065578B2 (en) | Audio watermark detection for delivering contextual content to a user | |
CN107111642A (en) | For creating the system and method for listening to daily record and music libraries | |
CN108710486A (en) | Audio frequency playing method, device, earphone and computer readable storage medium | |
CN104346217A (en) | Method and system for prompting push information | |
US10390155B2 (en) | Hearing augmentation systems and methods | |
CN108803859A (en) | Information processing method, device, terminal, earphone and readable storage medium storing program for executing | |
CN105869013A (en) | Audio advertisement putting device and method | |
CN105763946A (en) | Anchor online prompting method and device | |
WO2018088319A1 (en) | Reproduction terminal and reproduction method | |
CN108449502A (en) | Voice communication data processing method, device, storage medium and mobile terminal | |
CN108449496A (en) | Voice communication data detection method, device, storage medium and mobile terminal | |
US20220343929A1 (en) | Personal audio assistant device and method | |
CN104599702B (en) | A kind of method for playing music | |
CN108449503A (en) | Voice communication data processing method, device, storage medium and mobile terminal | |
CN108449506A (en) | Voice communication data processing method, device, storage medium and mobile terminal | |
CN103098449A (en) | User device, server, and operating conditions setting system | |
CN108449497A (en) | Voice communication data processing method, device, storage medium and mobile terminal | |
CN108449499A (en) | Voice communication data processing method, device, storage medium and mobile terminal | |
CN104392589A (en) | Information exchanging method | |
CN109614514A (en) | A kind of music individual method for customizing | |
JP6151112B2 (en) | REPRODUCTION DEVICE, REPRODUCTION DEVICE CONTROL METHOD, SERVER, AND SYSTEM | |
CN109637559A (en) | A kind of method for playing music applied to bullet train | |
CN109861902A (en) | Social contact method, social intercourse system based on 4G/5G intelligent sound box |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20190416 |