CN100403284C - Method for exchanging data using semiconductor storage with host system function - Google Patents

Method for exchanging data using semiconductor storage with host system function Download PDF

Info

Publication number
CN100403284C
CN100403284C CNB031401376A CN03140137A CN100403284C CN 100403284 C CN100403284 C CN 100403284C CN B031401376 A CNB031401376 A CN B031401376A CN 03140137 A CN03140137 A CN 03140137A CN 100403284 C CN100403284 C CN 100403284C
Authority
CN
China
Prior art keywords
unit
host system
external unit
external
host computer
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 - Lifetime
Application number
CNB031401376A
Other languages
Chinese (zh)
Other versions
CN1581120A (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.)
Netac Technology Co Ltd
Original Assignee
LANGKE SCIENCE AND TECHNOLOGY Co Ltd SHENZHEN CITY
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 LANGKE SCIENCE AND TECHNOLOGY Co Ltd SHENZHEN CITY filed Critical LANGKE SCIENCE AND TECHNOLOGY Co Ltd SHENZHEN CITY
Priority to CNB031401376A priority Critical patent/CN100403284C/en
Publication of CN1581120A publication Critical patent/CN1581120A/en
Application granted granted Critical
Publication of CN100403284C publication Critical patent/CN100403284C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Abstract

The present invention discloses a method for exchanging data by using a semiconductor storage device having a host system operation function. The method comprises steps: whether host system operation is executed, or whether host system role change is executed is judged according to a user request or a predetermined mode; the information and the related parameters of the external device are obtained according to the acknowledgement of executing the host system operation or the result of executing the host system role change; a target device list and/or target device drivers are loaded according to the obtained information and related parameters, and the external device is initialized according to the standard method of the USB OTG technical protocol; a data exchange channel between the host computer system and the external device is established according to the standard method of the USB OTG technical protocol, and the data exchange operation of the host system is executed. The method of the present invention can enable the semiconductor storage device to be used as an external mobile storage device as well as a host system of other external devices, so that the direct data exchange between the semiconductor storage device and other external devices is realized.

Description

