CN102724351A - Mobile terminal and management method of mobile terminal to external interposer attachment - Google Patents

Mobile terminal and management method of mobile terminal to external interposer attachment Download PDF

Info

Publication number
CN102724351A
CN102724351A CN2011100789502A CN201110078950A CN102724351A CN 102724351 A CN102724351 A CN 102724351A CN 2011100789502 A CN2011100789502 A CN 2011100789502A CN 201110078950 A CN201110078950 A CN 201110078950A CN 102724351 A CN102724351 A CN 102724351A
Authority
CN
China
Prior art keywords
annex
output
module
type
accessory
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.)
Granted
Application number
CN2011100789502A
Other languages
Chinese (zh)
Other versions
CN102724351B (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.)
BYD Co Ltd
Original Assignee
BYD Co Ltd
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 BYD Co Ltd filed Critical BYD Co Ltd
Priority to CN201110078950.2A priority Critical patent/CN102724351B/en
Publication of CN102724351A publication Critical patent/CN102724351A/en
Application granted granted Critical
Publication of CN102724351B publication Critical patent/CN102724351B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides a management method of a mobile terminal to an external interposer attachment. The method comprises the following steps that: an attachment drive module detects a plug event of an attachment, determines a type of the attachment and outputs the plug event of the attachment and the type of the attachment; an attachment engine module receives and outputs the plug event of the attachment and the type of the attachment outputted by the attachment drive module; according to the plug event of the attachment and the type of the attachment outputted by the attachment engine module, an asynchronous response module determines an attachment application module corresponding to the type of the attachment and outputs the plug event of the attachment and the type of the attachment to the corresponding attachment application module; the attachment application module carries out corresponding processing on the plug event of the attachment and the type of the attachment outputted by the asynchronous response module. According to the mobile terminal and the method, confusion in calling interfaces can be avoided, and the stability and portability of a system platform can be ensured.

Description

