CN104778041A - Management method and management system for multi-program shared speech equipment - Google Patents
Management method and management system for multi-program shared speech equipment Download PDFInfo
- Publication number
- CN104778041A CN104778041A CN201510140069.9A CN201510140069A CN104778041A CN 104778041 A CN104778041 A CN 104778041A CN 201510140069 A CN201510140069 A CN 201510140069A CN 104778041 A CN104778041 A CN 104778041A
- Authority
- CN
- China
- Prior art keywords
- equipment
- program
- speech ciphering
- ciphering equipment
- interface
- 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
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses a management method and a management system for multi-program shared speech equipment. The method comprises the following steps: when the system initializes an interface of the speech equipment, if the equipment is not used, setting a marker which indicates that the equipment is used under the condition that the equipment is successfully started, recording a process number of a calling interface program and searching for an application program name according to the process number; if the equipment is used, returning, informing external equipment of the process number and application program name of the used equipment; when the system closes the interface of the speech equipment, eliminating the marker which indicates that the equipment is used under the condition that the equipment is successfully turned off, and eliminating the process number and application program name which are recorded in a process of starting the equipment; and after a notification that the speech equipment is used is received by an application program, performing corresponding treatment or prompting according to specific application demands. According to the management method and the management system, the problems that a program which needs equipment urgently can not occupy equipment resources and the user experience is poor are solved, and the method and the system can respond to the system and user demands in time.
Description
Technical field
The present invention relates to the technical field of television sets of band speech ciphering equipment, be specifically related to management method and system that a kind of multiprogram shares speech ciphering equipment.
Background technology
Along with the development of universal, the voice technology of intelligent artifact, voice control procedure also enjoys the parent of consumer to look at, and intelligent television carries voice control procedure becomes trend.And a terminal has simultaneously multiple voice program, how to manage these voice programs, allow the speech ciphering equipment that their reasonable employment are common, what current operating system adopted is first first principle.The shortcoming that this mode exists is: 1 once there be program not discharge speech ciphering equipment, and after this all voice programs all can not normally use.2, user's request can not be responded in time, poor user experience.
Summary of the invention
Instant invention overcomes the deficiencies in the prior art, provide a kind of and can share management method and the system of speech ciphering equipment according to user's request and programmed logic, the reasonably multiprogram of Managing speech equipment.
Consider the problems referred to above of prior art, according to an aspect disclosed by the invention, the present invention by the following technical solutions:
Multiprogram shares a management method for speech ciphering equipment, and it comprises the following steps:
Step one, in the interface of system initialization speech ciphering equipment, if equipment is not used, dividing in the successful situation of equipment of opening installs standby by the mark used, and records the process number of calling interface program, and searches the name of its application program according to process number; If equipment is used, then return and will use process number and the application name notice outside of this equipment;
Step 2, in the interface of system closing speech ciphering equipment, equipment of removing in the successful situation of closing device by the mark used, and removes the process number and application name that record when opening equipment;
After step 3, application program receive the occupied notice of speech ciphering equipment, according to concrete application demand, make corresponding process or prompting.
In order to realize the present invention better, further technical scheme is:
According to one embodiment of the invention, when detecting that speech ciphering equipment is occupied, record takies No. pid of program, takies the appname of program according to this pid acquisition; When needing to start new voice program, according to No. pid of use device program, obtaining appname, if appname is null character string, now normally can start voice program; If appname non-NULL, represent now speech ciphering equipment to be taken by other programs, judge whether voice program is the program that user controls according to appname, if user control program, prompting user current device is shared by the program being opened, restart new voice program again after exiting this program, if not user control program, by Speech Control Logic, speech ciphering equipment is discharged.
According to another embodiment of the invention, unified voice initialization apparatus interface is all used to all programs and closes speech ciphering equipment interface.
According to another embodiment of the invention, in the interface of system initialization speech ciphering equipment, the equipment that arranges is by the mark used.
According to another embodiment of the invention, in the interface of system initialization speech ciphering equipment, the program number of record invocation facility initialization interface and program name.
According to another embodiment of the invention, in the interface of system closing speech ciphering equipment, remove speech ciphering equipment by the mark that uses and program number and program name.
According to another embodiment of the invention, when opening speech ciphering equipment in device initialize interface and close when discharging speech ciphering equipment in speech ciphering equipment interface, all external program can be notified.
The present invention can also be:
Multiprogram shares a management system for speech ciphering equipment, and it comprises:
For in the interface of system initialization speech ciphering equipment, if equipment is not used, the successful situation of equipment of opening divide into install standby by the mark used, and record the process number of calling interface program, and the name of its application program is searched according to process number, if equipment is used, then return and the process number and application name that use this equipment are notified outside device;
For in the interface of system closing speech ciphering equipment, equipment of removing in the successful situation of closing device by the mark used, and removes the device of process number and the application name recorded when opening equipment;
After being externally received the occupied notice of speech ciphering equipment, according to concrete application demand, make the device of corresponding process or prompting.
According to another embodiment of the invention, it comprise one for detecting that speech ciphering equipment is occupied time, record takies No. pid of program, the appname of program is taken according to this pid acquisition, when needing to start new voice program, according to No. pid of use device program, obtain appname, if appname is null character string, now normally voice program can be started; If appname non-NULL, represent now speech ciphering equipment to be taken by other programs, judge whether voice program is the program that user controls according to appname, if user control program, prompting user current device is shared by the program being opened, new voice program is restarted again after exiting this program, if not user control program, device speech ciphering equipment discharged by Speech Control Logic.
Compared with prior art, one of beneficial effect of the present invention is:
A kind of multiprogram of the present invention shares management method and the system of speech ciphering equipment, unified management is all needs the program taking speech ciphering equipment, when starting new speech program, initiatively closing or pointing out user to close the program of the equipment that takies, timely responding system and user's request; Solve the program of urgtented need equipment and the problem accounted for less than device resource, poor user experience.
Accompanying drawing explanation
In order to clearer explanation present specification embodiment or technical scheme of the prior art, below the accompanying drawing used required in the description to embodiment or prior art is briefly described, apparently, the accompanying drawing that the following describes is only the reference to some embodiments in present specification, for those skilled in the art, when not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 shows the management process schematic diagram that multiprogram according to an embodiment of the invention shares speech ciphering equipment.
Embodiment
Below in conjunction with embodiment, the present invention is described in further detail, but embodiments of the present invention are not limited thereto.
Shown in Figure 1, a kind of multiprogram shares the management method of speech ciphering equipment, and it comprises the following steps:
Step one, in the interface of system initialization speech ciphering equipment, if equipment is not used, dividing in the successful situation of equipment of opening installs standby by the mark used, and records the process number of calling interface program, and searches the name of its application program according to process number; If equipment is used, then return and will use process number and the application name notice outside of this equipment;
Step 2, in the interface of system closing speech ciphering equipment, equipment of removing in the successful situation of closing device by the mark used, and removes the process number and application name that record when opening equipment;
After step 3, application program receive the occupied notice of speech ciphering equipment, according to concrete application demand, make corresponding process or prompting.
Further, unified voice initialization apparatus interface all used to all programs and close speech ciphering equipment interface.
In the interface of system initialization speech ciphering equipment, the equipment that arranges is by the mark used.
In the interface of system initialization speech ciphering equipment, the program number of record invocation facility initialization interface and program name.
In the interface of system closing speech ciphering equipment, remove speech ciphering equipment by the mark that uses and program number and program name.
When opening speech ciphering equipment in device initialize interface and close when discharging speech ciphering equipment in speech ciphering equipment interface, all external program can be notified.
The present invention is by the program of all use speech ciphering equipments of unified management, record current No. pid of using device program, appname is obtained according to No. pid, when starting new speech program, if be not empty according to No. pid appname obtained, the now equipment that represents is taken by other programs, other programs after speech ciphering equipment release can need be used speech ciphering equipment.
Another embodiment, uses this technology to succeed with on the android intelligent television of phonetic function.When systems axiol-ogy is occupied to speech ciphering equipment, record takies No. pid of program, can obtain the appname of the program of taking according to process number.When needing to start new voice program, according to No. pid of use device program, obtaining appname, if appname is null character string, now normally can start voice program.If appname non-NULL, represent now speech ciphering equipment to be taken by other programs, judge whether voice program is the program that user controls, if user control program according to appname, prompting user current device, shared by the program being opened, restarts new voice program after exiting this program again.If not user control program, by Speech Control Logic, speech ciphering equipment is discharged.
Those skilled in the art share the technical scheme of the management method of speech ciphering equipment according to above multiprogram, can obtain the management system that a kind of multiprogram realizing said method shares speech ciphering equipment.
In this instructions, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiment, identical similar portion cross-reference between each embodiment.
Spoken of in this manual " embodiment ", " another embodiment ", " embodiment ", etc., refer to the specific features, structure or the feature that describe in conjunction with this embodiment and be included at least one embodiment of the application's generality description.Multiple place occurs that statement of the same race is not necessarily refer to same embodiment in the description.Furthermore, when describing specific features, structure or a feature in conjunction with any embodiment, what advocate is also fall within the scope of the invention to realize this feature, structure or feature in conjunction with other embodiments.
Although with reference to multiple explanatory embodiment of the present invention, invention has been described here, but, should be appreciated that, those skilled in the art can design a lot of other amendment and embodiment, these amendments and embodiment will drop within spirit disclosed in the present application and spirit.More particularly, in the scope of and claim open in the application, multiple modification and improvement can be carried out to the building block of subject combination layout and/or layout.Except the modification of carrying out building block and/or layout is with except improvement, to those skilled in the art, other purposes also will be obvious.
Claims (9)
1. multiprogram shares a management method for speech ciphering equipment, it is characterized in that it comprises the following steps:
Step one, in the interface of system initialization speech ciphering equipment, if equipment is not used, dividing in the successful situation of equipment of opening installs standby by the mark used, and records the process number of calling interface program, and searches the name of its application program according to process number; If equipment is used, then return and will use process number and the application name notice outside of this equipment;
Step 2, in the interface of system closing speech ciphering equipment, equipment of removing in the successful situation of closing device by the mark used, and removes the process number and application name that record when opening equipment;
After step 3, application program receive the occupied notice of speech ciphering equipment, according to concrete application demand, make corresponding process or prompting.
2. multiprogram according to claim 1 shares the management method of speech ciphering equipment, and when it is characterized in that detecting that speech ciphering equipment is occupied, record takies No. pid of program, takies the appname of program according to this pid acquisition; When needing to start new voice program, according to No. pid of use device program, obtaining appname, if appname is null character string, now normally starting voice program; If appname non-NULL, represent now speech ciphering equipment to be taken by other programs, judge whether voice program is the program that user controls according to appname, if user control program, prompting user current device is shared by the program being opened, restart new voice program again after exiting this program, if not user control program, by Speech Control Logic, speech ciphering equipment is discharged.
3. multiprogram according to claim 1 shares the management method of speech ciphering equipment, it is characterized in that all using unified voice initialization apparatus interface to all programs and closing speech ciphering equipment interface.
4. multiprogram according to claim 1 shares the management method of speech ciphering equipment, it is characterized in that in the interface of system initialization speech ciphering equipment, and the equipment that arranges is by the mark used.
5. multiprogram according to claim 1 shares the management method of speech ciphering equipment, it is characterized in that in the interface of system initialization speech ciphering equipment, the program number of record invocation facility initialization interface and program name.
6. the multiprogram according to claims 1 shares the scheme of speech ciphering equipment management, it is characterized in that in the interface of system closing speech ciphering equipment, removes speech ciphering equipment by the mark that uses and program number and program name.
7. the multiprogram according to claims 1 shares the scheme of speech ciphering equipment management, when it is characterized in that opening speech ciphering equipment in device initialize interface and when discharging speech ciphering equipment in closedown speech ciphering equipment interface, all can notify external program.
8. multiprogram shares a management system for speech ciphering equipment, it is characterized in that it comprises:
For in the interface of system initialization speech ciphering equipment, if equipment is not used, the successful situation of equipment of opening divide into install standby by the mark used, and record the process number of calling interface program, and the name of its application program is searched according to process number, if equipment is used, then return and the process number and application name that use this equipment are notified outside device;
For in the interface of system closing speech ciphering equipment, equipment of removing in the successful situation of closing device by the mark used, and removes the device of process number and the application name recorded when opening equipment;
After being externally received the occupied notice of speech ciphering equipment, according to concrete application demand, make the device of corresponding process or prompting.
9. the multiprogram according to claims 8 shares the scheme of speech ciphering equipment management, it is characterized in that it comprise one for detecting that speech ciphering equipment is occupied time, record takies No. pid of program, the appname of program is taken according to this pid acquisition, when needing to start new voice program, according to No. pid of use device program, obtain appname, if appname is null character string, now normally start voice program; If appname non-NULL, represent now speech ciphering equipment to be taken by other programs, judge whether voice program is the program that user controls according to appname, if user control program, prompting user current device is shared by the program being opened, new voice program is restarted again after exiting this program, if not user control program, device speech ciphering equipment discharged by Speech Control Logic.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510140069.9A CN104778041A (en) | 2015-03-24 | 2015-03-24 | Management method and management system for multi-program shared speech equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510140069.9A CN104778041A (en) | 2015-03-24 | 2015-03-24 | Management method and management system for multi-program shared speech equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104778041A true CN104778041A (en) | 2015-07-15 |
Family
ID=53619527
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510140069.9A Pending CN104778041A (en) | 2015-03-24 | 2015-03-24 | Management method and management system for multi-program shared speech equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104778041A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106101367A (en) * | 2016-05-26 | 2016-11-09 | 广东欧珀移动通信有限公司 | Recording processing method and system |
CN107463386A (en) * | 2017-08-31 | 2017-12-12 | 四川长虹电器股份有限公司 | A kind of management android applies multi-lingual method |
WO2018210049A1 (en) * | 2017-05-17 | 2018-11-22 | 中兴通讯股份有限公司 | Audio occupation processing method, device, and storage medium |
CN109408119A (en) * | 2018-01-29 | 2019-03-01 | 维沃移动通信有限公司 | A kind of labeling method and terminal device of application program |
CN112000411A (en) * | 2020-08-18 | 2020-11-27 | 青岛海信移动通信技术股份有限公司 | Mobile terminal and display method of recording channel occupation information thereof |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103106117A (en) * | 2012-12-25 | 2013-05-15 | 青岛海信电器股份有限公司 | Resource allocation method and electronic equipment |
CN103389900A (en) * | 2013-07-23 | 2013-11-13 | Tcl集团股份有限公司 | Control method and device for Android equipment camera |
CN103544061A (en) * | 2013-10-30 | 2014-01-29 | 乐视致新电子科技(天津)有限公司 | Smart television based safe exit method and device for external storage device |
CN103677848A (en) * | 2013-12-27 | 2014-03-26 | 厦门雅迅网络股份有限公司 | Camera control method based on Android |
CN103702046A (en) * | 2013-12-18 | 2014-04-02 | 四川长虹电器股份有限公司 | Method for opening voice equipment in selectable mode |
CN103793246A (en) * | 2014-01-22 | 2014-05-14 | 深圳Tcl新技术有限公司 | Method and system for coordinating camera resources |
-
2015
- 2015-03-24 CN CN201510140069.9A patent/CN104778041A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103106117A (en) * | 2012-12-25 | 2013-05-15 | 青岛海信电器股份有限公司 | Resource allocation method and electronic equipment |
CN103389900A (en) * | 2013-07-23 | 2013-11-13 | Tcl集团股份有限公司 | Control method and device for Android equipment camera |
CN103544061A (en) * | 2013-10-30 | 2014-01-29 | 乐视致新电子科技(天津)有限公司 | Smart television based safe exit method and device for external storage device |
CN103702046A (en) * | 2013-12-18 | 2014-04-02 | 四川长虹电器股份有限公司 | Method for opening voice equipment in selectable mode |
CN103677848A (en) * | 2013-12-27 | 2014-03-26 | 厦门雅迅网络股份有限公司 | Camera control method based on Android |
CN103793246A (en) * | 2014-01-22 | 2014-05-14 | 深圳Tcl新技术有限公司 | Method and system for coordinating camera resources |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106101367A (en) * | 2016-05-26 | 2016-11-09 | 广东欧珀移动通信有限公司 | Recording processing method and system |
CN106101367B (en) * | 2016-05-26 | 2019-03-22 | Oppo广东移动通信有限公司 | Recording processing method and system |
WO2018210049A1 (en) * | 2017-05-17 | 2018-11-22 | 中兴通讯股份有限公司 | Audio occupation processing method, device, and storage medium |
CN108958692A (en) * | 2017-05-17 | 2018-12-07 | 中兴通讯股份有限公司 | A kind of audio occupancy treating method and apparatus |
CN107463386A (en) * | 2017-08-31 | 2017-12-12 | 四川长虹电器股份有限公司 | A kind of management android applies multi-lingual method |
CN109408119A (en) * | 2018-01-29 | 2019-03-01 | 维沃移动通信有限公司 | A kind of labeling method and terminal device of application program |
CN109408119B (en) * | 2018-01-29 | 2021-12-21 | 维沃移动通信有限公司 | Application program marking method and terminal equipment |
CN112000411A (en) * | 2020-08-18 | 2020-11-27 | 青岛海信移动通信技术股份有限公司 | Mobile terminal and display method of recording channel occupation information thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104778041A (en) | Management method and management system for multi-program shared speech equipment | |
CN103793246A (en) | Method and system for coordinating camera resources | |
WO2015131679A1 (en) | Task process processing method and device | |
CN106031227B (en) | Data traffic management method and device | |
CN104219288B (en) | Distributed Data Synchronization method and its system based on multithreading | |
CN104503828B (en) | A kind of process management method and terminal | |
CN112269640B (en) | Method for realizing life cycle management of container cloud component | |
CN103164229A (en) | Method and device for clearing progresses of mobile terminal | |
CN103995787A (en) | Regulation and control method and device for camera applications | |
CN104142844A (en) | Method and device for clearing processes of mobile terminal | |
CN105426244B (en) | Application process management method and application process managing device | |
CN103268258B (en) | A kind of satellite ground remote control is issued an order method of controlling security | |
CN104020999B (en) | A kind of management method of application program and system | |
CN105786519B (en) | Android device program management method and android device | |
CN103729240A (en) | Application program control method | |
CN103049327A (en) | Method and device for mounting many storage devices on android system | |
CN106095593B (en) | A kind of forward and backward scape application behavior synchronous method and device | |
CN103257700A (en) | Energy saving method and energy saving device for Android system | |
CN106557404B (en) | Application control method and mobile terminal | |
CN105930190B (en) | A kind of program self-start method and device based on operating system | |
CN108958808A (en) | Method for starting terminal and device, terminal and storage medium | |
CN109889406A (en) | For managing method, apparatus, equipment and the storage medium of network connection | |
CN105808299A (en) | External device automatic mounting and informing control method and system | |
CN112363836A (en) | Android system camera resource control method | |
CN105072185A (en) | TR069 (Technical Report 069) remote monitoring method and system, and communication equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150715 |
|
RJ01 | Rejection of invention patent application after publication |