CN103823772A - Method for enabling electronic device to reconnect with computer host and related electronic device - Google Patents

Method for enabling electronic device to reconnect with computer host and related electronic device Download PDF

Info

Publication number
CN103823772A
CN103823772A CN201210469846.0A CN201210469846A CN103823772A CN 103823772 A CN103823772 A CN 103823772A CN 201210469846 A CN201210469846 A CN 201210469846A CN 103823772 A CN103823772 A CN 103823772A
Authority
CN
China
Prior art keywords
electronic installation
controller
main frame
operating system
physical button
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
Application number
CN201210469846.0A
Other languages
Chinese (zh)
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.)
Transcend Information Inc
Original Assignee
Transcend Information Inc
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 Transcend Information Inc filed Critical Transcend Information Inc
Priority to CN201210469846.0A priority Critical patent/CN103823772A/en
Publication of CN103823772A publication Critical patent/CN103823772A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Systems (AREA)

Abstract

The invention discloses a method for enabling an electronic device to reconnect with a computer host. An entity connecting mode of the electronic device and the computer host is realized mainly through a USB (universal serial bus) interface, and once the electronic device is removed from an operation system of the computer host, reconnection can be realized through an entity button on the electronic device to enable the operation system to reacquire control power of the electronic device. The invention further discloses a related electronic device which comprises a controller and an entity button. The entity button can be selectively connected to different pin positions of the controller through a path I or a path II by a switcher, so that the related electronic device is enabled to drive different functions respectively when being in different states in the operation system of the computer host. By the method, once the electronic device is removed from the operation system of the computer host, reconnection can be realized through the entity button on the electronic device to enable the operation system to reacquire the control power of the electronic device.

Description

