CN105223865B - Data processing method based on intelligent control device and device - Google Patents
Data processing method based on intelligent control device and device Download PDFInfo
- Publication number
- CN105223865B CN105223865B CN201510613839.7A CN201510613839A CN105223865B CN 105223865 B CN105223865 B CN 105223865B CN 201510613839 A CN201510613839 A CN 201510613839A CN 105223865 B CN105223865 B CN 105223865B
- Authority
- CN
- China
- Prior art keywords
- preset
- control device
- operating area
- intelligent control
- song
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Selective Calling Equipment (AREA)
- Telephone Function (AREA)
Abstract
The present invention provides a kind of data processing method and device based on intelligent control device, intelligent control device respectively with stereo set and be equipped with preset music application intelligent terminal communicate to connect, intelligent control device includes apparatus casing, hull outside is provided with preset operating area, and enclosure interior is provided with microcontroller;In intelligent control device side, method includes:Monitor the operation behavior to preset operating area;The pulse signal generated corresponding to the operation behavior to preset operating area listened to is determined according to the first mapping table pre-established, driving microcontroller generates corresponding pulse signal and issues intelligent terminal, so that intelligent terminal carries out parsing to pulse signal and executes corresponding operation according to analysis result.With this, preset music application can be controlled by intelligent control device, increases the mode that user operates the various functions in preset music application, preferably meet the needs of people operate internet music.
Description
Technical field
The present invention relates to computer realm, more particularly to a kind of data processing method and dress based on intelligent control device
It sets.
Background technology
People listen to music now, are by being downloaded in advance in intelligent terminal (such as smart mobile phone, PAD etc.) mostly
Music application (alternatively referred to as music APP, such as everyday interesting to listen to, QQ music etc.), then in a manner of networking or in music APP
Related pages in song downloaded into the mode in intelligent terminal, pass through stereo set (such as wired earphone, bluetooth ear
Machine, speaker etc.) music is listened to, during listening to music, some operations are may relate to, for example play, pause, adjust sound
Measure, be adjusted to a song etc., it usually can be by being operable to complete in the relevant pages of music APP, but if being
It, can also be by being operable to complete to the preset control button on earphone in the case where being listened to by earphone.However, existing
It further includes many new functions to have in music APP, such as collection song, search song, shared song etc., these operations can only just lead to
It crosses and in the relevant page of music application operate and could complete.That is, existing earphone does not have processing diversification also
Data information ability (such as searched in the music APP in intelligent terminal song, collection song etc. and music APP into
Row data interaction), and assist the music APP in earphone and intelligent terminal to realize above-mentioned number without relevant equipment
According to interaction, to meet the needs of people operate internet music.
Therefore, a kind of scheme that the music APP in intelligent terminal is controlled how is proposed, to increase user couple
The mode that various functions in music APP are operated preferably meets the needs of people operate internet music, becomes
Problem to be solved at present.
Invention content
The present invention provides a kind of data processing method and device based on intelligent control device, can be to intelligent terminal
In preset music application controlled, increase the mode that is operated to the various functions in preset music application of user, more
Meet the needs of people operate internet music well, improves user experience.
The present invention proposes a kind of data processing method based on intelligent control device, the intelligent control device respectively with
Stereo set and the intelligent terminal communication connection for being equipped with preset music application, intelligent control device includes apparatus casing,
Hull outside is provided with preset operating area, and enclosure interior is provided with microcontroller, pre-establishes the operation to preset operating area
Behavior generates the first mapping table of pulse signal with microcontroller and is stored in intelligent control device;
In the intelligent control device side, the method includes:
Monitor the operation behavior to preset operating area;
It is determined according to first mapping table and is generated corresponding to the operation behavior to preset operating area listened to
Pulse signal, driving microcontroller generates corresponding pulse signal and is simultaneously sent to intelligent terminal, so as to the intelligent terminal
The pulse signal that equipment interconnection receives carries out parsing and executes corresponding operation according to analysis result.
Further, the preset operating area is button,
The operation behavior to preset operating area, including:It presses the number of preset operating area and presses every time pre-
Set the combination of the time of operating area;Or
The preset operating area is tapping operation region,
Correspondingly, being provided in the intelligent control device for monitoring adding for the operation behavior transmitted by percussion gesture
Velocity sensor;
The operation behavior to preset operating area, including:It taps the number of preset operating area and taps every time pre-
Set the combination of the time of operating area.
Further, first mapping table includes:
It presses primary preset operating area and point is temporally not less than preset time, the corresponding letter for generating the first preset wavelength
Number;
Press primary preset operating area and point be temporally less than preset time, it is corresponding generate two the second preset wavelength and
Signal with the first preset interval therebetween;
Continuity point presses preset operating area twice and point is temporally less than preset time every time, and two thirds of corresponding generation are pre-
Set wavelength and the therebetween signal with the second preset interval.
Further, first mapping table includes:
It taps primary preset operating area and taps the time not less than preset time, the corresponding letter for generating the first preset wavelength
Number;
Tap primary preset operating area and tap the time and be less than preset time, it is corresponding generate two the second preset wavelength and
Signal with the first preset interval therebetween;
It taps preset operating area twice and taps the time every time less than preset time, correspond to and generate two preset waves of third
Signal long and that there is the second preset interval therebetween.
The invention also provides a kind of data processing method based on intelligent control device, the intelligent control device difference
It is communicated to connect with stereo set and the intelligent terminal for being equipped with preset music application, intelligent control device includes equipment shell
Body, hull outside are provided with preset operating area, and enclosure interior is provided with microcontroller, pre-establish the pulse for receiving microcontroller
Second mapping table of signal and operational order is simultaneously stored in preset music application;
In intelligent terminal side, the method includes:
Monitor the pulse signal that the intelligent control device is sent by microcontroller;
The pulse signal listened to is parsed according to second mapping table to determine that corresponding operation refers to
It enables and executes corresponding operation.
Further, second mapping table includes:Receive the behaviour corresponding to the signal of the first preset wavelength
Make instruction as to currently being listened song to carry out beating reward or thumb up;
The pulse signal listened to is parsed according to second mapping table to determine that corresponding operation refers to
Corresponding operation is enabled and executes, including:
Corresponding operation is determined after being parsed to the pulse signal listened to according to second mapping table
When instruction is to currently being listened song beat reward or thumb up, then the solicited message beaten reward or thumbed up is sent to preset music and answered
With corresponding server, so that the server beats the mark appreciated or thumbed up to currently listened song addition;
Receive the addition identification information of the server feedback, and the mark that will be beaten reward according to addition identification information or thumb up
It is shown in the currently relevant page of listened song.
Further, second mapping table includes:It receives two the second preset wavelength and has the therebetween
Operational order corresponding to the signal of one preset interval is by collection and shares and currently listens song;
The pulse signal listened to is parsed according to second mapping table to determine that corresponding operation refers to
Corresponding operation is enabled and executes, including:
Corresponding operation is determined after being parsed to the pulse signal listened to according to second mapping table
When instruction is currently listened song to collect and sharing, then the solicited message for collecting and sharing currently listened song is sent to preset
The corresponding server of music application;
The corresponding ID of currently listened song and song information for receiving the server feedback, the ID are stored in preset
Under the song collection catalogue of music application, and by the song information be sent to preset music application it is associated have it is synchronous
The platform of sharing function, to be shown in the related pages of the platform.
Further, second mapping table includes:It receives the preset wavelength of two thirds and has the therebetween
The corresponding operational order of signal of two preset intervals is on-line search song or searching song friend;
The pulse signal listened to is parsed according to second mapping table to determine that corresponding operation refers to
Corresponding operation is enabled and executes, including:
Corresponding operation is determined after being parsed to the pulse signal listened to according to second mapping table
Instruction be on-line search song or find song friend when, then by on-line search song or find song friend solicited message be sent to it is preset
The corresponding server of music application;
Receive the server feedback the song retrieved according to pre-set first preference parameter of user or according to
Song friend's information that pre-set second preference parameter of user retrieves is played out and is sent to the song retrieved
Earphone or by the friendly presentation of information of the song retrieved in the related pages of preset music application.
It is described with the above method correspondingly, the present invention proposes a kind of data processing equipment based on intelligent control device
Intelligent control device respectively with stereo set and be equipped with preset music application intelligent terminal communicate to connect, intelligent control
Equipment includes apparatus casing, and hull outside is provided with preset operating area, and enclosure interior is provided with microcontroller, pre-establishes to pre-
It sets the operation behavior of operating area and microcontroller generates the first mapping table of pulse signal and is stored in intelligent control device
In;
It is set in the intelligent control device, described device includes:
First monitoring unit, for monitoring the operation behavior to preset operating area;
Driving unit is determined, for determining the behaviour to preset operating area listened to according to first mapping table
Make the corresponding pulse signal generated of behavior, driving microcontroller generates corresponding pulse signal and is sent to intelligent terminal,
So that the intelligent terminal carries out parsing to the pulse signal received and executes corresponding operation according to analysis result.
The invention also provides a kind of data processing equipment based on intelligent control device, the intelligent control device difference
It is communicated to connect with stereo set and the intelligent terminal for being equipped with preset music application, intelligent control device includes equipment shell
Body, hull outside are provided with preset operating area, and enclosure interior is provided with microcontroller, pre-establish the pulse for receiving microcontroller
Second mapping table of signal and operational order is simultaneously stored in preset music application;
It is set in intelligent terminal, described device includes:
Second monitoring unit, the pulse signal sent by microcontroller for monitoring the intelligent control device;
Resolution executing, for being parsed the pulse signal listened to true according to second mapping table
Fixed corresponding operational order simultaneously executes corresponding operation.
Data processing method and device provided in an embodiment of the present invention based on intelligent control device, the intelligent control are set
Back-up not with stereo set and be equipped with preset music application intelligent terminal communicate to connect, intelligent control device include set
Standby shell, hull outside are provided with preset operating area, and enclosure interior is provided with microcontroller.In intelligent control device side, can supervise
The operation behavior to preset operating area is listened, and according to the first mapping table pre-established (including to preset operation
The operation behavior in region generates the correspondence of pulse signal with microcontroller) determine the behaviour to preset operating area listened to
Make the corresponding pulse signal generated of behavior, driving microcontroller generates corresponding pulse signal and is sent to intelligent terminal;
In intelligent terminal side, the pulse signal that the intelligent control device is sent by microcontroller can be monitored, further according to advance
The second mapping table (including the correspondence for the pulse signal and operational order for receiving microcontroller) established is to prison
The pulse signal heard is parsed to determine corresponding operational order and execute corresponding operation.It, can be to intelligent end with this
Preset music application in end equipment is controlled, and the side that user operates the various functions in preset music application is increased
Formula preferably meets the needs of people operate internet music, improves user experience.
Certainly, it implements any of the products of the present invention and does not necessarily require achieving all the advantages described above at the same time.
Description of the drawings
It in order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, below will be to institute in embodiment
Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the application
Example, for those of ordinary skill in the art, without creative efforts, can also obtain according to these attached drawings
Obtain other attached drawings.
Fig. 1 is the flow diagram of the data processing method provided in an embodiment of the present invention based on intelligent control device;
Fig. 2 is the flow signal of another data processing method based on intelligent control device provided in an embodiment of the present invention
Figure;
Fig. 3 is the structural schematic diagram of the data processing equipment provided in an embodiment of the present invention based on intelligent control device;
Fig. 4 is the structural representation of another data processing equipment based on intelligent control device provided in an embodiment of the present invention
Figure.
Specific implementation mode
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 describes, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on
Embodiment in the present invention, the every other embodiment that those of ordinary skill in the art are obtained belong to the application protection
Range.
In embodiments of the present invention, the method can be applied to intelligent control device and be equipped with the intelligence of preset music application
Energy terminal device (such as mobile phone, PAD etc.), the preset music application can be to be answered with the matching used music of intelligent control device
With, and intelligent control device can respectively with for playing music stereo set (such as earphone, speaker etc.) and intelligent terminal set
Standby communication connection, that is to say, that the executive agent being related to includes intelligent control device and intelligent terminal.It is implementing
In the process, intelligent control device and intelligent terminal are respectively independent, while connecting each other again, it is common realize the present embodiment provides
Technical solution.For ease of description, separately below from the angle of earphone and intelligent terminal, to the embodiment of the present invention
It is introduced.
Wherein, intelligent control device may include apparatus casing and preset connecting line.May be provided on apparatus casing for
The first interface of stereo set connection, the second interface to match with preset connecting line and preset operating area, in apparatus casing
Portion is provided with microcontroller, and second interface connects microcontroller;Preset connecting line, including first end and second end, first end are connected to
Second interface, second end are connected to the intelligent terminal for being equipped with preset music application.
In the present embodiment, the running parameter of the microcontroller can be arranged as follows:Minimum operating voltage is 1.4V, work electricity
Stream is, less than 7 μ A, operating current is automatically regulated to be 0.4 μ A and (is automatically regulated to be standby shape in the case of in 1 second without operation
State, to save electric quantity consumption).
According to the design needs, it can pre-establish and pulse signal is generated with microcontroller to the operation behavior of preset operating area
Mapping table (can be described as the first mapping table) and it is stored in the predeterminated position in intelligent control device, for example can be stored in
In microcontroller;The mapping table that the pulse signal and operational order that receive microcontroller can also be pre-established (can be described as second
Mapping table) and be stored in preset music application.
In addition, be also provided with suspension part outside apparatus casing, the first end and second end of preset connecting line is set as
Structure with connection, so as to intelligent control device it is non-in use, preset connecting line pass through suspension part and both ends matching connection after
So that intelligent control device is in and is convenient for wearing state.
Moreover, can also be provided with dismountable clamping section outside apparatus casing, when in use so as to intelligent control device
It is clamped on clothing by clamping section.
First, the embodiment of the present invention provides a kind of data based on intelligent control device from the angle of intelligent control device
Processing method.
Referring to Fig. 1, the flow to be the data processing method provided in an embodiment of the present invention based on intelligent control device is shown
It is intended to.
In the intelligent control device side, described method includes following steps:
S101 monitors the operation behavior to preset operating area.
According to the design needs, the preset operating area may be configured as button.
Based on this, to the operation behavior of preset operating area, including:It presses the number of preset operating area and presses every time
The combination of the time of preset operating area, for example press primary preset operating area and put and be temporally more than 2 seconds, such as continuity point
It puts by preset operating area twice and every time temporally less than 1 second, etc..
The preset operating area may also be configured to tapping operation region, correspondingly, may be used also in the intelligent control device
It is correspondingly arranged on acceleration transducer, for monitoring the operation behavior transmitted by tapping gesture.
Based on this, to the operation behavior of preset operating area, including:It taps the number of preset operating area and taps every time
The combination of the time of preset operating area, for example tap primary preset operating area and tap the time more than 1 second, for example continuously strike
It hits preset operating area twice and taps the time every time less than 2 seconds, etc..
The operation behavior of preset operating area can be monitored by the first preset function for calling execution to monitor, it is right
The operation behavior of preset operating area is monitored, and is that other application tries to be the first to the operation behavior of preset operating area in order to prevent
Identification, that is to say, that be in order to the operation behavior of preset operating area into row major identify, if listen to preset operation
Operation behavior and non-corresponding the predetermined registration operation instruction in region, then put the operation behavior to preset operating area listened to
Row, so that other application judges the operation behavior of preset operating area and executes subsequent operation;If it is determined that listen to
Predetermined registration operation instruction is corresponded to the operation behavior of preset operating area, then subsequent operation is carried out according to definitive result.
S102 is determined according to first mapping table corresponding to the operation behavior to preset operating area listened to
The pulse signal of generation, driving microcontroller generates corresponding pulse signal and is sent to intelligent terminal, so as to the intelligence
Terminal device carries out parsing to the pulse signal received and executes corresponding operation according to analysis result.
According to the design needs, the pulse signal of generation may include diversified forms, may be set to intelligent terminal and is easy to know
Other form etc., for example may be configured as:One signal with the first preset wavelength, two with the second preset wavelength and therebetween
Signal, two signals, etc. with the preset wavelength of third and therebetween with the second preset interval with the first preset interval.
Wherein, the first mapping table includes generating pulse signal with microcontroller to the operation behavior of preset operating area
Correspondence.
In the case where preset operating area is button, such as may include in the first mapping table:It presses primary preset
Operating area and point are temporally not less than preset time (for example may be configured as 1 second), and the corresponding first preset wavelength that generates (such as can
Be set as 1000ms wavelength) signal;It presses primary preset operating area and point is temporally less than preset time (1 second), it is corresponding
It generates two the second preset wavelength (for example may be configured as 350ms wavelength) and therebetween there is the first preset interval (for example can be arranged
For 300ms) signal;Continuity point is by preset operating area twice and puts every time temporally less than preset time (1 second), corresponding production
Raw two preset wavelength of third (for example may be configured as 700ms wavelength) and there is the second preset interval (for example may be configured as therebetween
Signal 350ms), etc..
In the case where preset operating area is tapping operation region, such as may include in the first mapping table:It taps
Primary preset operating area and percussion time are not less than preset time (for example may be configured as 1 second), corresponding to generate the first preset wave
The signal of long (for example may be configured as 1000ms wavelength);It taps primary preset operating area and taps the time less than preset time (1
Second), it is corresponding to generate two the second preset wavelength (for example may be configured as 350ms wavelength) and there is the first preset interval (ratio therebetween
Such as may be configured as 300ms) signal;It is continuous to tap preset operating area twice and tap the time every time less than preset time (1
Second), it is corresponding to generate two preset wavelength of third (for example may be configured as 700ms wavelength) and there is the second preset interval (ratio therebetween
Such as may be configured as 350ms) signal, etc..
It is generated corresponding to the operation behavior to preset operating area listened to when being determined according to the first mapping table
Pulse signal, then drive signal can be sent out to microcontroller, to drive microcontroller to generate corresponding pulse signal and believe pulse
Number it is sent to intelligent terminal, so that the intelligent terminal solves the pulse signal received with preset mode
Analysis, and corresponding operation is executed according to analysis result.
Secondly, the embodiment of the present invention also provides a kind of number based on intelligent control device from the angle of intelligent terminal
According to processing method.
Referring to Fig. 2, in intelligent terminal side, described method includes following steps:
S201 monitors the pulse signal that the intelligent control device is sent by microcontroller.
The pulse signal that microcontroller is sent can be monitored by the second preset function for calling execution to monitor, if
Pulse signal and non-corresponding the predetermined registration operation instruction that the microcontroller listened to is sent, then pulse signal microcontroller sent
It lets pass, so that other application judges the operation behavior of preset operating area and executes subsequent operation;If it is determined that prison
That hears corresponds to predetermined registration operation instruction to the pulse signal that microcontroller is sent, then carries out subsequent operation according to definitive result.
S202 parses to determine corresponding behaviour the pulse signal listened to according to second mapping table
Make to instruct and executes corresponding operation.
Wherein, the second mapping table includes the correspondence of the pulse signal and operational order that receive microcontroller,
For example the signal for receiving a 1000ms wavelength receives two 350ms wavelength and has therebetween corresponding to the first operational order
There is the signal at the intervals 300ms to correspond to second operational order, etc., operational order may be configured as more meeting internet music demand
Instruction, for example may include searching for song, collect and share song etc..
It in specific implementation, for example can be set in the second mapping table, receiving the first preset wavelength (for example can set
Be set to 1000ms wavelength) signal corresponding to operational order by currently listened song carry out beat reward or thumb up.
Based on this, when the signal for listening to the 1000ms wavelength from microcontroller, and according to the second mapping table to this
After pulse signal is parsed, it may be determined that when corresponding operational order is to currently being listened song beat reward or thumb up, then
The solicited message that carries out beating reward to currently listened song or thumb up is sent to the corresponding server of preset music application, to initiate
The request that reward is beaten to current song or is thumbed up.
After the server, which is received, to carry out beating reward or the solicited message thumbed up to currently listened song, current institute is obtained
The corresponding ID of song is listened, (may include default ID, mark to the mark that ID additions are beaten reward or thumbed up, and by addition identification information
Know type, identification number etc.) feed back to preset music application in intelligent terminal.
The preset music application receives the addition identification information of the server feedback, and can be according to addition identification information
The mark beaten reward or thumbed up is shown in the currently relevant page of listened song, currently listened song is carried out to beat reward to realize
Or the function of thumbing up.
In specific implementation, for example can be set in the second mapping table, receive two the second preset wavelength (such as
May be configured as 350ms wavelength) and the operation corresponding to the signal with the first preset interval (for example may be configured as 300ms) therebetween
Instruction is currently listened song to collect and sharing.
Based on this, when listen to two from microcontroller 350ms wavelength and therebetween with the intervals 300ms signal, root
After being parsed to the pulse signal according to the second mapping table, it may be determined that corresponding operational order is collection and shares current
When listened song, then the solicited message for collecting and sharing currently listened song is sent to the corresponding service of preset music application
Device, to initiate to collect and share the request of currently listened song.
After the server is received to collecting and sharing the currently solicited message of listened song, then it can be asked according to described
The acquisition of information currently corresponding ID of listened song and song information (such as including title of the song, singer, affiliated album etc.) are asked, and can
The ID and song information are fed back into preset music application.
The preset music application receives the ID and song information of currently the listened song of the server feedback, will be described
ID is stored under the song collection catalogue (such as some profile folder) of preset music application, to realize to currently listened song
The function of being collected.
Moreover, also the song information can be sent to associated with preset music application with synchronous sharing function
Platform (such as intercommunion platform corresponding with pre-determined synchronization sharing function, can be used for singing the exchange between friend), in the platform
The related pages page of microblogging form (such as similar to) in shown, so that user oneself and other song friends check and are received
The song information of Tibetan, to realize to function that currently listened song is shared.
In specific implementation, for example can be set in the second mapping table, receive two preset wavelength of third (such as
May be configured as 700ms wavelength) and corresponding operate of the signal with the second preset interval (for example may be configured as 350ms) refers to therebetween
Enable is on-line search song or searching song friend.
Based on this, when listen to two from microcontroller 700ms wavelength and therebetween with the intervals 350ms signal, root
Can determine after being parsed to the pulse signal according to the second mapping table corresponding operational order be on-line search song or
When finding song friend, then the solicited message of on-line search song or searching song friend is sent to the corresponding service of preset music application
Device, to initiate on-line search song or find the request of song friend.
After the server receives to on-line search song or find the solicited message of song friend, then it can be asked according to described
Information and pre-set first preference parameter of user (for example, prevalence, rock and roll, allusion etc.) is asked to carry out retrieval and the crawl of song
(for example can retrieve and capture the corresponding ID of song), or according to pre-set second number parameter of user (such as it is American-European, sing
Person's name etc.) sing retrieval and the crawl of friendly information, then the corresponding ID of the song retrieved or the friendly information of song are fed back to
Preset music application.
The friendly information of the corresponding ID of song or song that the preset music application receives server feedback, song corresponding to ID
Song plays out and is sent to the earphone or friendly presentation of information of song retrieved is (such as pre- in the related pages of preset music application
Set the friend-making page in music application) in, to realize on-line search song or find the function of song friend.
By aforesaid operations step, intelligent control device can be implemented separately or be assisted in earphone realization and intelligent terminal
Preset music application carry out data interaction, for example realize that search song, collection song etc. have the relevant function of internet music,
Certainly other rules can be preset in the first, second mapping table according to actual demand, to realize more functions,
It is not only more convenient user's operation, and more meets the demand of internet music.
Data processing method provided in an embodiment of the present invention based on intelligent control device, the intelligent control device difference
It is communicated to connect with stereo set and the intelligent terminal for being equipped with preset music application, intelligent control device includes equipment shell
Body, hull outside are provided with preset operating area, and enclosure interior is provided with microcontroller.In intelligent control device side, can monitor pair
The operation behavior of preset operating area, and according to the first mapping table pre-established (including to preset operating area
Operation behavior and microcontroller generate the correspondence of pulse signal) determine the operation row to preset operating area listened to
For the pulse signal of corresponding generation, driving microcontroller generates corresponding pulse signal and is sent to intelligent terminal;In intelligence
Can terminal equipment side, the pulse signal that the intelligent control device is sent by microcontroller can be monitored, further according to pre-establishing
The second mapping table (including the correspondence for the pulse signal and operational order for receiving microcontroller) to listening to
Pulse signal parsed to determine corresponding operational order and execute corresponding operation.With this, intelligent terminal can be set
Preset music application in standby is controlled, and the side that user operates the various functions in the preset music application of sound is increased
Formula preferably meets the needs of people operate internet music, improves user experience.
The data processing method based on intelligent control device that corresponding foregoing invention embodiment provides, the embodiment of the present invention is also
The data processing equipment based on intelligent control device is provided, is illustrated below in conjunction with the accompanying drawings.
In embodiments of the present invention, the data processing equipment may be disposed at intelligent control device and be equipped with preset music
The intelligent terminal (such as mobile phone, PAD etc.) of application, the preset music application can be matching used with intelligent control device
Music application, and intelligent control device can respectively with for playing music stereo set (such as earphone, speaker etc.) and intelligence
Terminal equipment in communication connects, that is to say, that the executive agent being related to includes intelligent control device and intelligent terminal.Having
During body is realized, intelligent control device is respectively independent with intelligent terminal, while connecting each other again, realizes this implementation jointly
The technical solution that example provides.For ease of description, separately below from the angle of earphone and intelligent terminal, to the present invention
Embodiment is introduced.
Referring to Fig. 3, it is set in the intelligent control device, described device includes:
First monitoring unit 31, can be used for monitoring the operation behavior to preset operating area.
According to the design needs, the preset operating area may be configured as button.
Based on this, to the operation behavior of preset operating area, including:It presses the number of preset operating area and presses every time
The combination of the time of preset operating area, for example press primary preset operating area and put and be temporally more than 2 seconds, such as continuity point
It puts by preset operating area twice and every time temporally less than 1 second, etc..
The preset operating area may also be configured to tapping operation region, correspondingly, may be used also in the intelligent control device
It is correspondingly arranged the acceleration transducer for being useful for monitoring by tapping the operation behavior that gesture transmits.
Based on this, to the operation behavior of preset operating area, including:It taps the number of preset operating area and taps every time
The combination of the time of preset operating area, for example tap primary preset operating area and tap the time more than 1 second, for example continuously strike
It hits preset operating area twice and taps the time every time less than 2 seconds, etc..
Determine driving unit 32, can be used for according to first mapping table determine listen to preset operating area
The corresponding pulse signal generated of operation behavior, driving microcontroller generates corresponding pulse signal and is sent to intelligent terminal and set
It is standby, so that the intelligent terminal carries out parsing to the pulse signal received and executes corresponding behaviour according to analysis result
Make.
According to the design needs, the pulse signal of generation may include diversified forms, may be set to intelligent terminal and is easy to know
Other form etc., for example may be configured as:One signal with the first preset wavelength, two with the second preset wavelength and therebetween
Signal, two signals, etc. with the preset wavelength of third and therebetween with the second preset interval with the first preset interval.
Wherein, the first mapping table includes generating pulse signal with microcontroller to the operation behavior of preset operating area
Correspondence.
In the case where preset operating area is button, such as may include in the first mapping table:It presses primary preset
Operating area and point are temporally not less than preset time (for example may be configured as 1 second), and the corresponding first preset wavelength that generates (such as can
Be set as 1000ms wavelength) signal;It presses primary preset operating area and point is temporally less than preset time (1 second), it is corresponding
It generates two the second preset wavelength (for example may be configured as 350ms wavelength) and therebetween there is the first preset interval (for example can be arranged
For 300ms) signal;Continuity point is by preset operating area twice and puts every time temporally less than preset time (1 second), corresponding production
Raw two preset wavelength of third (for example may be configured as 700ms wavelength) and there is the second preset interval (for example may be configured as therebetween
Signal 350ms), etc..
In the case where preset operating area is tapping operation region, such as may include in the first mapping table:It taps
Primary preset operating area and percussion time are not less than preset time (for example may be configured as 1 second), corresponding to generate the first preset wave
The signal of long (for example may be configured as 1000ms wavelength);It taps primary preset operating area and taps the time less than preset time (1
Second), it is corresponding to generate two the second preset wavelength (for example may be configured as 350ms wavelength) and there is the first preset interval (ratio therebetween
Such as may be configured as 300ms) signal;It is continuous to tap preset operating area twice and tap the time every time less than preset time (1
Second), it is corresponding to generate two preset wavelength of third (for example may be configured as 700ms wavelength) and there is the second preset interval (ratio therebetween
Such as may be configured as 350ms) signal, etc..
It is generated corresponding to the operation behavior to preset operating area listened to when being determined according to the first mapping table
Pulse signal, then drive signal can be sent out to microcontroller, to drive microcontroller to generate corresponding pulse signal and believe pulse
Number it is sent to intelligent terminal, so that the intelligent terminal solves the pulse signal received with preset mode
Analysis, and corresponding operation is executed according to analysis result.
It referring to Fig. 4, is set in intelligent terminal, described device includes:
Second monitoring unit 41 can be used for monitoring the pulse signal that the intelligent control device is sent by microcontroller.
Resolution executing 42 can be used for parsing the pulse signal listened to according to second mapping table
To determine corresponding operational order and execute corresponding operation.
It in specific implementation, for example can be set in the second mapping table, receiving the first preset wavelength (for example can set
Be set to 1000ms wavelength) signal corresponding to operational order by currently listened song carry out beat reward or thumb up.
Based on this, resolution executing 42 can be used for:
Corresponding operation is determined after being parsed to the pulse signal listened to according to second mapping table
When instruction is to currently being listened song beat reward or thumb up, then the solicited message beaten reward or thumbed up is sent to preset music and answered
With corresponding server, so that the server beats the mark appreciated or thumbed up to currently listened song addition;
Receive the addition identification information of the server feedback, and the mark that will be beaten reward according to addition identification information or thumb up
It is shown in the currently relevant page of listened song.
In specific implementation, may include in the second mapping table:Receiving two the second preset wavelength (for example can be arranged
For 350ms wavelength) and the operational order corresponding to the signal with the first preset interval (for example may be configured as 300ms) is therebetween
Collect and share currently listened song.
Based on this, resolution executing 42 can be used for:
Corresponding operation is determined after being parsed to the pulse signal listened to according to second mapping table
When instruction is currently listened song to collect and sharing, then the solicited message for collecting and sharing currently listened song is sent to preset
The corresponding server of music application;
The corresponding ID of currently listened song and song information for receiving the server feedback, the ID are stored in preset
Under the song collection catalogue of music application, and by the song information be sent to preset music application it is associated have it is synchronous
The platform of sharing function, to be shown in the related pages of the platform.
In specific implementation, may include in the second mapping table:It receives two 700ms wavelength and has therebetween
The corresponding operational order of signal at the intervals 350ms is on-line search song or searching song friend.
Based on this, resolution executing 42 can be used for:
Corresponding operation is determined after being parsed to the pulse signal listened to according to second mapping table
Instruction be on-line search song or find song friend when, then by on-line search song or find song friend solicited message be sent to it is preset
The corresponding server of music application;
Receive the server feedback the song retrieved according to pre-set first preference parameter of user or according to
Song friend's information that pre-set second preference parameter of user retrieves is played out and is sent to the song retrieved
Earphone or by the friendly presentation of information of the song retrieved in the related pages of preset music application.
Data processing equipment provided in an embodiment of the present invention based on intelligent control device, the intelligent control device difference
It is communicated to connect with stereo set and the intelligent terminal for being equipped with preset music application, intelligent control device includes equipment shell
Body, hull outside are provided with preset operating area, and enclosure interior is provided with microcontroller.In intelligent control device side, can monitor pair
The operation behavior of preset operating area, and according to the first mapping table pre-established (including to preset operating area
Operation behavior and microcontroller generate the correspondence of pulse signal) determine the operation row to preset operating area listened to
For the pulse signal of corresponding generation, driving microcontroller generates corresponding pulse signal and is sent to intelligent terminal;In intelligence
Can terminal equipment side, the pulse signal that the intelligent control device is sent by microcontroller can be monitored, further according to pre-establishing
The second mapping table (including the correspondence for the pulse signal and operational order for receiving microcontroller) to listening to
Pulse signal parsed to determine corresponding operational order and execute corresponding operation.With this, intelligent terminal can be set
Preset music application in standby is controlled, and the side that user operates the various functions in the preset music application of sound is increased
Formula preferably meets the needs of people operate internet music, improves user experience.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that the process, method, article or equipment including a series of elements includes not only that
A little elements, but also include other elements that are not explicitly listed, or further include for this process, method, article or
The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged
Except there is also other identical elements in the process, method, article or apparatus that includes the element.
Each embodiment in this specification is described in a progressive manner, identical similar portion between each embodiment
Point just to refer each other, and each embodiment focuses on the differences from other embodiments.Especially for device or
For device embodiment, since it is substantially similar to the method embodiment, so describing fairly simple, related place is referring to method
The part of embodiment illustrates.
Detailed Jie has been carried out to the data processing method provided by the present invention based on intelligent control device and device above
It continues, specific examples are used herein to illustrate the principle and implementation manner of the present application, and the explanation of above example is only
It is to be used to help understand the method for this application and its core ideas;Meanwhile for those of ordinary skill in the art, according to this Shen
Thought please, 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 the limitation to the application.
Claims (5)
1. a kind of data processing method based on intelligent control device, which is characterized in that the intelligent control device respectively with sound
It rings equipment and the intelligent terminal communication connection of preset music application is installed, the intelligent control device can be implemented separately
Or assist earphone to realize and carry out data interaction with the preset music application in intelligent terminal, intelligent control device includes equipment
Shell, hull outside are provided with preset operating area, and enclosure interior is provided with microcontroller, pre-establish to preset operating area
Operation behavior generates the first mapping table of pulse signal with microcontroller and is stored in intelligent control device;
In the intelligent control device side, the method includes:
Monitor the operation behavior to preset operating area;
The arteries and veins generated corresponding to the operation behavior to preset operating area listened to is determined according to first mapping table
Signal is rushed, driving microcontroller generates corresponding pulse signal and is sent to intelligent terminal, so as to the intelligent terminal
Parsing is carried out to the pulse signal received and corresponding operation is executed according to analysis result, the pulse signal of the generation includes
Diversified forms can be set as the readily identified form of intelligent terminal,
Wherein, the preset operating area is button,
The operation behavior to preset operating area, including:It presses the number of preset operating area and presses preset behaviour every time
Make the combination of the time in region;Or
The preset operating area is tapping operation region,
Correspondingly, being provided in the intelligent control device for monitoring the acceleration by tapping the operation behavior that gesture transmits
Sensor;
The operation behavior to preset operating area, including:It taps the number of preset operating area and taps preset behaviour every time
Make the combination of the time in region,
Wherein, first mapping table includes:
It presses primary preset operating area and point is temporally not less than preset time, the corresponding signal for generating the first preset wavelength;
It presses primary preset operating area and point is temporally less than preset time, corresponding two the second preset wavelength and therebetween of generating
Signal with the first preset interval;
Continuity point is by preset operating area twice and is put every time temporally less than preset time, corresponding to generate two preset waves of third
Signal long and that there is the second preset interval therebetween.
2. according to the method described in claim 1, it is characterized in that, first mapping table includes:
It taps primary preset operating area and taps the time not less than preset time, the corresponding signal for generating the first preset wavelength;
It taps primary preset operating area and taps the time and be less than preset time, corresponding two the second preset wavelength and therebetween of generating
Signal with the first preset interval;
Tap preset operating area twice and tap the time every time and be less than preset time, it is corresponding generate the preset wavelength of two thirds and
Signal with the second preset interval therebetween.
3. a kind of data processing method based on intelligent control device, which is characterized in that the intelligent control device respectively with sound
It rings equipment and the intelligent terminal communication connection of preset music application is installed, the intelligent control device can be implemented separately
Or assist earphone to realize and carry out data interaction with the preset music application in intelligent terminal, intelligent control device includes equipment
Shell, hull outside are provided with preset operating area, and enclosure interior is provided with microcontroller, pre-establish the arteries and veins for receiving microcontroller
It rushes the second mapping table of signal and operational order and is stored in preset music application;
In intelligent terminal side, the method includes:
Monitor the pulse signal that the intelligent control device is sent by microcontroller;
The pulse signal listened to is parsed to determine corresponding operational order simultaneously according to second mapping table
Corresponding operation is executed,
Wherein, second mapping table includes:Receiving the operational order corresponding to the signal of the first preset wavelength is
Currently listened song is carried out beating reward or be thumbed up;
The pulse signal listened to is parsed to determine corresponding operational order simultaneously according to second mapping table
Corresponding operation is executed, including:
Corresponding operational order is determined after being parsed to the pulse signal listened to according to second mapping table
When by currently being listened song beat reward or thumb up, then the solicited message beaten reward or thumbed up is sent to preset music application pair
The server answered, so that the server is to the mark that currently listened song addition is beaten reward or thumbed up;
The addition identification information of the server feedback is received, and is shown the mark beaten reward or thumbed up according to addition identification information
In the currently relevant page of listened song,
Wherein, second mapping table includes:It receives two the second preset wavelength and there is first preset therebetween
Every signal corresponding to operational order by collection and share and currently listen song;
The pulse signal listened to is parsed to determine corresponding operational order simultaneously according to second mapping table
Corresponding operation is executed, including:
Corresponding operational order is determined after being parsed to the pulse signal listened to according to second mapping table
When currently being listened song to collect and sharing, then the solicited message for collecting and sharing currently listened song is sent to preset music
Using corresponding server;
The corresponding ID of currently listened song and song information for receiving the server feedback, preset sound is stored in by the ID
Under the song collection catalogue of happy application, and the song information is sent to and preset music application is associated has synchronous divide
The platform for enjoying function, to be shown in the related pages of the platform,
Wherein, second mapping table includes:It receives the preset wavelength of two thirds and there is second preset therebetween
Every the corresponding operational order of signal be on-line search song or find song friend;
The pulse signal listened to is parsed to determine corresponding operational order simultaneously according to second mapping table
Corresponding operation is executed, including:
Corresponding operational order is determined after being parsed to the pulse signal listened to according to second mapping table
When singing friend for on-line search song or searching, then the friendly solicited message of on-line search song or searching song is sent to preset music
Using corresponding server;
Receive the song of the server feedback retrieved according to pre-set first preference parameter of user or according to user
Song friend's information that pre-set second preference parameter retrieves, plays out the song retrieved and is sent to earphone
Or by the friendly presentation of information of the song retrieved in the related pages of preset music application.
4. a kind of data processing equipment of the data processing method based on intelligent control device as described in claim 1, special
Sign is, the intelligent control device with stereo set and is equipped with the intelligent terminal communication link of preset music application respectively
Connect, the intelligent control device can be implemented separately or assist earphone realize with intelligent terminal in preset music application into
Row data interaction, intelligent control device include apparatus casing, and hull outside is provided with preset operating area, and enclosure interior is provided with
Microcontroller pre-establishes and generates the first mapping table of pulse signal simultaneously with microcontroller to the operation behavior of preset operating area
It is stored in intelligent control device;
It is set in the intelligent control device, described device includes:
First monitoring unit, for monitoring the operation behavior to preset operating area;
Driving unit is determined, for determining the operation row to preset operating area listened to according to first mapping table
For the pulse signal of corresponding generation, driving microcontroller generates corresponding pulse signal and is sent to intelligent terminal, so as to
The intelligent terminal carries out parsing to the pulse signal received and executes corresponding operation, the production according to analysis result
Raw pulse signal includes diversified forms, can be set as the readily identified form of intelligent terminal.
5. a kind of data processing equipment of the data processing method based on intelligent control device as claimed in claim 3, special
Sign is, the intelligent control device with stereo set and is equipped with the intelligent terminal communication link of preset music application respectively
Connect, the intelligent control device can be implemented separately or assist earphone realize with intelligent terminal in preset music application into
Row data interaction, intelligent control device include apparatus casing, and hull outside is provided with preset operating area, and enclosure interior is provided with
Microcontroller pre-establishes the second mapping table of the pulse signal and operational order that receive microcontroller and is stored in preset sound
In happy application;
It is set in intelligent terminal, described device includes:
Second monitoring unit, the pulse signal sent by microcontroller for monitoring the intelligent control device;
Resolution executing, for being parsed the pulse signal listened to to determine according to second mapping table
Corresponding operational order simultaneously executes corresponding operation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510613839.7A CN105223865B (en) | 2015-09-23 | 2015-09-23 | Data processing method based on intelligent control device and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510613839.7A CN105223865B (en) | 2015-09-23 | 2015-09-23 | Data processing method based on intelligent control device and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105223865A CN105223865A (en) | 2016-01-06 |
CN105223865B true CN105223865B (en) | 2018-10-26 |
Family
ID=54992900
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510613839.7A Active CN105223865B (en) | 2015-09-23 | 2015-09-23 | Data processing method based on intelligent control device and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105223865B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109739593B (en) * | 2018-11-21 | 2022-06-10 | 惠州Tcl移动通信有限公司 | Multi-webpage switching browsing method, mobile terminal and computer readable storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104410937A (en) * | 2014-12-02 | 2015-03-11 | 林浩 | Intelligent earphone |
CN104679845A (en) * | 2015-02-12 | 2015-06-03 | 林浩 | Data processing method and device based on earphone |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070142942A1 (en) * | 2005-12-16 | 2007-06-21 | Sony Ericsson Mobile Communications Ab | Audio profiles for portable music playback device |
US8600080B2 (en) * | 2008-01-14 | 2013-12-03 | Apple Inc. | Methods for communicating with electronic device accessories |
CN104408145A (en) * | 2014-12-02 | 2015-03-11 | 林浩 | Methods and devices for processing data and inputting/outputting data based on earphone |
-
2015
- 2015-09-23 CN CN201510613839.7A patent/CN105223865B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104410937A (en) * | 2014-12-02 | 2015-03-11 | 林浩 | Intelligent earphone |
CN104679845A (en) * | 2015-02-12 | 2015-06-03 | 林浩 | Data processing method and device based on earphone |
Also Published As
Publication number | Publication date |
---|---|
CN105223865A (en) | 2016-01-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN203075421U (en) | Music playing system based on emotion change | |
CN101489159B (en) | Electronic device and electronic device accessory | |
CN102831912B (en) | Show the method for audio message playing progress rate, client and system | |
CN109256146B (en) | Audio detection method, device and storage medium | |
CN109754798A (en) | Multitone case synchronisation control means, system and speaker | |
CN110413134A (en) | Wearing state detection method and relevant device | |
CN105161122B (en) | Data processing method and device based on earphone | |
CN109493849A (en) | Voice awakening method, device and electronic equipment | |
CN102710844B (en) | Systems and methods for automatically invoking certain operations in mobile phones | |
CN103226966A (en) | Method capable of quickly positioning playing progress and mobile terminal | |
CN109151634A (en) | Wireless headset method for controlling volume, wireless headset and mobile terminal | |
CN108848427A (en) | Wearing state detection method and relevant device | |
CN106251890A (en) | A kind of methods, devices and systems of recording song audio frequency | |
CN103414500A (en) | Interactive method between Bluetooth earphone and instant messaging software of terminal and Bluetooth earphone | |
CN104679845A (en) | Data processing method and device based on earphone | |
CN107680614B (en) | Audio signal processing method, apparatus and storage medium | |
CN104410937A (en) | Intelligent earphone | |
CN104008764A (en) | Multimedia information marking method and relevant device | |
CN110097868A (en) | Play the methods, devices and systems of music | |
CN109618263A (en) | Head/neck inclination angle detection method, apparatus, system and wireless headset controller | |
CN109729222A (en) | A kind of short distance searches the method and system of wearable device | |
CN105223865B (en) | Data processing method based on intelligent control device and device | |
CN112331195B (en) | Voice interaction method, device and system | |
CN112543247B (en) | Intelligent bracelet and control method thereof | |
CN204945956U (en) | Intelligent control device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |