CN106332060A - SIM card and application program communication method, SIM card, operating system and mobile terminal - Google Patents

SIM card and application program communication method, SIM card, operating system and mobile terminal Download PDF

Info

Publication number
CN106332060A
CN106332060A CN201610849315.2A CN201610849315A CN106332060A CN 106332060 A CN106332060 A CN 106332060A CN 201610849315 A CN201610849315 A CN 201610849315A CN 106332060 A CN106332060 A CN 106332060A
Authority
CN
China
Prior art keywords
port
mobile terminal
sim
operating system
address
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.)
Pending
Application number
CN201610849315.2A
Other languages
Chinese (zh)
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.)
Beijing WatchData System Co Ltd
Original Assignee
Beijing WatchData System Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing WatchData System Co Ltd filed Critical Beijing WatchData System Co Ltd
Priority to CN201610849315.2A priority Critical patent/CN106332060A/en
Publication of CN106332060A publication Critical patent/CN106332060A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/26Special purpose or proprietary protocols or architectures

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Databases & Information Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides an SIM card and application program communication method, an SIM card, an operating system and a mobile terminal. The method includes the following steps that: an application program monitors a first port; the SIM card transmits the IP address and port identifier of the first port to the operating system of the mobile terminal; and the operating system of the mobile terminal establishes a BIP channel of the SIM card and the first port according to the IP address and the port identifier. With the method of the invention adopted, the BIP channel can be established between the SIM card and the operating system, and the application program monitors the port of the BIP channel, and therefore, communication between the SIM card and the application program can be realized.

Description

