Summary of the invention
The object of the present invention is to provide a kind of portable terminal and with communication means after computing machine is connected, make MMI and computing machine to operate to portable terminal, these operations can either walk abreast to greatest extent, can not clash again.
For solving the problems of the technologies described above; Communication means after embodiment of the present invention provides a kind of portable terminal and computing machine is connected; Comprise network management module MN and subscriber interface module MMI in the portable terminal; This portable terminal is connected with computing machine through MN, in portable terminal, stores at least one mutual exclusion instruction set, and each mutual exclusion instruction set has the Status Flag of a correspondence; Method may further comprise the steps:
When MN receives instruction from MMI or computing machine; Belong to one of mutual exclusion instruction set if judge this instruction; And the corresponding Status Flag of this mutual exclusion instruction set is non-exclusive state; Then modify the status flag for the mutual exclusion state and carry out the pairing business of this instruction, treat this service ending after, modify the status flag for non-exclusive state again;
When MN receives instruction from MMI or computing machine, belong to one of mutual exclusion instruction set if judge this instruction, and the corresponding Status Flag of this mutual exclusion instruction set is the mutual exclusion state, then carry out should the pairing business of instruction for refusal.
Embodiment of the present invention also provides a kind of portable terminal, comprises network management module MN and subscriber interface module MMI; This portable terminal is connected with computing machine through MN, and MN comprises:
Store the storage unit of at least one mutual exclusion instruction set, store each mutual exclusion instruction set storage unit of corresponding Status Flag respectively;
The command reception unit is used for receiving instruction from MMI or computing machine;
Judging unit is used for predetermined condition is judged;
Performance element is used to revise Status Flag and the pairing business of execution command;
When instruction is received from MMI or computing machine in the command reception unit; If judging unit is judged this instruction and is belonged to one of mutual exclusion instruction set; And the corresponding Status Flag of this mutual exclusion instruction set is non-exclusive state; Then performance element modifies the status flag for the mutual exclusion state and carries out the pairing business of this instruction, treat this service ending after, modify the status flag for non-exclusive state again;
When instruction is received from MMI or computing machine in the command reception unit, belong to one of mutual exclusion instruction set if judging unit is judged this instruction, and the corresponding Status Flag of this mutual exclusion instruction set is the mutual exclusion state, then carry out should the pairing business of instruction for the performance element refusal.
Embodiment of the present invention compared with prior art, the key distinction and effect thereof are:
Through the mutual exclusion instruction set is set, carry out refusing the instruction in the corresponding mutual exclusion instruction set of this business when middle in business, make MMI and computing machine to operate to portable terminal, these operations can either walk abreast to greatest extent, can not clash again.
Further, different mutual exclusion instruction set is set in calling, note, packet switch respectively, can not repelled each other between these several business, can give full play to the concurrent ability of total system.
Further, directly carry out, can give full play to the concurrent processing ability of portable terminal itself for the instruction that does not belong to the mutual exclusion instruction set.
Further, refuse, can make MMI or computing machine show relevant information to the user as soon as possible, promote user's experience through the instruction of responding expression " doing ".
Embodiment
In following narration, many ins and outs have been proposed in order to make the reader understand the application better.But, persons of ordinary skill in the art may appreciate that even without these ins and outs with based on the many variations and the modification of following each embodiment, also can realize each claim of the application technical scheme required for protection.
For making the object of the invention, technical scheme and advantage clearer, will combine accompanying drawing that embodiment of the present invention is done to describe in detail further below.
Communication means after first embodiment of the invention relates to a kind of portable terminal and computing machine is connected.Fig. 2 is this portable terminal and the schematic flow sheet of communication means after computing machine is connected.
Comprise Access Layer module, network management module MN and subscriber interface module MMI in the portable terminal, this portable terminal is connected with computing machine through MN.
MN can pass through USB, live wire, bluetooth, infrared or WLAN modes such as (Wireless Local AreaNetwork are called for short " WLAN ") is connected with computing machine.Certainly, more wired or wireless connected mode can also be arranged, communication connects as long as can between portable terminal and computing machine, set up effectively.
In portable terminal, store at least one mutual exclusion instruction set, each mutual exclusion instruction set has the Status Flag of a correspondence.Each mutual exclusion instruction set is to be kept in the storer of portable terminal, for the inquiry of M N.Status Flag is a variable, occupies a storage space of portable terminal, can be a bit usually, and two values are arranged, and can be used for representing mutual exclusion state and non-exclusive state respectively.
Instruction in each mutual exclusion instruction set can be one also can be many.The instruction that instruction in the mutual exclusion instruction set is normally relevant with state variation with the foundation of business.
Preferably, the mutual exclusion instruction set relevant with call business, the mutual exclusion instruction set relevant with short message service, the mutual exclusion instruction set relevant with packet switch can be set.Wherein,
The mutual exclusion instruction set relevant with call business comprises: the instruction relevant with caller, and with called relevant instruction, with the instruction relevant with indirect activities.
The mutual exclusion instruction set relevant with short message service comprises: with the relevant instruction of reception note, with the relevant instruction of transmission note.
The mutual exclusion instruction set relevant with packet switch comprises: the instruction relevant with packet data protocol activation, and with the relevant instruction of packet switch dialing.
Different mutual exclusion instruction set is set in calling, note, packet switch respectively, can not repelled each other between these several business, can give full play to the concurrent ability of total system.
Be appreciated that more or less mutual exclusion instruction set can be set, also can comprise more or less instruction in each mutual exclusion instruction set.
In step 201, MN receives instruction from MMI or computing machine.
After this get into step 202, when MN receives instruction from MMI or computing machine, judge whether this instruction belongs to one of mutual exclusion instruction set, if then get into step 203, otherwise entering step 207.
In step 203, MN judges further whether the corresponding Status Flag of mutual exclusion instruction set under this instruction is the mutual exclusion state, if get into step 204, otherwise gets into step 205.
In step 204, the MN refusal is carried out the pairing business of should instructing, and specifically, MN sends the instruction of expression refusal or " doing " to MMI that sends this instruction or computing machine.Instruction through responding expression " doing " is refused, and can make MMI or computing machine show relevant information to the user as soon as possible, promotes user's experience.After this process ends.
In step 205, MN modifies the status flag for the mutual exclusion state and carries out the pairing business of this instruction.
After this get into step 206, after MN treats this service ending, modify the status flag for non-exclusive state again.After this process ends.
In step 207, because of this instruction does not belong to any mutual exclusion instruction set, should instruction so directly carry out.Instruction for not belonging to the mutual exclusion instruction set is directly carried out, and can give full play to the concurrent processing ability of portable terminal itself.
Through the mutual exclusion instruction set is set, carry out refusing the instruction in the corresponding mutual exclusion instruction set of this business when middle in business, make MMI and computing machine to operate to portable terminal, these operations can either walk abreast to greatest extent, can not clash again.
Fig. 3 shows an instance of this embodiment.
Preestablish SMS in this instance, Call, three mutual exclusion instruction set of PS.Wherein,
SMS mainly comprises sending and receiving SMS dependent instruction.
Call mainly comprises caller, and is called, the dependent instruction of indirect activities etc.
PS mainly is that packet data protocol (Packet Data Protocol is called for short " PDP ") activates, the dependent instruction of packet switch (Packet Switching is called for short " PS ") dialing etc.
MMI sends START CALL instruction to MN, and this instruction belongs to Call mutual exclusion instruction set.So the Status Flag that MN is corresponding with Call mutual exclusion instruction set is made as the mutual exclusion state, and sends instructions to Access Layer, starts call flow.Finish (after for example receiving the ACK message from the Access Layer module) up to call flow, just that Call mutual exclusion instruction set is corresponding Status Flag changes non-exclusive state into.
When the corresponding Status Flag of Call mutual exclusion instruction set is in the mutual exclusion state, if MN receives the ATD instruction from computing machine, because ATD belongs to Call mutual exclusion instruction set, so MN returns the instruction of expression refusal to computing machine.Computing machine shows corresponding prompt information after receiving this refusal instruction on application software, for example, mobile phone busy is please dialled after a while again.
After call flow finishes; If MN receives the ATD instruction from computing machine once more,, therefore send instruction to Access Layer because the corresponding Status Flag of Call mutual exclusion this moment instruction set is in non-exclusive state; Start call flow once more, simultaneously Status Flag is provided with.
When the corresponding Status Flag of Call mutual exclusion instruction set was in the mutual exclusion state, if MN receives the instruction in other mutual exclusion instruction set, for example the instruction in the SMS mutual exclusion instruction set was then unaffected.
Above-mentioned instance is about Call, is appreciated that about the professional situation of SMS and PS also similarly, and the different and professional executive mode of the instruction that difference mainly is to be correlated with is different.
Communication means after second embodiment of the invention relates to a kind of portable terminal and computing machine is connected.
Second embodiment and first embodiment are basic identical, and difference mainly is: the processing mode of MN refusal execution command is different.Specifically:
In the first embodiment, in step 204, MN refusal execution command is pairing when professional, the instruction of sending the expression refusal to the MMI that sends this instruction or computing machine.
Yet in second embodiment, in step 204, MN refusal execution command is pairing when professional, and MN does not send it back the instruction of answering to the MMI or the computing machine that send this instruction.
Send the MMI or the computing machine of this instruction, do not receive response, then retransmit and to instruct, all do not receive response, judge that then this instruction is rejected if the repeating transmission number of times reaches preset upper limit in scheduled duration.Can show that to the user portable terminal is in the information of busy condition this moment through man-machine interface, please the user reattempt after a while.
Each method embodiment of the present invention all can be realized with modes such as software, hardware, firmwares.No matter the present invention be with software, hardware, or the firmware mode realize; Instruction code can be stored in the storer of computer-accessible of any kind (for example permanent or revisable; Volatibility or non-volatile; Solid-state or non-solid-state, fixing perhaps removable medium or the like).Equally; Storer can for example be programmable logic array (Programmable Array Logic; Abbreviation " PAL "), RAS (Random Access Memory; Abbreviation " RAM "), programmable read only memory (Programmable Read Only Memory is called for short " PROM "), ROM (read-only memory) (Read-Only Memory is called for short " ROM "), Electrically Erasable Read Only Memory (Electrically Erasable Programmable ROM; Abbreviation " EEPROM "), disk, CD, digital versatile disc (Digital Versatile Disc is called for short " DVD ") or the like.
Third embodiment of the invention relates to a kind of portable terminal.This portable terminal comprises Access Layer module, network management module MN and subscriber interface module MMI.This portable terminal is connected with computing machine through MN.
MN further comprises:
Store the storage unit of at least one mutual exclusion instruction set, store each mutual exclusion instruction set storage unit of corresponding Status Flag respectively.
The command reception unit is used for receiving instruction from MMI or computing machine.
Judging unit is used for predetermined condition is judged.
Performance element is used to revise Status Flag and the pairing business of execution command.
When instruction is received from MMI or computing machine in the command reception unit; If judging unit is judged this instruction and is belonged to one of mutual exclusion instruction set; And the corresponding Status Flag of this mutual exclusion instruction set is non-exclusive state; Then indicate performance element to modify the status flag for the mutual exclusion state and carry out the pairing business of this instruction, treat this service ending after, modify the status flag for non-exclusive state again.
When instruction is received from MMI or computing machine in the command reception unit, belong to one of mutual exclusion instruction set, and the corresponding Status Flag of this mutual exclusion instruction set is the mutual exclusion state, then indicates the performance element refusal to carry out the pairing business of this instruction if judging unit is judged this instruction.
When instruction is received from MMI or computing machine in the command reception unit,, then indicate this instruction of the direct execution of performance element if judging unit judges that this instruction does not belong to any mutual exclusion instruction set.
The mutual exclusion instruction set comprises one of following or its combination in any:
The mutual exclusion instruction set relevant, the mutual exclusion instruction set relevant, the mutual exclusion instruction set relevant with packet switch with short message service with call business.Wherein,
The mutual exclusion instruction set relevant with call business comprises: the instruction relevant with caller, and with called relevant instruction, with the instruction relevant with indirect activities.
The mutual exclusion instruction set relevant with short message service comprises: with the relevant instruction of reception note, with the relevant instruction of transmission note.
The mutual exclusion instruction set relevant with packet switch comprises: the instruction relevant with packet data protocol activation, and with the relevant instruction of packet switch dialing.
First or second embodiment is and the corresponding method embodiment of this embodiment, this embodiment can with the enforcement of working in coordination of first or second embodiment.The correlation technique details of mentioning in first or second embodiment is still effective in this embodiment, in order to reduce repetition, repeats no more here.Correspondingly, the correlation technique details of mentioning in this embodiment also can be applicable in first or second embodiment.
Need to prove; Each unit of mentioning in the portable terminal of the present invention all is a logical block, and physically, a logical block can be a physical location; It also can be the part of a physical location; Can also realize that the physics realization mode of these logical blocks itself is not most important with the combination of a plurality of physical locations, the combination of the function that these logical blocks realized is the key that just solves technical matters proposed by the invention.In addition, for outstanding innovation part of the present invention, the above-mentioned portable terminal of the present invention will not introduced with solving the not too close unit of technical matters relation proposed by the invention, and this does not show that there is not other unit in the said equipment embodiment.
Though through reference some preferred implementation of the present invention; The present invention is illustrated and describes; But those of ordinary skill in the art should be understood that and can do various changes to it in form with on the details, and without departing from the spirit and scope of the present invention.