Electronic installation is obtained linking method and related electronic device with main frame again
Technical field
The present invention is main about a kind of method and related electronic device that makes electronic installation again obtain link with main frame, and espespecially a kind of physical button utilizing on electronic installation makes electronic installation again set up with main frame operating system the method linking.
Background technology
Design of electronic products direction is towards compact becoming in recent years, therefore derives the periphery electronic product of many circumscribeds.Take mobile computer as example, for can make mobile computer volume more frivolous, be easy to carry, thereby develop the circumscribed electronic product such as external connected hand disk, circumscribed CD.Refer to Fig. 1, external connected hand disk product, it is for example the external connected hand disk 10 in figure, for promoting user in the convenience of data backup demand, existing most manufacturers design a physical button on external connected hand disk, be referred to as " singly-bound backup " function (One Touch Backup, OTB), it is for example the singly-bound backup button 102 possessing on external connected hand disk 10, when external connected hand disk 10 is in the operating system of main frame during in connecting state, press after singly-bound backup button 102, can be by the data backup in main frame to specific data folder position in external connected hand disk.
Universal serial bus (Universal Serial Bus, hereinafter to be referred as USB) connecting interface is for the most common at present, and the highest link interface of versatility.In the time using USB connecting interface as the connector of periphery electronic product and main frame, must see through the step that safety removes, periphery electronic product is removed in the operating system of main frame, store action and then cause data damage because removing action improperly causes part data not complete avoiding, when situation is serious, even may cause Missing data.With the Windows operating system of company is example, and the connecting state that is provided with USB device in system shows, must follow the built-in step that removes, and makes USB device in online be able to safety and removes in main frame.Except this, as Republic of China's patent of invention number I314687 patent, a kind of physical button that arranges is also proposed on USB portable memory device, by this by the USB portable memory device method that safety removes in computer operating system.
See through safety and remove mechanism and no doubt can guarantee the integrality of data, once but after USB device removes through operating system from main frame, now still be connected that is actual removal not in USB device entity with main frame.If USB device again will be set up and linked with main frame, have only USB device re-started after entity plug, make main frame again detecting obtain USB device connecting state, be quite not convenient for user.Therefore be necessary to provide a kind of more convenient mode, make USB device again re-establish link with main frame operating system.
Summary of the invention
The present invention is mainly provides a kind of electronic installation that makes again to obtain the method for link and relevant electronic installation to main frame.
According to the electronic installation that makes of the present invention with the method step that main frame operating system obtains link be again: electronic installation is connected in to main frame through a connecting interface entity; Press physical button, trigger electronic device controller; Judge the operating system of electronic installation in main frame, whether remove pattern in safety; If so, electronic device controller triggers through physical button, makes electronic installation again set up and link with main frame; If not, the preset function in electronic device controller is activated, and makes electronic installation in main frame, carry out a preset function, for example, carry out the functions such as archives backup or electronic installation remove safely.
According to another kind of electronic installation of the present invention, comprise a controller, a physical button, physical button one end sees through a switch and is optionally connected to controller through a path one or path two; Switch guide path one or path two are connected to controller and depend on the state of electronic installation in the operating system of main frame and determine, in the time of state that electronic installation removes in safety in operating system, switch is connected guide path one by physical button and controller, therefore the pin position that controller is responsible for detecting connecting interface after physical button is pressed is because being triggered, again obtain the connecting state of electronic installation, and the operating system of main frame regains the control of USB device; When electronic installation in operating system in link state time, switch is connected guide path two by physical button and controller, therefore the pin position that controller is responsible for detecting preset function after physical button is pressed is triggered, controller carries out this preset function to main frame.
For above and other objects of the present invention, feature and advantage can be become apparent, preferred embodiment cited below particularly, and coordinate appended graphic elaborating.
Accompanying drawing explanation
The electronic device appearance figure of Fig. 1 for illustrating according to prior art.
Fig. 2 is the method flow diagram according to preferred embodiment provided by the present invention.
Fig. 3 A to 3B is the USB device intraware schematic diagram according to preferred embodiment provided by the present invention.
Fig. 4 is the USB device intraware schematic diagram according to another preferred embodiment provided by the present invention.
Wherein, description of reference numerals is as follows:
10 external connected hand disks
102 singly-bound backup buttons
30 USB devices
S200, S210, S220, S230, S240 step
300 controllers
301 USB detecting pin positions
310 buttons
320 switchs
321 paths one
322 paths two
40 USB devices
400 controllers
401 buttons
402 pin positions
410 pin positions
Embodiment
The present invention is mainly provides a kind of electronic installation that makes again to obtain the method for link and relevant electronic installation to main frame, wherein said electronic installation and main frame are in preferred embodiment explanation of the present invention, main connected mode connects for seeing through USB interface, but the present invention is not as limit, such as any operating system seeing through in main frame, carried out the connecting interface that safety removes, all belonged to category of the present invention.Electronic installation of the present invention simultaneously, comprise that its body at least possesses the electronic installation that has a physical button and a USB connecting interface, also or possess and have the USB of physical button connection wire in (below all referred to as USB device), the relevant USB device that all personages who knows the technical field of the invention can know by inference easily, also all belongs to category of the present invention.The physical button that described USB device possesses, data backup or equipment safety that its function is not limited to described in preferred embodiment of the present invention remove, such as the main frame that is enough to drive this USB device and/or connect is carried out a specific function, all belongs to concrete form and the function of physical button of the present invention.
First referring to Fig. 2, is a foundation preferred embodiment process flow diagram provided by the present invention, and each step is described in detail as follows.
Step S200: start, now USB device is connected in main frame through USB connecting interface entity, the power supply supply that receiving computer main frame provides according to this and set up data transfer path;
Step S210: press the physical button configuring on USB device, trigger USB Setup Controller;
Step S220: judge whether USB device now in the operating system in main frame, removes pattern in safety.If so, carry out step S230, the anti-step S240 that carries out.As previously mentioned, because can carrying out safety through the operating system of main frame, USB device removes program, even therefore described in step S200, although USB device is connected in main frame through USB connecting interface entity, but for the operating system in main frame, this USB device still may remove state in safety, between electronic installation and main frame, now cannot carry out data transmission;
Trigger through button USB detecting pin position in step S230:USB Setup Controller, makes USB device again set up and link with main frame;
Trigger through button preset function detecting pin position in step S240:USB Setup Controller, and now preset function is activated, and makes USB device carry out this preset function to main frame.
Next coordinate Fig. 3 A to Fig. 3 B to illustrate content, further describe for step S210 ~ S240.Fig. 3 A and 3B are USB device 30 internal controllers 300 and button 310 connection diagrams of preferred embodiment of the present invention, the necessary assembly of all the other composition USB devices 30 omits and is not illustrated in figure, know the free combination of personage Ke Yi prior art content of the technical field of the invention, to complete the particular content of preferred embodiment of the present invention.For example, if USB device 30 is an external connection type memory apparatus, wherein must possess memory subassembly.Button 310 is installed on USB device 30 bodies, and the pattern of composition can be as the configuration of Fig. 1 prior art.
As shown in Fig. 3 A and 3B, button 310 one end are ground connection, the other end can see through switch 320 and optionally be connected to controller 300 through path 1 or path 2 322, when user pushes button 310 time, can be considered controller 300 is wherein seen through to path 1 or path 2 322 conducting ground connection in part pin position, trigger controller 300 is carried out specific function.In preferred embodiment of the present invention, path 1 is connected to controller 300 in order to trigger USB detecting pin position 301, and path 2 322 is connected to controller 300 and removes function detecting pin position in order to trigger data backup functionality or safety.Although button 310 one end in the present embodiment is ground state, but design in response to the running of controller, or circuit connects the difference of laying, optionally connect other electronic package, or even only button 310 one end are designed to be connected to controller 300, in the time of pressing keys 310, transmit an electronic signal with trigger controller start, the present invention is not limited.That is all physical button trigger controllers 300 that utilizes operate, or carry out predefined corresponding function, all belong to category of the present invention.
Switch 320 guide path 1 or path 2 322 are connected to controller 300, depend on by the state of controller 300 feedback USB devices 30 in the operating system of main frame and determine.First in the time of state that USB device 30 removes in safety in operating system, now USB device 30 is not controlled by main frame, and also cannot obtain USB device 30 information in operating system.Switch 320 is now after the state of via controller 300 feedback USB devices 30, button 310 and controller 300 be connected to guide path 1, that is push button 310 time as user, controller 300 is responsible for the USB detecting pin position 301 of detecting connecting interface because of path one 321 conducting ground connection, user decontrols the rear controller 300 of button 3 10 and opens and again link USB device 30 to main frame because of one 321 sections, path, and makes the operating system of main frame regain the control of USB device 30.What need specify at this is, in the time of state that USB device 30 removes in safety in operating system, though USB device 30 is connected in main frame through USB connecting interface entity, but operating system now there is no control for USB device 30 in non-link state that cannot mutual data transmission, but main frame still can continue USB device 30 continued powers by USB connecting interface, so that the USB of button 3 10 trigger controllers 300 detecting pin position 301 ground connection while being linked to main frame again, being possessed electric power and are again linked USB device 30.Except this, for example, if having power supply assembly (: accumulator) in USB device 30, also can reach by this identical function.
Otherwise, when USB device 30 in operating system in link state time, now USB device 30 is controlled by main frame, and also can obtain USB device 30 information in operating system.After this connecting state of now via controller 300 feedbacks of switch 320, button 310 and controller 300 be connected to guide path 2 322, that is push button 310 time as user, the function detecting pin position that controller 300 is responsible for detecting preset function is triggered because of ground connection, this Time Controller 300 will be carried out preset function to main frame, for example, be that executing data backs up or USB device 30 safety in operating system is removed.This part and prior art content are approximate, repeat no more in this.Except this, because depending on the state of USB device 30 in the operating system of main frame, the guiding of switch 320 determines, once therefore user carries out safety by USB device 30 and removes in the operating system of main frame, now switch 320 will switch by controlled device 300, transfers guide path 1 by the state of original guide path 2 322; If otherwise USB device 30 is former in removing state in safety in operating system, once again obtain and the connection relationship of USB device 30 by button 310 trigger controllers 300, now switch 320 will be by the state of original guide path 1 then guide path 2 322.Controller 300 switches the mode of switch 320, can see through a pin (not shown) by controller 300 and be connected to switch 320, simultaneously by switch 320 with transistorized pattern setting controlled device 300 control and switch.
Next referring to Fig. 4, is another embodiment according to proposed by the invention.The button 410 of USB device 40 is connected to the controller 400 of USB device 40 through single-pathway, when user pushes button after 410, make controller trigger startup because of ground connection.In previous embodiment, utilize switch 320 to determine the triggering pin position of controller, and then the triggering behavior of decision USB device 40, in the present embodiment when controller 400 is pressed because of button 410, ground connection and triggering after startup, status is why in the operating system of main frame now to judge USB device 40 by controller.In the time of state that USB device 40 removes in safety in operating system, this Time Controller 400, by triggering the pin position 401 of being responsible for detecting USB, makes the operating system of main frame regain the control of USB device.Anti-when USB device 40 is in operating system when the state in link, now USB device 40 is controlled by main frame, controller 400 will trigger the pin position 402 of detecting preset function, this Time Controller 400 will be carried out preset function to main frame, for example, be that data backup function or USB device 40 remove safely function.The corelation behaviour pattern of above-mentioned relevant controlling device 400, can utilize be for example firmware carry out mode reach, or in controller 400 indoor designs as the routing pattern of Fig. 3 A to 3B switch 320, the present invention is not limited.Except this, although button 410 one end in the present embodiment is ground state, but design in response to the running of controller, or circuit connects the difference of laying, optionally connect other electronic package, or even only button 410 one end are designed to be connected to controller 400, and in the time of pressing keys 410, transmitting an electronic signal with trigger controller start, the present invention is not limited.All physical button trigger controllers 400 that utilizes operate, or carry out predefined corresponding function, all belong to category of the present invention.
In sum, the invention provides a kind of method that makes electronic installation again obtain link with main frame, electronic installation is mainly through USB interface and is connected with the connected mode of main frame, after once electronic installation removes in the operating system of main frame, can again link by the physical button on electronic installation, make operating system again obtain the control of electronic installation.The present invention provides a kind of electronic installation in addition, wherein at least include a controller, a physical button, wherein physical button can see through a switch and optionally be connected to the different pin position of controller by a path one or path two, the different response modes of controller are triggered, make by this electronic installation in computer system, in the time of different conditions, be driven respectively difference in functionality.For example, because the physical button on electronic installation was designed to drive a single specific function (: data backup or safety remove) originally, therefore for electronic installation, use technology contents provided by the present invention needn't change outward appearance mechanism design.
Although the present invention provides as above with preferred embodiment; so it is not in order to limit the present invention, anyly has the knack of this skill person, without departing from the spirit and scope of the present invention; when doing a little change and retouching, therefore protection scope of the present invention is when being as the criterion depending on the accompanying claim person of defining.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (13)