Utilization has the method for the semiconductor storage swap data of host computer system function
Technical field
The present invention relates to data communication field, relate in particular to and in data exchange process, utilize semiconductor storage to carry out the method for exchanges data with host system operation function.
Background technology
Maturation along with development of Communication Technique and semiconductor memory technologies, driven the development of Large Volume Data semiconductor memory technologies, Chinese patent " electronic flash storage method and the device thereof that are used for data handling system " (China Patent No.: ZL99117225.6) disclose a kind of be adapted to USB interface, with semiconductor memory method and the device of flash memory (Flash Memory) as storage medium, the product of implementing according to this patented method has application group widely at present.But such semiconductor storage product does not have host function, and just is applied to the mobile storage of data as the external unit of computer system always, do not support and other external units between the immediate data communication, as digital camera, printer etc.; Prior art solves the data communication between such semiconductor storage product and other external units, also can only realize indirectly by the data communication between computer system and other external units; Therefore, this has limited such semiconductor memory technologies and product to a certain extent and uses widely and develop.
The development of USB 2.0 protocol technologies and its additional standard USB OTG (On-The-Go) technology makes above-mentioned semiconductor storage product carry out the immediate data communication with it as main frame support and other external units and becomes a reality.USB OTG technology is as the complementary agreement and the standard of USB 2.0 protocol technologies, simultaneously also as a kind of new technology and standard, support the host function of existing external unit, making not to need by host computer system directly to carry out data communication fully between mobile device and the USB external unit, that is to say that USB OTG technology finally is through with, and exchange connects the status of ties to host computer system as various external unit immediate datas; By the USBOTG technology, external unit both can be used as main frame, also can be used as auxiliary device, mutual communication each other, and can consult to determine which equipment is as main frame according to actual conditions; The above-mentioned characteristic of USB OTG technology is in conjunction with the high-speed transfer of USB 2.0 technology, thereby makes USB OTG technology obtain attention and application more and more widely.
Summary of the invention
At the development and the application of above-mentioned the deficiencies in the prior art and USB OTG technology, the objective of the invention is to propose the method that a kind of utilization has the semiconductor storage swap data of host system operation function.
The method that the present invention utilizes semiconductor storage to carry out exchanges data realizes that by the following technical solutions described semiconductor storage connects external unit by its interface unit, also comprises step:
Judge whether to carry out host system operation according to user's request or predetermined way;
Obtain the information and the correlation parameter of described external unit according to the result who confirms the execution host system operation;
According to the information and correlation parameter loaded targets list of devices and/or the target device driver that obtain, described external unit is carried out initialization operation according to the method for normalizing of USB OTG technical protocol;
According to the method for normalizing foundation of USB OTG technical protocol and the data exchange channel between the external unit, carry out the data exchange operation of host computer system.
The invention provides the method for swap data that a kind of utilization has the semiconductor storage of host system operation function, the interface unit of implementing according to method of the present invention connects different external unit or host computer system, and the system software that setting has the host system operation ability in described semiconductor storage, automatically detect the equipment that connects, type according to connection device can automatically switch at host mode and external unit pattern, and carries out its corresponding function as external unit or host computer system.The inventive method can make semiconductor storage both can be used as outside flash memory device, can be used as the host computer system of other external device (ED)s again, realize the immediate data exchange of described semiconductor storage and other external device (ED)s, promptly can print file as directly connect printer by interface unit, connecting digital camera can download or upload pictures or picture, and connecting hand-hold communication appliance is commutative personal data etc.
Further describe the formation and the course of work of apparatus of the present invention and method below in conjunction with accompanying drawing, can more clearly understand essence of the present invention and advantage, identical identical parts of mark representative among the figure.
Description of drawings
Fig. 1 is the application exemplary plot that utilization of the present invention has the semiconductor storage swap data of host system operation function;
Fig. 2 is the hardware principle block scheme of the device embodiment one of the inventive method use;
Fig. 3 is the hardware principle block scheme of the device embodiment two of the inventive method use;
Fig. 4 is the work synoptic diagram of the device embodiment one of the inventive method use;
Fig. 5 a is the work synoptic diagram of the device embodiment two of the inventive method use;
Fig. 5 b is the electrical structure synoptic diagram of the Mini-AB stube cable of the inventive method embodiment two uses;
Fig. 6 is the controller unit hardware configuration schematic diagram of the device embodiment of the inventive method use;
Fig. 7 is the workflow diagram that the device embodiment one of the inventive method use carries out host system operation;
Fig. 8 is the workflow diagram that the inventive method operative installations embodiment two carries out the host computer system role transforming.
Embodiment
Host computer system of the present invention, make a general reference various equipment, include but not limited to various personal computers, small-size computer, microcomputer, palm PC, Hand Personal Computer, notebook computer or data processing work station etc. with data processing and host function.
External unit of the present invention, general reference is applied to the external electronic device of above-mentioned various host computer systems, includes but not limited to printer, scanner, facsimile recorder, external memory, digital camera, digital code camera, digital music equipment (as MP3 player, CD player) or mobile communication equipment (as mobile phone, smart mobile phone, PDA) etc.
Fig. 1 is the application exemplary plot that utilization of the present invention has the semiconductor storage swap data of host system operation function.The employed device of foundation method of the present invention can be used as the host computer system of other equipment, and said here other equipment not only comprise external unit, also comprise various types of above-mentioned host computer systems; As shown in Figure 1, apparatus of the present invention can connect such as digital camera, Digital Video, printer, carry-on digital equipment, projector, mobile phone, PDA or computing machine etc., and can be used as the host computer system of institute's connection device.
Fig. 2 and Fig. 3 show the hardware configuration principle of two embodiments of device of the inventive method use.A kind of semiconductor storage 100 is provided, and this described a kind of semiconductor storage with host system operation function realizes that by the following technical solutions in conjunction with shown in Figure 6, described device comprises:
Controller unit 10, this unit is connected with each unit of described device, be used for the operation of control data transmission and realization host computer system, described controller unit 10 comprises microcontroller 101, USB otg controller 102, dma controller 103, is used to deposit the ROM 104 and the buffer memory RAM 105 of solidification software, described microcontroller 101, USB otg controller 102 can be respectively independently on function and structure, also can integrate;
Flash cell 21, this unit is connected with controller unit 10, is used for application storing, target device driver or system software; In embodiments of the present invention, be with the promptly usually alleged flash memory of flash memory (Flash Memory) as storage medium, but do not departing from all belonging in the invention institute restricted portion of inventive concept with the scheme of other semiconductor storage medium as storage medium.Storage medium includes but not limited to flash memory (Flash Memory), DRAM, EEPROM, SRAM, FRAM, MRAM or Millipede, can adopt one or more semi-conductor chip.
Interface unit 30, this unit is connected with controller unit 10, and described interface unit 30 can be used to connect external unit, makes described semiconductor storage can be used as the host computer system of other external units; Described interface unit 30 also can be used to connect host computer system, as the external memory of connected host computer system; As shown in Figure 2, described interface unit 30 comprises USB master interface unit 301 and USB from interface unit 302, and described USB master interface unit 301 is used to connect external unit, makes described semiconductor storage can be used as the host computer system of other external units; Described USB is used to connect host computer system from interface unit 302, as the external memory of connected host computer system.As shown in Figure 3, described interface unit 30 is Mini-AB interface units 311, and this Mini-AB interface unit 311 both can connect external unit, can connect host computer system again, as the external unit of the host computer system or the host computer system of external unit.
Information indicating unit 40, this unit is connected with controller unit 10, and described information indicating unit 40 is platforms of end message prompting and operation indication, is used to point out static information and multidate information;
Described Input Control Element 50 can comprise a plurality of input buttons, represents respectively and carries out different feature operations.
Described power supply unit 60 provides three kinds of power supply modes, promptly provides USB interface to obtain power supply, self-powered or external power supply from host computer system.
Foregoing interface unit 30 is used to connect host computer system or external unit, and it can be an interface, also can be a plurality of interfaces, and a plurality of interfaces can integrate physically becomes an interface; Interface unit 30 can also be to have dissimilar multiple interfaces; The interface of interface unit 30 is all supported its corresponding interface agreement and is met its respective electric codes and standards.
As known to persons of ordinary skill in the art, USB 2.0 and USB OTG technical protocol have stipulated to comprise standard A plug and socket, Mini-A plug and socket, standard B plug and socket, Mini-B plug and socket and Mini-AB interface, wherein standard A plug and socket, Mini-A plug and socket are used for host computer system, standard B plug and socket, Mini-B plug and socket are used for external unit, the Mini-AB interface is a kind of interface type of the newly-increased definition of USB OTG protocol technology, both the Mini-A plug can be adapted to, also the Mini-B plug can be adapted to.
Described power supply unit 60 provides three kinds of power supply modes, promptly provides USB interface to obtain power supply, self-powered or external power supply from host computer system.When apparatus of the present invention connect host computer system and during as the external unit of host computer system, apparatus of the present invention are then directly obtained power supply from the USB interface of host computer system, and provide needed power supply supply by power converting circuit for it; When apparatus of the present invention connect external unit and during as the host computer system of external unit, apparatus of the present invention then by self-powered for it provides the power supply supply, and provide the power supply supply for external unit by interface unit 30; Perhaps provide the power supply supply for apparatus of the present invention with the external unit that is connected, thereby can provide necessary host computer system power supply for external unit by external power supply; Described power supply unit 60 is realized the principle and the circuit structure of power supply supply, and those of ordinary skills do not give unnecessary details at this as can be known.
Described power supply unit 60 is on the circuit constituent relation, and each unit of it and other directly or indirectly is connected, and as shown in Figures 2 and 3, but therefore the convenience in order to represent does not all represent this annexation in Fig. 2 and Fig. 3.
Described information indicating unit 40 can be in order to prompting static information and multidate information as the platform of end message prompting of the present invention and operation indication; The mode of described information indicating can be liquid crystal (LCD) demonstration, dot matrix LEDs, LED luminance, sound and/or the prompting of vibrations device etc.; This information indicating unit 40 also can be provided with manual overvide, utilizes this device to realize the manual control of information indicating, and this manual overvide is not limited to button.
The described information indicating of apparatus of the present invention embodiment unit 40 main liquid crystal (LCD) that adopt show; Apparatus of the present invention are during as the external unit of host computer system, and the information of described liquid crystal (LCD) display reminding includes but not limited to the information of user profile, apparatus characteristic information, work state information and other predefineds; Apparatus of the present invention are during as the host computer system of external unit, and the information of described liquid crystal (LCD) display reminding includes but not limited to external unit information, host service function information, external unit feedback information or the like.
Described Input Control Element 50 is used to import user's control information or operation requests, and the mode of its enforcement has multiple, includes but not limited to keyboard, button, button, toggle switch and/or touching device, and the embodiment of the invention adopts the button input.Described Input Control Element 50 is set up with controller unit 10 and is electrically connected, the user by Input Control Element 50 its operation requests of input and/control information, controller unit 10 receives operation requests and/or the control information from described Input Control Element 50 inputs, and carry out corresponding operational order, realize the function that user's operation requests and/or control information need.
The Input Control Element 50 of the embodiment of the invention can comprise a plurality of input buttons, represents respectively and carries out different feature operations.Switch (being that the principal and subordinate is switched), function selecting, function executing, data transmission, data modification, file printout, browsing file etc. as mode of operation, the difference in functionality button of the corresponding described Input Control Element 50 of difference, these function buttons receive different operation requests and/or control information, and these operation requests and/or control information are transferred to described controller unit 10.
As known to persons of ordinary skill in the art, the Input Control Element 50 of apparatus of the present invention is the touching device of touch-screen or other types also, perhaps can also combine, make mode of operation and operation process more directly perceived like this, more convenient user with described information indicating unit 40.
Fig. 4 and Fig. 5 are the work synoptic diagram of above-mentioned two embodiment of the inventive method operative installations.Interface unit 30 (not shown) embodiment illustrated in fig. 4 comprise that USB master interface unit 301 and USB are from interface unit 302, described USB master interface unit 301 is used to connect external unit, makes described semiconductor storage 100 can be used as the host computer system of other external units; Described USB is used to connect host computer system from interface unit 302, as the external memory of connected host computer system.Interface unit 30 (not shown) embodiment illustrated in fig. 5 are Mini-AB interfaces 311, and described Mini-AB interface 311 can be connected to different external units or host computer system by the stube cable with Mini-A joint and Mini-B joint.
As shown in Figure 4, described USB can be the USB interface or the micro USB interface (being the Mini-USB interface) of standard from interface unit 302, USB interface that also can the criteria of right and wrong, be USB from interface unit 302 can be that electric signal and physical arrangement and physical size all meet the USB standard, also can have only electric signal to meet the USB standard but its physical arrangement and be of a size of non-USB standard.Similarly, described USB master interface unit 301 can be the USB interface of standard, supports USB OTG (being USB On-The-Go) technical protocol and USBOTG interface electrical equipment standard, also can be micro USB interface or Mini-AB interface; Described master interface unit 301 can directly connect the USB interface of external unit, the USB interface that perhaps connects external unit by stube cable, and the external unit that can also be connected dissimilar interfaces by stube cable with conversion equipment, as the host computer system of the external unit that connects.
Described controller unit 10 is as key control unit, both can be independent, also can comprise two or more sub-control modules, described each sub-control module is being controlled the work of principal and subordinate interface or other unit respectively, the interface protocol co-ordination by being correlated with between each sub-control module.
Described controller unit 10 as shown in Figure 6, comprise microprocessor 101, USB otg controller 102, dma controller 103, be used to deposit the ROM 104 and the buffer memory RAM 105 of solidification software, described microprocessor 101, USB otg controller 102 can be respectively independently on function and structure, also can integrate.
Described controller unit 10 is provided with solidification software (being Firmware) and/or system software, thereby makes apparatus of the present invention have the high speed operation and the external unit high speed data transfer of host system operation ability, support host computer system.Described solidification software and/or system software are supported usb protocol and USB OTG agreement, and link up agreement (HNP:Host NegotiationProtocol) and conversation request agreement (SRP:Session Request Protocol) by main frame and realize described present embodiment device 100, and the system request and the operation requests of described host system response and execution external unit as host system operation or as the role transforming of external unit.Described main frame is linked up agreement and the conversation request agreement is the core protocol of USB OTG technology, wherein main frame communication agreement allows the host computer system of connection to carry out the role transforming of host computer system or external unit by communication, be of the negotiation of interconnective different host computer system by both sides, can be each other himself role be changed, this conversion can have been got rid of the artificial conversion regime that passes through switch.Wherein the conversation request agreement allows supply of external unit requesting host system power supply and conversation request, described conversation request agreement allows host computer system to keep the power supply supply under sleep state, and the power supply supply of external unit necessity is provided when externally equipment has conversation request.
Operation requests/control information of solidification software and/or system software response and execution user, provide the user to operate or control the operating platform of apparatus of the present invention 100, make apparatus of the present invention 100 realize data transmission and other system function as the host computer system of other external units as the external unit host computer system.
Solidification software and/or system software comprise application program, and described application program adapts to different external units respectively, carries out different functions at different external units.For example when external unit was printer, application program can comprise image print program, picture browsing program, document display program, file printout program, file save routine etc.; When external unit is the MP3 player, application program can comprise music data exchanger, voice playing program, uploads/the file in download program etc.; When external unit was mobile phone, application program comprised information exchange routine, information editing's program, information print routine, email application, uploads/the file in download program, picture browsing program etc.; These application programs are called by solidification software or system software, carry out its function corresponding respectively.These application programs can be pre-defined or be provided with, and also can be host computer system or network system download or the renewals from connecting, and can also be to call or be provided with from the external unit that connects.
Controller unit 10 also is provided with target device tabulation (Targeted Peripheral List) and target device driver.Because present embodiment has the host system operation ability, when present embodiment device during as the host computer system of external unit, in order to adapt to and to support other various external units, as printer, scanner, digital camera, Digital Video, mobile phone etc., controller unit 10 is provided with the list of devices that includes various external unit information and parameter, can discern the device type and the unit type of the external unit of described connection by described target device tabulation; And by loading the target device driver that described target device tabulation is pointed to, the external unit of described connection is carried out various initialization operations.
Controller unit 10 not only comprises the target device tabulation and the target device driver of said external equipment, also comprise the target device tabulation and the target device driver of various host computer systems such as personal computer, palm PC, notebook computer, OTG digital camera, OTG memory storage etc., thereby can discern and the various host computer systems of initialization.
Foregoing application program, target device driver and system software can be stored or be arranged in the described controller unit 10, or are stored in the flash cell 21; Described application program, target device driver and system software can also be from host computer system or network system download or the renewals that is connected; Controller unit 10 can call application program, target device driver or the system software that is stored in the flash cell 21 by solidification software or system software.
Specifically introduce principle of work and the workflow of apparatus of the present invention embodiment below in conjunction with accompanying drawing.
As Fig. 2 and shown in Figure 4, the device 100 that described embodiment method is used connects host computer system such as individual PC by USB from interface unit 302, as the External memory equipment of host computer system, realizes the mobile storage with host computer system exchanges data and data.The device that the inventive method is used as External memory equipment and with the exchanges data of host computer system, become mature technology for known to those of ordinary skills, do not repeat them here.
As Fig. 2 and shown in Figure 4, the device 100 that described embodiment method is used connects external unit 200 (step S701 shown in Figure 7) as printer, digital camera etc. by USB master interface unit 301, wherein external unit 200 comprises two types, the one, described external unit 200 is common USB external units, the 2nd, described external unit 200 has the host system operation function, below will be from the working condition of two aspect explanation present embodiments.
When described external unit 200 is the common USB external unit, as shown in Figure 7, described controller unit 10 judges whether to carry out host system operation (step S702) according to user's request or predetermined way, here user's request of being said is meant that the user passes through the control command of the execution host system operation of Input Control Element 50 inputs, and promptly manual mode is carried out host system operation; Described predetermined way is meant that described controller unit 10 carries out host system operation according to described solidification software or the predefined host service function mode of system software, and promptly automated manner is carried out host system operation.When controller unit 10 is confirmed to carry out host system operation, described controller unit 10 promptly detects the external unit (step S703) that connects, this detection comprises whether detect described device 100 is connected with external unit, type of external device and model etc., and obtain the information and the correlation parameter of described external unit according to the feedback result of external unit, simultaneously, the information of making shows device parameters such as the device type of described external unit, model, duty by controller unit 10 processing and in described information indicating unit 40.
After described controller unit 10 obtains the information and correlation parameter of external unit, according to described facility information and correlation parameter loaded targets list of devices (TPL), and according to described target device tabulation loaded targets device driver (step S704); Controller unit 10 carries out initialization operation (step S705) according to the ruuning situation of described target device driver to described external unit simultaneously, herein, described initialization operation mainly comprises initialization, configure host system (being present embodiment device 100) and the external unit 200 of USB interface agreement and sets up being connected etc. between described device 100 and the external unit 200.After described device 100 (this device has become host computer system at this moment) is finished the initialization to external unit, controller unit 10 is set up the data exchange channel (step S706) between described device 100 and the external unit 200 according to the method for normalizing of described USB OTG technical protocol; At this moment, controller unit 10 can receive the operation requests/control information through Input Control Element 50 or external unit 200, resolve, change, control and transmit the operation requests/control information (step S707) of these inputs according to the method for normalizing of USB OTG technical protocol, carry out host system operation, realize the exchanges data between described device 100 and the external unit 200.
When described external unit 200 is when having the external unit of host system operation function, described controller unit 10 carries out different operations according to the interface type of described USB master interface unit 301 and the external unit 200 that is connected is different.As being that external unit 200 interfaces of standard A plug or Mini-A plug, connection are when being standard B socket or Mini-B socket when USB master interface unit 301, then according to the method for normalizing of USB and USB OTG technical protocol, present embodiment device 100 is as host computer system, and it realizes that host system operation illustrates referring to the foregoing description; When USB master interface unit 301 is standard B socket or Mini-B socket, when external unit 200 interfaces that connect are standard A plug or Mini-A plug, then according to the method for normalizing of USB and USB OTG technical protocol, present embodiment device 100 is as external unit, described external unit is realized the exchanges data between described device 100 and the external unit 200 (this moment is as host computer system) as host computer system 200 this moments;
As Fig. 3 is the functional-block diagram of an alternative embodiment of the invention, in the present embodiment, described present embodiment device 100 and external unit 200 all are double mode OTG equipment, all have the host system operation ability, support USB OTG technical protocol, can provide necessary working power for external unit; Described present embodiment device 100 comprises controller unit 10, flash cell 21, Mini-AB interface unit 311, information indicating unit 40, Input Control Element 50 and power supply unit 60, wherein power supply unit 60 comprises self-poweredly, can provide the host power supply supply for present embodiment device 100 and external unit.Present embodiment device 100 is as the host computer system of acquiescence, external unit 200 is as the external unit of acquiescence, described device 100 is connected host computer system or external unit by Mini-AB interface unit 311 with the Mini-AB stube cable, both can be used as the external unit of host computer system, again as the host computer system of external unit, and realize the exchanges data between host computer system or the external unit and the mobile storage of data.
In the present embodiment, the flow process of the structure of device 100, each Elementary Function, execution host system operation repeats no more like preceding described.OTG equipment role transforming each other that present embodiment will stress double mode (promptly both can be used as the external unit of host computer system, and can be used as the host computer system of external unit again).
Fig. 8 is the workflow diagram that the inventive method operative installations embodiment two carries out the host computer system role transforming.Described embodiment device 100 connects external equipment 200 (step S801) as the host computer system of acquiescence, carry out the various data manipulations (step 802) of host computer system, as detect outside OTG equipment, loaded targets list of devices and target device driver, carry out initialization operation, carry out exchanges data etc. with external unit 200.
After described controller unit 10 receives and requires host computer system to carry out the operation requests of role transforming (step S803), this operation requests can be the operation requests of the execution host computer system role transforming imported of user, also can be the operation requests that the host computer system role transforming is carried out in requirement that described external unit 200 sends; Wherein the user to import and carry out host computer system role transforming operation requests can be the operation requests that the host computer system role transforming is carried out in requirement that the user passes through Input Control Element 50 inputs, also can carry out the host computer system role transforming by the connected mode of transposing stube cable.Because (electrical structure of Mini-AB stube cable is shown in Fig. 5 b for the electrical structure principle of Mini-AB stube cable and Mini-AB interface, the ground connection that connects the host computer system end produces a low level), when the Mini-A plug connects described device 100, device 100 is as host computer system, when the Mini-A plug connected described external unit 200, external unit 200 was as host computer system.Described controller unit 10 receive require host computer system to carry out the operation requests of role transforming after, judge to confirm whether carry out host computer system role transforming operation (step S804) according to user's request or predetermined way, when controller unit 10 confirms to carry out host computer system role transforming operation, described controller unit 10 is promptly linked up the method for normalizing of agreement (HNP) and conversation request agreement (SRP) according to main frame, carry out host computer system role transforming operation (step S805), thereby make external unit 200 as host computer system, device 100 is as external unit, and this moment, the working power of device 100 was provided by described external unit 200; Simultaneously, after carrying out host computer system role transforming operation, host computer system (this moment, external unit 200 became host computer system) is carried out sequence of operations to installing 100 (having become external unit this moment), as initialization operation, loaded targets list of devices and driver operation etc.; And described external unit 200 is carried out host system operation according to the information feedback and the operation requests of device 100, realizes data storage and exchanges data with described device 100.
The semiconductor storage that utilization provided by the invention has a host system operation function carries out the method for swap data, use this method, make semiconductor storage not only can be used as the external unit of various host computer systems, can also realize host computer system as other host computer system or external unit, strengthen the application function of semiconductor storage, widened the range of application of semiconductor storage.
The semiconductor storage that utilization in sum has a host system operation function carries out the method for swap data, will fall into claim of the present invention institute restricted portion at the various remodeling to technical solution of the present invention that do not depart from inventive concept.