A kind of portable terminal and to the management method of extrapolation annex
Technical field
The invention belongs to field of mobile terminals, relate in particular to a kind of portable terminal and the management method of extrapolation annex.
Background technology
Along with the development of portable terminal technology, the annex of portable terminal also increases thereupon.In the prior art; When the annex to portable terminal plugs; Portable terminal is need the concrete plug incident of annex and the particular type of annex be sent to the upper layer application layer through the bottom layer driving layer to the management of annex, and the interface that application layer is called Drive Layer according to the particular type of the concrete plug incident of annex and annex again is to handle.
Inventor of the present invention finds in to prior art research and practice process: in mobile phone application; The annex incident is more; And need carry out numerous information interactions between Drive Layer and the application layer, the multiple application module that a kind of driver module of Drive Layer maybe corresponding application layer in addition, application layer is when calling the interface of Drive Layer like this; The confusion of calling interface takes place easily, thereby influences the stability and the transplantability of system platform.
Summary of the invention
The chaotic technical problem of calling interface takes place when solving portable terminal in the prior art to the management of annex in the present invention easily; A kind of portable terminal is provided and to the management method of extrapolation annex; The confusion of calling interface can be avoided, the stability and the transplantability of system platform can be guaranteed simultaneously.
The present invention provides the management method of a kind of portable terminal to the extrapolation annex, and said portable terminal comprises the accessory drive module, the annex engine modules, and asynchronous response module and accessory application module said method comprising the steps of:
The plug incident of accessory drive module detection accessory, type and the plug incident of output attachments and the type of annex of judgement annex;
The plug incident of the said annex of annex engine modules reception accessory drive module output and the type and the output of annex;
The asynchronous response module is judged the accessory application module corresponding with the type of annex according to the plug incident of the said annex of annex engine modules output and the type of annex, and to the plug incident of the accessory application module output attachments of correspondence and the type of annex;
The accessory application module is carried out handled according to the plug incident of the said annex of asynchronous response module output and the type of annex.
The present invention provides also provides a kind of portable terminal, comprises the accessory drive module, annex engine modules, asynchronous response module and accessory application module, wherein:
The accessory drive module is used for the plug incident of detection accessory, judges type and the plug incident of output attachments and the type of annex of annex;
The annex engine modules, be used to receive the output of accessory drive module said annex plug incident and annex type and export;
The asynchronous response module is used for judging the accessory application module corresponding with the type of annex according to the plug incident of the said annex of annex engine modules output and the type of annex, and to the plug incident of the accessory application module output attachments of correspondence and the type of annex;
The accessory application module is used for carrying out handled according to the plug incident of the said annex of asynchronous response module output and the type of annex.
Can find out from such scheme, the plug incident of the said annex of annex engine modules output and the type of annex handled, and be distributed to corresponding accessory application module through the asynchronous response module; Make the accessory application module can directly not call the interface of accessory drive module, avoid the direct information of accessory drive module and accessory application module mutual, thereby can avoid the confusion of calling interface; And do not need annex engine modules and accessory application module to discern concrete annex incident, and the annex engine modules only need export the plug incident of said annex and the type of annex to the asynchronous response module, and the accessory application module that the identification of asynchronous response module is corresponding with the annex incident also is transmitted to corresponding accessory application module; The accessory application module only need realize that the concrete function corresponding with the annex incident gets final product so; Make the accessory drive module, annex engine modules, and the interface that can directly not call the other side between three modules of accessory application module; Mainly realizing alternately of they through incident; When expansion or modify feature, need not revise interface like this, only just can realize through increasing concrete incident; Make that the work orderliness between three modules is clear; Confusion can not take place, thereby guarantee the integrality and the stability of system platform, and then strengthened the portability of system yet.
Description of drawings
Fig. 1 is the flow chart of portable terminal of the present invention to a kind of embodiment of management method of extrapolation annex.
Fig. 2 is the flow chart of portable terminal of the present invention to a kind of embodiment of management method of insertion charger.
Fig. 3 is the flow chart of portable terminal of the present invention to a kind of embodiment of management method of insertion USB connecting line.
Fig. 4 is the structured flowchart of a kind of embodiment of portable terminal of the present invention.
Fig. 5 is the structured flowchart of a kind of embodiment of annex engine modules of the present invention.
Embodiment
Clearer for technical problem, technical scheme and beneficial effect that the present invention is solved, below in conjunction with accompanying drawing and embodiment, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
The present invention provides the management method of the portable terminal of a kind of embodiment to said extrapolation annex, and as shown in Figure 4, portable terminal comprises accessory drive module 1; Annex engine modules 2; Asynchronous response module 7 and accessory application module 3, as shown in Figure 1, said method comprising the steps of:
Step S01, the plug incident of accessory drive module 1 detection accessory, type and the plug incident of output attachments and the type of annex of judgement annex;
Step S02, the plug incident of the said annex of annex engine modules 2 reception accessory drive modules 1 output and the type and the output of annex;
Step S03; Asynchronous response module 7 is according to the plug incident of the said annex of annex engine modules 2 outputs and the type of annex; Judge the accessory application module 3 corresponding with the type of annex, and to the plug incident of accessory application module 3 output attachments of correspondence and the type of annex;
Step S04, accessory application module 3 is carried out handled according to the plug incident of the said annex of asynchronous response module 7 outputs and the type of annex.
Can find out from such scheme; Through asynchronous response module 7 the plug incident of the said annex of annex engine modules 2 outputs and the type of annex are handled, and be distributed to corresponding accessory application module 3, make accessory application module 3 can directly not call the interface of accessory drive module 1; Avoid the direct information of accessory drive module 1 and accessory application module 3 mutual; Thereby can avoid the confusion of calling interface, and not need annex engine modules 2 and accessory application module 3 to discern concrete annex incident, 2 of annex engine modules need export the plug incident of said annex and the type of annex to asynchronous response module 7; The accessory application module 3 that 7 identifications of asynchronous response module are corresponding with the annex incident also is transmitted to corresponding accessory application module 3; 3 of accessory application modules need to realize that the concrete functions corresponding with the annex incident get final product, and make the interface that can directly not call the other side between accessory drive module 1, annex engine modules 2 and 3 three modules of accessory application module, they mainly realize through incident alternately; Like this when expansion or modify feature; Need not revise interface and just can realize, therefore make that the work orderliness between three modules is clear, confusion can not take place through increasing concrete incident; Thereby guaranteed the integrality and the stability of system platform, and then also strengthened the portability of system.
In practical implementation, said annex can be earphone, charger, USB connecting line and memory device wherein any one, and the plug incident can and be extracted for the insertion of annex.Below how the extrapolation annex is managed with the concrete application scenarios explanation embodiment of the invention.
For example, when the plug incident of said annex when inserting charger, said accessory application module 3 is carried out according to the type of the plug incident of the said annex of asynchronous response module 7 outputs and annex after the handled, and is further comprising the steps of:
The request signal of the start reason of portable terminal is obtained in accessory application module 3 outputs corresponding with the type of annex;
Annex engine modules 2 is obtained the start reason of portable terminal according to the request signal of accessory application module 3 outputs to said accessory drive module 1;
The start reason that annex engine modules 2 will get access to is preserved, and judges whether said start reason is the plug of charger, and to the accessory application module corresponding with the type of annex 1 output judged result;
Accessory application module 1 is former because the judged result of the plug of charger makes portable terminal get into the shutdown charged interface according to the said start of annex engine modules 2 outputs.
In concrete the application; Can further expand the foregoing description; For example, said portable terminal also can comprise the power management module 4 and the first engine application module, in the plug incident of said accessory drive module detection accessory; After the step of the type of the type of judgement annex and the plug incident of output attachments and annex, further comprising the steps of:
The plug incident of the said annex of power management module 4 reception accessory drive modules 1 output and the type and the output of annex;
The plug incident of the said annex of first engine application module reception power management module, 4 outputs and the type and the output of annex.
The flow chart of above-mentioned a kind of embodiment of management method as shown in Figure 2, this method specifically may further comprise the steps:
Step S010, when charger inserted portable terminal, accessory drive module 1 detected the information of charger insertion and exports to power management module 4, gets into step S020;
Step S020, power management module 4 gets into step S030 with the information output that charger inserts;
Step S030, the first engine application module gets into step S040 with the information output that charger inserts;
Step S040, annex engine modules 2 exports the information that first engine application module output charger inserts to asynchronous response module 7;
Step S050, asynchronous response module 7 is judged the accessory application module corresponding with the type of annex according to the information that charger inserts, and exports the information that charger inserts to corresponding accessory application module;
Step S060, the request signal of the start reason of portable terminal is obtained in accessory application module 3 outputs corresponding with the type of annex;
Step S070, annex engine modules 2 is obtained the start reason of portable terminal according to the request signal of accessory application module 3 outputs to said accessory drive module 1;
Step S080, the start reason that annex engine modules 2 will get access to is preserved, and judges whether said start reason is the plug of charger, and to the accessory application module output judged result corresponding with the type of annex, gets into step S090;
Step S090, the accessory application module 3 corresponding with the type of annex is former because the judged result of the plug of charger makes portable terminal get into the shutdown charged interface according to the said start of annex engine modules 2 outputs.
For step S090; When if the start reason that receives when accessory application module 3 is not the plug of charger; Former because started shooting in advance such as start, this moment, portable terminal just need not get into the shutdown charged interface so, but got into the start charged interface.
In practical implementation, when annex was earphone, USB connecting line and memory device wherein a kind of, step S04 was specially:
Step S041, accessory application module 3 shows on the mobile terminal user interface and annex institute's corresponding icon or hiding and annex institute corresponding icon according to the plug incident of the said annex of asynchronous response module 7 outputs and the type of annex.Such as when the incident of annex when inserting earphone, just on the mobile terminal user interface, can show the icon of earphone, and if the incident of annex when extracting earphone, the earphone icon that on the mobile terminal user interface, shows just can be hidden.
In practical implementation, portable terminal can be connected with computer through the USB connecting line, and USB port can have the different working pattern, and for example, USB port can have following two kinds of mode of operations: communication mode and memory module.Under communication mode, portable terminal can carry out communication with the instrument on the computer through the USB connecting line, and concrete application is to operate portable terminal through the client software that portable terminal manufacturer provides; Such as the address list on the portable terminal is backed up on computers, and under memory module, can portable terminal be used as USB flash disk; Therefore the user can be provided with the mode of operation of USB port according to the demand of oneself; And the step that the mode of operation of USB port is set can be before step S01, also can be after step S041, in practical implementation; As shown in Figure 3; The present invention also provides a kind of embodiment to inserting the management method of USB connecting line, and the step of mode of operation that USB port is set specifically may further comprise the steps after step S041:
Step S042, the accessory application module 3 corresponding with the type of annex obtained USB signalization and output;
Step S043, annex engine modules 2 is according to the USB signalization of accessory application module 3 outputs, to accessory drive module 1 output USB signalization and the preservation and the pairing USB pattern of USB signalization of correspondence;
Step S044, accessory drive module 1 is according to the USB signalization of annex engine modules output, and the present mode of USB is transformed into the USB pattern corresponding with the USB signalization.
For step S042, the USB signalization can be that system is provided with output according to the user, also can be that system triggers output automatically, to confirm the concrete mode of operation of USB port.
In practical implementation, said portable terminal also can comprise the second engine application module, at this moment, after step S044, also can may further comprise the steps:
Step S045, the second engine application module carries out handled according to the USB signalization of annex engine modules 2 outputs.
Can find out from such scheme; Annex engine modules 2 can be notified other modules that need this information with the information that USB port carries out the pattern setting through the second engine application module; In addition in practical implementation; The first engine application module and the second engine application module can be same modules, and engine application module 5 as shown in Figure 4 is with simplied system structure.
In practical implementation, said portable terminal also can comprise resource management module 6, after step S044, also can may further comprise the steps, and promptly when carrying out step S045, also can carry out following steps:
Step S046, annex engine modules 2 is to resource management module 6 output USB pattern signalizations;
Step S047, resource management module 6 light backlight and the adjusting sound played according to USB pattern signalization.
In a word, when the plug annex, after step S04, also can may further comprise the steps:
Resource management module 6 is lighted backlight and/or the adjusting sound played according to the plug incident and the type of attachment of the said annex of annex engine modules 2 outputs.
Can find out from such scheme,, light backlight and/or the adjusting sound played with realization as long as the plug incident that receives said annex when annex engine modules 2 during with type of attachment, can be called resource management module 6.
In order to realize the management to annex, as shown in Figure 4, the present invention also provides the portable terminal of a kind of embodiment, and said portable terminal comprises accessory drive module 1, annex engine modules 2, asynchronous response module 7 and accessory application module 3;
Accessory drive module 1 is used for the plug incident of detection accessory, judges type and the plug incident of output attachments and the type of annex of annex;
Annex engine modules 2, be used to receive 1 output of accessory drive module said annex plug incident and annex type and export;
Asynchronous response module 7; Be used for according to the plug incident of the said annex of annex engine modules 2 output and the type of annex; Judge the accessory application module corresponding with the type of annex, and to the plug incident of the accessory application module output attachments of correspondence and the type of annex;
Accessory application module 3 is used for carrying out handled according to the plug incident of the said annex of asynchronous response module 7 output and the type of annex.
Can find out from such scheme, the plug incident of the said annex of annex engine modules 2 outputs and the type of annex handled, and be distributed to corresponding accessory application module 3 through asynchronous response module 7; Make accessory application module 3 can directly not call the interface of accessory drive module 1, avoid the direct information of accessory drive module 1 and accessory application module 3 mutual, thereby can avoid the confusion of calling interface; And do not need annex engine modules 2 and accessory application module 3 to discern concrete annex incident, and 2 of annex engine modules need export the plug incident of said annex and the type of annex to asynchronous response module 7, and the accessory application module 3 that 7 identifications of asynchronous response module are corresponding with the annex incident also is transmitted to corresponding accessory application module 3; 3 of accessory application modules need to realize that the concrete function corresponding with the annex incident gets final product; Make accessory drive module 1, annex engine modules 2, and the interface that can directly not call the other side between 3 three modules of accessory application module; Mainly realizing alternately of they through incident; When expansion or modify feature, need not revise interface like this, only just can realize through increasing concrete incident; Therefore make that the work orderliness between three modules is clear; Confusion can not take place, thereby guarantee the integrality and the stability of system platform, and then strengthened the portability of system yet.
In practical implementation, said annex can comprise earphone, charger, USB connecting line or memory device, and the plug incident specifically can and be extracted for the insertion of annex.Below the concrete application scenarios explanation embodiment of the invention how the extrapolation annex is managed.
As shown in Figure 5, said annex engine modules 2 can comprise engine service interface 21, engine application layer 22 and annex graft layers 23, and accessory application module 3 comprises the core application unit, wherein:
Engine application layer 22 is used for when said annex is charger, the plug incident of the said annex of output attachments driver module output and the type of annex, and obtain the request signal of the reason of starting shooting according to the request signal output of accessory application module output;
Annex graft layers 23 is used for the request signal according to the engine application layer, obtains the start reason and exports to the engine application layer to the accessory drive layer;
Engine application layer 22 also is used for the start reason of annex graft layers output is preserved, and judges whether said start reason is the plug and the output judged result of charger;
Engine service interface 21, the judged result output of the said start reason that is used for said engine application layer 22 is drawn;
The core application unit when being used for according to the former because judged result of the plug of charger of the said start of engine service interface output, makes portable terminal get into the shutdown charged interface.
In practical implementation, said portable terminal also can comprise the power management module 4 and the first engine application module;
Power management module 4, be used to receive 3 outputs of accessory drive module said annex plug incident and annex type and export;
The first engine application module is used to receive plug incident and the type and the output attachments engine modules 2 of annex of the said annex of power management module 4 outputs.
Further, said accessory application module 3 also comprises display unit and hidden unit, and wherein annex is the wherein a kind of of earphone, USB connecting line and memory device;
Display unit is used for the plug incident and the type of annex according to the said annex of asynchronous response module 7 output, on the mobile terminal user interface, shows and annex institute corresponding icon;
Hidden unit is according to the plug incident and the type of annex of the said annex of asynchronous response module 7 output, on the mobile terminal user interface or hiding and annex institute corresponding icon.
In practical implementation, the accessory application module also comprises the mode signal acquiring unit, and the accessory drive module comprises the USB mode setting unit;
The mode signal acquiring unit is used to obtain USB pattern signalization and output;
Engine service interface 21 also is used for the USB pattern signalization output with the output of USB mode setting unit;
Engine application layer 22 also is used for the USB pattern signalization according to 21 outputs of engine service interface, and preservation is with the pairing USB pattern of USB pattern signalization and export USB pattern signalization;
Annex graft layers 23 also is used to receive the USB pattern signalization and the output of 22 outputs of engine application layer;
The USB mode setting unit is used for the USB pattern signalization according to annex graft layers 23 output, and the present mode of USB is transformed into the USB pattern corresponding with USB pattern signalization.
Can find out from above-mentioned scheme; In portable terminal, insert the USB connecting line; Need the concrete mode of operation of USB port be provided with, when the mode of operation of USB port is communication mode, can only carry out the associative operation under communication mode portable terminal; When the mode of operation of USB port is memory module, could information be kept in the portable terminal.
And when the mode of operation of USB port is communication mode; Computer can send instruction to portable terminal, and annex engine modules 2 also can comprise handle 24 and command process unit 25, and said handle 24 is used for the instruction that receiving computer sends and the built-in command that will instruct correspondence is exported; Command process unit 25 is used for the built-in command of handle unit 24 outputs is analyzed and handled; And with result output, engine application layer 22 also is used for exporting the result of command process unit output to asynchronous management module 7, and said asynchronous management module 7 also is used for judging corresponding accessory application module according to the result of engine application layer 22 outputs; And export result to corresponding accessory application module; Be that computer can send instruction to portable terminal, after handling through annex engine modules 2, send asynchronous management module 7; Judge the concrete accessory application module that realizes this instruction by asynchronous management module 7, to realize the instruction of computer output.
In practical implementation, said portable terminal also comprises the second engine application module, and the said second engine application module can be used for carrying out handled according to the USB signalization of engine application layer 22 outputs.
Can find out from such scheme; Annex engine modules 2 can be notified other modules that need this information with the information that USB port carries out the pattern setting through the second engine application module; In addition in practical implementation; The first engine application module and the second engine application module can be same modules, and engine application module 5 as shown in Figure 4 is with simplied system structure.
In practical implementation, said portable terminal also comprises resource management module 6, and said resource management module 6 can be used for plug incident and the type of attachment according to the said annex of annex engine modules 2 outputs, lights backlight and/or the adjusting sound played.
Can find out from such scheme,, light backlight and/or the adjusting sound played with realization as long as the plug incident that receives said annex when annex engine modules 2 during with type of attachment, all can be called resource management module 6.
The above is merely preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of within spirit of the present invention and principle, being done, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (18)

