CN103164371B - Data processing method, antenna supplying method and electronic equipment - Google Patents

Data processing method, antenna supplying method and electronic equipment Download PDF

Info

Publication number
CN103164371B
CN103164371B CN201110412816.1A CN201110412816A CN103164371B CN 103164371 B CN103164371 B CN 103164371B CN 201110412816 A CN201110412816 A CN 201110412816A CN 103164371 B CN103164371 B CN 103164371B
Authority
CN
China
Prior art keywords
electronic equipment
pin
interface
data
functional unit
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.)
Active
Application number
CN201110412816.1A
Other languages
Chinese (zh)
Other versions
CN103164371A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201110412816.1A priority Critical patent/CN103164371B/en
Publication of CN103164371A publication Critical patent/CN103164371A/en
Application granted granted Critical
Publication of CN103164371B publication Critical patent/CN103164371B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

Provide a kind of data processing method and electronic equipment, antenna supplying method and electronic equipment.Described electronic equipment comprises the first functional unit, the second functional unit and first interface.Described data processing method comprises: when detecting that the first pin in first interface is connected with the second pin in the second interface of the second electronic equipment, and make described electronic equipment be in the first mode of operation, wherein the first pin is connected with the first functional unit; Between described electronic equipment and described second electronic equipment, the first data are transmitted by first interface and the second interface; When described first data meet predetermined condition, described electronic equipment is switched to the second mode of operation, and wherein the second pin is connected with the second functional unit; Between described electronic equipment and described second electronic equipment, transmit the second data by the first pin and the second pin, wherein, described second data are for making described second electronic equipment as the expanding element realized described second functional unit corresponding function.

Description

Data processing method, antenna supplying method and electronic equipment
Technical field
The present invention relates to the Function Extension of electronic equipment, relate more specifically to a kind of data processing method, antenna supplying method, apply the electronic equipment of this data processing method and apply the electronic equipment of this antenna supplying method.
Background technology
Along with the demand that people increase the data traffic that electronic equipment (such as, portable terminal, mobile terminal, PDA etc.) transmits, the radio frequency path designed in the electronic device is needed to get more and more.Correspondingly, the antenna used is needed also to get more and more.
Along with the development of VLSI (very large scale integrated circuit), can integrated multiple radio frequency path.But, also not there is the multiple antennas integrated technology of certain insulated degree requirement at present.Current mobile terminal is in order to meet the requirements such as ultra-thin, attractive in appearance, miniaturization, and the design performance of an antenna all compares and is difficult to ensure card, multiple antenna design just more difficult realization.Therefore multiple antenna design becomes the difficult problem limiting its transmitting data stream amount and increase.
Such as, the multiple antennas MOMI mode of current LTE, need more than two antennas, the mode of operation that LTE and speech business communicate simultaneously, need two antennas, an antenna support voice, LTE data supported by an antenna, this is difficult to realize in miniaturization ultrathin mobile terminal, and diversity reception also faces same problem.
Therefore, need a kind of method can expanding the antenna of mobile terminal, correspondingly, need a kind of data processing method can expanding the function of electronic equipment.
Summary of the invention
Consider the problems referred to above and made the present invention, an object of the present invention is to provide a kind of data processing method, first it by will utilizing the second interface of the first interface of the first electronic equipment and the second electronic equipment to transmit the first data in a first operation mode, then the decision-making that whether will switch to the second mode of operation is made according to described first data, when determining to be switched to the second mode of operation, by the second pin in the second interface of the first pin in the first interface of the first electronic equipment and the second electronic equipment, utilize described second electronic equipment to expand the corresponding function of the second functional unit in described first electronic equipment.
According to an aspect of the present invention, provide a kind of data processing method, be applied to the first electronic equipment, described first electronic equipment comprises the first functional unit, second functional unit and first interface, described method comprises: when the first pin in the described first interface described first electronic equipment being detected is connected with the second pin in the second interface of the second electronic equipment, described first electronic equipment is made to be in the first mode of operation, wherein, described second electronic equipment comprises described second interface, described first mode of operation comprises: described first pin is connected with described first functional unit, by described first interface and described second interface, between described first electronic equipment and described second electronic equipment, transmit the first data, when described first data meet predetermined condition, described first electronic equipment is switched to the second mode of operation from described first mode of operation, wherein said second mode of operation comprises: described second pin is connected with described second functional unit, by described first pin and described second pin, second data different with described first data are transmitted between described first electronic equipment from described second electronic equipment, wherein, described second data are for making described second electronic equipment by cooperating using as the expanding element realized described second functional unit corresponding function with described second functional unit.
Preferably, described first electronic equipment is being connected with described second electronic equipment and the second performance of described second functional unit corresponding function is better than described first electronic equipment and is being connected with described second electronic equipment and the first performance of described second functional unit corresponding function in this first operative mode under described second mode of operation.
Preferably, described second electronic equipment also comprises the 3rd functional unit and the 4th functional unit, in a first operation mode, described second pin is connected with described 3rd functional unit, describedly described first electronic equipment is switched to the second mode of operation from described first mode of operation comprises: described first electronic equipment is switched to the second mode of operation from described first mode of operation; And sent for described second pin is disconnected with described 3rd functional unit and the instruction be connected with described 4th functional unit to described second equipment with described second interface by described first interface.
Preferably, described first functional unit is basic functional units, and described second functional unit is radiofrequency signal processing unit, and described 3rd functional unit is ground unit, and described 4th functional unit is antenna element.
According to a further aspect in the invention, provide a kind of electronic equipment, have the first mode of operation and the second mode of operation, it comprises: first interface, comprises the first pin; Connect detecting unit, for detecting the connection of the second pin in the second interface of described first pin and the second electronic equipment, described second electronic equipment comprises described second interface; First functional unit, is connected with described first pin during for being under described first mode of operation at described electronic equipment; Second functional unit, is connected with described first pin during for being under described second mode of operation at described electronic equipment; And switch unit, to disconnect with described first functional unit for making described first pin and be connected with described second functional unit, wherein, when described connection detecting unit detects described connection, described electronic equipment is made to be in described first mode of operation, in this first operative mode, by described first interface and described second interface, between described electronic equipment and described second electronic equipment, the first data are transmitted; When described switch unit judges that described first data meet predetermined condition, described electronic equipment is made to switch to the second mode of operation from described first mode of operation, under described second mode of operation, by described first pin and described second pin, second data different with described first data are transmitted between described electronic equipment from described second electronic equipment, wherein, described second data are for making described second electronic equipment by cooperating using as the expanding element realized the second functional unit corresponding function with described second functional unit.
According to another aspect of the invention, whether provide a kind of antenna supplying method, be applied to an electronic equipment, described method comprises: detect described electronic equipment and be connected with base by general-purpose serial bus USB interface; When described electronic equipment is connected with base by USB interface, read the functional parameter of described base; According to the functional parameter of read described base, determine whether described base provides radio-frequency antenna function; And when determining that described base provides radio-frequency antenna function, the USB_ID pin of described USB interface being switched to and is connected with radio frequency signal processing circuit, described base is used as the antenna of described electronic equipment.
Preferably, the USB_ID pin of described USB interface is optionally consulted parts by a change-over switch and is connected or is connected with described radio frequency signal processing circuit with the USB in described electronic equipment.Determine that described USB interface is with when providing the base of radio-frequency antenna function to be connected at described electronic equipment, described switch is controlled as to be consulted parts by the USB_ID pin of described USB interface with USB and disconnects and be connected with described radio frequency signal processing circuit.
In accordance with a further aspect of the present invention, provide a kind of electronic equipment, comprising: general-purpose serial bus USB interface; Connecting detection part, whether being connected with base for detecting described USB interface; USB consults parts, for determining the master slave relation of described electronic equipment and described second electronic equipment; Functional parameter fetch unit, for reading the functional parameter of described base from the described base be connected with described USB interface; Base identification component, for the functional parameter according to read described base, determines whether described base provides radio-frequency antenna function; Radio frequency signal processing circuit, for the treatment of the radiofrequency signal received by described antenna; And change-over switch, be connected for optionally consulting parts with the USB in described electronic equipment or be connected with described radio frequency signal processing circuit, wherein, when determining that described base provides radio-frequency antenna function, the USB_ID pin of described USB interface and USB are consulted parts disconnect, and switch to and be connected with radio frequency signal processing circuit, described base is used as the antenna of described electronic equipment.
Utilize data processing method of the present invention, antenna supplying method the first pin in the first interface of electronic equipment can be carried out multiplexing functions, in a first operation mode, realize the basic function of this pin; And in the second operation mode, realize the expanded function of this pin, and another electronic equipment of this electronic device exterior is used for the expanding element of this electronic equipment.
Accompanying drawing explanation
Embodiments of the present invention is described in detail in conjunction with the drawings, and above and other objects of the present invention, feature and advantage will become apparent, wherein:
Fig. 1 is the process flow diagram of the data processing method illustrated according to the embodiment of the present invention;
Fig. 2 illustrates the schematic block diagram realizing the electronic equipment of the disposal route shown in Fig. 1 according to the embodiment of the present invention;
Fig. 3 is the block diagram of the antenna supplying method of the first embodiment illustrated as the data processing method shown in Fig. 1;
Fig. 4 A and Fig. 4 B shows the illustrative circuitry of base or docking station;
Fig. 5 shows the illustrative circuitry of the commutation circuit of USB_ID pin in electronic equipment; And
Fig. 6 shows the schematic block diagram of the electronic equipment for realizing the antenna supplying method shown in Fig. 3 as first embodiment of the invention.
Embodiment
Data processing method according to the embodiment of the present invention and respective electronic equipment, antenna supplying method and respective electronic equipment thereof are described below with reference to accompanying drawings.In the accompanying drawings, identical reference number represents identical element from start to finish.Be to be understood that: the embodiments described herein is only illustrative, and should not be interpreted as limiting the scope of the invention.
According to the data processing method of the embodiment of the present invention, connection between the second pin in the first pin in the multiplexing first interface of the first electronic equipment and the second interface of the second electronic equipment, its basic function is being completed (such as by described connection, USB_ID pin, for realizing USB master-slave negotiation function) after, by this connection multiplexing to realize the expansion to the corresponding function of the second functional unit in the first electronic equipment.
Below, with reference to Fig. 1, the data processing method 100 according to the embodiment of the present invention is described.This data processing method 100 is applied to the first electronic equipment, and described first electronic equipment comprises the first functional unit, the second functional unit and first interface.
First, start in step S101 according to the data processing method 100 of the embodiment of the present invention.
Next, in step S110, detect the connection between the second pin in the second interface of the first pin in the described first interface of described first electronic equipment and the second electronic equipment.Described second electronic equipment comprises described second interface.
When described connection being detected, this data processing method 100 proceeds to step S120.In step S120, make described first electronic equipment be in the first mode of operation, described first mode of operation comprises: described first pin is connected with described first functional unit.
Then, in step S130, by described first interface and described second interface, between described first electronic equipment and described second electronic equipment, transmit the first data.
Can by described first pin and described first data of the second pin transmission.Alternatively, described first data can be transmitted by other pins different with described second pin in other pins different from described first pin in described first interface and described second interface.Alternatively, by the Part I in described first pin and described first data of the second pin transmission, and the Part II in described first data can be transmitted by other pins different with described second pin in other pins different from described first pin in described first interface and described second interface.
In addition, described transmission first data can comprise following any one: send the first data, the first pin from the first pin to the second pin and receive the first data from the second pin or send the first subdata from the first pin to the second pin and the first pin receives the second subdata from the second pin.Described first subdata and described second subdata are Part I in described first data and Part II respectively.
Next, in step S140, judge that described first data meet predetermined condition.
When described first data meet predetermined condition, this data processing method 100 proceeds to step S150.In step S150, described first electronic equipment is switched to the second mode of operation from described first mode of operation.Described second mode of operation comprises: described second pin is connected with described second functional unit.
Next, in step S160, by described first pin and described second pin, between described first electronic equipment from described second electronic equipment, transmit the second data different with described first data.Described second data are for making described second electronic equipment by cooperating using as the expanding element realized described second functional unit corresponding function with described second functional unit.
Preferably, described in when realizing expanding by described second electronic equipment under described second mode of operation, the second performance of the second functional unit corresponding function is better than the first performance of described second functional unit corresponding function in this first operative mode.
Exemplarily, described second functional unit is radiofrequency signal processing unit, described second electronic equipment expansion is as the antenna of this radiofrequency signal processing unit in the second operation mode, and the quality that this radiofrequency signal processing unit processes the signal obtained in the second operation mode is better than the quality of the signal that this radiofrequency signal processing unit processes in a first operation mode obtains.The quality of described signal can be presented as: signal intensity, signal noise, signal fidelity etc.
In the case, this radiofrequency signal processing unit can connect the first antenna in the first electronic equipment in a first operation mode, and the antenna that can connect this first antenna in the second operation mode simultaneously and utilize described second electronic equipment to expand.Alternatively, this radiofrequency signal processing unit does not connect any antenna in a first operation mode, and can connect the antenna utilizing described second electronic equipment expansion in the second operation mode.
Finally, terminate in step S199 according to the data processing method 100 of the embodiment of the present invention.
In addition, although not shown in FIG, described data processing method 100 can comprise in step s 130, which: read in the functional parameter of the second electronic equipment stored in described second electronic equipment as described first data, described functional parameter shows whether described second electronic equipment has described antenna element.In the case, described first data meet described predetermined condition and are: described first data show that described second electronic equipment has described antenna element.
Exemplarily, described second electronic equipment also comprises the 3rd functional unit and the 4th functional unit.
In the case, in a first operation mode, described second pin is connected with described 3rd functional unit, and in the second operation mode, described second pin is connected with described 4th functional unit.
In addition, although not shown in FIG, the step S150 in described data processing method 100 can comprise: described first electronic equipment is switched to the second mode of operation from described first mode of operation; And sent for described second pin is disconnected with described 3rd functional unit and the instruction be connected with described 4th functional unit to described second equipment with described second interface by described first interface.
Further, although be discussed herein the situation that described second electronic equipment has the 3rd functional unit and the 4th functional unit, but the present invention is not limited thereto, described second electronic equipment can have more than two functional units, and can switch between more than two functional units.
In addition, although be discussed herein the situation that described first electronic equipment has the second functional unit, but the present invention is not limited thereto, described first electronic equipment can have other functional unit, and can be expanded by the corresponding functional unit in described second electronic equipment.
Such as, a functional unit treating expanded function can be selected in described first electronic equipment, and from described second electronic equipment, correspondingly read the parameter be associated with selected functional unit, under judging that described second electronic equipment has the corresponding functional unit situation that may be used for expanding functional unit selected in described first electronic equipment, described second electronic equipment is indicated described second pin to be switched to described corresponding functional unit in the second electronic equipment.
Alternatively, described second electronic equipment can comprise the unit having gathered two kinds of difference in functionalitys.In the case, without the need to carrying out any switching in the second electronic equipment.In a first operation mode, utilize the Part I of this unit by described second pin transmission data, and in the second operation mode, utilize the Part II of this unit by described second pin transmission data.Or, simultaneously different from two that the second pin connects unit (first module and second unit) can be comprised, in the case, also without the need to carrying out any switching in the second electronic equipment.In a first operation mode, utilize first module by described second pin transmission data, and in the second operation mode, utilize second unit by described second pin transmission data.
Exemplarily, described first functional unit is basic functional units (for realizing the basic function of described first pin), described second functional unit is radiofrequency signal processing unit, and described 3rd functional unit is ground unit, and described 4th functional unit is antenna element.
In addition, exemplarily, described first interface and the second interface are data bus interface, include but not limited to general-purpose serial bus USB interface or SATA interface; Described first pin and the second pin are label detection pin, include but not limited to USB_ID pin.In the case, described first functional unit is USB negotiation element.
When detecting that described second pin is low level, judge that described first electronic equipment is main equipment, and described second electronic equipment is from equipment.
Figure 2 illustrates the schematic block diagram of the electronic equipment 200 implementing described data processing method.
This electronic equipment 200 has the first mode of operation and the second mode of operation.
As shown in Figure 2, this electronic equipment 200 comprises: first interface 210, connection detecting unit 220, first functional unit 230, second functional unit 240 and switch unit 250.
Described first interface 210 at least comprises the first pin, and is connected with the second interface of the second electronic equipment.Described connection detecting unit 220 detects the connection of the second pin in the second interface of described first pin and the second electronic equipment.
When described electronic equipment is under described first mode of operation, described first functional unit 230 is connected with described first pin; When described electronic equipment is under described second mode of operation, the second functional unit 240 is connected with described first pin.
Described switch unit 250 makes described first pin disconnect with described first functional unit and be connected with described second functional unit.
When described connection detecting unit 220 detects described connection, described electronic equipment is made to be in described first mode of operation, in this first operative mode, by described first interface and described second interface, between described electronic equipment and described second electronic equipment, the first data are transmitted.
Described switch unit 250 receives described first data, and when judging that described first data meet predetermined condition, makes described electronic equipment switch to the second mode of operation from described first mode of operation.
Under described second mode of operation, by described first pin and described second pin, between described electronic equipment from described second electronic equipment, transmit second data different with described first data, described second data are for making described second electronic equipment by cooperating using as the expanding element realized the second functional unit corresponding function with described second functional unit.
Preferably, described in when realizing expanding by described second electronic equipment under described second mode of operation, the second performance of the second functional unit corresponding function is better than the first performance of described second functional unit corresponding function in this first operative mode.
As mentioned above, exemplarily, described second functional unit is radiofrequency signal processing unit, described second electronic equipment expansion is as the antenna of this radiofrequency signal processing unit in the second operation mode, and the quality that this radiofrequency signal processing unit processes the signal obtained in the second operation mode is better than the quality of the signal that this radiofrequency signal processing unit processes in a first operation mode obtains.The quality of described signal can be presented as: signal intensity, signal noise, signal fidelity etc.
In the case, this radiofrequency signal processing unit can connect the first antenna in the first electronic equipment in a first operation mode, and the antenna that can connect this first antenna in the second operation mode simultaneously and utilize described second electronic equipment to expand.Alternatively, this radiofrequency signal processing unit does not connect any antenna in a first operation mode, and can connect the antenna utilizing described second electronic equipment expansion in the second operation mode.
Described electronic equipment 200 can also comprise: functional parameter reading unit, for reading in the functional parameter of the second electronic equipment stored in described second electronic equipment as described first data, described functional parameter shows whether described second electronic equipment has described antenna element.In the case, described first data meet described predetermined condition and are: described first data show that described second electronic equipment has described antenna element.
Exemplarily, described second electronic equipment also comprises the 3rd functional unit and the 4th functional unit.
In the case, in a first operation mode, described second pin is connected with described 3rd functional unit, and in the second operation mode, described second pin is connected with described 4th functional unit.
In the case, described switch unit, when described electronic equipment is switched to the second mode of operation from described first mode of operation, is also sent for being disconnected with described 3rd functional unit and the instruction be connected with described 4th functional unit by described second pin to described second equipment with the second interface by described first interface.
Further, although be discussed herein the situation that described second electronic equipment has the 3rd functional unit and the 4th functional unit, but the present invention is not limited thereto, described second electronic equipment can have more than two functional units, and can switch between more than two functional units.
In addition, although be discussed herein the situation that described first electronic equipment has the second functional unit, but the present invention is not limited thereto, described first electronic equipment can have other functional unit, and can be expanded by the corresponding functional unit in described second electronic equipment.
Such as, a functional unit treating expanded function can be selected in described first electronic equipment, and from described second electronic equipment, correspondingly read the parameter be associated with selected functional unit, under judging that described second electronic equipment has the corresponding functional unit situation that may be used for expanding functional unit selected in described first electronic equipment, described second electronic equipment is indicated described second pin to be switched to described corresponding functional unit in the second electronic equipment.
As mentioned above, described first functional unit can be basic functional units (for realizing the basic function of described first pin), described second functional unit can be radiofrequency signal processing unit, described 3rd functional unit can be ground unit, and described 4th functional unit can be antenna element.
Described first interface and the second interface can be data bus interface, include but not limited to general-purpose serial bus USB interface or SATA interface; Described first pin and the second pin are label detection pin, include but not limited to USB_ID pin.In the case, described first functional unit is USB negotiation element.
When described connection detecting unit 220 detects that described second pin is low level, described electronic equipment is assigned as main equipment, and described second electronic equipment is assigned as from equipment.
Next, be described with reference to Figure 3 the antenna supplying method 300 as the first embodiment, it is applied to an electronic equipment.
First, start in step S301 according to the antenna supplying method 300 of the first embodiment.
Next, in step S310, detect described electronic equipment and whether be connected with base (or docking station docking) by general-purpose serial bus USB interface.
Exemplarily, detect described electronic equipment by the level of the USB_ID pin detecting described USB interface and whether be connected with base, wherein, when described USB_ID pin is low level, detect that described electronic equipment is connected with base; And when described USB_ID pin is high level, detect that described electronic equipment is not connected with base.
When detecting that described electronic equipment is connected with base by USB interface, the method 300 proceeds to step S320.In step S320, determine that described electronic equipment is in the first mode of operation.Now, USB_ID pin and USB consult parts and are connected, and particularly, when the level of described USB_ID pin is low level, described electronic equipment is set to USB main equipment, and described base is set to USB from equipment.
Next, in step S330, read the functional parameter of described base.
Exemplarily, a built-in storer in described base, store the functional parameter of described base in which memory, described functional parameter is used to indicate described base and provides radio-frequency antenna function.
Preferably, the functional parameter reading described base comprises: read in by the data line pin of USB interface the functional parameter stored in the storer of described base.
Then, in step S340, according to the functional parameter of read described base, determine whether described base provides radio-frequency antenna function.
When determining that described base provides radio-frequency antenna function, the method 300 proceeds to step S350.In step S350, make described electronic equipment be in the second mode of operation, wherein, the USB_ID pin of described USB interface is switched to and is connected with radio frequency signal processing circuit.
Then, in step S360, described base is used as the antenna of described electronic equipment.
Finally, terminate in step S399 according to the antenna supplying method 300 of the first embodiment.
Preferably, in described electronic equipment, the USB_ID pin of described USB interface is optionally consulted parts by a switch and is connected or is connected with described radio frequency signal processing circuit with the USB in described electronic equipment.Determine that described USB interface is with when providing the base of radio-frequency antenna function to be connected at described electronic equipment, described switch is controlled as to be consulted parts by the USB_ID pin of described USB interface with USB and disconnects and be connected with described radio frequency signal processing circuit.
Although not shown in figure 3, when the functional parameter of read described base shows that described base provides radio-frequency antenna function, before the USB_ID pin of described USB interface switched to being connected with radio frequency signal processing circuit, described antenna supplying method 300 can also comprise: export a cue, and described cue is used for pointing out described base to provide radio-frequency antenna function to user; And receiving the input signal of user, described input signal is used for the radio-frequency antenna function that described in choice for use, base provides.
On the other hand, in described base, antenna element can be connected with ground unit and is connected to USB_ID pin (as shown in Figure 4 A) simultaneously.Alternatively, in described base, there is a change-over switch, optionally antenna element or ground unit are connected (as shown in Figure 4 B) with USB_ID pin by this change-over switch.
In the case illustrated in fig. 4b, when determining described electronic equipment to be switched to the second mode of operation from the first mode of operation, also need to send a switching signal to described base, for making the change-over switch in described base USB_ID pin disconnected with ground unit and be connected with antenna element.
The illustrative circuitry of the commutation circuit of USB_ID pin in electronic equipment is shown at Fig. 5.
When electronic equipment is not connected with described base, the controller in electronic equipment carries out control and makes: USB_IN_EN is " 1 ", and ANT_IN_EN is " 0 ".Now, by the pin one of the signal transmission of USB_ID pin to integrated circuit FU2004, for consulting parts, to complete the basic function of USB_ID pin for USB.
When electronic equipment starts to be connected with described base, because the pin one reading USB_ID pin by FU2004 is " 0 ", therefore, controller in electronic equipment carries out control and makes: the functional parameter (such as, device identifier) being read described base by the data line pin of USB interface.
When this device identifier shows that this base possesses antenna function, the controller in electronic equipment carries out control and makes: USB_IN_EN is " 0 ", and ANT_IN_EN is " 1 ".Now, by the pin two of the signal transmission of USB_ID pin to integrated circuit FU2004, for being connected with the radio frequency signal processing circuit in electronic equipment, to realize the expansion of antenna.
It should be noted that according to foregoing description, USB_ID pin is used as its original function in a first operation mode, that is, in USB negotiations process, be used to realize USB consult, after this, in the second operation mode, USB_ID pin is used as a part for radio frequency path.In addition, it should be noted that in the second operation mode, the effect of other pin in USB interface does not change, and namely still plays its original function, such as, still need to carry out USB data transmission by the data line in USB interface.
Fig. 6 shows the schematic block diagram of the electronic equipment 600 for realizing the antenna supplying method shown in Fig. 3 as first embodiment of the invention.
As shown in Figure 6, electronic equipment 600 comprises: general-purpose serial bus USB interface 610, connection detection part 620, USB consult parts 630, functional parameter fetch unit 640, base identification component 650, radio frequency signal processing circuit 660 and change-over switch 670.
Whether described connection detection part 620 detects described USB interface and is connected with base.Described USB consults the master slave relation that parts 630 determine described electronic equipment and described second electronic equipment.It should be noted that described connection detection part 620 and described USB consult parts 630 and can combine and become same parts, or can be the parts of separation.
Described functional parameter fetch unit 640 reads the functional parameter of described base from the described base be connected with described USB interface.Described base identification component 650, according to the functional parameter of read described base, determines whether described base provides radio-frequency antenna function.It should be noted that described functional parameter fetch unit 640 and described base identification component 650 can be combined and become same parts, or can for the parts be separated.Such as, described functional parameter fetch unit 640 and described base identification component 650 can be combined and show as the controller of electronic equipment.
Described radio frequency signal processing circuit 660 processes the radiofrequency signal received by described antenna.
Described change-over switch 670 is optionally consulted parts and is connected or is connected with described radio frequency signal processing circuit with the USB in described electronic equipment.
When described base identification component 650 determines that described base provides radio-frequency antenna function, the USB_ID pin of described USB interface and USB are consulted parts disconnect, and switch to and be connected with radio frequency signal processing circuit, described base is used as the antenna of described electronic equipment.
Exemplarily, described base identification component 640 also may be implemented as hardware.Such as, first the serial data of reading in from USB data line is converted into parallel data, then controlled by a logical circuit, particularly, (show that base provides radio-frequency antenna function) when parallel data is particular value, described logical circuit carries out control and makes: USB_IN_EN is " 0 ", and ANT_IN_EN is " 1 ".Thus, the USB_ID pin of described USB interface and USB are consulted parts and disconnects, and switch to and be connected with radio frequency signal processing circuit, described base is used as the antenna of described electronic equipment.
Although describe method of the present invention for the USB_ID pin extended antenna of USB interface above, but the present invention is not limited thereto, those skilled in the art can apply the present invention to other occasion.
Utilize according to data processing method of the present invention, the first pin in the first interface of electronic equipment can be carried out multiplexing functions by antenna supplying method and electronic equipment, particularly, the first data are transmitted by utilizing the second interface of the first interface of the first electronic equipment and the second electronic equipment in a first operation mode, then the decision-making that whether will switch to the second mode of operation is made according to described first data, when determining to be switched to the second mode of operation, by the second pin in the second interface of the first pin in the first interface of the first electronic equipment and the second electronic equipment, utilize the 4th functional unit in described second electronic equipment to expand the corresponding function of the second functional unit in described first electronic equipment.
Should be appreciated that data processing method, antenna supplying method and the electronic equipment that can realize according to the embodiment of the present invention with the various forms of hardware, software, firmware, application specific processor or their combination.Provide description here, those of ordinary skill in the related art can expect these and similar realization or configuration of the present invention.
Although describe some embodiments of the present invention with reference to the accompanying drawings here, should be appreciated that described embodiment is only illustrative, and not restrictive.It will be appreciated by those skilled in the art that when not deviating from the scope and spirit of the present invention limited in claim and equivalent thereof, the change in various forms and details can be made these exemplary embodiments.

Claims (20)

1. a data processing method, is applied to the first electronic equipment, and described first electronic equipment comprises the first functional unit, the second functional unit and first interface, and described method comprises:
When the first pin in the described first interface described first electronic equipment being detected is connected with the second pin in the second interface of the second electronic equipment, described first electronic equipment is made to be in the first mode of operation, wherein, described second electronic equipment comprises described second interface, and described first mode of operation comprises: described first pin is connected with described first functional unit;
By described first interface and described second interface, between described first electronic equipment and described second electronic equipment, transmit the first data;
When described first data meet predetermined condition, described first electronic equipment is switched to the second mode of operation from described first mode of operation, wherein said second mode of operation comprises: described second pin is connected with described second functional unit;
By described first pin and described second pin, second data different with described first data are transmitted between described first electronic equipment from described second electronic equipment, wherein, described second data are for making described second electronic equipment by cooperating using as the expanding element realized described second functional unit corresponding function with described second functional unit.
2. data processing method as claimed in claim 1, wherein, described first electronic equipment is being connected with described second electronic equipment and the second performance of described second functional unit corresponding function is better than described first electronic equipment and is being connected with described second electronic equipment and the first performance of described second functional unit corresponding function in this first operative mode under described second mode of operation.
3. data processing method as claimed in claim 1, wherein, describedly between described first electronic equipment and described second electronic equipment, transmit the first data by described first interface and described second interface and comprise:
By described first pin and described first data of the second pin transmission, or
Described first data are transmitted by other pins different with described second pin in other pins different from described first pin in described first interface and described second interface, or
By the Part I in described first pin and described first data of the second pin transmission, and transmitted the Part II in described first data by other pins different with described second pin in other pins different from described first pin in described first interface and described second interface.
4. data processing method as claimed in claim 1, wherein, described second electronic equipment also comprises the 3rd functional unit and the 4th functional unit, in a first operation mode, described second pin is connected with described 3rd functional unit, describedly described first electronic equipment is switched to the second mode of operation from described first mode of operation comprises:
Described first electronic equipment is switched to the second mode of operation from described first mode of operation; And
Sent for described second pin is disconnected with described 3rd functional unit and the instruction be connected with described 4th functional unit to described second electronic equipment with described second interface by described first interface.
5. data processing method as claimed in claim 4, wherein, described second functional unit is radiofrequency signal processing unit, and described 3rd functional unit is ground unit, and described 4th functional unit is antenna element.
6. the data processing method as described in claim 1 or 5, wherein, described first interface and the second interface are data bus interface, and described first pin and the second pin are label detection pin.
7. data processing method as claimed in claim 6, wherein, described data bus interface is general-purpose serial bus USB interface, and described detection pin is USB_ID pin, and described first functional unit is USB negotiation element.
8. data processing method as claimed in claim 7, wherein, describedly transmits the first data and comprises: the level detecting described second pin between described first electronic equipment and described second electronic equipment;
When the level of described second pin is low level, judge that described second electronic equipment is as from equipment.
9. data processing method as claimed in claim 5, wherein, describedly between described first electronic equipment and described second electronic equipment, transmit the first data comprise:
Read in the functional parameter of the second electronic equipment stored in described second electronic equipment as described first data, described functional parameter shows whether described second electronic equipment has described antenna element,
Wherein, described first data meet described predetermined condition and are: described first data show that described second electronic equipment has described antenna element.
10. an electronic equipment, have the first mode of operation and the second mode of operation, it comprises:
First interface, comprises the first pin;
Connect detecting unit, for detecting the connection of the second pin in the second interface of described first pin and the second electronic equipment, described second electronic equipment comprises described second interface;
First functional unit, is connected with described first pin during for being under described first mode of operation at described electronic equipment;
Second functional unit, is connected with described first pin during for being under described second mode of operation at described electronic equipment; And
Switch unit, to disconnect with described first functional unit for making described first pin and is connected with described second functional unit,
Wherein, when described connection detecting unit detects described connection, described electronic equipment is made to be in described first mode of operation,
In this first operative mode, by described first interface and described second interface, between described electronic equipment and described second electronic equipment, the first data are transmitted;
When described switch unit judges that described first data meet predetermined condition, described electronic equipment is made to switch to the second mode of operation from described first mode of operation,
Under described second mode of operation, by described first pin and described second pin, second data different with described first data are transmitted between described electronic equipment from described second electronic equipment, wherein, described second data are for making described second electronic equipment by cooperating using as the expanding element realized the second functional unit corresponding function with described second functional unit.
11. electronic equipments as claimed in claim 10, wherein, described electronic equipment is being connected with described second electronic equipment and the second performance of described second functional unit corresponding function is better than described electronic equipment and is being connected with described second electronic equipment and the first performance of described second functional unit corresponding function in this first operative mode under described second mode of operation.
12. electronic equipments as claimed in claim 10, wherein, describedly transmit the first data by described first interface and described second interface and comprise between described electronic equipment and described second electronic equipment:
By described first pin and described first data of the second pin transmission, or
Described first data are transmitted by other pins different with described second pin in other pins different from described first pin in described first interface and described second interface, or
By the Part I in described first pin and described first data of the second pin transmission, and transmitted the Part II in described first data by other pins different with described second pin in other pins different from described first pin in described first interface and described second interface.
13. electronic equipments as claimed in claim 10, wherein, described second electronic equipment also comprises the 3rd functional unit and the 4th functional unit, in a first operation mode, described second pin is connected with described 3rd functional unit, described switch unit, when described electronic equipment is switched to the second mode of operation from described first mode of operation, is also sent for being disconnected with described 3rd functional unit and the instruction be connected with described 4th functional unit by described second pin to described second electronic equipment with the second interface by described first interface.
14. electronic equipments as claimed in claim 13, wherein, described second functional unit is radiofrequency signal processing unit, and described 3rd functional unit is ground unit, and described 4th functional unit is antenna element.
15. electronic equipments as described in claim 10 or 14, wherein, described first interface and the second interface are data bus interface, and described first pin and the second pin are label detection pin.
16. electronic equipments as claimed in claim 15, wherein, described data bus interface is general-purpose serial bus USB interface, and described label detection pin is USB_ID pin, and described first functional unit is USB negotiation element.
17. electronic equipments as claimed in claim 14, also comprise functional parameter reading unit, for reading in the functional parameter of the second electronic equipment stored in described second electronic equipment as described first data, described functional parameter shows whether described second electronic equipment has described antenna element
Wherein, described first data meet described predetermined condition and are: described first data show that described second electronic equipment has described antenna element.
18. 1 kinds of antenna supplying methods, are applied to an electronic equipment, and described method comprises:
Detect described electronic equipment whether to be connected with base by general-purpose serial bus USB interface;
When described electronic equipment is connected with base by USB interface, read the functional parameter of described base;
According to the functional parameter of read described base, determine whether described base provides radio-frequency antenna function; And
When determining that described base provides radio-frequency antenna function, the USB_ID pin of described USB interface being switched to and is connected with radio frequency signal processing circuit, described base is used as the antenna of described electronic equipment.
19. antenna supplying methods as claimed in claim 18, wherein, the USB_ID pin of described USB interface is optionally consulted parts by a change-over switch and is connected or is connected with described radio frequency signal processing circuit with the USB in described electronic equipment, wherein
Determine that described USB interface is with when providing the base of radio-frequency antenna function to be connected at described electronic equipment, described switch is controlled as to be consulted parts by the USB_ID pin of described USB interface with USB and disconnects and be connected with described radio frequency signal processing circuit.
20. 1 kinds of electronic equipments, comprising:
General-purpose serial bus USB interface;
Connecting detection part, whether being connected with base for detecting described USB interface;
USB consults parts, for determining the master slave relation of described electronic equipment and the second electronic equipment;
Functional parameter fetch unit, for reading the functional parameter of described base from the described base be connected with described USB interface;
Base identification component, for the functional parameter according to read described base, determines whether described base provides radio-frequency antenna function;
Radio frequency signal processing circuit, for the treatment of the radiofrequency signal received by antenna; And
Change-over switch, is connected for optionally consulting parts with the USB in described electronic equipment or is connected with described radio frequency signal processing circuit,
Wherein, when determining that described base provides radio-frequency antenna function, the USB_ID pin of described USB interface and USB are consulted parts disconnect, and switch to and be connected with radio frequency signal processing circuit, described base is used as the antenna of described electronic equipment.
CN201110412816.1A 2011-12-12 2011-12-12 Data processing method, antenna supplying method and electronic equipment Active CN103164371B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110412816.1A CN103164371B (en) 2011-12-12 2011-12-12 Data processing method, antenna supplying method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110412816.1A CN103164371B (en) 2011-12-12 2011-12-12 Data processing method, antenna supplying method and electronic equipment

