Summary of the invention
The technical issues that need to address of the present invention are how a kind of bi-mode intelligent mobile terminal and corresponding internal communication method thereof are provided; Can make between AP application processor module and the dual-mode wireless communication subsystem in the bi-mode intelligent mobile terminal and carry out high-speed data communications; Thereby support the requirement that present 3G network is used, support the requirement of following high-speed data service simultaneously.
Above-mentioned first technical problem of the present invention solves like this; A kind of bi-mode intelligent mobile terminal is provided; Built-in application processor A P, the first wireless telecommunications subsystem and the second wireless telecommunications subsystem; Also built-in three port random access memory rams, wherein: the corresponding master port that connects three port random access memory rams of said application processor AP, the first wireless telecommunications subsystem and the second wireless telecommunications subsystem be corresponding respectively to be connected of three port random access memory rams from port.
According to the means of communication provided by the invention, three port rams comprise three covers and independently hold the PORT mouth, and each PORT mouth comprises a sets of data and address bus; Three port ram inside comprise two BANK (storage library); Use in data communication space when being allocated to the conduct of two wireless telecommunications subsystems with the AP communication respectively; The master port PORT1 of three port rams links to each other with AP; This port can conduct interviews to two BANK of inside, and in addition two link to each other with two wireless telecommunications subsystems respectively from port PO RT2, PORT3, and the corresponding inner BANK who confirms of each PORT mouth conducts interviews.
According to the means of communication provided by the invention, also be connected with I/O (I/O) signal control line between the said application processor AP and the first wireless telecommunications subsystem and the second wireless telecommunications subsystem, the most simply be: respectively a pair of for respectively.
According to the means of communication provided by the invention, it is among GSM, EDGE, CDMA, WCDMA or the TD-SCDMA any that the said first wireless telecommunications subsystem and the second wireless telecommunications subsystem include, but are not limited to.
Above-mentioned another technical problem of the present invention solves like this, and a kind of bi-mode intelligent mobile terminal corresponding internal communication method is provided, and is that media carries out communication with three port random access memory, specifically may further comprise the steps:
4.1) inner two storage libraries of three port random access memory rams all are divided into the uplink and downlink data area;
4.2) bi-mode intelligent mobile terminal internal application processor A P writes data the upstream data zone of corresponding storage library and read the data in each storage library downlink data zone, the first wireless telecommunications subsystem and the second wireless telecommunications subsystem write data and are connected three port random access memory rams separately from the downlink data zone of the corresponding storage library of port and read this data from the upstream data zone of the corresponding storage library of port.
According to the means of communication provided by the invention, said uplink and downlink data area size is dynamically adjusted according to concrete the application.
According to the means of communication provided by the invention, these means of communication comprise that also application processor is only done the operation of writing through the said upstream data of software setting zone, and the wireless telecommunications subsystem is only done the operation of reading; And said downlink data zone is set, and application processor is only done the operation of reading, and the wireless telecommunications subsystem is only done the operation of writing.
According to the means of communication provided by the invention; Said step 4.2) application processor timesharing or select the data that read in the two storage library downlink data zones in; Perhaps timesharing or select the data that write in the two storage library upstream data zones, wherein time-sharing format can realize two standbies.
According to the means of communication provided by the invention, said step 4.2) comprises Data Transmission Controlling.
According to the means of communication provided by the invention, said Data Transmission Controlling comprises that said application processor carries out communication through corresponding input/output signal control line and the first wireless telecommunications subsystem or the second wireless telecommunications subsystem.
According to the means of communication provided by the invention, said Data Transmission Controlling comprises that said application processor writes or read data operation and control three port random access memory from port through three port random access memory correspondences through three port random access memory master ports, the first and second wireless telecommunications subsystems.
A kind of bi-mode intelligent mobile terminal provided by the invention and corresponding internal communication method thereof; Adopt three port random access memory ram data communication media; Improved speed of data communication between AP application processor module and the dual-mode wireless communication subsystem greatly, thereby in the requirement of supporting can also support simultaneously on the basis that present 3G network is used following high-speed data service.
Embodiment
At first; Core of the present invention is described: adopt three port random access memory rams as the data communication media between AP application processor and two wireless telecommunications subsystems; Transfer of data when realizing dual-mode dual-standby; Adopting the corresponding arbitration mechanism of a cover to divide on the software with on the hardware with sequential and to the data space of three port rams, thus the reliability and the correctness of communication between guarantee AP and two the wireless telecommunications subsystems.
(1) system architecture
The system architecture of this 3G bi-mode intelligent mobile terminal is divided several big modules, is respectively: AP application processor module, the first wireless telecommunications subsystem (3G wireless telecommunications subsystem), the second wireless telecommunications subsystem (the 3G wireless telecommunications subsystem of GSM, EDGE, CDMA or other standard), peripheral functional modules and input/output module etc.Wherein AP module and wireless telecommunications subsystem have the program storage of oneself; AP is the intelligent mobile terminal primary processor; The wireless telecommunications subsystem is the subsystem of intelligent mobile terminal; Be articulated on the application processor as two wireless modems, realize the standby simultaneously of two wireless telecommunications subsystems, in each automatic network, carry out voice, note and data service etc. respectively.
(2) hardware
Three port rams comprise three covers and independently hold the PORT mouth, and each PORT mouth comprises a sets of data and address bus; Three port ram inside comprise two BANK (storage library); Use in data communication space when being allocated to the conduct of two wireless telecommunications subsystems with the AP communication respectively; The master port PORT1 of three port rams links to each other with AP; This port can conduct interviews to two BANK of inside, and in addition two port PO RT2, PORT3 link to each other with two wireless telecommunications subsystems respectively, and the corresponding inner BANK who confirms of each PORT mouth conducts interviews.
In order to guarantee high speed communication and reliability, adopt following measure on the technic relization scheme, through adopting corresponding mechanism to ensure on the hardware with on the software; In the hardware plan design, data, address bus and interruption equisignal line that the master port PORT1 in three port rams is corresponding link to each other with address, data wire and the corresponding I/O of AP application processor; Data, address bus and interruption equisignal line that PORT2 is corresponding link to each other with address, data wire and the interruption equisignal line of the first wireless telecommunications subsystem; Data, address wire and interrupt line etc. that PORT3 is corresponding link to each other with address, data wire and the interrupt line equisignal line of the second wireless telecommunications subsystem.In addition, between AP and two wireless telecommunications subsystems, increase the transmission control that two signal control lines are used for communication data respectively.
(3) software
On software design, each BANK that three port rams are inner is divided into the uplink and downlink data field, and upstream data zone AP only does the operation of writing, and the wireless telecommunications subsystem is only done the operation of reading; Downlink data zone AP only does the operation of reading, and the wireless telecommunications subsystem is only done the operation of writing.The size of uplink and downlink data field is according to specifically being used for confirming the space size.In data transmission procedure; Cooperate the transmission of data with two signal control lines between the wireless telecommunications subsystem through software control AP; Increase corresponding Data Transmission Controlling on AP and the wireless telecommunications subsystem bottom software flow process simultaneously, ensure the integrality and the correctness of transfer of data.
The second, specify the present invention in conjunction with Fig. 2 and Fig. 3:
(1) physical structure
Accompanying drawing 2 is the system configuration sketch map of a kind of 3G bi-mode intelligent mobile terminal high speed communication implementation method of the present invention.Realize the data communication between AP and two the wireless telecommunications subsystems through three port rams, this mode satisfies the communication speed requirement of multiple technologies schemes such as EDGE, WCDMA, WCDMA (HSDPA), TD-SCDMA, TD-SCDMA (HSDPA), 802.11b.
Shown in accompanying drawing 2; The system architecture of the 3G bi-mode intelligent mobile terminal among the present invention is divided several big modules, is respectively: AP application processor module 1, three port rams 2, the first wireless telecommunications subsystem 31 (3G wireless telecommunications subsystem), the second wireless telecommunications subsystem 32 (the 3G wireless telecommunications subsystem of GSM, EDGE, CDMA or other standard), peripheral functional modules and input/output module etc.Wherein AP module and wireless telecommunications subsystem have the program storage of oneself; AP is the intelligent mobile terminal primary processor; The wireless telecommunications subsystem is the subsystem of intelligent mobile terminal; Be articulated on the application processor as two wireless modems, realize the standby simultaneously of two wireless telecommunications subsystems, in each automatic network, carry out voice, note and data service etc. respectively.
Shown in accompanying drawing 2; The AP application processor module adopts three port rams to realize being connected with the communication between the first wireless telecommunications subsystem, the second wireless telecommunications subsystem on the Hardware Design, and data, address bus and interruption equisignal line that the master port PORT1 in three port rams is corresponding link to each other with address, data wire and the corresponding I/O of AP application processor; Data, address bus and interruption equisignal line that PORT2 is corresponding link to each other with address, data wire and the interruption equisignal line of the first wireless telecommunications subsystem; Data, address wire and interrupt line etc. that PORT3 is corresponding link to each other with address, data wire and the interrupt line equisignal line of the second wireless telecommunications subsystem.
Be connected with a pair of I/O control line (seeing AP2ModemA_READY holding wire and the ModemA2AP_READY shown in the accompanying drawing 2) between the AP and the first wireless telecommunications subsystem and be used for Data Transmission Controlling, this cooperates INT12 on three port rams to the I/O line, and INT21 uses.
Be connected with a pair of I/O control line (seeing AP2ModemB_READY holding wire and the ModemB2AP_READY shown in the accompanying drawing 2) between the AP and the second wireless telecommunications subsystem and be used for Data Transmission Controlling, this cooperates INT13 on three port rams to the I/O line, and INT31 uses.
(2) software flow
Shown in accompanying drawing 3; In the software realization flow; At first the data space to BANK1 in three port rams requires to be divided into two parts according to real system; Be divided into upstream data district and downlink data district, upstream data district AP application processor upstream data zone AP only does the operation of writing, and the wireless telecommunications subsystem is only done the operation of reading; Downlink data zone AP only does the operation of reading, and the wireless telecommunications subsystem is only done the operation of writing.
Is that example is explained the control of software flow process with reference to accompanying drawing 2 and accompanying drawing 3 with the transfer of data between the AP application processor module and the first wireless telecommunications subsystem;
During uplink transmission data:
(1) AP judges at first whether ModemA2AP_READY is effective, and AP writes data in the upstream data district to upstream data district spatial division according to the rules and the agreement that both sides arrange in the time of effectively;
(2) write the data of some after; AP is through writing corresponding address space unit on three port rams; The INT21 step-down that links to each other with the first wireless telecommunications subsystem on three port rams produces the first wireless telecommunications subsystem and interrupts, and it is up that notice wireless telecommunications subsystem has data to need;
(3) first wireless telecommunications subsystems are had no progeny in receiving; At first can remove INT21 and interrupt through writing on three port rams corresponding address space unit; The wireless telecommunications subsystem is put ModemA2AP_READY low then, prevents that AP from writing data in wireless telecommunications subsystem reading data course;
(4) first wireless telecommunications subsystems by appointment address space from the upstream data district comes out data read, then ModemA2AP_READY is put height, and the expression upstream data has received and finished, and notice AP application side can continue to transmit data.
During downlink transmission data:
(5) first wireless telecommunications subsystems judge at first whether AP2ModemA_READY is effective, write data in the downlink data district to downlink data district spatial division according to the rules and the agreement that both sides arrange in the time of effectively;
(6) write the data of some after; The first wireless telecommunications subsystem is through writing corresponding address space unit on three port rams; The INT12 step-down that links to each other with AP on three port rams produces the AP application processing module and interrupts, and the notification applications processing module has data downstream;
(7) the AP application module is had no progeny in receiving; At first can remove INT12 and interrupt through writing on three port rams corresponding address space unit; The AP application module is put AP2ModemA_READY low then, prevents that the wireless telecommunications subsystem from writing data in reading the AP data procedures;
(8) first wireless telecommunications subsystems by appointment address space from the upstream data district comes out data read, then ModemA2AP_READY is put height, and the expression upstream data has received and finished, and notifies the first wireless telecommunications subsystem can continue to transmit data.
The transfer process of AP and the second wireless telecommunications subsystem is identical with the transfer process of the AP and the first wireless telecommunications subsystem; Under the situation of dual-mode dual-standby; The AP application processor module is carried out communication through timesharing control to two wireless telecommunications subsystems, accomplishes corresponding transfer of data.
Need to prove; The foregoing description only is used to explain scheme step according to the invention but not is limited in only TD-SCDMA/EDGE bi-mode intelligent mobile terminal; The present invention also can have other various embodiments; Under the situation that does not deviate from spirit of the present invention and essence thereof, those of ordinary skill in the art can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.