CN106921878A - The data processing method and device of Set Top Box - Google Patents
The data processing method and device of Set Top Box Download PDFInfo
- Publication number
- CN106921878A CN106921878A CN201710117742.6A CN201710117742A CN106921878A CN 106921878 A CN106921878 A CN 106921878A CN 201710117742 A CN201710117742 A CN 201710117742A CN 106921878 A CN106921878 A CN 106921878A
- Authority
- CN
- China
- Prior art keywords
- top box
- set top
- microphone
- decibel value
- audio decibel
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/4104—Peripherals receiving signals from specially adapted client devices
- H04N21/4126—The peripheral being portable, e.g. PDAs or mobile phones
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/422—Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
- H04N21/42203—Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS] sound input device, e.g. microphone
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/442—Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
- H04N21/4424—Monitoring of the internal components or processes of the client device, e.g. CPU or memory load, processing speed, timer, counter or percentage of the hard disk space used
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Software Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Databases & Information Systems (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses the data processing method and device of a kind of Set Top Box.Wherein, the method includes:After electrically activating on the set-top box, the audio decibel value of pickup module in the Set Top Box is obtained;The microphone state of the Set Top Box is determined according to the audio decibel value, wherein, the microphone state includes:Microphone is inserted and microphone is extracted;The microphone state according to the Set Top Box determines corresponding broadcast message;The application software of the Set Top Box is controlled to perform deliberate action according to the broadcast message.The present invention is solved because the application software of existing Set Top Box needs individually operated, the technical problem of complex steps during the use for causing.
Description
Technical field
The present invention relates to the communications field, in particular to the data processing method and device of a kind of Set Top Box.
Background technology
In recent years, continuing to develop with Set Top Box industry, network multifunctional set top box commercially get over by proportion
Come bigger.Network machine top box (Network Set-Top Box) abbreviation STB technologies are that vital technology sets in information household appliances
It is standby.It is a large amount of films, multi-media events, news etc. that the function of Set Top Box rises to from the tuner and decoder of a multi-frequency
One control terminal of on-line deta base.
At present, the high-end chance in part has the KTV functions with microphone, and present KTV functions, user needs remote controller operation,
The KTV applications in system are found, application is opened, is clicked on and is played, then plugging microphone can just begin to use.
For above-mentioned because the application software needs of existing Set Top Box are individually operated, complex steps asks during the use for causing
Topic, not yet proposes effective solution at present.
The content of the invention
The data processing method and device of a kind of Set Top Box are the embodiment of the invention provides, at least to solve due to existing machine
The application software of top box needs individually operated, the technical problem of complex steps during the use for causing.
A kind of one side according to embodiments of the present invention, there is provided data processing method of Set Top Box, including:On machine top
After box electrifying startup, the audio decibel value of pickup module in Set Top Box is obtained;The microphone of Set Top Box is determined according to audio decibel value
State, wherein, microphone state includes:Microphone is inserted and microphone is extracted;Microphone state according to Set Top Box determines corresponding broadcast
Information;The application software of Set Top Box is controlled to perform deliberate action according to broadcast message.
Further, the audio decibel value for obtaining pickup module in Set Top Box includes:Polling signal is sent to pickup module;
Receive the audio decibel value that pickup module sends according to polling signal.
Further, the audio decibel value for obtaining pickup module in Set Top Box includes:Receive the broadcast that pickup module sends;
The broadcast sent according to pickup module obtains the audio decibel value of pickup module.
Further, the microphone state for determining Set Top Box according to audio decibel value includes:Judge audio decibel value and preset
The relation of threshold value;When audio decibel value is more than or equal to predetermined threshold value, determine that microphone state is inserted for microphone;When audio decibel value
During less than predetermined threshold value, determine that microphone state is extracted for microphone.
Further, application software is the KTV application modules in Set Top Box.
Further, when microphone state is inserted for microphone, the application software of Set Top Box is controlled to be performed according to broadcast message
Deliberate action includes:Control Set Top Box starts KTV application modules;Read the parameter preset of KTV application modules;Display KTV applications
The program request page of module or the continued broadcasting page into KTV application modules.
Further, when microphone state is extracted for microphone, the application software of Set Top Box is controlled to be performed according to broadcast message
Deliberate action includes:Preserve the play history of KTV application modules;KTV application modules are exited, the system page of Set Top Box is returned.
Another aspect according to embodiments of the present invention, additionally provides a kind of data processing equipment of Set Top Box, including:Obtain
Module, after electrically activating on the set-top box, obtains the audio decibel value of pickup module in Set Top Box;First determining module, uses
In the microphone state that Set Top Box is determined according to audio decibel value, wherein, microphone state includes:Microphone is inserted and microphone is extracted;The
Two determining modules, corresponding broadcast message is determined for the microphone state according to Set Top Box;Performing module, for controlling Set Top Box
Application software according to broadcast message perform deliberate action.
Further, acquisition module includes:Poll submodule, for sending polling signal to pickup module;First receives
Submodule, for receiving the audio decibel value that pickup module sends according to polling signal.
Further, the first determining module includes:Judging submodule, the pass for judging audio decibel value and predetermined threshold value
System;First determination sub-module, for when audio decibel value is more than or equal to predetermined threshold value, determining that microphone state is inserted for microphone;
Second determination sub-module, for when audio decibel value is less than predetermined threshold value, determining that microphone state is extracted for microphone.
In embodiments of the present invention, after using electrically activating on the set-top box, the audio point of pickup module in Set Top Box is obtained
Shellfish value;The microphone state of Set Top Box is determined according to audio decibel value, wherein, microphone state includes:Microphone is inserted and microphone is extracted;
Microphone state according to Set Top Box determines corresponding broadcast message;The application software of Set Top Box is controlled to be performed in advance according to broadcast message
If the mode of action, by the plug of Set Top Box microphone, has reached the purpose of automatic application software, it is achieved thereby that using
The technique effect of Shi Tigao operating efficiencies, and then solve because the application software needs of existing Set Top Box are individually operated, cause
Use when complex steps technical problem.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, this hair
Bright schematic description and description does not constitute inappropriate limitation of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of the data processing method of according to embodiments of the present invention one a kind of optional Set Top Box;
Fig. 2 is the schematic diagram of the data processing equipment of according to embodiments of the present invention two a kind of optional Set Top Box.
Specific embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention
Accompanying drawing, is clearly and completely described to the technical scheme in the embodiment of the present invention, it is clear that described embodiment is only
The embodiment of a part of the invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people
The every other embodiment that member is obtained under the premise of creative work is not made, should all belong to the model of present invention protection
Enclose.
It should be noted that term " first ", " in description and claims of this specification and above-mentioned accompanying drawing
Two " it is etc. for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that so using
Data can exchange in the appropriate case, so as to embodiments of the invention described herein can with except illustrating herein or
Order beyond those of description is implemented.Additionally, term " comprising " and " having " and their any deformation, it is intended that cover
Lid is non-exclusive to be included, for example, the process, method, system, product or the equipment that contain series of steps or unit are not necessarily limited to
Those steps or unit clearly listed, but may include not list clearly or for these processes, method, product
Or other intrinsic steps of equipment or unit.
Embodiment one
According to embodiments of the present invention, there is provided a kind of embodiment of the method for the data processing method of Set Top Box is, it is necessary to illustrate
, can be held in the such as one group computer system of computer executable instructions the step of the flow of accompanying drawing is illustrated
OK, and, although show logical order in flow charts, but in some cases, can be with different from order herein
Perform shown or described step.
Fig. 1 is the flow chart of the data processing method of according to embodiments of the present invention one a kind of optional Set Top Box, such as Fig. 1
Shown, the method comprises the following steps:
Step S102, after electrically activating on the set-top box, obtains the audio decibel value of pickup module in Set Top Box.
Specifically, Set Top Box electrifying startup, but it is the process initialized to Set Top Box, can be by initializing mould
Block completes the reset to pickup module and Set Top Box interlock circuit, can set the sample rate of Set Top Box operating room, and clock is put
Big multiple etc., it is also possible to which the pattern to information reporting is configured, for example whether elder generation CPU triggerings are interrupted.
Step S104, the microphone state of Set Top Box is determined according to audio decibel value, wherein, microphone state includes:Microphone is inserted
Enter and extracted with microphone.
Specifically, when Set Top Box does not plug microphone, the audio decibel value of the pickup module of hardware chip can be 0, or
Person is less than particular value.After Set Top Box plugs microphone, the audio signal enhancing of pickup module is reached from microphone, pickup module is obtained
Signal also increase, audio decibel value exceed particular value.Therefore, it can determine tubular if Set Top Box by audio decibel value
State.
It should be noted that the method for obtaining audio decibel value can be realized by poll pickup module, it is also possible to logical
The method of the broadcast that reception pickup module sends is crossed to realize.
Step S106, corresponding broadcast message is determined according to the microphone state of Set Top Box.
Specifically, broadcast message can be " microphone insertion " broadcast, or " microphone extractions " broadcast, processor according to
The state of microphone can send the broadcast message of response.
Step S108, controls the application software of Set Top Box to perform deliberate action according to broadcast message.
Specifically, after application software receives broadcast message, deliberate action can be performed according to the content of the rich information of official.It is default
Action can be set in advance, for example, the page is played in ejection requesting song, turn off current page, return system homepage etc..
It should be noted that it can also be voice in Set Top Box that application software can be KTV application modules in Set Top Box
The application program of identification.
In the embodiment of the present application, by above-mentioned steps S102 to step S108, after electrically activating on the set-top box, obtain
Take the audio decibel value of pickup module in Set Top Box;The microphone state of Set Top Box is determined according to audio decibel value, wherein, microphone shape
State includes:Microphone is inserted and microphone is extracted;Microphone state according to Set Top Box determines corresponding broadcast message;Control Set Top Box
Application software performs the mode of deliberate action according to broadcast message, and by the plug of Set Top Box microphone, having reached automatic should
With the purpose of software, it is achieved thereby that improving the technique effect of operating efficiency when using, and then solve due to existing Set Top Box
Application software need individually operated, the technical problem of complex steps during the use for causing.
Alternatively, step S102, the audio decibel value for obtaining pickup module in Set Top Box can include:
Step S1021, polling signal is sent to pickup module.
Step S1023, receives the audio decibel value that pickup module sends according to polling signal.
Specifically, Set Top Box can open poll thread, inquire about the state of pickup module.
Alternatively, step S102, the audio decibel value for obtaining pickup module in Set Top Box can also include:
Step S1025, receives the broadcast that pickup module sends.
Step S1027, the broadcast sent according to pickup module obtains the audio decibel value of pickup module.
Specifically, sending broadcast can use observer using the primary method of Android, the broadcast in Android
Pattern, message based publish/subscribe event model.Therefore, from from the perspective of realization, the broadcast in Android will be broadcasted
Sender and recipient largely decouple so that system can be advantageously integrated, be more easy to extension.
Alternatively, step S104, the microphone state for determining Set Top Box according to audio decibel value can include:
Step S1041, judges the relation of audio decibel value and predetermined threshold value.
Step S1043, when audio decibel value is more than or equal to predetermined threshold value, determines that microphone state is inserted for microphone.
Step S1045, when audio decibel value is less than predetermined threshold value, determines that microphone state is extracted for microphone.
Specifically, when Set Top Box does not plug microphone, the audio decibel value of the pickup module of hardware chip can be 0, or
Person is less than particular value.After Set Top Box plugs microphone, the audio signal enhancing of pickup module is reached from microphone, pickup module is obtained
Signal also increase, audio decibel value exceed particular value.Therefore, it can for the particular value to be set to predetermined threshold value, by frequency range
Relation between audio decibel value and predetermined threshold value judges whether Set Top Box microphone inserts to reach.
It should be noted that the pickup module of different model, above-mentioned particular value may be different, and it is different shaped that therefore, it can
Number pickup module different predetermined threshold values are set.To improve the accuracy that both microphone state judges.
Alternatively, application software can be the KTV application modules in Set Top Box.
Specifically, Set Top Box can respectively enter insertion process module and extraction treatment according to the audio decibel value for receiving
Module.Insertion process module can send the system broadcasts " android.intent.action.MIC_ of Android
CONNECTED ", extracting processing module can send the system broadcasts " android.intent.action.MIC_ of Android
DISCONNECTED”.According to android mechanism, have registered and receive application software of the two broadcast and can receive.
Alternatively, when microphone state is inserted for microphone, step S108 controls the application software of Set Top Box to be believed according to broadcast
Breath performs deliberate action can be included:
Step S1081, control Set Top Box starts KTV application modules.
Step S1083, reads the parameter preset of KTV application modules.
Step S1085, the program request page for showing KTV application modules or the continued broadcasting page for entering KTV application modules.
Specifically, KTV application modules can eject corresponding requesting song broadcast interface after microphone insertion broadcast is received,
And played out according to parameter preset, it is also possible to the record that selection continues last time broadcasting starts continued broadcasting.
It should be noted that parameter preset can be broadcast sound volume, play list of songs, the volume of microphone, audio etc..Can
To trigger execution by broadcasting treatment function.
Alternatively, when microphone state is extracted for microphone, step S108 controls the application software of Set Top Box to be believed according to broadcast
Breath performs deliberate action can also be included:
Step S1087, preserves the play history of KTV application modules.
Step S1089, exits KTV application modules, returns to the system page of Set Top Box.
Specifically, KTV application modules can close the current interface of Set Top Box after microphone dial-out broadcast is received, and preserve
Play history, and exit itself KTV applications.System main interface is may return to, or can be returned original into KTV applications
The interface of the other application before module.
Embodiment two
According to embodiments of the present invention, there is provided a kind of data processing equipment of Set Top Box, Fig. 2 is according to embodiments of the present invention
The schematic diagram of the data processing equipment of two a kind of optional Set Top Box, as shown in Fig. 2 the data processing equipment bag of the Set Top Box
Include:
Acquisition module 40, after electrically activating on the set-top box, obtains the audio decibel value of pickup module in Set Top Box.
Specifically, Set Top Box electrifying startup, but it is the process initialized to Set Top Box, can be by initializing mould
Block completes the reset to pickup module and Set Top Box interlock circuit, can set the sample rate of Set Top Box operating room, and clock is put
Big multiple etc., it is also possible to which the pattern to information reporting is configured, for example whether elder generation CPU triggerings are interrupted.
First determining module 42, the microphone state for determining Set Top Box according to audio decibel value, wherein, microphone state bag
Include:Microphone is inserted and microphone is extracted.
Specifically, when Set Top Box does not plug microphone, the audio decibel value of the pickup module of hardware chip can be 0, or
Person is less than particular value.After Set Top Box plugs microphone, the audio signal enhancing of pickup module is reached from microphone, pickup module is obtained
Signal also increase, audio decibel value exceed particular value.Therefore, it can determine tubular if Set Top Box by audio decibel value
State.
It should be noted that the method for obtaining audio decibel value can be realized by poll pickup module, it is also possible to logical
The method of the broadcast that reception pickup module sends is crossed to realize.
Second determining module 44, corresponding broadcast message is determined for the microphone state according to Set Top Box.
Specifically, broadcast message can be " microphone insertion " broadcast, or " microphone extractions " broadcast, processor according to
The state of microphone can send the broadcast message of response.
Performing module 46, the application software for controlling Set Top Box performs deliberate action according to broadcast message.
Specifically, after application software receives broadcast message, deliberate action can be performed according to the content of the rich information of official.It is default
Action can be set in advance, for example, the page is played in ejection requesting song, turn off current page, return system homepage etc..
It should be noted that it can also be voice in Set Top Box that application software can be KTV application modules in Set Top Box
The application program of identification.
In the embodiment of the present application, by above-mentioned acquisition module 40, after electrically activating on the set-top box, Set Top Box is obtained
The audio decibel value of middle pickup module.First determining module 42, the microphone state for determining Set Top Box according to audio decibel value,
Wherein, microphone state includes:Microphone is inserted and microphone is extracted.Second determining module 44, for the microphone state according to Set Top Box
Determine corresponding broadcast message.Performing module 46, the application software for controlling Set Top Box performs default dynamic according to broadcast message
The mode of work, by the plug of Set Top Box microphone, has reached the purpose of automatic application software, it is achieved thereby that being carried when using
The technique effect of operating efficiency high, and then solve because the application software needs of existing Set Top Box are individually operated, that causes makes
The technical problem of used time complex steps.
Alternatively, acquisition module 40 can include:
Poll submodule, for sending polling signal to pickup module.
First receiving submodule, for receiving the audio decibel value that pickup module sends according to polling signal.
Specifically, Set Top Box can open poll thread, inquire about the state of pickup module.
Alternatively, acquisition module 40 can also include:
Second receiving submodule, for receiving the broadcast that pickup module sends;
Acquisition submodule, the broadcast for being sent according to pickup module obtains the audio decibel value of pickup module.
Specifically, sending broadcast can use observer using the primary method of Android, the broadcast in Android
Pattern, message based publish/subscribe event model.Therefore, from from the perspective of realization, the broadcast in Android will be broadcasted
Sender and recipient largely decouple so that system can be advantageously integrated, be more easy to extension.
Alternatively, the first determining module 42 can include:
Judging submodule, the relation for judging audio decibel value and predetermined threshold value.
First determination sub-module, for when audio decibel value is more than or equal to predetermined threshold value, determining that microphone state is microphone
Insertion.
Second determination sub-module, for when audio decibel value is less than predetermined threshold value, determining that microphone state is extracted for microphone.
Specifically, when Set Top Box does not plug microphone, the audio decibel value of the pickup module of hardware chip can be 0, or
Person is less than particular value.After Set Top Box plugs microphone, the audio signal enhancing of pickup module is reached from microphone, pickup module is obtained
Signal also increase, audio decibel value exceed particular value.Therefore, it can for the particular value to be set to predetermined threshold value, by frequency range
Relation between audio decibel value and predetermined threshold value judges whether Set Top Box microphone inserts to reach.
It should be noted that the pickup module of different model, above-mentioned particular value may be different, and it is different shaped that therefore, it can
Number pickup module different predetermined threshold values are set.To improve the accuracy that both microphone state judges.
Alternatively, application software is the KTV application modules in Set Top Box.
Alternatively, when microphone state is inserted for microphone, performing module 46 includes.
Start submodule, for controlling Set Top Box to start KTV application modules.
Reading submodule, the parameter preset for reading KTV application modules.
First display sub-module, for showing the program request page of KTV application modules or entering the continued broadcasting of KTV application modules
The page.
Alternatively, when microphone state is extracted for microphone, performing module 46 includes.
Preserve submodule, the play history for preserving KTV application modules.
Second display sub-module, for exiting KTV application modules, returns to the system page of Set Top Box.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
In the above embodiment of the present invention, the description to each embodiment all emphasizes particularly on different fields, and does not have in certain embodiment
The part of detailed description, may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed technology contents, can be by other
Mode is realized.Wherein, device embodiment described above is only schematical, such as division of described unit, Ke Yiwei
A kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can combine or
Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual
Between coupling or direct-coupling or communication connection can be the INDIRECT COUPLING or communication link of unit or module by some interfaces
Connect, can be electrical or other forms.
The unit that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On unit.Some or all of unit therein can be according to the actual needs selected to realize the purpose of this embodiment scheme.
In addition, during each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list
Unit can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is to realize in the form of SFU software functional unit and as independent production marketing or use
When, can store in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part for being contributed to prior art in other words or all or part of the technical scheme can be in the form of software products
Embody, the computer software product is stored in a storage medium, including some instructions are used to so that a computer
Equipment (can be personal computer, server or network equipment etc.) perform each embodiment methods described of the invention whole or
Part steps.And foregoing storage medium includes:USB flash disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can be with store program codes
Medium.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should
It is considered as protection scope of the present invention.
Claims (10)
1. a kind of data processing method of Set Top Box, it is characterised in that including:
After electrically activating on the set-top box, the audio decibel value of pickup module in the Set Top Box is obtained;
The microphone state of the Set Top Box is determined according to the audio decibel value, wherein, the microphone state includes:Microphone is inserted
Extracted with microphone;
The microphone state according to the Set Top Box determines corresponding broadcast message;
The application software of the Set Top Box is controlled to perform deliberate action according to the broadcast message.
2. method according to claim 1, it is characterised in that obtain the audio decibel value of pickup module in the Set Top Box
Including:
Polling signal is sent to the pickup module;
Receive the audio decibel value that the pickup module sends according to the polling signal.
3. method according to claim 1, it is characterised in that obtain the audio decibel value of pickup module in the Set Top Box
Including:
Receive the broadcast that the pickup module sends;
The broadcast sent according to the pickup module obtains the audio decibel value of the pickup module.
4. method according to claim 1, it is characterised in that if determining the Set Top Box according to the audio decibel value
Tubular state includes:
Judge the relation of the audio decibel value and predetermined threshold value;
When the audio decibel value is more than or equal to predetermined threshold value, determine that the microphone state is inserted for the microphone;
When the audio decibel value is less than predetermined threshold value, determine that the microphone state is extracted for the microphone.
5. method according to claim 4, it is characterised in that the application software is the KTV applications in the Set Top Box
Module.
6. method according to claim 5, it is characterised in that when the microphone state is that the microphone is inserted, control
The application software of the Set Top Box performs deliberate action according to the broadcast message to be included:
The Set Top Box is controlled to start the KTV application modules;
Read the parameter preset of the KTV application modules;
The program request page for showing the KTV application modules or the continued broadcasting page for entering the KTV application modules.
7. method according to claim 5, it is characterised in that when the microphone state is that the microphone is extracted, control
The application software of the Set Top Box performs deliberate action according to the broadcast message to be included:
Preserve the play history of the KTV application modules;
The KTV application modules are exited, the system page of the Set Top Box is returned.
8. a kind of data processing equipment of Set Top Box, it is characterised in that including:
Acquisition module, after electrically activating on the set-top box, obtains the audio decibel value of pickup module in the Set Top Box;
First determining module, the microphone state for determining the Set Top Box according to the audio decibel value, wherein, the microphone
State includes:Microphone is inserted and microphone is extracted;
Second determining module, corresponding broadcast message is determined for the microphone state according to the Set Top Box;
Performing module, the application software for controlling the Set Top Box performs deliberate action according to the broadcast message.
9. device according to claim 8, it is characterised in that the acquisition module includes:
Poll submodule, for sending polling signal to the pickup module;
First receiving submodule, for receiving the audio decibel value that the pickup module sends according to the polling signal.
10. device according to claim 8, it is characterised in that first determining module includes:
Judging submodule, the relation for judging the audio decibel value and predetermined threshold value;
First determination sub-module, for when the audio decibel value is more than or equal to predetermined threshold value, determining that the microphone state is
The microphone insertion;
Second determination sub-module, for when the audio decibel value is less than predetermined threshold value, determining that the microphone state is described
Microphone is extracted.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710117742.6A CN106921878A (en) | 2017-03-01 | 2017-03-01 | The data processing method and device of Set Top Box |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710117742.6A CN106921878A (en) | 2017-03-01 | 2017-03-01 | The data processing method and device of Set Top Box |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106921878A true CN106921878A (en) | 2017-07-04 |
Family
ID=59454302
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710117742.6A Pending CN106921878A (en) | 2017-03-01 | 2017-03-01 | The data processing method and device of Set Top Box |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106921878A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101242604A (en) * | 2008-01-22 | 2008-08-13 | 深圳华为通信技术有限公司 | An automatic operation method and device for plugged earphone of terminal device |
CN101778333A (en) * | 2010-01-27 | 2010-07-14 | 杭州华三通信技术有限公司 | Detection method and device of microphone state |
CN102915725A (en) * | 2012-09-10 | 2013-02-06 | 福建星网视易信息系统有限公司 | Human-computer interaction song singing system and method |
CN102932549A (en) * | 2012-11-05 | 2013-02-13 | 广东欧珀移动通信有限公司 | Mobile terminal and method for accessing application programs rapidly through earphones |
CN103024496A (en) * | 2012-12-07 | 2013-04-03 | 康佳集团股份有限公司 | Implementing method and system for set top box and mobile terminal to share microphone |
-
2017
- 2017-03-01 CN CN201710117742.6A patent/CN106921878A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101242604A (en) * | 2008-01-22 | 2008-08-13 | 深圳华为通信技术有限公司 | An automatic operation method and device for plugged earphone of terminal device |
CN101778333A (en) * | 2010-01-27 | 2010-07-14 | 杭州华三通信技术有限公司 | Detection method and device of microphone state |
CN102915725A (en) * | 2012-09-10 | 2013-02-06 | 福建星网视易信息系统有限公司 | Human-computer interaction song singing system and method |
CN102932549A (en) * | 2012-11-05 | 2013-02-13 | 广东欧珀移动通信有限公司 | Mobile terminal and method for accessing application programs rapidly through earphones |
CN103024496A (en) * | 2012-12-07 | 2013-04-03 | 康佳集团股份有限公司 | Implementing method and system for set top box and mobile terminal to share microphone |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107027060A (en) | The determination method and apparatus of video segment | |
CN108182944A (en) | Control the method, apparatus and intelligent terminal of intelligent terminal | |
CN101340274A (en) | Data synchronizing method and apparatus | |
CN109395376A (en) | Exchange method, device and system based on game live streaming | |
CN105872838A (en) | Sending method and device of special media effects of real-time videos | |
CN105022297B (en) | A kind of sound box parameter collocation method, mobile terminal | |
CN104519124A (en) | Allocation method and device of virtual resources | |
CN103945253A (en) | Volume control method and device and multimedia playing control method and device | |
CN112331213A (en) | Intelligent household equipment control method and device, electronic equipment and storage medium | |
CN109725543B (en) | Equipment control code configuration method and device, cloud server and network system | |
CN103324459A (en) | Method and system for implementing USB (universal serial bus) headset devices | |
CN104916298A (en) | Coding and decoding methods, coding and decoding devices, electronic equipment and audio picture generating method | |
CN106571942A (en) | Configuration data updating method, client side and server | |
CN105511961B (en) | A kind of data transmission method for uplink and terminal | |
CN106792139A (en) | A kind of data dispatching method and data dispatch equipment | |
CN105654973B (en) | A kind of audio file processing method and system | |
CN109819108B (en) | Method and device for adjusting driving parameters, electronic equipment and storage medium | |
CN105929941B (en) | Information processing method and device and terminal equipment | |
CN104581367A (en) | Method and device for sharing multimedia content | |
CN106921878A (en) | The data processing method and device of Set Top Box | |
CN112118481B (en) | Audio clip generation method and device, player and storage medium | |
CN107465946B (en) | Video playing method, device, system and terminal equipment | |
CN104750786A (en) | Data display method and device | |
CN110708603B (en) | Multimedia data playing method, device, terminal and storage medium | |
CN111356006B (en) | Video playing method, device, server and storage medium |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170704 |
|
RJ01 | Rejection of invention patent application after publication |