1. a portable terminal is characterized in that to the management method of extrapolation annex said portable terminal comprises the accessory drive module, the annex engine modules, and asynchronous response module and accessory application module said method comprising the steps of:
The plug incident of accessory drive module detection accessory, type and the plug incident of output attachments and the type of annex of judgement annex;
The plug incident of the said annex of annex engine modules reception accessory drive module output and the type and the output of annex;
The asynchronous response module is judged the accessory application module corresponding with the type of annex according to the plug incident of the said annex of annex engine modules output and the type of annex, and to the plug incident of the accessory application module output attachments of correspondence and the type of annex;
The accessory application module is carried out handled according to the plug incident of the said annex of asynchronous response module output and the type of annex.
2. management method as claimed in claim 1; It is characterized in that; Said portable terminal also comprises resource management module, and is after the plug incident of the said annex of annex engine modules reception accessory drive module output and the type and output of annex, further comprising the steps of:
Resource management module is lighted backlight and/or the adjusting sound played according to the plug incident and the type of attachment of the said annex of annex engine modules output.
3. management method as claimed in claim 1 is characterized in that, said annex comprises that earphone, charger, USB connecting line and memory device are wherein at least a.
4. management method as claimed in claim 3; It is characterized in that; When the plug incident of said annex when inserting charger, said accessory application module is carried out according to the type of the plug incident of the said annex of asynchronous response module output and annex after the handled, and is further comprising the steps of:
The request signal of the start reason of portable terminal is obtained in the accessory application module output corresponding with the type of annex;
The annex engine modules is obtained the start reason of portable terminal according to the request signal of accessory application module output to said accessory drive module;
The start reason that the annex engine modules will get access to is preserved, and judges whether said start reason is the plug of charger, and to the accessory application module output judged result corresponding with the type of annex;
The accessory application module corresponding with the type of annex is former because the judged result of the plug of charger makes portable terminal get into the shutdown charged interface according to the said start of annex engine modules output.
5. management method as claimed in claim 4; It is characterized in that; Said portable terminal also comprises the power management module and the first engine application module; In the plug incident of said accessory drive module detection accessory, after the step of the type of the type of judgement annex and the plug incident of output attachments and annex, further comprising the steps of:
The plug incident of the said annex of power management module reception accessory drive module output and the type and the output of annex;
The plug incident of the said annex of first engine application module reception power management module output and the type of annex, and export the annex engine modules to.
6. management method as claimed in claim 3; It is characterized in that; When annex was earphone, USB connecting line and memory device wherein a kind of, the accessory application module was carried out the step of handled according to the type of the plug incident of the said annex of asynchronous response module output and annex, is specially:
The accessory application module shows on the mobile terminal user interface and the pairing icon of annex or hiding and the pairing icon of annex according to the plug incident of the said annex of asynchronous response module output and the type of annex.
7. management method as claimed in claim 6 is characterized in that, and is in the plug incident of accessory drive module detection accessory, before the step of the type of the type of judgement annex and the plug incident of output attachments and annex, further comprising the steps of:
The accessory application module corresponding with the type of annex obtained USB pattern signalization and output;
The annex engine modules is according to the USB pattern signalization of said accessory application module output, and preservation is with the pairing USB pattern of USB pattern signalization and export USB pattern signalization;
The accessory drive module is according to the USB pattern signalization of annex engine modules output, and the present mode of USB is transformed into the USB pattern corresponding with USB pattern signalization.
8. management method as claimed in claim 6; It is characterized in that; When the plug incident of said annex is specially insertion USB connecting line; Said accessory application module shows on the mobile terminal user interface after the step of the pairing icon of annex according to the plug incident of the said annex of asynchronous response module output and the type of annex, and is further comprising the steps of:
The accessory application module corresponding with the type of annex obtained USB signalization and output;
The annex engine modules is according to the USB signalization of said accessory application module output, to accessory drive module output USB signalization and the preservation and the pairing USB pattern of USB signalization of correspondence;
The accessory drive module is according to the USB signalization of annex engine modules output, and the present mode of USB is transformed into the USB pattern corresponding with the USB signalization.
9. like claim 7 or 8 described management methods; It is characterized in that; Said portable terminal also comprises the second engine application module; When the USB signalization of annex engine modules, after the accessory drive module output USB signalization and preservation and the pairing USB pattern of USB signalization of correspondence, further comprising the steps of according to the output of accessory application module:
The second engine application module carries out handled according to the USB signalization of annex engine modules output.
10. a portable terminal is characterized in that, comprises the accessory drive module, annex engine modules, asynchronous response module and accessory application module, wherein:
The accessory drive module is used for the plug incident of detection accessory, judges type and the plug incident of output attachments and the type of annex of annex;
The annex engine modules, be used to receive the output of accessory drive module said annex plug incident and annex type and export;
The asynchronous response module is used for judging the accessory application module corresponding with the type of annex according to the plug incident of the said annex of annex engine modules output and the type of annex, and to the plug incident of the accessory application module output attachments of correspondence and the type of annex;
The accessory application module is used for carrying out handled according to the plug incident of the said annex of asynchronous response module output and the type of annex.
11. described portable terminal as claimed in claim 10 is characterized in that said portable terminal also comprises resource management module;
Resource management module is used for plug incident and type of attachment according to the said annex of annex engine modules output, lights backlight and/or the adjusting sound played.
12. portable terminal as claimed in claim 10 is characterized in that, said annex comprises that earphone, charger, USB connecting line and memory device are wherein at least a.
13. portable terminal as claimed in claim 12 is characterized in that, said annex engine modules comprises engine service interface, engine application layer and annex graft layers, and the accessory application module comprises the core application unit, wherein:
The engine application layer is used for when said annex is charger, the plug incident of the said annex of output attachments driver module output and the type of annex, and obtain the request signal of the reason of starting shooting according to the request signal output of accessory application module output;
The annex graft layers is used for the request signal according to the engine application layer, obtains the start reason and exports to the engine application layer to the accessory drive layer;
The engine application layer also is used for the start reason of annex graft layers output is preserved, and judges whether said start reason is the plug and the output judged result of charger;
The engine service interface, the judged result output of the said start reason that is used for said engine application layer is drawn;
The core application unit when being used for according to the former because judged result of the plug of charger of the said start of engine service interface output, makes portable terminal get into the shutdown charged interface.
14. portable terminal as claimed in claim 13 is characterized in that, the annex engine modules also comprises handle and command process unit;
Handle is used for the instruction that receiving computer sends and will instructs corresponding built-in command output;
The command process unit is used for the built-in command of handle unit output is analyzed and handled, and exports result to the engine application layer;
The engine application layer also is used for exporting the result of command process unit output to the asynchronous management module;
The asynchronous management module also is used for judging corresponding accessory application module according to the result of engine application layer output, and exports result to corresponding accessory application module.
15. portable terminal as claimed in claim 13 is characterized in that, said portable terminal also comprises the power management module and the first engine application module;
Power management module, be used to receive the output of accessory drive module said annex plug incident and annex type and export;
The first engine application module, be used to receive power management module output said annex plug incident and annex type and export the annex engine modules to.
16. portable terminal as claimed in claim 13 is characterized in that, said accessory application module also comprises display unit and hidden unit, and wherein annex is the wherein a kind of of earphone, USB connecting line and memory device;
Display unit is used for the plug incident and the type of annex according to the said annex of asynchronous response module output, on the mobile terminal user interface, shows and the pairing icon of annex;
Hidden unit is used for the plug incident and the type of annex according to the said annex of asynchronous response module output, on the mobile terminal user interface, hides and the pairing icon of annex.
17. described portable terminal as claimed in claim 13 is characterized in that the accessory application module also comprises the mode signal acquiring unit, the accessory drive module comprises the USB mode setting unit, wherein:
The mode signal acquiring unit is used to obtain USB pattern signalization and output;
The engine service interface also is used for the USB pattern signalization output with the output of USB mode setting unit;
The engine application layer also is used for the USB pattern signalization according to the output of engine service interface, and preservation is with the pairing USB pattern of USB pattern signalization and export USB pattern signalization;
The annex graft layers also is used to receive the USB pattern signalization and the output of the output of engine application layer;
The USB mode setting unit is used for the USB pattern signalization according to annex graft layers output, and the present mode of USB is transformed into the USB pattern corresponding with USB pattern signalization.
18. described portable terminal as claimed in claim 17 is characterized in that, said portable terminal also comprises the second engine application module;
The second engine application module is used for carrying out handled according to the USB signalization of engine application layer output.
CN201110078950.2A 2011-03-31 2011-03-31 Mobile terminal and management method of mobile terminal to external interposer attachment Active CN102724351B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110078950.2A CN102724351B (en) 2011-03-31 2011-03-31 Mobile terminal and management method of mobile terminal to external interposer attachment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110078950.2A CN102724351B (en) 2011-03-31 2011-03-31 Mobile terminal and management method of mobile terminal to external interposer attachment