Claims (7)

1. a utilization has the method for the semiconductor storage swap data of host system operation function, and described semiconductor storage connects external unit by its interface unit, it is characterized in that, also comprises step:
Judge whether to carry out host system operation according to user's request or predetermined way;
Obtain the information and the correlation parameter of described external unit according to the result who confirms the execution host system operation;
According to the information and correlation parameter loaded targets list of devices and/or the target device driver that obtain, described external unit is carried out initialization operation according to the method for normalizing of USB OTG technical protocol;
According to the method for normalizing foundation of USB OTG technical protocol and the data exchange channel between the external unit, carry out the data exchange operation of host computer system.
2. method according to claim 1 is characterized in that: also be provided with solidification software and/or the system software of carrying out host system operation function and exchanges data.
3. method according to claim 2 is characterized in that: described predetermined way is meant according to described solidification software or the pre-defined host service function mode of system software and automatically performs host system operation.
4. method according to claim 2 is characterized in that: described solidification software and/or system software are supported usb protocol and USB OTG agreement.
5. according to the described method of the arbitrary claim of claim 1 to 4, it is characterized in that: the host system operation of carrying out described semiconductor storage by main frame communication agreement and conversation request agreement.
6. according to the described method of the arbitrary claim of claim 1 to 4, it is characterized in that: also comprise being provided with application program, described application program adapts to different external units respectively, carries out different operations at different external units.
7. according to the described method of the arbitrary claim of claim 1 to 4, it is characterized in that: described external unit is one or more in printer, scanner, facsimile recorder, external memory, digital camera, digital code camera, digital music equipment or the mobile communication equipment.
CNB031401376A 2003-08-09 2003-08-09 Method for exchanging data using semiconductor storage with host system function Expired - Lifetime CN100403284C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB031401376A CN100403284C (en) 2003-08-09 2003-08-09 Method for exchanging data using semiconductor storage with host system function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB031401376A CN100403284C (en) 2003-08-09 2003-08-09 Method for exchanging data using semiconductor storage with host system function

