CN100419640C - Method and system to realize selectivity standby of complex apparatus - Google Patents

Method and system to realize selectivity standby of complex apparatus Download PDF

Info

Publication number
CN100419640C
CN100419640C CNB2006101620793A CN200610162079A CN100419640C CN 100419640 C CN100419640 C CN 100419640C CN B2006101620793 A CNB2006101620793 A CN B2006101620793A CN 200610162079 A CN200610162079 A CN 200610162079A CN 100419640 C CN100419640 C CN 100419640C
Authority
CN
China
Prior art keywords
equipment complex
equipment
complex
video
idle condition
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.)
Expired - Fee Related
Application number
CNB2006101620793A
Other languages
Chinese (zh)
Other versions
CN1963725A (en
Inventor
张学勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vimicro Corp
Original Assignee
Vimicro Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Vimicro Corp filed Critical Vimicro Corp
Priority to CNB2006101620793A priority Critical patent/CN100419640C/en
Publication of CN1963725A publication Critical patent/CN1963725A/en
Application granted granted Critical
Publication of CN100419640C publication Critical patent/CN100419640C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

This invention discloses one method to realize compound device to select wait mode, which comprises the following steps: determining compound device spare status within preset time level to change the label information of compound device; re-listing compound device to identify the compound device into single visual frequency device and to order compound device into wait status. The invention also discloses one system to realize compound device selective wait status, which comprises compound device system and compound device application system.

Description

A kind of method and system of realizing the standby of equipment complex selectivity
Technical field
The present invention relates to choice of equipment and treat machine technology, particularly a kind of method and system of realizing the standby of equipment complex selectivity.
Background technology
The computer camera (PC Camera) of existing band USB audio frequency apparatus is an equipment complex, can be divided into video equipment and audio frequency apparatus two parts.When being applied to platforms such as notebook when this class computer camera, it is extremely important to economize on electricity.Usually in the prior art, come the economize on electricity of realization equipment by the selectivity standby.So-called selectivity standby is meant in the time span that relevant device is being preset and is not used always, then the driver of this equipment sends the application that enters holding state to console controller, console controller checks whether this equipment can enter holding state, if can, then the driver to this equipment sends the request that enters holding state, and equipment enters holding state after receiving this request, console controller is rationed the power supply the connectivity port of this equipment simultaneously, thereby reaches the purpose of economize on electricity.
But prior art can't realize the selectivity standby of this class equipment complex of PC camera, because the audio frequency apparatus of equipment complex and video equipment all have independently driver.And the driver of the USB audio frequency apparatus standard that to be Microsoft provide drives, and this drives does not support the selectivity standby.Therefore after the driver of video (Video) equipment sends the application that enters holding state to console controller, console controller finds that the audio frequency (Audio) of this equipment complex does not partly send application, thereby disagrees with that whole equipment complex enters holding state.
Summary of the invention
In view of this, fundamental purpose of the present invention is to provide a kind of method that realizes the standby of equipment complex selectivity, can realize the selectivity standby of equipment complex.
Another fundamental purpose of the present invention is to provide a kind of system that realizes the standby of equipment complex selectivity, realizes the selectivity standby of equipment complex.
First aspect in order to achieve the above object the invention provides a kind of method that realizes the standby of equipment complex selectivity, and this method comprises:
A, when determining that equipment complex is in idle condition always in default time span, change the zone bit of described equipment complex;
B, enumerate equipment complex again, described equipment complex is identified as single video equipment, determine once more whether described equipment complex is in idle condition in Preset Time length, always if then instruct this equipment complex to enter holding state.
Step B is described described equipment complex is identified as single video equipment after, further comprise: the identification information that changes described equipment complex once more, when determining to reuse described equipment complex, again enumerate equipment complex, described equipment complex is identified as again the equipment complex of audio frequency apparatus and video equipment composition.
Second aspect in order to achieve the above object, the invention provides a kind of system that realizes the standby of equipment complex selectivity, this system comprises: equipment complex system and equipment complex application system, and described equipment complex system comprises the equipment complex of being made up of video equipment and audio frequency apparatus, wherein
Described equipment complex system also comprises: the equipment complex identify unit is used to store the zone bit of described equipment complex;
Described equipment complex application system comprises:
Console controller is used for notifying this equipment complex of described video device driver unit to be in idle condition when definite described equipment complex is in idle condition; Also be used to receive the request that the video equipment that sends described video device driver unit enters holding state, and send the instruction that changes described equipment complex power supply status, make described equipment complex enter holding state to described equipment complex;
The video device driver unit, be used for knowing that described equipment complex is in idle condition, and when determining that described equipment complex is in idle condition always in Preset Time length, change the zone bit of the equipment complex in the described equipment complex identify unit, again enumerate equipment complex, described equipment complex is identified as single video equipment, determine once more whether described equipment complex is in idle condition always in Preset Time length, if then send the request that video equipment enters holding state to described console controller.
Described equipment complex identify unit can be programmable storage.
Described video device driver unit, after being further used for equipment complex is identified as single video equipment, change the equipment complex identification information in the described equipment complex identify unit once more, when determining to reuse described equipment complex, again enumerate equipment complex, described equipment complex is identified as again the equipment complex of audio frequency apparatus and video equipment composition.
Described equipment complex application system further comprises: timer,
Described video device driver unit is further used for when knowing that equipment complex is in idle condition, opens described timer, determines whether equipment complex is in idle condition always in Preset Time length; When equipment complex was used in Preset Time length, described video device driver unit was further used for instructing described timer to make zero.
By above technical scheme as seen, the method and system of realization equipment complex selectivity provided by the invention standby, when the equipment complex application system determines that equipment complex is in idle condition always in Preset Time length, by changing the identification information of described equipment complex, described equipment complex is identified as single video equipment, and instruct this equipment complex to enter holding state, thereby solved the problem that can't realize the standby of equipment complex selectivity in the prior art.
Further, the present invention is by after being identified as single video equipment with equipment complex, change the identification information of described equipment complex once more, when determining to reuse described equipment complex, again enumerate the equipment that equipment complex comprises, equipment complex is identified as the equipment complex of audio frequency apparatus and video equipment composition again, thereby had both realized the selectivity standby of equipment complex, guaranteed the normal use of equipment complex again.
Description of drawings
Fig. 1 is the process flow diagram of the realization equipment complex selectivity idle method of the embodiment of the invention;
Fig. 2 realizes the structural representation of equipment complex selectivity standby system for the embodiment of the invention.
Embodiment
For making purpose of the present invention, technical scheme and beneficial effect clearer, below in conjunction with enforcement
Described equipment complex application system further comprises: timer,
Described video device driver unit is further used for when knowing that equipment complex is in idle condition, opens described timer, determines whether equipment complex is in idle condition always in Preset Time length; When equipment complex was used in Preset Time length, described video device driver unit was further used for instructing described timer to make zero.
By above technical scheme as seen, the method and system of realization equipment complex selectivity provided by the invention standby, when the equipment complex application system determines that equipment complex is in idle condition always in Preset Time length, by changing the identification information of described equipment complex, described equipment complex is identified as single video equipment, and instruct this equipment complex to enter holding state, thereby solved the problem that can't realize the standby of equipment complex selectivity in the prior art.
Further, the present invention is by after being identified as single video equipment with equipment complex, change the identification information of described equipment complex once more, when determining to reuse described equipment complex, again enumerate the equipment that equipment complex comprises, equipment complex is identified as the equipment complex of audio frequency apparatus and video equipment composition again, thereby had both realized the selectivity standby of equipment complex, guaranteed the normal use of equipment complex again.
Description of drawings
Fig. 1 is the process flow diagram of the realization equipment complex selectivity idle method of the embodiment of the invention;
Fig. 2 realizes the structural representation of equipment complex selectivity standby system for the embodiment of the invention.
Embodiment
For making purpose of the present invention, technical scheme and beneficial effect clearer,, the present invention is done detailed description further below in conjunction with embodiment and accompanying drawing.
The method and system of realization equipment complex selectivity provided by the invention standby, when the equipment complex application system determines that equipment complex is in idle condition always in Preset Time length, by changing the identification information of described equipment complex, described equipment complex is identified as single video equipment, and instructs this equipment complex to enter holding state.
The method of realization equipment complex selectivity of the present invention standby comprises: when determining that equipment complex is in idle condition always in default time span, change the identification information of described equipment complex, again enumerate equipment complex, described equipment complex is identified as single video equipment, and instructs this equipment complex to enter holding state.
Here, after described equipment complex is identified as single video equipment, further comprise: the identification information that changes described equipment complex once more, when definite needs are reused described equipment complex, again enumerate equipment complex, equipment complex is identified as again the equipment complex of audio frequency apparatus and video equipment composition.
Fig. 1 is the process flow diagram of the realization equipment complex selectivity idle method of the embodiment of the invention.This flow process comprises the steps:
Step 101, equipment complex application system determine that equipment complex is in idle condition always in default time span.
Here, when the equipment complex application system determines that equipment complex is in idle condition, open a timer, determine whether equipment complex is in idle condition in default time span always.If in the middle of Preset Time length, equipment complex is not used, then execution in step 102; Otherwise, finish this flow process.
Default time span is an arbitrary value, can select between 5 to 15 seconds usually.
Step 102, the equipment complex application system changes the identification information of described equipment complex, enumerates the equipment that equipment complex comprises again, and equipment complex is identified as single video equipment, and after equipment complex is identified as single equipment, instruct this equipment complex to enter holding state.
The zone bit 0xal that has an equipment complex in the equipment complex identify unit that links to each other with equipment complex in the equipment complex system, when 0xal is that 1 interval scale is supported audio frequency apparatus, then the equipment complex application system is identified as equipment complex the equipment complex that comprises audio frequency apparatus and video equipment.The equipment complex identify unit can be programmable register (E 2Prom).
The equipment complex application system can realize the step that equipment complex is identified as single video equipment by the following method:
The equipment complex application system is changed to 0 with the equipment complex zone bit 0xal in the equipment complex system, and enumerate this equipment complex again, when at this moment equipment complex and equipment complex application system are shaken hands, only transmit the descriptor of single video equipment, the equipment complex application system is identified as single video equipment with equipment complex.
After the equipment complex application system was identified as single video equipment with equipment complex, the equipment complex application system instructed the equipment complex system that the equipment complex flag information is reverted to the preceding information of change again, in this embodiment for 0xal is changed to 1 again.Like this, after equipment complex enters holding state, if equipment complex need be used again, then the equipment complex application system is enumerated this equipment complex again, because zone bit is changed to 1 again, therefore this equipment complex still is identified as the combination of audio frequency apparatus and video equipment, thereby has guaranteed that this equipment complex can normally be used.
After the equipment complex application system is identified as single video equipment with this equipment complex, the equipment complex application system determines that this equipment complex is not used in Preset Time length, then the video equipment to this equipment complex sends the request that enters holding state, and then makes whole equipment complex enter holding state.Here Preset Time length is an arbitrary value, can select in the scope at 5 to 15 seconds usually.
Fig. 2 is the structural representation of the realization equipment complex selectivity standby system of the embodiment of the invention.This system comprises: equipment complex system and equipment complex application system.
Wherein, the equipment complex system comprises the equipment complex of being made up of audio frequency apparatus and video equipment, and the equipment complex identify unit, and the equipment complex application system comprises console controller, video device driver unit.
When console controller determined that equipment complex is in idle condition, this equipment complex of notice video device driver unit was in idle condition;
The video device driver unit knows that this equipment complex is in idle condition, and when determining that this equipment complex is in idle condition always in Preset Time length, by the equipment complex identification information in the console controller notice equipment complex change equipment complex identify unit, again enumerate this equipment complex, this equipment complex is identified as single video equipment, and sends the request that video equipment enters holding state to console controller.
After the video equipment that console controller reception driver unit sends enters the request of holding state, confirm that this equipment complex can enter holding state, and send the instruction that changes this equipment complex power supply status, make this equipment complex enter holding state.
In this embodiment, the video device driver unit further can be used for after equipment complex is identified as single video equipment, again recover equipment complex identification information in the equipment complex identify unit by console controller instruction equipment complex, when determining to reuse this equipment complex, again enumerate equipment complex, equipment complex is identified as the combination of video equipment and audio frequency apparatus again, guarantees that equipment complex is normally used.
Described equipment complex identify unit can be programmable storage (E 2Prom).It is 0 with the equipment complex mark position in the programmable storage that equipment complex can be notified by console controller in the video device driver unit, and enumerate the equipment that equipment complex comprises again, equipment complex is identified as single video equipment, and after equipment complex is identified as single video equipment, the instruction equipment complex is changed to 1 again with the equipment complex zone bit of programmable storage, and sends the request that video equipment enters holding state to usb host controller.
Described video device driver unit is after being identified as single video equipment with equipment complex, before the usb host controller unit sends equipment complex and enters the request of holding state, be further used for determining whether equipment complex is in idle condition always in Preset Time length, when determining to be, send the request that equipment complex enters holding state to usb host controller.
As shown in Figure 2, equipment complex application system among this embodiment further can comprise a timer, this timer can be used as the part of video device driver unit, be arranged on inside, video device driver unit, also can be arranged on the video drive unit outside separately, link to each other, when the video device driver unit knows that equipment complex is in idle condition with the video device driver unit, open this timer, determine whether equipment complex is in idle condition in Preset Time length always; If equipment complex is used in Preset Time length, then instruction timer in video device driver unit makes zero.
In a word, the above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (6)

1. a method that realizes the standby of equipment complex selectivity is characterized in that, this method comprises:
A, when determining that equipment complex is in idle condition always in default time span, change the zone bit of described equipment complex;
B, enumerate equipment complex again, described equipment complex is identified as single video equipment, determine once more whether described equipment complex is in idle condition in Preset Time length, always if then instruct described equipment complex to enter holding state.
2. the method for claim 1 is characterized in that, step B is described described equipment complex is identified as single video equipment after, further comprise:
Change the identification information of described equipment complex once more; When determining to reuse equipment complex, enumerate equipment complex again, equipment complex is identified as again the equipment complex of audio frequency apparatus and video equipment composition.
3. system that realizes the standby of equipment complex selectivity, this system comprises: equipment complex system and equipment complex application system, described equipment complex system comprises the equipment complex of being made up of video equipment and audio frequency apparatus, it is characterized in that,
Described equipment complex system also comprises: the equipment complex identify unit is used to store the zone bit of described equipment complex;
Described equipment complex application system comprises:
Console controller is used for notifying this equipment complex of described video device driver unit to be in idle condition when definite described equipment complex is in idle condition; Also be used to receive the request that the video equipment that sends described video device driver unit enters holding state, and send the instruction that changes described equipment complex power supply status, make described equipment complex enter holding state to described equipment complex;
The video device driver unit, be used for knowing that described equipment complex is in idle condition, and when determining that described equipment complex is in idle condition always in Preset Time length, change the zone bit of the equipment complex in the described equipment complex identify unit, again enumerate equipment complex, described equipment complex is identified as single video equipment, determine once more whether described equipment complex is in idle condition always in Preset Time length, if then send the request that video equipment enters holding state to described console controller.
4. system as claimed in claim 3 is characterized in that, described equipment complex identify unit is a programmable storage.
5. system as claimed in claim 3, it is characterized in that, described video device driver unit, after being further used for equipment complex is identified as single video equipment, change the equipment complex zone bit in the described equipment complex identify unit once more, when determining to reuse equipment complex, enumerate equipment complex again, equipment complex is identified as again the equipment complex of audio frequency apparatus and video equipment composition.
6. as each described system of claim 3 to 5, it is characterized in that described equipment complex application system further comprises: timer,
Described video device driver unit is further used for when knowing that equipment complex is in idle condition, opens described timer, determines whether equipment complex is in idle condition always in Preset Time length; When equipment complex was used in Preset Time length, described video device driver unit was further used for instructing described timer to make zero.
CNB2006101620793A 2006-12-08 2006-12-08 Method and system to realize selectivity standby of complex apparatus Expired - Fee Related CN100419640C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006101620793A CN100419640C (en) 2006-12-08 2006-12-08 Method and system to realize selectivity standby of complex apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006101620793A CN100419640C (en) 2006-12-08 2006-12-08 Method and system to realize selectivity standby of complex apparatus

Publications (2)

Publication Number Publication Date
CN1963725A CN1963725A (en) 2007-05-16
CN100419640C true CN100419640C (en) 2008-09-17

Family

ID=38082802

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006101620793A Expired - Fee Related CN100419640C (en) 2006-12-08 2006-12-08 Method and system to realize selectivity standby of complex apparatus

Country Status (1)

Country Link
CN (1) CN100419640C (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102645965A (en) * 2011-02-12 2012-08-22 中兴通讯股份有限公司 Method, system and device for enabling USB (universal serial bus) data card with U disc function to enter into dormant state

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1243286A (en) * 1998-06-30 2000-02-02 精工爱普生株式会社 Apparatus control device and apparatus judging method
CN1525285A (en) * 2003-06-03 2004-09-01 北京中星微电子有限公司 Method for accomplishing multi-mode switch when a digital video is connected with a computer
WO2005057436A1 (en) * 2003-11-14 2005-06-23 Drexel University Method and apparatus for computer-aided tissue engineering for modeling, design and freeform fabrication of tissue scaffolds, constructs, and devices
CN1708746A (en) * 2002-10-28 2005-12-14 尤密克斯有限公司 Attachable/detachable device and programs start method
US20060161547A1 (en) * 2005-01-07 2006-07-20 Yohko Ohtani Communication apparatus, communication method, and recording medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1243286A (en) * 1998-06-30 2000-02-02 精工爱普生株式会社 Apparatus control device and apparatus judging method
CN1708746A (en) * 2002-10-28 2005-12-14 尤密克斯有限公司 Attachable/detachable device and programs start method
CN1525285A (en) * 2003-06-03 2004-09-01 北京中星微电子有限公司 Method for accomplishing multi-mode switch when a digital video is connected with a computer
WO2005057436A1 (en) * 2003-11-14 2005-06-23 Drexel University Method and apparatus for computer-aided tissue engineering for modeling, design and freeform fabrication of tissue scaffolds, constructs, and devices
US20060161547A1 (en) * 2005-01-07 2006-07-20 Yohko Ohtani Communication apparatus, communication method, and recording medium

Also Published As

Publication number Publication date
CN1963725A (en) 2007-05-16

Similar Documents

Publication Publication Date Title
CN102214148B (en) Printer with USB (Universal Serial Bus) interface as well as driver installation method and system thereof
US20080022024A1 (en) Method for link bandwidth management
CN102830970B (en) A kind of hot-swap processing method being applicable to Linux embedded system
JP2009525515A5 (en)
CN102132523A (en) Device power management using network connections
CN102104936A (en) Method for switching system states and portable terminal
CN102176704A (en) Method, system and device for accessing wireless network through universal serial bus (USB) virtual network card
US20080177926A1 (en) Log memory access circuit, information processing apparatus
US8169939B2 (en) Mobile computation device and data packet reception method thereof
TW201106669A (en) Interface method for data TX/RX system using data stream
JP2011086175A (en) Information terminal and computer program
CN102323886B (en) Method for writing special information into terminal, device and system
CN101751265B (en) Updating system of basic input/output system of server and method thereof
CN100419640C (en) Method and system to realize selectivity standby of complex apparatus
CN102096646A (en) Method and device for starting wireless communication terminal
CN103778092A (en) USB and SD interface multiplex circuit and multiplex method
US6731924B2 (en) Apparatus and method for controlling data transfer transmitted via radio communication applicable to electronic equipment and electronic equipment communication system
CN102156648A (en) Wireless communication terminal starting method and device
CN102645965A (en) Method, system and device for enabling USB (universal serial bus) data card with U disc function to enter into dormant state
JP2010033506A (en) Duplication system, and active system determination method in duplication system
JP2005012766A5 (en)
US20070262977A1 (en) Automatic display power up method and display device using the same
KR101314600B1 (en) Method And Apparatus For Image Displaying
JP2007323103A (en) Board with on-board power and reset control method of board
KR100548413B1 (en) Data port connection status indicating method for mobile communication terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080917

Termination date: 20111208