Publications (2)

Publication Number Publication Date
CN102724351A true CN102724351A (en) 2012-10-10
CN102724351B CN102724351B (en) 2015-05-13

Family

ID=46950010

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110078950.2A Active CN102724351B (en) 2011-03-31 2011-03-31 Mobile terminal and management method of mobile terminal to external interposer attachment

Country Status (1)

Country Link
CN (1) CN102724351B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324459A (en) * 2013-06-14 2013-09-25 Tcl集团股份有限公司 Method and system for implementing USB (universal serial bus) headset devices
WO2016045346A1 (en) * 2014-09-28 2016-03-31 中兴通讯股份有限公司 Method, device, and computer storage medium for setting a mobile terminal operating mode
CN106550120A (en) * 2016-10-20 2017-03-29 惠州Tcl移动通信有限公司 Active adnexa detection process method and mobile terminal based on mobile terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101017470A (en) * 2006-02-06 2007-08-15 旺玖科技股份有限公司 USB interface having host machine/apparatus function and control method therefor
CN101226482A (en) * 2008-02-01 2008-07-23 北京创毅视讯科技有限公司 USB equipment which driver is not released by Microsoft as well as installation method thereof
CN101430671A (en) * 2008-11-07 2009-05-13 宇龙计算机通信科技(深圳)有限公司 Mobile terminal peripherals coexisting apparatus
CN101520792A (en) * 2008-12-17 2009-09-02 康佳集团股份有限公司 Method and system for automatically mounting and recognizing system file
CN101673174A (en) * 2009-08-18 2010-03-17 宇龙计算机通信科技(深圳)有限公司 Method, system and mobile terminal for providing user interface

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101017470A (en) * 2006-02-06 2007-08-15 旺玖科技股份有限公司 USB interface having host machine/apparatus function and control method therefor
CN101226482A (en) * 2008-02-01 2008-07-23 北京创毅视讯科技有限公司 USB equipment which driver is not released by Microsoft as well as installation method thereof
CN101430671A (en) * 2008-11-07 2009-05-13 宇龙计算机通信科技(深圳)有限公司 Mobile terminal peripherals coexisting apparatus
CN101520792A (en) * 2008-12-17 2009-09-02 康佳集团股份有限公司 Method and system for automatically mounting and recognizing system file
CN101673174A (en) * 2009-08-18 2010-03-17 宇龙计算机通信科技(深圳)有限公司 Method, system and mobile terminal for providing user interface

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324459A (en) * 2013-06-14 2013-09-25 Tcl集团股份有限公司 Method and system for implementing USB (universal serial bus) headset devices
WO2016045346A1 (en) * 2014-09-28 2016-03-31 中兴通讯股份有限公司 Method, device, and computer storage medium for setting a mobile terminal operating mode
CN106550120A (en) * 2016-10-20 2017-03-29 惠州Tcl移动通信有限公司 Active adnexa detection process method and mobile terminal based on mobile terminal