Publications (2)

Publication Number Publication Date
CN1581120A CN1581120A (en) 2005-02-16
CN100403284C true CN100403284C (en) 2008-07-16

Family

ID=34579253

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB031401376A Expired - Lifetime CN100403284C (en) 2003-08-09 2003-08-09 Method for exchanging data using semiconductor storage with host system function

Country Status (1)

Country Link
CN (1) CN100403284C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006270193A (en) 2005-03-22 2006-10-05 Fuji Xerox Co Ltd Image forming system and method, and image forming apparatus
EP2848085A4 (en) * 2012-03-14 2015-11-11 Intel Corp Mobile terminal architecture for dual personality wireless devices

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5784581A (en) * 1996-05-03 1998-07-21 Intel Corporation Apparatus and method for operating a peripheral device as either a master device or a slave device
JP2002116998A (en) * 2000-10-05 2002-04-19 Matsushita Electric Ind Co Ltd Usb controller incorporated in peripheral equipment
US6385677B1 (en) * 1999-11-22 2002-05-07 Li-Ho Yao Dual interface memory card and adapter module for the same
JP2002163051A (en) * 2000-11-29 2002-06-07 Toshiba Corp Electronic apparatus, usb connector structure, and usb device connecting cable
JP2002222159A (en) * 2001-01-25 2002-08-09 Nec Viewtechnology Ltd Usb control system, and electronic equipment used thereat
US20030023804A1 (en) * 2001-07-27 2003-01-30 Chikara Matsuda Interface circuit

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5784581A (en) * 1996-05-03 1998-07-21 Intel Corporation Apparatus and method for operating a peripheral device as either a master device or a slave device
US6385677B1 (en) * 1999-11-22 2002-05-07 Li-Ho Yao Dual interface memory card and adapter module for the same
JP2002116998A (en) * 2000-10-05 2002-04-19 Matsushita Electric Ind Co Ltd Usb controller incorporated in peripheral equipment
JP2002163051A (en) * 2000-11-29 2002-06-07 Toshiba Corp Electronic apparatus, usb connector structure, and usb device connecting cable
JP2002222159A (en) * 2001-01-25 2002-08-09 Nec Viewtechnology Ltd Usb control system, and electronic equipment used thereat
US20030023804A1 (en) * 2001-07-27 2003-01-30 Chikara Matsuda Interface circuit

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
On-The-Go Supplement to the USB 2.0 Specification. 全文,USB Implementers Forum. 2003
On-The-Go Supplement to the USB 2.0 Specification. 全文,USB Implementers Forum. 2003 *