1. a method that makes an electronic installation again obtain link with a main frame, this electronic installation at least comprises a controller and a physical button, this electronic installation sees through a connecting interface with this main frame and is connected, this main frame has an operating system, the method is characterized in that, comprising:
This physical button is accepted a pressed by external force;
Judge this electronic installation with respect to this operating system as removing state or connecting state;
If this electronic installation is with respect to this operating system for removing state, this controller triggers after this physical button is subject to this pressed by external force, and then makes this electronic installation present connecting state in this operating system; And
If this electronic installation is connecting state with respect to this operating system, this controller triggers after this physical button is subject to this pressed by external force, and then makes this electronic installation carry out a preset function to this main frame.
2. the method for claim 1, it is characterized in that, this controller triggers after this physical button is subject to this pressed by external force, and then the step that makes this electronic installation present connecting state in this operating system comprises: by a connecting interface detecting pin position conducting ground connection of this controller.
3. method as claimed in claim 2, it is characterized in that, this controller triggers after this physical button is subject to this pressed by external force, and then the step that makes this electronic installation carry out this preset function to this main frame comprises: by a function detecting pin position conducting ground connection of this controller.
4. method as claimed in claim 2, is characterized in that, this connecting interface detecting pin position of this controller is a USB detecting pin position, and this connecting interface is a USB interface.
5. method as claimed in claim 3, is characterized in that, this preset function is a data backup function.
6. method as claimed in claim 3, is characterized in that, this preset function is one to remove safely function.
7. an electronic installation, is applicable to connect a main frame through a connecting interface, and this main frame comprises an operating system, and this electronic installation is characterised in that, comprising:
One controller, comprises a connecting interface detecting pin position, a function detecting pin position;
One physical button, is optionally connected to this controller through a Yi Heyi path, path two; And
One switch, be arranged between this controller and this physical button, wherein when this electronic installation presents while removing state in this operating system of this main frame, this switch is connected to this controller by this physical button through this path one, and this physical button is triggered this connecting interface detecting pin position after a pressed by external force, make this electronic installation again in this operating system, present connecting state; And in the time that this electronic installation presents connecting state in this operating system, this switch is connected to this controller by this physical button through this path two, and this physical button is triggered this function detecting pin position after this pressed by external force, make this electronic installation in this main frame, carry out a preset function.
8. electronic installation as claimed in claim 7, is characterized in that, this physical button one end is ground connection, so that this physical button is after this pressed by external force, this connecting interface detecting pin position of this controller and this function detecting pin position are triggered because of ground connection.
9. the electronic installation as described in 7 of claims the, is characterized in that, this switch and this path one, this path two are all integrated and are arranged in this controller.
10. the electronic installation as described in 7 of claims the, is characterized in that, this connecting interface detecting pin position is a USB interface detecting pin position, and this connecting interface is a USB interface.
11. electronic installations as described in 10 of claims the, is characterized in that, this preset function is a data backup function.
12. electronic installations as described in 10 of claims the, is characterized in that, this preset function is one to remove safely function.
13. 1 kinds of electronic installations, are applicable to connect a main frame through a connecting interface, and this main frame comprises an operating system, and this electronic installation is characterised in that, comprising:
One controller, comprises a connecting interface detecting pin position, a function detecting pin position; And
One physical button, is connected to this controller;
Wherein, when this electronic installation presents while removing state in this operating system of this main frame, after this physical button is pressed, make this controller trigger this connecting interface detecting pin position, and then this electronic installation present connecting state again in this operating system; And in the time that this electronic installation presents connecting state in this operating system, after this physical button is pressed, make this controller trigger this function detecting pin position, make this electronic installation in this main frame, carry out a preset function.
CN201210469846.0A 2012-11-19 2012-11-19 Method for enabling electronic device to reconnect with computer host and related electronic device Pending CN103823772A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210469846.0A CN103823772A (en) 2012-11-19 2012-11-19 Method for enabling electronic device to reconnect with computer host and related electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210469846.0A CN103823772A (en) 2012-11-19 2012-11-19 Method for enabling electronic device to reconnect with computer host and related electronic device