Also Published As

Publication number Publication date
CN102724351B (en) 2015-05-13

Similar Documents

Publication Publication Date Title
JP4806076B2 (en) Charging cable with USB-like connector
CN107926075B (en) System and method for supporting data communication in heterogeneous environment
EP3531290A1 (en) Data backup method, apparatus, electronic device, storage medium, and system
CN103810004B (en) Method and device for upgrading embedded system as well as equipment
CN110519741B (en) Bluetooth connection method and system
KR101754680B1 (en) Method, apparatus and system of recovering an operating system on a portable communication device
CN111491235B (en) Charging method and system, charging box and Bluetooth headset
US10733115B2 (en) Information handling system automated wireless pairing of peripheral devices
CN103369105A (en) Mobile phone assistant software automatic starting method and mobile phone assistant software automatic starting method system
CN112165704A (en) Information sharing method, earphone box and computer readable storage medium
CN105188023A (en) Bluetooth communication method and communication device
TW201306551A (en) Communication system, additional device, and expanding method thereof
CN102724351B (en) Mobile terminal and management method of mobile terminal to external interposer attachment
CN103049403A (en) Method for communication between embedded terminal device and cell phone
CN103281288B (en) A kind of SMSCallFilter system and method
CN202841288U (en) Electronic starting system
CN102722360A (en) Mobile terminal and management method for externally inserted attachment
CN108777627B (en) Power supply method and device
CN104850512B (en) No ID pin does the method and device of USB OTG function
CN110109529A (en) SD card method for controlling power supply, device, storage medium and electronic equipment
CN105653412A (en) Fingerprint device compatibility detection method and terminal
CN102938804B (en) A kind of method and apparatus of managing liaison information
CN108874716B (en) Charging communication connection device and method for portable equipment
WO2016145902A1 (en) Sim card processing method and device
CN102708068A (en) Implementation method of software tool for flash drive privacy protection

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