Also Published As

Publication number Publication date
CN1581120A (en) 2005-02-16

Similar Documents

Publication Publication Date Title
CN105700732B (en) It is used for transmission the devices, systems, and methods of touch sensor information
US10261930B2 (en) System, device and method for transmitting signals between different communication interfaces
KR20110069271A (en) Imaging device and method for sharing memory among chips
CN1551592B (en) Data transmission control device, electronic device and data transmission control method
US20130179825A1 (en) System and method of managing states of computer screen and controlling mobile communication terminal
TWI473473B (en) Sequence data transmission system, method and recording medium thereof
CN105159632A (en) Graphics multi-media IC and method of its operation
CN102749985B (en) Method and device for dynamically adjusting bus clock
KR102048222B1 (en) Apparatus and method for recognizing an external device in a communication system
TW200415471A (en) Peripheral device and control method thereof, and main device and control method thereof, and program thereof
CN103473202B (en) USB OTG, electronic equipment and the method realizing OTG function
KR20120099582A (en) An electronic device with the function of supporting multiple cards
CN106851041A (en) Information processor and its control method with battery saving mode
CN102164245A (en) Mobile-phone-based camera module adaptation method
CN100403285C (en) Semicondustor storage device having host system operation function
CN106489137A (en) USB (universal serial bus) (USB) communication system and method
CN102445981B (en) Data transmission system and data transmission method
CN100403284C (en) Method for exchanging data using semiconductor storage with host system function
CN103052050A (en) Concentrator device and method for establishing online automatically through the concentrator
CN101299208A (en) Double-mode general-purpose serial bus equipment and control method thereof
CN101163304B (en) Method and system for processing files of peripheral equipment and a mobile terminal
CN108055212B (en) Method and device compatible with PSE chip
CN102301605A (en) System and method for virtualizing the peripherals in a terminal device to enable remote management via removable portable media with processing capability
CN109725621A (en) A kind of secondary bus program based on 1553B bus and CAN bus is in line writing method
CN103631750B (en) The method and electronic equipment of a kind of information processing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C57 Notification of unclear or unknown address
DD01 Delivery of document by public notice

Addressee: Hu Haiguo

Document name: Notification before expiration of term

C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee

Owner name: SHENZHEN CITY LANGKE TECHNOLOGY CO.,LTD.

Free format text: FORMER NAME OR ADDRESS: LANGKE SCIENCE AND TECHNOLOGY CO LTD, SHENZHEN CITY

CP01 Change in the name or title of a patent holder

Address after: The South Nanshan High tech Zone of Shenzhen City, Guangdong Province, a Chinese Development Institute of science and technology incubator building, six floor

Patentee after: NETAC TECHNOLOGY Co.,Ltd.

Address before: The South Nanshan High tech Zone of Shenzhen City, Guangdong Province, a Chinese Development Institute of science and technology incubator building, six floor

Patentee before: Netac Technology Co.,Ltd.

CX01 Expiry of patent term

Granted publication date: 20080716

CX01 Expiry of patent term