Publications (2)

Publication Number Publication Date
CN103164371A CN103164371A (en) 2013-06-19
CN103164371B true CN103164371B (en) 2015-11-25

Family

ID=48587469

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110412816.1A Active CN103164371B (en) 2011-12-12 2011-12-12 Data processing method, antenna supplying method and electronic equipment

Country Status (1)

Country Link
CN (1) CN103164371B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106598892B (en) * 2015-10-14 2020-06-02 北京小米移动软件有限公司 Switching control method and device
CN105721015B (en) * 2016-01-29 2018-11-20 努比亚技术有限公司 A kind of binary channels mobile terminal being multiplexed Flash ROM
CN108700855A (en) * 2017-03-09 2018-10-23 深圳市大疆创新科技有限公司 The channels F control method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201226150Y (en) * 2008-06-18 2009-04-22 宇龙计算机通信科技(深圳)有限公司 Electronic device
CN101808428A (en) * 2010-04-21 2010-08-18 华为终端有限公司 Communication method and device of double-card dual-standby cell phone

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101013367B1 (en) * 2008-04-22 2011-02-14 삼성전자주식회사 Portable device, method and system for capability measurement thereof
US7953375B2 (en) * 2008-05-01 2011-05-31 Azurewave Technologies, Inc. Communication module with dual systems and method for defining operating mode thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201226150Y (en) * 2008-06-18 2009-04-22 宇龙计算机通信科技(深圳)有限公司 Electronic device
CN101808428A (en) * 2010-04-21 2010-08-18 华为终端有限公司 Communication method and device of double-card dual-standby cell phone