Publications (1)

Publication Number Publication Date
CN103823772A true CN103823772A (en) 2014-05-28

Family

ID=50758850

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210469846.0A Pending CN103823772A (en) 2012-11-19 2012-11-19 Method for enabling electronic device to reconnect with computer host and related electronic device

Country Status (1)

Country Link
CN (1) CN103823772A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101165670A (en) * 2006-10-19 2008-04-23 英业达股份有限公司 USB portable memory device safe removing method
CN101231625A (en) * 2007-01-25 2008-07-30 三星电子株式会社 Apparatus and method for controlling USB operation
CN201142490Y (en) * 2007-12-26 2008-10-29 北京飞天诚信科技有限公司 USB switching equipment with switch
US20110060850A1 (en) * 2008-01-17 2011-03-10 Bluebird Soft Co., Ltd. Mobile device of supporting uart and usb communication using same connector and operating method there-of

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101165670A (en) * 2006-10-19 2008-04-23 英业达股份有限公司 USB portable memory device safe removing method
CN101231625A (en) * 2007-01-25 2008-07-30 三星电子株式会社 Apparatus and method for controlling USB operation
CN201142490Y (en) * 2007-12-26 2008-10-29 北京飞天诚信科技有限公司 USB switching equipment with switch
US20110060850A1 (en) * 2008-01-17 2011-03-10 Bluebird Soft Co., Ltd. Mobile device of supporting uart and usb communication using same connector and operating method there-of