SIM and the method for interapplication communications, SIM, operating system and mobile terminal
Technical field
The invention belongs to the communications field, particularly relate to a kind of SIM and the method for interapplication communications, SIM, operation system System and mobile terminal.
Background technology
Considering for safety or Consumer's Experience etc., the application program (APP) in some mobile terminal needs and mobile terminal In SIM communicate.
Existing application program blocks with SIM (Subscriber Identification Module, client identification module) The mode of communication is to be communicated by Open Mobile agreement, and this agreement is proposed, specially by Simalliance tissue For the agreement communicated between application program with SIM.So far, this is SIM and the application journey of unique a kind of specification The agreement of communication between sequence.
But the most a small amount of mobile terminal supports this agreement, this result also in many shiftings not supporting this agreement under prior art Application program in dynamic terminal cannot communicate with SIM.
Summary of the invention
In view of this, it is an object of the invention to provide a kind of SIM and the method for interapplication communications, SIM, operation System and mobile terminal, to realize SIM and interapplication communications.
First aspect according to embodiments of the present invention, it is provided that one realizes SIM and interapplication communications in mobile terminal Method, be applied to SIM, described method includes:
The IP address of the first port that application program to be communicated is monitored by SIM and port-mark are sent to mobile whole The operating system of end, so that the operating system of described mobile terminal is set up described according to described IP address and described port-mark SIM and the bearer independent protocol BIP passage of described first port;Wherein, described IP address be loop-back address, multicast address or Broadcast address, described first port is the COM1 of the operating system of described mobile terminal.
The first aspect of the embodiment of the present invention, also includes:
By described BIP passage, data are sent to described first port with SIM so that the operation system of described mobile terminal The data of reception are sent to monitor the application program of described first port by system;
SIM receives the data that application program returns successively through the operating system of described mobile terminal, described BIP passage.
Second aspect according to embodiments of the present invention, it is provided that one realizes SIM and interapplication communications in mobile terminal Method, be applied in the operating system of mobile terminal, described method includes:
The operating system of mobile terminal obtains IP address and the port-mark of the first port that SIM sends, wherein, described First port is the port that the application program that described SIM is to be communicated is monitored, and described first port is described mobile terminal The COM1 of operating system;
The operating system of mobile terminal sets up described SIM and described first according to described IP address and described port-mark The bearer independent protocol BIP passage of port, wherein, described IP address is loop-back address, multicast address or broadcast address.
The second aspect of the embodiment of the present invention, also includes:
The operating system of mobile terminal obtains the first data that SIM is sent by described BIP passage;
Described first data are sent to monitor the application program of described first port by the operating system of mobile terminal;
The operating system of mobile terminal receives, by described first port, the second data that application program sends;
Described second data are sent to SIM by described BIP passage by the operating system of mobile terminal.
The third aspect according to embodiments of the present invention, it is provided that one realizes SIM and interapplication communications in mobile terminal Method, described method includes:
Application program monitors the first port, and described first port is the COM1 of the operating system of described mobile terminal;
The IP address of the first port and port-mark are sent to the operating system of mobile terminal by SIM;
The operating system of mobile terminal sets up described SIM and described first according to described IP address and described port-mark The bearer independent protocol BIP passage of port, wherein, described IP address is loop-back address, multicast address or broadcast address.
The third aspect of the embodiment of the present invention, also includes:
SIM sends the first data to the operating system of mobile terminal by described BIP passage;
Described first data are sent to monitor the application program of described first port by the operating system of mobile terminal;
The first data received are processed by application program, it is thus achieved that described second data are also sent to institute by the second data State the first port;
Described second data are sent to SIM by described BIP passage by the operating system of mobile terminal.
Fourth aspect according to embodiments of the present invention, it is provided that a kind of SIM, including: port information transmitting element, being used for will The IP address of the first port that the application program that described SIM is to be communicated is monitored and port-mark are sent to the behaviour of mobile terminal Make system so that the operating system of described mobile terminal according to described IP address and described port-mark set up described SIM with The bearer independent protocol BIP passage of described first port;Wherein, described IP address is loop-back address, multicast address or broadcast ground Location, described first port is the COM1 of the operating system of described mobile terminal.
The 5th aspect according to embodiments of the present invention, it is provided that the operating system of a kind of mobile terminal, including: port information obtains Obtain unit and BIP Path Setup unit,
Described port information obtains unit, for obtaining IP address and the port-mark of the first port that SIM sends, its In, described first port is the port that the application program that described SIM is to be communicated is monitored, and described first port is described movement The COM1 of the operating system of terminal;
Described BIP Path Setup unit, for setting up described SIM and institute according to described IP address and described port-mark Stating the bearer independent protocol BIP passage of the first port, wherein, described IP address is loop-back address, multicast address or broadcast address.
The 6th aspect according to embodiments of the present invention, it is provided that a kind of mobile terminal, including: application program, fourth aspect institute The operating system of the mobile terminal described in the SIM stated and the 5th aspect, described application program monitors the first port, and described first Port is the COM1 of the operating system of described mobile terminal.
Optionally, described SIM also includes that the first transmitting element, the operating system of described mobile terminal also include: first Retransmission unit, described application program includes: data processing unit,
Described first transmitting element, for sending the first data to the operating system of mobile terminal by described BIP passage;
Described first retransmission unit, for being sent to monitor the application program of described first port by described first data;
Described data processing unit, for processing the first data received, it is thus achieved that the second data by described the Two data are sent to described first port;
Described first retransmission unit, for being sent to SIM by described second data by described BIP passage.
The present invention can be by setting up BIP passage and application program is monitored this BIP and led between SIM and operating system The port in road, thus realize the communication between SIM and application program.Owing to BIP protocol channel is compatible relative to Open Mobile agreement has more preferable compatibility, and therefore the scope of application is more extensive.Meanwhile, present invention provides one except Open The mode realizing SIM and interapplication communications outside Mobile agreement, so that do not support Open Mobile agreement Application program and SIM in mobile terminal communicate.BIP agreement used in the present invention is to the performance requirement of SIM very Low, therefore the suitability is the widest.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is the present invention Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to according to These accompanying drawings obtain other accompanying drawing.
Fig. 1 is that a kind of of the present embodiment offer realizes the flow process of the method for SIM and interapplication communications in mobile terminal Figure;
Fig. 2 is that the another kind that the present embodiment provides realizes the stream of the method for SIM and interapplication communications in mobile terminal Cheng Tu;
Fig. 3 is that the another kind that the present embodiment provides realizes the stream of the method for SIM and interapplication communications in mobile terminal Cheng Tu;
Fig. 4 is that the another kind that the present embodiment provides realizes the stream of the method for SIM and interapplication communications in mobile terminal Cheng Tu;
Fig. 5 is that the another kind that the present embodiment provides realizes the stream of the method for SIM and interapplication communications in mobile terminal Cheng Tu;
Fig. 6 be the present embodiment provide embodiment illustrated in fig. 4 and embodiment illustrated in fig. 5 combine after flow chart;
Fig. 7 is the structural representation of the operating system of a kind of mobile terminal that the present embodiment provides.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is The a part of embodiment of the present invention rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under not making creative work premise, broadly falls into the scope of protection of the invention.
Embodiment one
Present embodiments provide and a kind of realize the method for SIM and interapplication communications in mobile terminal, be applied to SIM Card, the method may include that
The IP address of the first port that application program to be communicated is monitored by SIM and port-mark are sent to mobile whole The operating system of end, so that the operating system of described mobile terminal is set up described according to described IP address and described port-mark SIM and the BIP passage of described first port;Wherein, described IP address is loop-back address, multicast address or broadcast address, institute State the COM1 of the operating system that the first port is described mobile terminal.
Wherein, mobile terminal can be mobile phone, can use the panel computer etc. of SIM.Wherein, communicate with SIM Application program can be the application program that mobile terminal carries, it is also possible to for third party application.
Wherein, loop-back address can be: 127.0.0.1, and broadcast address can be: 255.255.255.255.
Above-mentioned loop-back address and broadcast address are the reserved address in ICP/IP protocol, according to ICP/IP protocol, send To the data of the two address, all can be received by mobile terminal and process.Concrete, any data passing to loop-back address are all made Input for IP.That transmits and multicast transmission due to broadcast necessarily comprises main frame itself, therefore passes to broadcast address or multicast address Data can replicate portion and pass to loopback interface, be then then sent through on Ethernet.
Bearer independent protocol (BIP, Bearer Independent Protocol), is a ripe association existed for many years View, so far, supports that the mobile phone of BIP agreement is the most, and the compatibility of BIP agreement will be far better than OpenMobile agreement Compatible.Owing to SIM storage and operational capability are limited, it is impossible to directly processing extraneous big data, therefore BIP agreement provides The big data that the external world comes are divided into multiple small data, are sequentially presented to the mechanism that SIM carries out processing.
It is understood that owing to application program has monitored the first port of BIP passage between SIM and operating system, because of This is when data are sent to operating system by this BIP passage by SIM, and operating system will forward the data to monitor and be somebody's turn to do The application program of the first port, thus realize the SIM data transmission to application program.Equally, need to SIM when application program When card sends data, it is only necessary to transmitting data to the first port, operating system will forward the data to this first port phase The BIP passage answered, thus realize the application program data transmission to SIM.
Method shown in embodiment one can be by setting up BIP passage and application program between SIM and operating system Monitor the port of this BIP passage, thus realize the communication between SIM and application program.Due to BIP protocol channel compatibility phase Having more preferable compatibility for Open Mobile agreement, therefore the scope of application is more extensive.Meanwhile, present invention provides one Plant the mode realizing SIM and interapplication communications in addition to Open Mobile agreement, so that do not support Open Application program and SIM in the mobile terminal of Mobile agreement communicate.Meanwhile, Open Mobile agreement is to SIM Performance requirement is higher, it is necessary to be the Java card (typically Large Copacity Java card) meeting GP2.2 specification, and used in the present invention BIP agreement is the lowest to the performance requirement of SIM, and therefore the suitability is the widest.
Embodiment two
As it is shown in figure 1, the another kind that the present embodiment provides realizes SIM and the side of interapplication communications in mobile terminal Method, may include that
IP address and the port-mark of the first port that application program to be communicated is monitored by S100, SIM are sent to The operating system of mobile terminal, so that the operating system of described mobile terminal is set up according to described IP address and described port-mark Described SIM and the BIP passage of described first port;Wherein, described IP address is loop-back address, multicast address or broadcast ground Location, described first port is the COM1 of the operating system of described mobile terminal.
By described BIP passage, data are sent to described first port for S101, SIM so that the behaviour of described mobile terminal Make system and the data of reception are sent to monitor the application program of described first port;
S102, SIM receive application program and return through the operating system of described mobile terminal, described BIP passage successively Data.
Embodiment three
Embodiment three provides and a kind of realizes the method for SIM and interapplication communications in mobile terminal, is applied to mobile In the operating system of terminal, as in figure 2 it is shown, the method may include that
S201, the operating system of mobile terminal obtain IP address and the port-mark of the first port that SIM sends, its In, described first port is the port that the application program that described SIM is to be communicated is monitored, and described first port is described movement The COM1 of the operating system of terminal;
S202, the operating system of mobile terminal set up described SIM and institute according to described IP address and described port-mark Stating the BIP passage of the first port, wherein, described IP address is loop-back address, multicast address or broadcast address.
Embodiment four
As it is shown on figure 3, on the basis of embodiment three, the another kind that embodiment four provides realize in mobile terminal SIM with The method of interapplication communications, it is also possible to including:
S301, the operating system of mobile terminal obtain the first data that SIM is sent by described BIP passage;
Described first data are sent to monitor the application journey of described first port by S302, the operating system of mobile terminal Sequence;
S303, the operating system of mobile terminal receive, by described first port, the second data that application program sends;
Described second data are sent to SIM by described BIP passage by S304, the operating system of mobile terminal.
Embodiment five
As shown in Figure 4, embodiment five provides and a kind of realizes the method for SIM and interapplication communications in mobile terminal, May include that
S401, application program monitor the first port, and described first port is the communication of the operating system of described mobile terminal Port;
Concrete, step S401 can specifically include:
Application program sends the request monitoring the first port to the operating system of mobile terminal, and described first port is described The COM1 of the operating system of mobile terminal;
After the operating system of mobile terminal receives this request, determine that the first port is the most monitored, if do not supervised Listen, then record the first port by described application program monitor and return monitoring successfully respond to described application program;If Monitored, then return monitor unsuccessfully respond to described application program.
The IP address of the first port and port-mark are sent to the operating system of mobile terminal by S402, SIM;
S403, the operating system of mobile terminal set up described SIM and institute according to described IP address and described port-mark Stating the BIP passage of the first port, wherein, described IP address is loop-back address, multicast address or broadcast address.
Concrete, the operating system of mobile terminal, can after setting up the described SIM BIP passage with described first port Result is set up to SIM with backward channel.
Further, after application program communicates with SIM, SIM can send to the operating system of mobile terminal Close the request of BIP passage, after the operating system of mobile terminal receives this request, this BIP passage can be closed and return to pass Close result to SIM.
Embodiment six
As it is shown in figure 5, embodiment six provides another kind realizes SIM and the side of interapplication communications in mobile terminal Method, on the basis of embodiment illustrated in fig. 4, it is also possible to including:
S501, SIM send the first data to the operating system of mobile terminal by described BIP passage;
Described first data are sent to monitor the application journey of described first port by S502, the operating system of mobile terminal Sequence;
The first data received are processed by S503, application program, it is thus achieved that described second data are also sent out by the second data Deliver to described first port;
Described second data are sent to SIM by described BIP passage by S504, the operating system of mobile terminal.
Certainly, step S501 can be performed a plurality of times until BIP passage after step S403 sets up BIP passage to step S504 Be closed, concrete execution process as shown in Figure 6:
S001, application program send the request monitoring the first port to the operating system of mobile terminal;
S002, the operating system of mobile terminal are determining that the first port records the first port by described application after the most monitored Program is monitored, and returns monitoring successfully response to application program;
S003, SIM send IP address and the port-mark of the first port to the operating system of mobile terminal;
S004, mobile terminal operating system according to the IP address of the first port and port-mark, set up SIM and first The BIP passage of port;
S005, the operating system of mobile terminal return BIP Path Setup to SIM and successfully respond;
S006, SIM send the first data by BIP passage to the operating system of mobile terminal;
First data are sent to monitor the application program of the first port by S007, the operating system of mobile terminal;
First data are processed by S008, application program, it is thus achieved that the second data;
Second data are sent to the first port by S009, application program;
Second data are sent to SIM by BIP passage by S010, the operating system of mobile terminal;
S011, SIM send the request closing BIP passage to the operating system of mobile terminal;
S012, the operating system of mobile terminal close BIP passage;
S013, the operating system of mobile terminal return to SIM and close successfully response.
Embodiment seven
Corresponding with embodiment one, present invention also offers a kind of SIM, may include that port information transmitting element, use It is sent to mobile terminal in the IP address of the first port monitored application program to be communicated for described SIM and port-mark Operating system so that the operating system of described mobile terminal sets up described SIM according to described IP address and described port-mark Card and the BIP passage of described first port;Wherein, described IP address is loop-back address, multicast address or broadcast address, described Single port is the COM1 of the operating system of described mobile terminal.
It is understood that SIM can also include other unit, such as: CPU, program memory ROM, work are deposited These five unit of reservoir RAM, data storage EEPROM and serial communication unit.
Optionally, above-mentioned port information transmitting element is desirably integrated in the part or all of unit of above-mentioned five unit, As: it is integrated in CPU and serial communication unit.This, it is not necessary to set up single port information transmitting element.
Wherein, SIM can also include: data transmission unit and data receipt unit,
Data transmission unit, for by described BIP passage, data are sent to described first port so that described movement The data of reception are sent to monitor the application program of described first port by the operating system of terminal;
Data receipt unit, for receiving application program successively through operating system, the described BIP passage of described mobile terminal The data returned.
Embodiment eight
Corresponding with embodiment three, embodiment eight provides the operating system of a kind of mobile terminal, as it is shown in fig. 7, permissible Including: port information obtains unit 701 and BIP Path Setup unit 702,
Described port information obtains unit 701, for obtaining IP address and the port mark of the first port that SIM sends Knowing, wherein, described first port is the port that the application program that described SIM is to be communicated is monitored, and described first port is institute State the COM1 of the operating system of mobile terminal;
Described BIP Path Setup unit 702, for setting up described SIM according to described IP address and described port-mark With the BIP passage of described first port, wherein, described IP address is loop-back address, multicast address or broadcast address.
Wherein, the operating system of mobile terminal can also include: data acquiring unit, data forwarding unit, response receive Unit and response retransmission unit,
Data acquiring unit, the operating system for mobile terminal obtains first that SIM is sent by described BIP passage Data;
Data forwarding unit, described first data are sent to monitor described first end by the operating system for mobile terminal The application program of mouth;
Response receives unit, and the operating system for mobile terminal receives what application program sent by described first port Second data;
Response retransmission unit, described second data are sent by the operating system for mobile terminal by described BIP passage To SIM.
Embodiment nine
Embodiment nine provides a kind of mobile terminal and may include that the SIM described in application program, embodiment seven and enforcement The operating system of the mobile terminal described in example eight, described application program monitors the first port, and described first port is described movement The COM1 of the operating system of terminal.
Wherein, described SIM can also include that the first transmitting element, the operating system of described mobile terminal can also wrap Including: the first retransmission unit, described application program may include that data processing unit,
Described first transmitting element, for sending the first data to the operating system of mobile terminal by described BIP passage;
Described first retransmission unit, for being sent to monitor the application program of described first port by described first data;
Described data processing unit, for processing the first data received, it is thus achieved that the second data by described the Two data are sent to described first port;
Described first retransmission unit, for being sent to SIM by described second data by described BIP passage.
For aforesaid each method embodiment, in order to be briefly described, therefore it is all expressed as a series of combination of actions, but Being that those skilled in the art should know, the present invention is not limited by described sequence of movement, because according to the present invention, certain A little steps can use other orders or carry out simultaneously.Secondly, those skilled in the art also should know, is retouched in description The embodiment stated belongs to preferred embodiment, necessary to involved action and the module not necessarily present invention.
It should be noted that each embodiment in this specification all uses the mode gone forward one by one to describe, each embodiment weight Point explanation is all the difference with other embodiments, and between each embodiment, identical similar part sees mutually. For device class embodiment, due to itself and embodiment of the method basic simlarity, so describe is fairly simple, relevant part ginseng See that the part of embodiment of the method illustrates.
Finally, in addition it is also necessary to explanation, in this article, the relational terms of such as first and second or the like be used merely to by One entity or operation separate with another entity or operating space, and not necessarily require or imply these entities or operation Between exist any this reality relation or order.And, term " includes ", " comprising " or its any other variant meaning Containing comprising of nonexcludability, so that include that the process of a series of key element, method, article or equipment not only include that A little key elements, but also include other key elements being not expressly set out, or also include for this process, method, article or The key element that equipment is intrinsic.In the case of there is no more restriction, statement " including ... " key element limited, do not arrange Except there is also other identical element in including the process of described key element, method, article or equipment.
Described above to the disclosed embodiments, makes those skilled in the art be capable of or uses the present invention.To this The multiple amendment of a little embodiments will be apparent from for a person skilled in the art, and generic principles defined herein can With without departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention will not be limited It is formed on the embodiments shown herein, and is to fit to consistent with principles disclosed herein and features of novelty the widest Scope.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For Yuan, under the premise without departing from the principles of the invention, it is also possible to make some improvements and modifications, these improvements and modifications also should It is considered as protection scope of the present invention.

