The method and system of speech talkback are initiated in a kind of video monitoring
Technical field
This application involves in technical field of video monitoring more particularly to a kind of video monitoring initiate speech talkback method and
System.
Background technique
Mobile device (such as mobile phone, industrial mobile device etc.) is since its portability is in people's daily life and work
Significant role is played.
Mobile device has the platform software to video monitoring function of making peace, and to making peace, video monitoring function can be parallel
It uses.Especially in the places such as certain law enforcement fields and natural calamity scene, staff needs to show using mobile device
Field transmission of video gives command scheduling center, while speech talkback also being needed to report real-time condition, so as to rapidly by present case report
It accuses to all personnel in organizing.
However, current mobile device, if to initiate intercommunication, needs to be switched to intercommunication interface when video uploads, this
When video upload must just terminate, i.e., can not be checked simultaneously when initiating intercommunication video upload real-time pictures, video upload
Interface can not carry out intercommunication, and the two cannot carry out simultaneously, to cause a degree of influence to work on the spot, be unable to satisfy use
Family intelligence demand.
Summary of the invention
In view of this, this application provides the method and system for initiating speech talkback in a kind of video monitoring, it is existing to overcome
The problem of having video upload in technology that can not carry out simultaneously with speech talkback, and then being unable to satisfy user's intelligence demand.
To achieve the goals above, this application provides following technical schemes:
The method of speech talkback is initiated in a kind of video monitoring, comprising:
Speech talkback instruction is monitored in real time in video upload interface;
When listening to speech talkback instruction, whether detection is currently applied to speaking right;
When detect applied to described to speaking right when, output allow intercommunication remind;
The voice that user reminds input according to the permission intercommunication is received, and the voice is sent to other use of intercommunication group
Family terminal.
Preferably, further includes: speaking right is instructed according to the release of user's input, is discharged described to speaking right.
Preferably, it is described video upload interface monitor in real time speech talkback instruction include:
Key-press event is monitored in the video upload interface, the speech talkback is obtained according to the key-press event and is instructed.
Preferably, the key-press event includes: volume+key button event, volume-key button event, power supply key button thing
Part, camera key key-press event, any one or more in mute key key-press event.
Preferably, further includes: when detecting that output waits intercommunication to remind when not applying to described to speaking right, and apply
To speaking right.
The system of speech talkback is initiated in a kind of video monitoring, comprising:
Monitoring unit, for monitoring speech talkback instruction in real time in video upload interface;
Detection unit, for when the monitoring unit listens to speech talkback instruction, whether detection currently to be applied
To speaking right;
Output unit, for when the detection unit detect applied to described to speaking right when, output allow intercommunication
It reminds;
Communication unit reminds the language inputted according to the permission intercommunication that the output unit exports for receiving user
Sound, and the voice is sent to intercommunication group other users terminal.
Preferably, further includes: releasing unit, the release for being inputted according to user instruct speaking right, and it is described right to discharge
Speaking right.
Preferably, the monitoring unit includes: sub- monitoring unit and acquiring unit, wherein
The sub- monitoring unit is used to monitor key-press event in the video upload interface;
The key-press event that the acquiring unit is used to be listened to according to the sub- monitoring unit obtains the voice pair
Say instruction.
Preferably, the key-press event includes: volume+key button event, volume-key button event, power supply key button thing
Part, camera key key-press event, any one or more in mute key key-press event.
Preferably, further includes: application unit, for not applying to described when the detection unit detects to speaking right
When, apply to speaking right;
The output unit is also used to detect that output waits when not applying to described to speaking right when the detection unit
Intercommunication is reminded.
From the above technical scheme, this application provides in a kind of video monitoring initiate speech talkback method and be
System, this method by video upload interface monitor speech talkback instruct, according to the speech talkback command detection listened to whether
Apply for that output reminds instruction to inform that user can talk when application is to speaking right, and the language of user is sent out to speaking right
Give intercommunication group other staff.This method realizes video upload and voice by directly carrying out intercommunication in video upload interface
It is carried out while intercommunication, meets user's intelligence demand.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
The flow chart of the method for speech talkback is initiated in a kind of video monitoring that Fig. 1 provides for the embodiment of the present application one;
The flow chart of the method for speech talkback is initiated in a kind of video monitoring that Fig. 2 provides for the embodiment of the present application two;
The structural representation of the system of speech talkback is initiated in a kind of video monitoring that Fig. 3 provides for the embodiment of the present application three
Figure;
The structural representation of the system of speech talkback is initiated in a kind of video monitoring that Fig. 4 provides for the embodiment of the present application four
Figure.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
To overcome video upload in the prior art that can not carry out simultaneously with speech talkback, and then it is unable to satisfy user's intelligence
The problem of demand, this application provides the method and system that speech talkback is initiated in a kind of video monitoring, the following institutes of concrete scheme
It states:
Embodiment one
The embodiment of the present application one provides a kind of method that speech talkback is initiated in video monitoring, specific as shown in Figure 1, figure
The flow chart of the method for speech talkback is provided in a kind of 1 video monitoring provided for the embodiment of the present application one.This method comprises:
S101: speech talkback instruction is monitored in real time in video upload interface;
In the speech talkback instruction that video upload interface monitoring users input according to demand, that is to say, that user is using
When mobile device carries out video upload, if necessary to carry out speech talkback, user is not needed after closing video upload interface again
Speech talkback interface is opened, but directly can carry out intercommunication in video upload interface.
S102: when listening to speech talkback instruction, whether detection is currently applied to speaking right;
Since in the same intercommunication group, the same time can only have people's speech, and group is interior, and other people pay attention to the class, therefore, when
After listening to speech talkback instruction, it is also necessary to which whether detection currently apply to speaking right, i.e., whether has other people in intercommunication group
Member is talking, and if there is other staff are talking, then needs to wait.
S103: when detect applied to speaking right when, output allow intercommunication remind;
When other members do not talk in intercommunication group, that is to say, that other members release to speaking right in intercommunication group
Afterwards, it can be assumed that have applied for that output allows intercommunication to remind at this time, to speaking right to inform that user can talk.
S104: user is received according to the voice for allowing intercommunication to remind input, and voice is sent to intercommunication group other users
Terminal.
User according to the permission intercommunication of output prompting starts carry out voice input, that is, talk, when receive user input
After voice, voice is sent to other members in intercommunication group, to be linked up.
From the above technical scheme, the side of speech talkback is initiated in the video monitoring that the embodiment of the present application one provides
Whether method applies arriving by monitoring speech talkback instruction in video upload interface according to the speech talkback command detection listened to
To speaking right, when application is to speaking right, output reminds instruction informing user that can talk, and the language of user is sent to pair
Say a group other staff.This method realizes video and uploads and speech talkback by directly carrying out intercommunication in video upload interface
It carries out simultaneously, meets user's intelligence demand.
Embodiment two
On the basis of example 1, the embodiment of the present application two provides in more specific kind of video monitoring of one kind and initiates language
The method of sound intercommunication is specific as shown in Fig. 2, initiating voice pair in a kind of video monitoring that Fig. 2 provides for the embodiment of the present application two
The flow chart for the method said.This method comprises:
S101: speech talkback instruction is monitored in real time in video upload interface;
In the speech talkback instruction that video upload interface monitoring users input according to demand, that is to say, that user is using
When mobile device carries out video upload, if necessary to carry out speech talkback, user is not needed after closing video upload interface again
Speech talkback interface is opened, but directly can carry out intercommunication in video upload interface.
Specifically, in this application, monitoring speech talkback instruction in real time in video upload interface includes: to upload boundary in video
Key-press event is monitored in face, obtains speech talkback instruction according to key-press event.
Key-press event include: volume+key button event, volume-key button event, power key key-press event, camera key by
Any one or more in key events, mute key key-press event in this application without limitation can be according to mobile phone configuration
Key and user are accustomed to setting.For at present, the position of " volume-" key is relatively more suitble to user's operation.
In this application, in video upload interface, App developer is needed to rewrite onKeyDown method and the side onKeyUp
Method, the function that will be realized directly are written in onKeyDown method and onKeyUp method, wherein onKeyDown be key by
It will be triggered when lower, onKeyUp is triggering when key bounces.Specifically, in Android platform, when operation user interface and key
When, corresponding event can be triggered.Such as: we click " volume-", can be related to pressing event and one is bounced (release) thing
Part, if programmer will bounce in key realizes a certain function in event, the onKeyUP method of rewriting system offer.
S102: when listening to speech talkback instruction, whether detection is currently applied to speaking right;
Since in the same intercommunication group, the same time can only have people's speech, and group is interior, and other people pay attention to the class, therefore, when
After listening to speech talkback instruction, it is also necessary to which whether detection currently apply to speaking right, i.e., whether has other people in intercommunication group
Member is talking, and if there is other staff are talking, then needs to wait.
S103: when detect do not apply to speaking right when, output wait intercommunication remind, and apply to speaking right;
When other member someone are talking in intercommunication group, other people cannot talk again, be waited,
Until other talents can talk according to application sequencing after release is to speaking right.
Specifically, in video upload interface, can with real-time display intercommunication group state, while can with " in transmission ", " say
The texts such as words ", " paying attention to the class ", " free time ", " closing " remind user, set with specific reference to actual needs, do not limit in this application
It is fixed.
It should be noted that application refers to that user end to server sends signaling (i.e. network request) to speaking right, request
The speaking right of a certain intercommunication group is obtained, server, can be to client end response success, failure, queuing according to the state of the intercommunication group
Etc. signalings;After release refers to client speech to speaking right, sending the speech of signaled server terminates, and discharges in intercommunication
The speaking right of group.
S104: when detect applied to speaking right when, output allow intercommunication remind;
When other members do not talk in intercommunication group, that is to say, that other members release to speaking right in intercommunication group
Afterwards, it can be assumed that have applied for that output allows intercommunication to remind at this time, to speaking right to inform that user can talk.
S105: user is received according to the voice for allowing intercommunication to remind input, and voice is sent to intercommunication group other users
Terminal;
User according to the permission intercommunication of output prompting starts carry out voice input, that is, talk, when receive user input
After voice, voice is sent to other members in intercommunication group, to be linked up.
S106: speaking right is instructed according to the release of user's input, is discharged to speaking right.
Learn that speech terminates for the ease of other members in intercommunication group, user can input release intercommunication after finishing speaking
Right of speech instruction, to discharge to speaking right, so that other people talk.For example, if active user uses not to speaking right
Family can apply for right of speech by click " volume-", whereas if active user's application has been arrived to speaking right, then clicking " sound again
Amount-" can release speech right.
From the above technical scheme, the side of speech talkback is initiated in the video monitoring that the embodiment of the present application two provides
Whether method applies arriving by monitoring speech talkback instruction in video upload interface according to the speech talkback command detection listened to
To speaking right, when application is to speaking right, output reminds instruction informing user that can talk, and the language of user is sent to pair
Say a group other staff.This method realizes video and uploads and speech talkback by directly carrying out intercommunication in video upload interface
It carries out simultaneously, meets user's intelligence demand.
Embodiment three
On the basis of example 1, the embodiment of the present application three provide initiate speech talkback in a kind of video monitoring be
System, it is specific as shown in figure 3, initiating the system of speech talkback in a kind of video monitoring that Fig. 3 provides for the embodiment of the present application three
Structural schematic diagram.The system includes: monitoring unit 201, detection unit 202, output unit 203 and communication unit 204, wherein
Monitoring unit 201, for monitoring speech talkback instruction in real time in video upload interface;
Detection unit 202, for when monitoring unit 201 listens to speech talkback instruction, whether detection currently to be applied arriving
To speaking right;
Output unit 203, for when detection unit 202 detect applied to speaking right when, output allow intercommunication mention
It wakes up;
Communication unit 204, the voice for allowing intercommunication to remind input exported for receiving user according to output unit 203,
And voice is sent to intercommunication group other users terminal.
It specifically repeats no more in the present embodiment, can refer to one associated description part of embodiment.
Example IV
The embodiment of the present application four provides the system that speech talkback is initiated in another more specifically video monitoring, such as Fig. 4
It is shown, the structural schematic diagram of the system of speech talkback is initiated in a kind of video monitoring that Fig. 4 provides for the embodiment of the present application four.It should
System includes: that monitoring unit 201, detection unit 202, application unit 203, output unit 204, communication unit 205 and release are single
Member 206, wherein
Monitoring unit 201, for monitoring speech talkback instruction in real time in video upload interface;
Specifically, in the present embodiment, monitoring unit includes: sub- monitoring unit and acquiring unit, wherein
Sub- monitoring unit is used to monitor key-press event in video upload interface;
The key-press event that acquiring unit is used to be listened to according to sub- monitoring unit obtains speech talkback instruction.
Wherein, key-press event includes: volume+key button event, volume-key button event, power key key-press event, camera
Any one or more in key button event, mute key key-press event.
Detection unit 202, for when monitoring unit 201 listens to speech talkback instruction, whether detection currently to be applied arriving
To speaking right;
Application unit 203, for when detection unit 202 detect do not apply to speaking right when, apply to speaking right;
Output unit 204, for when detection unit 202 detect do not apply to speaking right when, output wait intercommunication mention
It wakes up;When detection unit 202, which detects, has applied to speaking right, output allows intercommunication to remind;
Communication unit 205, the voice for allowing intercommunication to remind input exported for receiving user according to output unit 204,
And voice is sent to intercommunication group other users terminal;
Releasing unit 206, the release for being inputted according to user instruct speaking right, discharge to speaking right.
It specifically repeats no more in the present embodiment, can refer to the related description section of embodiment two.
The embodiment of the present application three and example IV respectively provide the system that speech talkback is initiated in a kind of video monitoring, this is
System is instructed by monitoring speech talkback in video upload interface using monitoring unit, is utilized according to the speech talkback instruction listened to
Detection unit detects whether application to speaking right, and when detecting application to speaking right, output reminds instruction to inform that user can
With speech, the language of user is sent to intercommunication group other staff.The system, which passes through, directly carries out intercommunication in video upload interface,
Video upload and the progress of speech talkback while are realized, user's intelligence demand is met.
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 for including a series of elements not only includes that
A little elements, but also including 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, the highlights of each of the examples are with other
The difference of embodiment, the same or similar parts in each embodiment may refer to each other.
The foregoing description of the disclosed embodiments makes professional and technical personnel in the field can be realized or use the application.
Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the application.Therefore, the application
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest scope of cause.