Similar Documents

Publication Publication Date Title
EP3200311B1 (en) Method and device for controlling charging and electronic device
CN102292687B (en) Providing power to an accessory during portable computing device hibernation
CN101452435B (en) USB terminal mode switching method and terminal
CN102915289B (en) Data transmission method
CN103064816A (en) SIM (subscriber identity module) card hot plug protection method and terminal, and SIM card in-place power-down swiping method and terminal
CN201887835U (en) System capable of controlling household appliances by utilizing intelligent mobile phone
CN103634169A (en) A household electrical appliance control system realized based on intelligent terminals
CN104540091A (en) Automatic pairing system and automatic pairing method based on bluetooth equipment
TWI463364B (en) System and method for touch device with external input function
CN104349304A (en) Information processing method and electronic equipment
CN104777891A (en) OTG (on-the-go) connecting control method applied to intelligent terminal and connecting control device
CN104199319A (en) Method and terminal for controlling cooking tool through terminal
CN102147779A (en) USB (universal serial bus) peripheral processing unit and USB peripheral processing method
CN101980159B (en) Updating device and updating method for firmware of U disk
US20160380704A1 (en) Method and system for shortening wireless pairing connection time by detecting an object or body
CN105677232A (en) Method and device for processing unlocking interfaces
CN103780763A (en) Device and method for implementing infrared remote control on basis of smartphone USB interface
CN103839398A (en) Remote controller key value information processing method, control apparatus and remote controller
CN104599473A (en) Switching method and switching device of wireless communication mode
CN201608697U (en) Short-message interactive remote switch
CN103823772A (en) Method for enabling electronic device to reconnect with computer host and related electronic device
CN103561478A (en) Method and device for automatically achieving wireless connection between devices
CN105392109A (en) Wireless connection method and device
CN203038282U (en) Universal serial bus (USB) interface protective device and terminal equipment
KR101487763B1 (en) Synchronization and control systems of smart devices and peripherals using USB communication and the methods

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20140528

WD01 Invention patent application deemed withdrawn after publication