Claims (10)

1. one kind realizes SIM and the method for interapplication communications in mobile terminal, it is characterised in that be applied to SIM, described Method includes:
IP address and the port-mark of the first port that application program to be communicated is monitored by SIM are sent to mobile terminal Operating system, so that the operating system of described mobile terminal sets up described SIM according to described IP address and described port-mark Bearer independent protocol BIP passage with described first port;Wherein, described IP address is loop-back address, multicast address or broadcast Address, described first port is the COM1 of the operating system of described mobile terminal.
Method the most according to claim 1, it is characterised in that also include:
By described BIP passage, data are sent to described first port with SIM so that the operating system of described mobile terminal will The data received are sent to monitor the application program of described first port;
SIM receives the data that application program returns successively through the operating system of described mobile terminal, described BIP passage.
3. one kind realizes SIM and the method for interapplication communications in mobile terminal, it is characterised in that be applied to mobile terminal In operating system, described method includes:
The operating system of mobile terminal obtains IP address and the port-mark of the first port that SIM sends, wherein, described first Port is the port that the application program that described SIM is to be communicated is monitored, and described first port is the operation of described mobile terminal The COM1 of system;
The operating system of mobile terminal sets up described SIM and described first port according to described IP address and described port-mark Bearer independent protocol BIP passage, wherein, described IP address is loop-back address, multicast address or broadcast address.
Method the most according to claim 3, it is characterised in that also include:
The operating system of mobile terminal obtains the first data that SIM is sent by described BIP passage;
Described first data are sent to monitor the application program of described first port by the operating system of mobile terminal;
The operating system of mobile terminal receives, by described first port, the second data that application program sends;
Described second data are sent to SIM by described BIP passage by the operating system of mobile terminal.
5. one kind realizes SIM and the method for interapplication communications in mobile terminal, it is characterised in that described method includes:
Application program monitors the first port, and described first port is the COM1 of the operating system of described mobile terminal;
The IP address of the first port and port-mark are sent to the operating system of mobile terminal by SIM;
The operating system of mobile terminal sets up described SIM and described first port according to described IP address and described port-mark Bearer independent protocol BIP passage, wherein, described IP address is loop-back address, multicast address or broadcast address.
Method the most according to claim 5, it is characterised in that also include:
SIM sends the first data to the operating system of mobile terminal by described BIP passage;
Described first data are sent to monitor the application program of described first port by the operating system of mobile terminal;
The first data received are processed by application program, it is thus achieved that described second data are also sent to described the by the second data Single port;
Described second data are sent to SIM by described BIP passage by the operating system of mobile terminal.
7. a SIM, it is characterised in that including: port information transmitting element, for being answered to communicate for described SIM The IP address of the first port monitored by program and port-mark are sent to the operating system of mobile terminal so that described mobile eventually It is unrelated with the carrying of described first port that the operating system of end sets up described SIM according to described IP address and described port-mark Agreement BIP passage;Wherein, described IP address is loop-back address, multicast address or broadcast address, and described first port is described shifting The COM1 of the operating system of dynamic terminal.
8. the operating system of a mobile terminal, it is characterised in that including: port information obtains unit and BIP Path Setup list Unit,
Described port information obtains unit, for obtaining IP address and the port-mark of the first port that SIM sends, wherein, Described first port is the port that the application program that described SIM is to be communicated is monitored, and described first port is described mobile whole The COM1 of the operating system of end;
Described BIP Path Setup unit, for setting up described SIM and described the according to described IP address and described port-mark The bearer independent protocol BIP passage of Single port, wherein, described IP address is loop-back address, multicast address or broadcast address.
9. a mobile terminal, it is characterised in that including: the SIM described in application program, claim 7 and claim 8 institute The operating system of the mobile terminal stated, described application program monitors the first port, and described first port is described mobile terminal The COM1 of operating system.
Mobile terminal the most according to claim 9, it is characterised in that described SIM also includes the first transmitting element, institute The operating system stating mobile terminal also includes: the first retransmission unit, and described application program includes: data processing unit,
Described first transmitting element, for sending the first data to the operating system of mobile terminal by described BIP passage;
Described first retransmission unit, for being sent to monitor the application program of described first port by described first data;
Described data processing unit, for processing the first data received, it is thus achieved that the second data also count described second According to being sent to described first port;
Described first retransmission unit, for being sent to SIM by described second data by described BIP passage.
CN201610849315.2A 2016-09-23 2016-09-23 SIM card and application program communication method, SIM card, operating system and mobile terminal Pending CN106332060A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610849315.2A CN106332060A (en) 2016-09-23 2016-09-23 SIM card and application program communication method, SIM card, operating system and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610849315.2A CN106332060A (en) 2016-09-23 2016-09-23 SIM card and application program communication method, SIM card, operating system and mobile terminal

