Summary of the invention
In view of this, the object of the present invention is to provide a kind of service data transmission method, device, processor and mobile terminal, to improve the transmitting-receiving efficiency of business datum, specific embodiments is as follows:
A kind of service data transmission method, described service data transmission method is applied to mobile terminal, in described mobile terminal, comprise two above intelligent communication cards of supporting different network formats, the user of described mobile terminal utilizes described intelligent communication card to carry out transfer of data, and described service data transmission method comprises:
Receive the data transfer request of first kind business datum, wherein, the data transfer request of described first kind business datum matches with supporting the intelligent communication card of first network standard;
Whether first kind data channel corresponding to data transfer request that judges described first kind business datum connects, and obtains the first judged result;
When described the first judged result shows that described first kind data channel has connected, judge whether described first kind data channel mates with described first network standard, and produce corresponding the second judged result according to judged result;
When described the second judged result shows that described first kind data channel is not mated with described first network standard, retain described first kind data channel, and foundation and the corresponding new first kind data channel of described first kind business datum, by newly-established described first kind data channel, transmit described first kind business datum.
Preferably, the method whether described first kind data channel corresponding to data transfer request that judges described first kind business datum connects, comprising:
Obtain the link information of storing in described mobile terminal;
According to described link information, judge whether described first kind data channel connects.
Preferably, describedly judge that whether described first kind data channel mates with described first network standard, comprising:
Resolve the link information of storing in described mobile terminal, obtain the first base station address information corresponding to described first kind data channel comprising in described link information;
According to pre-stored base station address information and the corresponding relation of network formats, judge whether described the first base station address information base station information corresponding with described first network standard mates, if, illustrate that described first kind data channel mates with described first network standard, if not, illustrate that described first kind data channel do not mate with described first network standard.
Preferably, the described first kind data channel of described reservation, and foundation and the corresponding new first kind data channel of described first kind business datum, comprising:
Determine the second network standard corresponding to data transfer request of described first kind business datum;
According to pre-stored base station address information and the corresponding relation of network formats, determine the second base station address information that described second network standard is corresponding, and according to described the second base station address information, set up described new first kind data channel.
Preferably, described service data transmission method also comprises:
When described the second judged result shows, when the described first kind data channel first network standard corresponding with described data transfer request matches, by the described first kind data channel of current foundation, transmit described first kind business datum.
Accordingly, the invention also discloses a kind of business data transmission device, described business data transmission device is applied to mobile terminal, in described mobile terminal, comprise two above intelligent communication cards of supporting different network formats, the user of described mobile terminal utilizes described intelligent communication card to carry out transfer of data, and described business data transmission device comprises:
Receiver module, for receiving the data transfer request of first kind business datum, wherein, the data transfer request of described first kind business datum matches with supporting the intelligent communication card of first network standard;
The first judge module, for judging whether the first kind data channel corresponding to data transfer request of described first kind business datum connects, and obtains the first judged result;
The second judge module, for when described the first judged result shows that described first kind data channel has connected, judges whether described first kind data channel mates with described first network standard, and produces corresponding the second judged result according to judged result;
Newly-built module, for when described the second judged result shows that described first kind data channel is not mated with described first network standard, retain described first kind data channel, and foundation and the corresponding new first kind data channel of described first kind business datum, by newly-established described first kind data channel, transmit described first kind business datum.
Preferably, described the first judge module comprises:
Acquiring unit, the link information of storing for obtaining described mobile terminal;
The first judging unit, for according to described link information, judges whether described first kind data channel connects.
Preferably, described the second judge module comprises:
Resolution unit, the link information of storing for resolving described mobile terminal, obtains the first base station address information corresponding to described first kind data channel comprising in described link information;
The second judging unit, be used for according to pre-stored base station address information and the corresponding relation of network formats, judge whether described the first base station address information base station information corresponding with described first network standard mates, if, illustrate that described first kind data channel mates with described first network standard, if not, illustrate that described first kind data channel do not mate with described first network standard.
Preferably, described newly-built module comprises:
Determining unit, for determining the second network standard corresponding to data transfer request of described first kind business datum;
Newly-built unit, be used for according to pre-stored base station address information and the corresponding relation of network formats, determine the second base station address information that described second network standard is corresponding, and according to described the second base station address information, set up described new first kind data channel.
Preferably, described business data transmission device also comprises:
Transport module, for showing when described the second judged result, when the described first kind data channel first network standard corresponding with described data transfer request matches, by the described first kind data channel of current foundation, transmit described first kind business datum.
Accordingly, the invention also discloses a kind of processor, in described processor, be integrated with business data transmission device as above.
Accordingly, the invention also discloses a kind of mobile terminal, it is characterized in that,
In described mobile terminal, comprise two above intelligent communication cards of supporting different network formats;
In described mobile terminal, be provided with processor as above.
The application discloses a kind of service data transmission method, device, processor and mobile terminal.Wherein, described service data transmission method is applied to mobile terminal, comprises two above intelligent communication cards of supporting different network formats in described mobile terminal, and the user of described mobile terminal utilizes described intelligent communication card to carry out transfer of data.In the method, first receive the data transfer request of first kind business datum, the data transfer request of wherein said first kind business datum matches with supporting the intelligent communication card of first network standard; Whether first kind data channel corresponding to data transfer request that then judges described first kind business datum connects, and obtains the first judged result; When described the first judged result shows that described first kind data channel has connected, judge whether described first kind data channel mates with described first network standard; When definite described first kind data channel is not mated with described first network standard, retain described first kind data channel, and foundation and the corresponding new first kind data channel of described first kind business datum, by newly-established described first kind data channel, transmit described first kind business datum.
In the prior art, when receiving data transfer request, when if the first kind data channel of the current connection first network standard corresponding with data transfer request do not mated, can remove described first kind data channel, and after dismounting, set up new first kind data channel, to carry out the transmission of first kind business datum by newly-established first kind data channel.In this process, the demolishing process of first kind data channel is comparatively consuming time, thereby causes the transmitting-receiving efficiency of business datum low.
And in the application, when the first kind data channel of the judging current connection first network standard corresponding with data transfer request do not mated, do not need to remove described first kind data channel, but retain described first kind data channel, and foundation and the corresponding new first kind data channel of described first kind business datum, to transmit described first kind business datum by newly-established described first kind data channel.In this process, avoid the dismounting to first kind data channel, saved the time, improved the transmitting-receiving efficiency of business datum.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
The application discloses a kind of service data transmission method, device and mobile terminal, for solving prior art, supports the mobile terminal of two or more network formats, and when carrying out the transmission of business datum, the business datum having is received and dispatched inefficient problem.
Embodiment mono-
The application's embodiment mono-discloses a kind of service data transmission method, described service data transmission method is applied to mobile terminal, in described mobile terminal, comprise two above intelligent communication cards of supporting different network formats, the user of described mobile terminal utilizes described intelligent communication card to carry out transfer of data.
Workflow schematic diagram shown in Figure 1, described service data transmission method comprises:
The transmission request of step S11, reception first kind business datum, wherein, the data transfer request of described first kind business datum matches with supporting the intelligent communication card of first network standard.
In the use procedure of mobile terminal, can receive polytype business datum, as multimedia message data, note data etc.In this application, described first kind business datum is generally multimedia message data, in addition, can also need to by data channel, carry out the business datum of transfer of data for other, and the application is not construed as limiting this.
In addition, current mobile terminal can be supported multiple network standard conventionally, as movement, UNICOM and telecommunications etc.
Step S12, judge whether the first kind data channel corresponding to data transfer request of described first kind business datum connects, and obtain the first judged result.
Wherein, when described first kind business datum is multimedia message data, described first kind data channel refers to the data channel of multimedia message.
Step S13, when described the first judged result shows that described first kind data channel has connected, judge whether described first kind data channel mates with described first network standard, and produce corresponding the second judged result according to judged result.
The disclosed service data transmission method of the application for mobile terminal, can support two or more different network formats, wherein every kind of network formats, when carrying out the transmission of business datum, all transmits by self corresponding data channel.
When described the second judged result, while showing that described first kind data channel and described first network standard match, by described first kind data channel, transmit first kind business datum corresponding to described data transfer request.
When described the second judged result shows, when described first kind data channel is not mated with described first network standard, continue the operation of execution step S14.
Step S14, when described the second judged result shows that described first kind data channel is not mated with described first network standard, retain described first kind data channel, and foundation and the corresponding new first kind data channel of described first kind business datum, by newly-established described first kind data channel, transmit described first kind business datum.
The application's embodiment mono-discloses a kind of service data transmission method, described service data transmission method is applied to mobile terminal, in described mobile terminal, comprise two above intelligent communication cards of supporting different network formats, the user of described mobile terminal utilizes described intelligent communication card to carry out transfer of data.In the method, first receive the data transfer request of first kind business datum, the data transfer request of wherein said first kind business datum matches with supporting the intelligent communication card of first network standard; Whether first kind data channel corresponding to data transfer request that then judges described first kind business datum connects, and obtains the first judged result; When described the first judged result shows that described first kind data channel has connected, judge whether described first kind data channel mates with described first network standard; When definite described first kind data channel is not mated with described first network standard, retain described first kind data channel, and foundation and the corresponding new first kind data channel of described first kind business datum, by newly-established described first kind data channel, transmit described first kind business datum.
In the prior art, when receiving data transfer request, when if the first kind data channel of the current connection first network standard corresponding with data transfer request do not mated, can remove described the first data channel, and after dismounting, set up new first kind data channel, to carry out the transmission of first kind business datum by newly-established first kind data channel.In this process, the demolishing process of first kind data channel is comparatively consuming time, thereby causes the transmitting-receiving efficiency of business datum low.
And in the application, when the first kind data channel of the judging current connection first network standard corresponding with data transfer request do not mated, do not need to remove described first kind data channel, but retain described first kind data channel, and foundation and the corresponding new first kind data channel of described first kind business datum, to transmit described first kind business datum by newly-established described first kind data channel.In this process, avoid the dismounting to first kind data channel, saved the time, improved the transmitting-receiving efficiency of business datum.
Further, in step S12, disclose and judged whether the first kind data channel corresponding to data transfer request of described first kind business datum connects, to obtain the scheme of the first judged result.This scheme comprises:
First, obtain the link information of storing in described mobile terminal;
Then, according to described link information, judge whether described first kind data channel connects.
In mobile terminal, store the link information of data channel, be used to indicate the connection status of this data channel.
For example, after a certain first kind data channel connects, in mobile terminal, be link information setting " CONNECTED " sign corresponding to described first kind data channel, thereby according to the sign in described link information, can determine that described first kind data channel connects; If a certain first kind data channel does not connect, for link information setting " UNCONNECTED " sign corresponding to this first kind data channel, by this sign, can determine that described first kind data channel does not connect.Whether certainly, in link information, other identification information can also be set, be used to indicate corresponding first kind data channel and connect, this does not limit the application.
Further, in step S13, disclose when the first judged result shows that described first kind data channel has connected, judged the scheme whether described first kind data channel mates with described first network standard, this scheme comprises the following steps:
First, resolve the link information of storing in described mobile terminal, obtain the first base station address information corresponding to described first kind data channel comprising in described link information.Then, according to pre-stored base station address information and the corresponding relation of network formats, judge whether described the first base station address information base station information corresponding with described first network standard mates, if, illustrate that described first kind data channel mates with described first network standard, if not, illustrate that described first kind data channel do not mate with described first network standard.
In mobile terminal, store the link information of first kind data channel, be used to indicate the connection status of this first kind data channel.When a certain first kind data channel is during in connection status, in described link information, can store base station address information corresponding to this first kind data channel, so that by described base station address information, can determine the corresponding network formats of described first kind data channel in connection status.
For example, in the link information of a certain first kind data channel, be provided with " CONNECTED " sign, thereby according to described sign, can determine that described first kind data channel is in connection status, then resolve described link information, obtain the base station address information of the described data channel in connection status wherein comprising.If mobile network's standard that described base station address information is corresponding, described first kind data channel and the described mobile network's standard in connection status of explanation matches.
By such scheme, can judge first kind data channel and whether match with first network standard.
Further, in step S14, when disclosing described first kind passage and not mating with described first network standard, retain described first kind data channel, and the scheme of foundation and the corresponding new first kind data channel of described first kind business datum, this scheme comprises the following steps:
First, determine the second network standard corresponding to data transfer request of described first kind business datum;
Then, according to pre-stored base station address information and the corresponding relation of network formats, determine the second base station address information that described second network standard is corresponding, and according to described the second base station address information, set up described new first kind data channel.
When first kind passage does not mate with described first network standard, need to set up new first kind data channel for data waiting for transmission, in this case, according to the data transfer request of described first kind business datum, can determine corresponding second network standard, then determine the second base station address information corresponding to second network standard, according to described the second base station address information, set up new first kind data channel.The first kind data channel re-establishing is corresponding with described second network standard, can carry out transfer of data by described new first kind data channel.
Embodiment bis-
Accordingly, for the implementation process of the disclosed service data transmission method of clear and definite the application, the application's embodiment bis-discloses a kind of service data transmission method.Workflow schematic diagram shown in Figure 2, described service data transmission method comprises:
The data transfer request of step S21, reception first kind business datum, wherein, the data transfer request of described first kind business datum matches with supporting the intelligent communication card of first network standard.
Wherein, in the operating process of step S21 and embodiment mono-, the operating process of step S11 is identical, can cross-reference, repeat no more herein.
Step S22, obtain the link information of storing in described mobile terminal, according to described link information, judge whether described first kind data channel connects, and obtain the first judged result, when described the first judged result shows that described first kind data channel has connected, the operation of execution step S23.
Under the mode of operation of mobile terminal, conventionally have first kind data channel in connection status.If described the first judged result shows there is no first kind data channel in connection status in current mobile terminal, may be to cause by signal strength signal intensity is poor, or because the reasons such as mobile terminal fault cause.In this case, can investigate, until the first kind data channel in mobile terminal is in connection status.
Step S23, when described the first judged result shows that described first kind data channel has connected, resolve the link information of storing in described mobile terminal, obtain the first base station address information corresponding to described first kind data channel comprising in described link information.
Step S24, according to pre-stored base station address information and the corresponding relation of network formats, judge that whether described the first base station address information base station information corresponding with described first network standard mates, and if not, performs step the operation of S25, if so, perform step the operation of S27.
Step S25, when described the second judged result shows that described first kind data channel is not mated with described first network standard, retain described first kind data channel, determine the second network standard corresponding to data transfer request of described first kind business datum.
Step S26, according to pre-stored base station address information and the corresponding relation of network formats, determine the second base station address information that described second network standard is corresponding, and according to described the second base station address information, set up described new first kind data channel, by newly-established described first kind data channel, transmit described first kind business datum.
Step S27, when described the second judged result shows, when the described first kind data channel first network standard corresponding with described data transfer request matches, by the described first kind data channel of current foundation, transmit described first kind business datum.
In the application's embodiment bis-, a kind of service data transmission method is disclosed, the method is applied to mobile terminal, comprises two above intelligent communication cards of supporting different network formats in described mobile terminal, and the user of described mobile terminal utilizes described intelligent communication card to carry out transfer of data.By described service data transmission method, when the first kind data channel of the judging current connection first network standard corresponding with data transfer request do not mated, do not need to remove described first kind data channel, but retain described first kind data channel, and foundation and the corresponding new first kind data channel of described first kind business datum, to transmit described first kind business datum by newly-established described first kind data channel.In this process, avoid the dismounting to first kind data channel, saved the time, improved the transmitting-receiving efficiency of business datum.
Embodiment tri-
The application's embodiment tri-discloses a kind of business data transmission device, for improving the transmitting-receiving efficiency of business datum.Described business data transmission device is applied to mobile terminal, in described mobile terminal, comprise two above intelligent communication cards of supporting different network formats, the user of described mobile terminal utilizes described intelligent communication card to carry out transfer of data, structural representation shown in Figure 3, described business data transmission device comprises:receiver module 100, thefirst judge module 200, thesecond judge module 300 and newly-builtmodule 400.
Wherein, describedreceiver module 100, for receiving the data transfer request of first kind business datum, wherein, the data transfer request of described first kind business datum matches with supporting the intelligent communication card of first network standard;
Described thefirst judge module 200, for judging whether the first kind data channel corresponding to data transfer request of described first kind business datum connects, and obtains the first judged result;
Described thesecond judge module 300, for when described the first judged result shows that described first kind data channel has connected, judge whether described first kind data channel mates with described first network standard, and produce corresponding the second judged result according to judged result;
Described newly-builtmodule 100, for when described the second judged result shows that described first kind data channel is not mated with described first network standard, retain described first kind data channel, and foundation and the corresponding new first kind data channel of described first kind business datum, by newly-established described first kind data channel, transmit described first kind business datum.
Further, described thefirst judge module 200 comprises:
Acquiring unit, the link information of storing for obtaining described mobile terminal;
The first judging unit, for according to described link information, judges whether described first kind data channel connects.
Further, described thesecond judge module 300 comprises:
Resolution unit, the link information of storing for resolving described mobile terminal, obtains the first base station address information corresponding to described first kind data channel comprising in described link information;
The second judging unit, be used for according to pre-stored base station address information and the corresponding relation of network formats, judge whether described the first base station address information base station information corresponding with described first network standard mates, if, illustrate that described first kind data channel mates with described first network standard, if not, illustrate that described first kind data channel do not mate with described first network standard.
Further, described newly-builtmodule 400 comprises:
Determining unit, for determining the second network standard corresponding to data transfer request of described first kind business datum;
Newly-built unit, be used for according to pre-stored base station address information and the corresponding relation of network formats, determine the second base station address information that described second network standard is corresponding, and according to described the second base station address information, set up described new first kind data channel.
Further, described business data transmission device also comprises:
Transport module, for showing when described the second judged result, when the described first kind data channel first network standard corresponding with described data transfer request matches, by the described first kind data channel of current foundation, transmit described first kind business datum.
In the application's embodiment tri-, a kind of business data transmission device is disclosed, this application of installation, in mobile terminal, comprises two above intelligent communication cards of supporting different network formats in described mobile terminal, the user of described mobile terminal utilizes described intelligent communication card to carry out transfer of data.By described business data transmission device, when the first kind data channel of the judging current connection first network standard corresponding with data transfer request do not mated, do not need to remove described first kind data channel, but retain described first kind data channel, and foundation and the corresponding new first kind data channel of described first kind business datum, to transmit described first kind business datum by newly-established described first kind data channel.In this process, avoid the dismounting to first kind data channel, saved the time, improved the transmitting-receiving efficiency of business datum.
Accordingly, the invention also discloses a kind of processor, in described processor, be integrated with business data transmission device as above.
Accordingly, the invention also discloses a kind of mobile terminal, in described mobile terminal, comprise two above intelligent communication cards of supporting different network formats, so that the user of described mobile terminal utilizes described intelligent communication card to carry out transfer of data; And, in described mobile terminal, be provided with processor as above.
Those of ordinary skills can recognize, unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein, can realize with the combination of electronic hardware or computer software and electronic hardware.These functions are carried out with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can specifically should be used for realizing described function with distinct methods to each, but this realization should not thought and exceeds scope of the present invention.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the specific works process of the system of foregoing description, device and unit, can, with reference to the corresponding process in preceding method embodiment, not repeat them here.
In the several embodiment that provide in the application, should be understood that disclosed system, apparatus and method can realize by another way.For example, device embodiment described above is only schematic, for example, the division of described unit, be only that a kind of logic function is divided, during actual realization, can have other dividing mode, for example a plurality of unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, indirect coupling or the communication connection of device or unit can be electrically, machinery or other form.
The described unit as separating component explanation can or can not be also physically to separate, and the parts that show as unit can be or can not be also physical locations, can be positioned at a place, or also can be distributed in a plurality of network element.Can select according to the actual needs some or all of unit wherein to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can be also that the independent physics of unit exists, and also can be integrated in a unit two or more unit.
If described function usings that the form of SFU software functional unit realizes and during as production marketing independently or use, can be stored in a computer read/write memory medium.Understanding based on such, the part that technical scheme of the present invention contributes to prior art in essence in other words or the part of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprise that some instructions are with so that a computer equipment (can be personal computer, server, or the network equipment etc.) carry out all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: various media that can be program code stored such as USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CDs.
Above-mentioned explanation to the disclosed embodiments, makes professional and technical personnel in the field can realize or use the present invention.To the multiple modification of these embodiment, will be apparent for those skilled in the art, General Principle as defined herein can, in the situation that not departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention will can not be restricted to these embodiment shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.