Also Published As

Publication number Publication date
CN103164371A (en) 2013-06-19

Similar Documents

Publication Publication Date Title
CN109040371B (en) Radio frequency system and related product
CN111654316B (en) Antenna switching method and device, storage medium and electronic equipment
CN108353265B (en) Wireless communication method using near field communication and electronic device
CN101465675B (en) Enhancement type close range wireless communication eNFC device and implementing method thereof
US9647742B2 (en) Antenna architecture and operational method for RF test connector reduction
CN104244291A (en) Mobile terminal and antenna switching method and device thereof
CN106849987A (en) A kind of antenna switching control method and terminal
US10998986B2 (en) Wireless communication circuit for supporting antenna switching and device including same
CN101772215A (en) Mobile terminal capable of supporting near field communication and near field communication method thereof
CN105337631B (en) A kind of aerial matching method, device, system and mobile terminal
CN110266343B (en) Antenna switching method and related equipment
CN103164371B (en) Data processing method, antenna supplying method and electronic equipment
KR20100081043A (en) Apparatus and method for reducing current in wireless communication terminal
CN109804655B (en) Method for signal transmission in radio frequency network, radio frequency system and detection equipment
CN114401508B (en) SIM card management method and electronic equipment
CN111969285A (en) Antenna switching system, method, device, storage medium and processor
CN103687056A (en) Mobile communication device and wireless connection establishing method thereof
CN104247530A (en) Circuit arrangement for a mobile communications unit of a motor vehicle, method for operating the mobile communications unit and chip card for the mobile communications unit
CN112134597B (en) Detection of NFC device
CN103338469A (en) Monitoring method, monitoring equipment and monitoring system of antenna feeder system
JP2003233787A (en) Noncontact ic card communication establishing method and system device
CN112911665B (en) Connection method of access point and electronic equipment
CN103795447A (en) Electronic equipment and method for information processing
CN113836951A (en) Module switching circuit, module switching method and module switching device
WO2014209424A1 (en) Lte gateway reception system using selectable controllable antenna

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