Publications (1)

Publication Number Publication Date
CN106332060A true CN106332060A (en) 2017-01-11

Family

ID=57820595

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610849315.2A Pending CN106332060A (en) 2016-09-23 2016-09-23 SIM card and application program communication method, SIM card, operating system and mobile terminal

Country Status (1)

Country Link
CN (1) CN106332060A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115515252A (en) * 2021-06-21 2022-12-23 中国移动通信集团有限公司 Data interaction method, terminal equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150818A (en) * 2007-10-31 2008-03-26 中兴通讯股份有限公司 A method and mobile terminal for access to built-in WWW server of user recognition card
CN101335758A (en) * 2008-07-24 2008-12-31 中兴通讯股份有限公司 Method and system for access service in SIM card by dual-processor terminal
CN101835281A (en) * 2010-02-24 2010-09-15 中兴通讯股份有限公司 Method for carrying out data interaction with subscriber identification card and mobile terminal
CN102256241A (en) * 2011-07-13 2011-11-23 中国联合网络通信集团有限公司 Method, server and intelligent card for acquiring bearer independent protocol (BIP) information of terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150818A (en) * 2007-10-31 2008-03-26 中兴通讯股份有限公司 A method and mobile terminal for access to built-in WWW server of user recognition card
CN101335758A (en) * 2008-07-24 2008-12-31 中兴通讯股份有限公司 Method and system for access service in SIM card by dual-processor terminal
CN101835281A (en) * 2010-02-24 2010-09-15 中兴通讯股份有限公司 Method for carrying out data interaction with subscriber identification card and mobile terminal
CN102256241A (en) * 2011-07-13 2011-11-23 中国联合网络通信集团有限公司 Method, server and intelligent card for acquiring bearer independent protocol (BIP) information of terminal

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
孙健敏: "《计算机网络技术与应用》", 30 September 2010, 西安电子科技大学出版社 *
赵小林: "《网络通信技术教程》", 31 August 2003, 国防工业出版社 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115515252A (en) * 2021-06-21 2022-12-23 中国移动通信集团有限公司 Data interaction method, terminal equipment and storage medium

Similar Documents

Publication Publication Date Title
CN1742473B (en) Common protocol layer architecture and methods for transmitting data between different network protocols and a common protocol packet
CN102577268B (en) Apparatus and method for transmitting a MAC PDU based on MAC header type information
CN101047618B (en) Method and system for acquiring network route information
CN109302372A (en) A kind of communication means, equipment and storage medium
CN101101699A (en) Method and apparatus for data collection and transmission
US20080016248A1 (en) Method and apparatus for time synchronization of parameters
CN104205991A (en) System and method for reducing a call establishment time
JP2006237678A5 (en)
CN104902443A (en) Communication method and equipment
CN109041119A (en) A kind of data transmission method, relevant device and system
EP3413533B1 (en) Data transmission method and system
CN110366153A (en) A kind of method of bluetooth ad hoc network
CN104126289B (en) Grouped communication method and device in network
JP2019531669A (en) Control of Bluetooth multimedia devices
CN109526030A (en) Processing method, device and the equipment of message
CN109417548A (en) High efficiency of transmission of the packaged media flow in the transport layer based on datagram
CN102984175A (en) Front-end monitoring equipment without IP and agent device
CN108966363A (en) A kind of connection method for building up and device
CN101309169A (en) Network management method and network management system, network apparatus
CN106027599A (en) Data transmission channel establishing method and system, and server
CN106332060A (en) SIM card and application program communication method, SIM card, operating system and mobile terminal
CN108809549A (en) A kind of method and apparatus of transmission data
CN104768176B (en) The method, apparatus that sFlow is sampled in wireless network
CN110730203A (en) P2P communication method and device
CN102238164A (en) Internet protocol (IP) telecommunication network-oriented multi-protocol message adaptation method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170111

RJ01 Rejection of invention patent application after publication