[go: up one dir, main page]

CN102256241A - Method, server and intelligent card for acquiring bearer independent protocol (BIP) information of terminal - Google Patents

Method, server and intelligent card for acquiring bearer independent protocol (BIP) information of terminal Download PDF

Info

Publication number
CN102256241A
CN102256241A CN2011101958917A CN201110195891A CN102256241A CN 102256241 A CN102256241 A CN 102256241A CN 2011101958917 A CN2011101958917 A CN 2011101958917A CN 201110195891 A CN201110195891 A CN 201110195891A CN 102256241 A CN102256241 A CN 102256241A
Authority
CN
China
Prior art keywords
terminal
bip
server
smart card
capability
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.)
Granted
Application number
CN2011101958917A
Other languages
Chinese (zh)
Other versions
CN102256241B (en
Inventor
杨可可
金明晔
李旗
尹子栋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN2011101958917A priority Critical patent/CN102256241B/en
Publication of CN102256241A publication Critical patent/CN102256241A/en
Application granted granted Critical
Publication of CN102256241B publication Critical patent/CN102256241B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

本发明提供一种终端独立承载协议信息获取方法、服务器及智能卡。方法包括:智能卡向服务器发送终端BIP能力校验请求;服务器根据终端BIP能力校验请求,向智能卡发送BIP PUSH指令,BIP PUSH指令包括服务器的IP地址和端口号;智能卡根据BIP PUSH指令,向终端发送OPEN CHANNEL指令,以使终端根据服务器的IP地址和端口号,与服务器进行连接建立;服务器根据终端的接入结果,判断终端是否具有BIP能力。本发明技术方案智能卡由被动变为主动,解决了现有技术中智能卡被动接收服务器发送的BIP PUSH指令时无法及时响应的问题,从而提高了服务器获取终端BIP能力的准确性。

Figure 201110195891

The invention provides a terminal independent bearing protocol information acquisition method, a server and a smart card. The method includes: the smart card sends a terminal BIP capability verification request to the server; the server sends a BIP PUSH command to the smart card according to the terminal BIP capability verification request, and the BIP PUSH command includes the IP address and port number of the server; Send the OPEN CHANNEL command, so that the terminal establishes a connection with the server according to the IP address and port number of the server; the server judges whether the terminal has BIP capability according to the terminal access result. The smart card of the technical solution of the present invention changes from passive to active, which solves the problem in the prior art that the smart card cannot respond in time when it passively receives the BIP PUSH command sent by the server, thereby improving the accuracy of the server's ability to obtain the terminal's BIP.

Figure 201110195891

Description

终端独立承载协议信息获取方法、服务器及智能卡Method for acquiring terminal independent bearer protocol information, server and smart card

技术领域 technical field

本发明涉及无线通信技术,尤其涉及一种终端独立承载协议信息获取方法、服务器及智能卡。The invention relates to wireless communication technology, in particular to a method for acquiring terminal independent bearer protocol information, a server and a smart card.

背景技术 Background technique

随着3G时代的到来,移动数据业务已成为热点。移动终端所使用的智能卡上的数据有三种来源:1、在智能卡出厂时由厂商预置在智能卡内;2、利用销售点(Point Of Sale;简称为:POS)终端进行下载;3、利用空中下载技术(Over the Air Technology;简称为:OTA)进行下载。其中,OTA技术是一种通过移动通信网络的空中接口,例如:无线应用协议(Wireless Application Protocol;简称为:WAP)、通用分组无线服务(General Packet Radio Service;简称为:GPRS)、码分多址(Code DivisionMultiple Access;简称为:CDMA)1X及短消息等,对智能卡的数据及应用进行远程管理的技术,是目前最常用的一种数据下载方式。With the advent of the 3G era, mobile data services have become a hot topic. There are three sources of data on the smart card used by the mobile terminal: 1. Preset in the smart card by the manufacturer when the smart card leaves the factory; Download technology (Over the Air Technology; referred to as: OTA) to download. Among them, OTA technology is an air interface through the mobile communication network, such as: Wireless Application Protocol (Wireless Application Protocol; referred to as: WAP), General Packet Radio Service (General Packet Radio Service; referred to as: GPRS), Code Division Multiple Address (Code Division Multiple Access; abbreviation: CDMA) 1X and short message, etc., the technology for remote management of smart card data and applications is currently the most commonly used data download method.

随着移动数据业务和智能卡技术的发展,智能卡业务不再仅限于原来简单的菜单展示形式,利用应用程序对智能卡进行功能扩充成为主流,同时使得智能卡下载的数据也有原来的几百到几千字节,变成现在的几万字节甚至更多,而随着智能卡技术的发展和智能卡空间的增大,这一数字还在不断上涨。因此,现有利用短信通道的OTA技术已不能满足智能卡业务发展的需求,于是便出现了基于独立承载协议(Bearer IndependentProtocol;简称为:BIP)的OTA技术。其中,BIP是ETSI TS 102 223提出的一种面向连接的传输协议,可使智能卡通过终端与远程服务器建立面向连接的数据通道,可在全球移动通信系统(Global System for MobileCommunications;简称为:GSM)、CDMA、通用移动通信系统(UniversalMobile Telecommunications System;简称为:UMTS)等移动通信网络中使用。With the development of mobile data services and smart card technology, smart card services are no longer limited to the original simple menu display form, and the use of applications to expand the functions of smart cards has become the mainstream, and at the same time, the data downloaded by smart cards also has hundreds to thousands of words. Sections, now tens of thousands of bytes or even more, and with the development of smart card technology and the increase of smart card space, this number is still rising. Therefore, the existing OTA technology using the SMS channel can no longer meet the needs of smart card business development, so the OTA technology based on the Bearer Independent Protocol (abbreviated as: BIP) appeared. Among them, BIP is a connection-oriented transmission protocol proposed by ETSI TS 102 223, which enables the smart card to establish a connection-oriented data channel through the terminal and the remote server, and can be used in the Global System for Mobile Communications (Global System for Mobile Communications; referred to as: GSM) , CDMA, Universal Mobile Telecommunications System (Universal Mobile Telecommunications System; referred to as: UMTS) and other mobile communication networks.

利用BIP的OTA(简称为BIP-OTA)技术主要是利用高速无线数据通道将数据通过终端下载到智能卡的下载技术。现有技术一种使用BIP-OTA技术的方式为:远程服务器上预先建立存储有用户标识、终端型号以及终端BIP能力三者映射关系的关系表;远程服务器根据用户终端的请求消息获取用户信息,查询关系表判断相应终端的BIP能力,然后根据判断结果确定终端是否可以使用BIP-OTA技术下载数据,以确定用户最终获取数据的方式。OTA using BIP (referred to as BIP-OTA) technology is mainly a downloading technology that uses a high-speed wireless data channel to download data to a smart card through a terminal. One way of using BIP-OTA technology in the prior art is: a relationship table is pre-established on the remote server that stores the mapping relationship between the user ID, terminal model, and terminal BIP capability; the remote server obtains user information according to the request message of the user terminal, Query the relationship table to judge the BIP capability of the corresponding terminal, and then determine whether the terminal can use the BIP-OTA technology to download data according to the judgment result, so as to determine the way the user finally obtains the data.

现有技术中,远程服务器建立关系表的方式是:远程服务器针对特定用户群体发起BIP PUSH指令,使智能卡向终端发起主动式命令,例如开启通道OPEN CHANNEL)命令,远程服务器根据终端对OPEN CHANNEL命令的处理结果来判断终端的BIP能力。如果终端在有效时间内接入远程服务器,则说明该终端支持BIP能力,远程服务器将建立该终端与BIP能力的映射关系;反之,说明终端不支持BIP能力。该方式需要终端通过无线接入点(Access Point Name;简称为:APN)上网与远程服务器建立连接,一般手机需要用户点击“确认”后才能建立连接,如果过用户长时间不点击,则在有效时间结束之后,远程服务器将认为该终端不支持BIP能力,而远程服务器发起的独立承载协议下推(BIP PUSH)指令大多是在系统空闲时段(通常是半夜12点-3点),因此,这种方式对终端BIP能力的判断结果准确率不高。In the prior art, the way for the remote server to establish the relationship table is: the remote server initiates a BIP PUSH command for a specific user group, so that the smart card initiates an active command to the terminal, such as an open channel (OPEN CHANNEL) command, and the remote server responds to the OPEN CHANNEL command according to the terminal. The processing results are used to judge the BIP capability of the terminal. If the terminal accesses the remote server within the valid time, it means that the terminal supports the BIP capability, and the remote server will establish a mapping relationship between the terminal and the BIP capability; otherwise, it means that the terminal does not support the BIP capability. This method requires the terminal to establish a connection with the remote server through a wireless access point (Access Point Name; APN for short). Generally, the mobile phone requires the user to click "Confirm" to establish a connection. If the user does not click for a long time, it will be valid After the time is over, the remote server will think that the terminal does not support the BIP capability, and the BIP PUSH command initiated by the remote server is mostly during the idle period of the system (usually 12:00-3:00 in the middle of the night), so this The accuracy rate of the judgment result of the terminal BIP capability by this method is not high.

发明内容 Contents of the invention

本发明提供一种终端独立承载协议信息获取方法、服务器及智能卡,用以提高服务器获取终端BIP能力的准确性。The invention provides a terminal independent bearer protocol information acquisition method, a server and a smart card, which are used to improve the accuracy of the server in acquiring terminal BIP capabilities.

本发明提供一种终端独立承载协议BIP信息获取方法,包括:The present invention provides a terminal independent bearer protocol BIP information acquisition method, including:

智能卡向服务器发送终端BIP能力校验请求,所述终端BIP能力校验请求包括用户标识;The smart card sends a terminal BIP capability verification request to the server, and the terminal BIP capability verification request includes a user identification;

所述服务器根据所述终端BIP能力校验请求,向所述智能卡发送独立承载协议下推BIP PUSH指令,所述BIP PUSH指令包括所述服务器的网际协议IP地址和端口号;The server sends an independent bearer protocol push-down BIP PUSH instruction to the smart card according to the terminal BIP capability verification request, and the BIP PUSH instruction includes the Internet Protocol IP address and port number of the server;

所述智能卡根据所述BIP PUSH指令,向终端发送开启通道OPENCHANNEL指令,以使所述终端根据所述服务器的IP地址和端口号,与所述服务器进行连接建立;The smart card sends an OPENCHANNEL command to the terminal according to the BIP PUSH command, so that the terminal establishes a connection with the server according to the IP address and port number of the server;

所述服务器根据所述终端的接入结果,判断所述终端是否具有BIP能力。The server judges whether the terminal has BIP capability according to the access result of the terminal.

本发明提供一种服务器,包括:The invention provides a server, including:

第一接收模块,用于接收智能卡发送的终端独立承载协议BIP能力校验请求,所述终端BIP能力校验请求包括用户标识;The first receiving module is configured to receive a terminal independent bearer protocol BIP capability verification request sent by the smart card, and the terminal BIP capability verification request includes a user identification;

第一发送模块,用于根据所述终端BIP能力校验请求,向所述智能卡发送独立承载协议下推BIP PUSH指令,以使所述智能卡向所述智能卡所在终端发送开启通道OPEN CHANNEL指令以使所述终端与所述服务器进行连接建立,所述BIP PUSH指令包括所述服务器的网际协议IP地址和端口号;The first sending module is configured to send an independent bearer protocol push-down BIP PUSH instruction to the smart card according to the terminal BIP capability verification request, so that the smart card sends an open channel OPEN CHANNEL instruction to the terminal where the smart card is located so that The terminal is connected with the server, and the BIP PUSH instruction includes the IP address and port number of the server;

第一判断模块,用于根据所述终端的接入结果,判断所述终端是否具有BIP能力。The first judging module is configured to judge whether the terminal has BIP capability according to the access result of the terminal.

本发明提供一种智能卡,包括:The invention provides a smart card, including:

第二发送模块,用于向服务器发送终端独立承载协议BIP能力校验请求,所述终端BIP能力校验请求包括用户标识;The second sending module is configured to send a terminal independent bearer protocol BIP capability verification request to the server, and the terminal BIP capability verification request includes a user identifier;

第二接收模块,用于接收所述服务器根据所述终端BIP能力校验请求发送的独立承载协议下推BIP PUSH指令,所述BIP PUSH指令包括所述服务器的网际协议IP地址和端口号;The second receiving module is used to receive the BIP PUSH instruction sent by the server according to the terminal BIP capability verification request to push down the independent bearer protocol, and the BIP PUSH instruction includes the Internet Protocol IP address and port number of the server;

第三发送模块,用于根据所述BIP PUSH指令向所述智能卡所在的终端发送开启通道OPEN CHANNEL指令,以使所述终端根据所述服务器的IP地址和端口号,与所述服务器进行连接建立。The third sending module is used to send an OPEN CHANNEL instruction to the terminal where the smart card is located according to the BIP PUSH instruction, so that the terminal establishes a connection with the server according to the IP address and port number of the server .

本发明的终端BIP信息获取方法、服务器及智能卡,智能卡向服务器发送终端BIP能力校验请求,服务器根据智能卡的请求,向智能卡发送BIPPUSH指令,然后智能卡再根据BIP PUSH指令发送OPEN CHANNNEL指令使终端与服务器进行连接建立,服务器根据连接建立结果获取终端是否具有BIP能力。本发明技术方案服务器根据智能卡发送的请求向智能卡发送BIPPUSH指令,智能卡由原来的被动变为主动,能够及时与服务器进行交互,解决了现有技术中智能卡被动接收服务器发送的BIP PUSH指令时无法及时响应的问题,从而提高了服务器获取终端BIP能力的准确性。In the terminal BIP information acquisition method, server and smart card of the present invention, the smart card sends a terminal BIP capability verification request to the server, and the server sends a BIPPUSH instruction to the smart card according to the request of the smart card, and then the smart card sends an OPEN CHANNNEL instruction according to the BIP PUSH instruction to make the terminal communicate with the smart card. The server establishes the connection, and the server acquires whether the terminal has BIP capability according to the connection establishment result. The server of the technical solution of the present invention sends a BIPPUSH instruction to the smart card according to the request sent by the smart card, and the smart card changes from passive to active, and can interact with the server in time, which solves the problem that the smart card in the prior art cannot receive the BIP PUSH instruction sent by the server in a timely manner. Respond to the question, thereby improving the accuracy of the server's ability to obtain the terminal's BIP.

附图说明 Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.

图1为本发明实施例一提供的终端BIP信息获取方法的流程图;FIG. 1 is a flowchart of a terminal BIP information acquisition method provided by Embodiment 1 of the present invention;

图2为本发明实施例二提供的终端BIP信息获取方法的流程图;FIG. 2 is a flow chart of a method for acquiring terminal BIP information provided by Embodiment 2 of the present invention;

图3A为本发明实施例三提供的服务器的一种结构示意图;FIG. 3A is a schematic structural diagram of a server provided in Embodiment 3 of the present invention;

图3B为本发明实施例三提供的服务器的另一种结构示意图;FIG. 3B is another schematic structural diagram of the server provided by Embodiment 3 of the present invention;

图4为本发明实施例四提供的智能卡的结构示意图;FIG. 4 is a schematic structural diagram of a smart card provided by Embodiment 4 of the present invention;

图5为本发明实施例五提供的智能卡的结构示意图。FIG. 5 is a schematic structural diagram of a smart card provided by Embodiment 5 of the present invention.

具体实施方式 Detailed ways

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

图1为本发明实施例一提供的终端BIP信息获取方法的流程图。如图1所示,本实施例的方法包括:FIG. 1 is a flowchart of a method for acquiring terminal BIP information provided by Embodiment 1 of the present invention. As shown in Figure 1, the method of the present embodiment includes:

步骤11、智能卡向服务器发送终端BIP能力校验请求,所述终端BIP能力校验请求包括用户标识。Step 11: The smart card sends a terminal BIP capability verification request to the server, and the terminal BIP capability verification request includes a user identifier.

本实施例中的智能卡是指嵌入移动终端使用的业务卡,例如全球用户识别卡(Universal Subscriber Identity Module;简称为:USIM)卡或用户识别卡(Subscriber Identity Module;简称为:SIM)卡等。在本实施例中,智能卡嵌入终端,并由用户使用。其中,用户标识用于唯一标识一个用户;当终端为手机时,该用户标识通常为用户的手机号码。The smart card in this embodiment refers to a service card embedded in a mobile terminal, such as a Universal Subscriber Identity Module (USIM) card or a Subscriber Identity Module (SIM) card. In this embodiment, the smart card is embedded in the terminal and used by the user. Wherein, the user identifier is used to uniquely identify a user; when the terminal is a mobile phone, the user identifier is usually the user's mobile phone number.

具体的,智能卡通过主动式命令向智能卡所在终端发送终端BIP能力校验请求,例如“SEND DATA”,以请求终端以短信形式将终端BIP能力校验请求转发给服务器。其中,“SEND DATA”可以是包含终端BIP能力校验请求的指令,同时,该指令还用于指示终端将其中的终端BIP能力校验请求封装在短信内发送给服务器。Specifically, the smart card sends a terminal BIP capability verification request to the terminal where the smart card is located through an active command, such as "SEND DATA", to request the terminal to forward the terminal BIP capability verification request to the server in the form of a short message. Among them, "SEND DATA" may be an instruction including a terminal BIP capability verification request, and at the same time, the instruction is also used to instruct the terminal to encapsulate the terminal BIP capability verification request in a short message and send it to the server.

其中,智能卡向终端发送终端BIP能力校验请求的主动式命令,以及所发送的终端BIP能力校验请求的具体信息,可以自行定义,本实施例并不做限定。Wherein, the active command that the smart card sends the terminal BIP capability verification request to the terminal, and the specific information of the sent terminal BIP capability verification request can be defined by itself, which is not limited in this embodiment.

步骤12、服务器根据终端BIP能力校验请求,向智能卡发送BIP PUSH指令,所述BIP PUSH指令包括服务器的网际协议(Internet Protocol;简称为:IP)地址和端口号。Step 12: The server sends a BIP PUSH command to the smart card according to the terminal BIP capability verification request, and the BIP PUSH command includes the server's Internet Protocol (Internet Protocol; referred to as: IP) address and port number.

具体的,服务器收到由终端转发来的终端BIP能力校验请求后,通过终端向智能卡发送BIP PUSH指令。该BIP PUSH指令主要用于使智能卡发起主动式命令例如“OPEN CHANNEL”,以开启终端与智能卡之间交互的数据通道,在该BIP PUSH指令中包括服务器的IP地址和端口号等信息。通常,服务器与终端之间采用用户数据报协议(User Datagram Protocol;简称为:UDP)进行信息交互,因此,本实施例中服务器的端口号主要是指UDP端口号。Specifically, after receiving the terminal BIP capability verification request forwarded by the terminal, the server sends a BIP PUSH command to the smart card through the terminal. The BIP PUSH command is mainly used to make the smart card initiate an active command such as "OPEN CHANNEL" to open the data channel for interaction between the terminal and the smart card, and the BIP PUSH command includes information such as the server's IP address and port number. Usually, the user datagram protocol (User Datagram Protocol; UDP for short) is used for information exchange between the server and the terminal. Therefore, the port number of the server in this embodiment mainly refers to the UDP port number.

步骤13、智能卡根据BIP PUSH指令,向终端发送OPEN CHANNEL指令,以使终端根据服务器的IP地址和端口号,与服务器进行连接建立。Step 13, the smart card sends an OPEN CHANNEL command to the terminal according to the BIP PUSH command, so that the terminal establishes a connection with the server according to the IP address and port number of the server.

具体的,智能卡向其所在终端发送OPEN CHANNEL指令,以使终端通过BIP通道与服务器进行连接建立。其中,如果终端具有BIP能力,则可以成功与服务器建立连接;反之,则不能与服务器建立连接。Specifically, the smart card sends an OPEN CHANNEL command to the terminal where it is located, so that the terminal establishes a connection with the server through the BIP channel. Wherein, if the terminal has the BIP capability, it can successfully establish a connection with the server; otherwise, it cannot establish a connection with the server.

在本实施例中,获取终端BIP信息的操作是由智能卡即用户侧主动发起的,因此,在该连接过程中,即使需要用户点击“确认”才能开始建立连接时,用户也可以及时点击,从而解决了现有技术中因服务器发起时与用户时间不相适应造成的用户无法及时回应的问题。In this embodiment, the operation of obtaining terminal BIP information is initiated by the smart card, that is, the user side. Therefore, during the connection process, even if the user needs to click "confirm" to start establishing the connection, the user can click in time, thereby It solves the problem in the prior art that the user cannot respond in time due to the incompatibility between the server's initiation time and the user's time.

步骤14、服务器根据终端的接入结果,判断终端是否具有BIP能力。Step 14, the server judges whether the terminal has BIP capability according to the access result of the terminal.

具体的,如果服务器判断出终端与其之间的连接成功建立,则说明终端具有BIP能力;如果服务器判断出终端与其之间的连接建立不成功,则说明终端不具有BIP能力。即通过本实施例,服务器可以获取终端是否具有BIP能力的信息。Specifically, if the server determines that the connection between the terminal and the terminal is successfully established, it indicates that the terminal has BIP capability; if the server determines that the connection between the terminal and the terminal fails to establish, it indicates that the terminal does not have BIP capability. That is, through this embodiment, the server can acquire information about whether the terminal has the BIP capability.

本实施例的终端BIP信息获取方法,智能卡主动向服务器发送终端BIP能力校验请求,服务器根据智能卡的请求发送BIP PUSH指令,然后由智能卡根据BIP PUSH指令向终端发送OPEN CHANNEL指令,使终端与建立服务器进行连接建立,服务器最终根据连接结果获取终端是否具有BIP能力的信息。与现有技术相比,本实施例的智能卡由被动变主动,主动向服务器发送请求,使服务器根据其请求发送BIP PUSH指令,可以及时响应服务器的指令,解决了现有技术中因智能卡被动接收服务器的BIP PUSH指令而无法及时响应的问题,提高了服务器获取的终端BIP信息的准确性。In the terminal BIP information acquisition method of this embodiment, the smart card actively sends a terminal BIP capability verification request to the server, the server sends a BIP PUSH command according to the smart card request, and then the smart card sends an OPEN CHANNEL command to the terminal according to the BIP PUSH command, so that the terminal and the established The server establishes the connection, and the server finally obtains information about whether the terminal has BIP capability according to the connection result. Compared with the prior art, the smart card of this embodiment changes from passive to active, and actively sends a request to the server, so that the server can send a BIP PUSH command according to the request, and can respond to the server's command in time, which solves the problem of passive reception of the smart card in the prior art. The problem that the server cannot respond to the BIP PUSH command in time improves the accuracy of the terminal BIP information obtained by the server.

图2为本发明实施例二提供的终端BIP信息获取方法的流程图。本实施例基于实施例一实现,其相同之处不再赘述,如图2所示,本实施例的方法包括:FIG. 2 is a flowchart of a method for acquiring terminal BIP information provided by Embodiment 2 of the present invention. This embodiment is implemented based on Embodiment 1, and its similarities will not be repeated. As shown in Figure 2, the method of this embodiment includes:

步骤21、智能卡判断设置于智能卡内的终端标识码与终端的国际移动设备身份(International Mobile Equipment Identity;简称为:IMEI)码是否相同;如果为是,即判断结果为相同时,执行步骤26;反之,执行步骤22。Step 21, the smart card judges whether the terminal identification code set in the smart card and the terminal's International Mobile Equipment Identity (International Mobile Equipment Identity; abbreviated as: IMEI) code are the same; if yes, that is, when the judgment result is the same, execute step 26; Otherwise, go to step 22.

步骤22、智能卡向服务器发送终端BIP能力校验请求,并用IMEI码更新终端标识码,所述终端BIP能力校验请求包括用户标识。Step 22: The smart card sends a terminal BIP capability verification request to the server, and updates the terminal identification code with the IMEI code, and the terminal BIP capability verification request includes the user identification.

在本实施例中,智能卡上存储有一终端标识码,该终端标识码可以采用与终端的IMEI码相同的编码规则,以便于后续与IMEI码进行比较;其中,该终端标识码被初始化为默认数值,例如全0(0x000000000000000)或全1(0x111111111111111),并允许修改。本实施例的终端标识码用于判断智能卡是否一直被同一终端所承载,即判断终端是否发生过变化。In this embodiment, a terminal identification code is stored on the smart card, and the terminal identification code can adopt the same encoding rule as the IMEI code of the terminal, so as to facilitate subsequent comparison with the IMEI code; wherein, the terminal identification code is initialized to a default value , such as all 0s (0x0000000000000000) or all 1s (0x111111111111111), and allow modification. The terminal identification code in this embodiment is used to determine whether the smart card is always carried by the same terminal, that is, to determine whether the terminal has changed.

具体的,智能卡通过主动向终端发送获取指令,以获取终端的IMEI码;然后,智能卡将终端的IMEI码与终端标识码进行比较。如果比较结果不同,智能卡向服务器发起终端BIP能力校验请求,并用终端的IMEI码更新该终端标识码,即将终端标识码替换为当前终端的IMEI码。如果比较结果相同,则智能卡结束该次操作。Specifically, the smart card acquires the IMEI code of the terminal by actively sending an acquisition instruction to the terminal; then, the smart card compares the IMEI code of the terminal with the terminal identification code. If the comparison results are different, the smart card initiates a terminal BIP capability verification request to the server, and updates the terminal identification code with the terminal's IMEI code, that is, replaces the terminal identification code with the current terminal's IMEI code. If the comparison results are the same, the smart card ends the operation.

其中,本实施例可在用户每次开机时执行。当智能卡首次使用时,终端标识码为初始值,则终端的IMEI码与终端标识码一定不同。当用户再次开机,而由于用户更换了终端,因此,智能卡比较终端的IMEI码与终端标识码也会不同。而由于智能卡与终端是一一对应的,因此,无论是在初始使用时还是在用户更换终端时,智能卡向服务器发起终端BIP能力校验请求,可以使服务器及时了解用户当前终端的BIP能力,以更加全面的获取各个终端的BIP信息;同时,智能卡将终端标识码替换为当前终端的IMEI码,如果用户再次开机时,智能卡通过比较得出终端的IMEI码与终端标识码相同,说明用户未更换终端,并且智能卡已经向服务器发送过终端BIP能力校验请求,服务器已经获取到该终端的BIP信息,因此,智能卡不再执行向服务器发送终端BIP能力校验请求的操作。在本实施例中,智能卡可以在用户更换终端等场景下主动向服务器发起终端BIP能力校验请求,而在用户未更换终端的情况下不发送终端BIP能力校验请求,在使服务器及时了解终端BIP能力的同时,还可以节约各种资源。Wherein, this embodiment can be executed every time the user turns on the computer. When the smart card is used for the first time, the terminal identification code is the initial value, so the IMEI code of the terminal must be different from the terminal identification code. When the user turns on the device again, and because the user has changed the terminal, the IMEI code of the terminal compared with the smart card will be different from the terminal identification code. Since there is a one-to-one correspondence between the smart card and the terminal, whether it is in the initial use or when the user replaces the terminal, the smart card initiates a terminal BIP capability verification request to the server, so that the server can know the BIP capability of the user's current terminal in time, so as to Obtain the BIP information of each terminal more comprehensively; at the same time, the smart card replaces the terminal identification code with the IMEI code of the current terminal. If the user turns on the device again, the smart card will compare the IMEI code of the terminal and the terminal identification code to be the same, indicating that the user has not changed terminal, and the smart card has sent a terminal BIP capability verification request to the server, and the server has obtained the terminal's BIP information, so the smart card no longer performs the operation of sending the terminal BIP capability verification request to the server. In this embodiment, the smart card can actively initiate a terminal BIP capability verification request to the server when the user changes the terminal, but does not send the terminal BIP capability verification request when the user does not change the terminal, so that the server can keep abreast of the terminal In addition to BIP capabilities, various resources can also be saved.

步骤23、服务器根据终端BIP能力校验请求,向智能卡发送BIP PUSH指令,所述BIP PUSH指令包括服务器的IP地址和端口号。Step 23: The server sends a BIP PUSH command to the smart card according to the terminal BIP capability verification request, and the BIP PUSH command includes the server's IP address and port number.

步骤24、智能卡根据BIP PUSH指令,向终端发送OPEN CHANNEL指令,以使终端根据服务器的IP地址和端口号,与服务器进行连接建立。Step 24, the smart card sends an OPEN CHANNEL command to the terminal according to the BIP PUSH command, so that the terminal establishes a connection with the server according to the IP address and port number of the server.

步骤25、服务器根据终端的接入结果,判断终端是否具有BIP能力。Step 25, the server judges whether the terminal has BIP capability according to the access result of the terminal.

步骤26、结束操作。Step 26, end the operation.

本实施例的终端BIP信息获取方法,智能卡通过比较终端标识码与终端的IMEI码来判断用户是否有更换终端的行为,从而有条件的向服务器发起请求,可以使服务器获取终端BIP信息准确性和时效性都有很大的提高。In the terminal BIP information acquisition method of this embodiment, the smart card judges whether the user has changed the terminal by comparing the terminal identification code with the terminal's IMEI code, so as to conditionally initiate a request to the server, so that the server can obtain the accuracy and accuracy of the terminal BIP information. Timeliness has been greatly improved.

基于上述各实施例,服务器根据判断结果建立终端BIP能力映射关系表,并且默认终端不支持BIP能力。当服务器判断出终端具有BIP能力时,将用户标识与该终端具有BIP能力的信息存储到映射关系表中,以建立用户标识与终端具有BIP能力的映射关系。其中,在用户更换终端的情况下,服务器将获取的终端具有BIP能力的信息存储到映射关系表中,相当于对映射关系表的更新和维护,可以提高映射关系表中存储的终端BIP能力信息的全面性。Based on the foregoing embodiments, the server establishes a terminal BIP capability mapping relationship table according to the judgment result, and defaults that the terminal does not support the BIP capability. When the server determines that the terminal has the BIP capability, it stores the information about the user identifier and the terminal having the BIP capability in a mapping relationship table, so as to establish a mapping relationship between the user identifier and the terminal having the BIP capability. Wherein, when the user replaces the terminal, the server stores the acquired information that the terminal has BIP capability in the mapping relationship table, which is equivalent to updating and maintaining the mapping relationship table, and can improve the terminal BIP capability information stored in the mapping relationship table. comprehensiveness.

基于服务器建立的映射关系表,当服务器与智能卡进行远程交互时,例如:用户通过终端向服务器发送下载请求,服务器将根据下载请求中的用户标识查询映射关系表,获取与用户标识对应的终端是否具有BIP能力。Based on the mapping relationship table established by the server, when the server interacts with the smart card remotely, for example: the user sends a download request to the server through the terminal, the server will query the mapping relationship table according to the user ID in the download request to obtain whether the terminal corresponding to the user ID is With BIP capability.

当判断出用户标识对应的终端具有BIP能力时,服务器通过短信通道向智能卡发送BIP PUSH指令;智能卡根据BIP PUSH指令向该终端发送OPENCHANNEL指令,以使终端与服务器进行连接建立;服务器根据终端的反馈命令判断终端是否打开BIP通道,即判断终端与其之间是否成功建立连接;如果BIP通道已打开,则服务器向终端传输数据;如果BIP通道未打开,则重新通过短信通道向智能卡发送BIP PUSH指令以再次判断BIP通道是否打开。当重新发送BIP PUSH指令的次数超过预设门限时,通过短信通道向终端发送通告消息,以提示用户采用其他方式(例如短信方式)进行数据下载。When it is judged that the terminal corresponding to the user ID has BIP capability, the server sends the BIP PUSH command to the smart card through the SMS channel; the smart card sends the OPENCHANNEL command to the terminal according to the BIP PUSH command, so that the terminal can establish a connection with the server; The command determines whether the terminal opens the BIP channel, that is, determines whether the connection between the terminal and the terminal is successfully established; if the BIP channel is opened, the server transmits data to the terminal; Determine whether the BIP channel is open again. When the number of resent BIP PUSH commands exceeds the preset threshold, a notification message is sent to the terminal through the SMS channel to prompt the user to use other methods (such as SMS) to download data.

当服务器判断出用户标识对应的终端不具有BIP能力时,则通过短信通道通告用户采用其他方式进行数据下载。另外,服务器还可以根据用户请求下载的数据量的大小,自行判断是否通过短信方式向终端发送数据。例如:当请求下载的数据量较小(以小于预设数据量阈值为例)时,服务器通过短信通道以短信方式向终端发送数据;反之,如果请求下载的数据量较大(大于或等于预设数据量阈值),则服务器向终端发送通告信息,以提示用户采用其他方式进行数据下载。When the server determines that the terminal corresponding to the user identifier does not have the BIP capability, it notifies the user to download data in other ways through the SMS channel. In addition, the server can also determine whether to send data to the terminal through a short message according to the amount of data downloaded by the user request. For example: when the amount of data requested to be downloaded is small (take less than the preset data amount threshold as an example), the server sends data to the terminal in the form of SMS through the SMS channel; Set the data volume threshold), the server sends a notification message to the terminal to prompt the user to use other methods to download data.

基于上述,本发明各实施例提供的终端BIP信息获取方法具有以下有益效果:1、智能卡“主动”向服务器发起终端BIP能力校验请求,在开机时进行BIP通道打开操作,会极大的提高用户“发现”并“确认”上网连接的成功率,从而避免了现有技术中服务器在半夜群发BIP PUSH指令,而得不到用户回应的问题,提高了服务器获取终端BIP信息的准确率。2、由智能卡在开机时对终端的IMEI码进行校验,可以准确判定用户终端的更换情况,便于服务器及时维护和更新所存储的终端的BIP信息,提高用户通过BIP-OTA技术进行数据下载的成功率,同时还将极大的提高基于终端BIP信息开展的其他业务的可靠性。3、通过智能卡对终端的IMEI码进行开机校验,当IMEI码未发生变化时不向服务器发送终端BIP能力校验请求,可以有效的降低用户开机时发送上行数据短信的操作,减少对无线网络资源的占用;另外,还可以降低终端在开机时自动发送上行短信而导致终端系统死机的情况的发生几率。4、智能卡对终端IMEI码的校验操作,不需考虑IMEI码的格式,避免了因格式错误无法识别终端型号等问题的出现。5、服务器以用户标识为索引建立映射关系表,而不是根据IMEI码,可以解决现有技术中多款山寨机共用一个IMEI码导致无法建立映射关系表的问题;另外,从业务运营角度来讲,以用户为运营对象具有便于管理的优势。Based on the above, the terminal BIP information acquisition method provided by each embodiment of the present invention has the following beneficial effects: 1. The smart card "actively" initiates a terminal BIP capability verification request to the server, and performs a BIP channel opening operation when starting up, which will greatly improve The user "discovers" and "confirms" the success rate of the Internet connection, thereby avoiding the problem in the prior art that the server sends BIP PUSH commands in the middle of the night without receiving a response from the user, and improves the accuracy of the server's acquisition of terminal BIP information. 2. The IMEI code of the terminal is verified by the smart card when it is turned on, which can accurately determine the replacement of the user terminal, facilitate the server to maintain and update the stored BIP information of the terminal in time, and improve the user's ability to download data through BIP-OTA technology At the same time, it will greatly improve the reliability of other services based on terminal BIP information. 3. Use the smart card to verify the IMEI code of the terminal. When the IMEI code does not change, it will not send a terminal BIP capability verification request to the server, which can effectively reduce the operation of sending uplink data messages when the user starts up, and reduce the impact on the wireless network. resource occupation; in addition, it can also reduce the probability that the terminal system will crash due to automatic sending of uplink text messages when the terminal is turned on. 4. The verification operation of the smart card on the terminal IMEI code does not need to consider the format of the IMEI code, which avoids problems such as the inability to identify the terminal model due to format errors. 5. The server uses the user ID as the index to establish the mapping relationship table instead of the IMEI code, which can solve the problem in the prior art that many counterfeit phones share one IMEI code and cannot establish the mapping relationship table; in addition, from the perspective of business operation , taking the user as the operation object has the advantage of being easy to manage.

图3A为本发明实施例三提供的服务器的一种结构示意图。如图3A所示,本实施例的服务器包括:第一接收模块31、第一发送模块32和第一判断模块33。FIG. 3A is a schematic structural diagram of a server provided by Embodiment 3 of the present invention. As shown in FIG. 3A , the server of this embodiment includes: a first receiving module 31 , a first sending module 32 and a first judging module 33 .

其中,第一接收模块31,与智能卡连接,用于接收智能卡发送的终端BIP能力校验请求,所述终端BIP能力校验请求包括用户标识;第一发送模块32,与智能卡连接,用于根据终端BIP能力校验请求,向智能卡发送BIP PUSH指令,以使智能卡向智能卡所在终端发送OPEN CHANNEL指令以使终端与服务器进行连接建立,所述BIP PUSH指令包括服务器的IP地址和端口号;第一判断模块33,与终端连接,用于根据终端的接入结果,判断终端是否具有BIP能力。Wherein, the first receiving module 31 is connected with the smart card for receiving the terminal BIP capability verification request sent by the smart card, and the terminal BIP capability verification request includes the user identification; the first sending module 32 is connected with the smart card for according to The terminal BIP capability verification request sends a BIP PUSH command to the smart card, so that the smart card sends an OPEN CHANNEL command to the terminal where the smart card is located to establish a connection between the terminal and the server. The BIP PUSH command includes the IP address and port number of the server; The judging module 33 is connected with the terminal, and is used for judging whether the terminal has BIP capability according to the access result of the terminal.

其中,智能卡被终端所承载,因此,本实施例的服务器主要是通过终端与智能卡连接。进一步说明,在本发明各实施例中所述的“连接”主要是指两者之间可以通信进行信息交互,既不限于通过连接线连接,也不限于直接相连。Wherein, the smart card is carried by the terminal, therefore, the server in this embodiment is mainly connected to the smart card through the terminal. It should be further explained that the "connection" mentioned in the various embodiments of the present invention mainly means that the two can communicate and exchange information, and it is neither limited to a connection through a connection line nor a direct connection.

本实施例服务器的各功能模块可用于执行上述方法实施例提供的终端BIP信息获取方法的流程,其工作原理不再赘述,详见方法实施例的描述。Each functional module of the server in this embodiment can be used to execute the flow of the terminal BIP information acquisition method provided by the above method embodiment, and its working principle will not be described in detail, see the description of the method embodiment for details.

本实施例的服务器,根据智能卡的请求发送BIP PUSH指令,以使智能卡根据BIP PUSH指令向终端发送OPEN CHANNEL指令,使终端与建立本服务器进行连接建立,然后,根据终端的连接结果获取终端是否具有BIP能力的信息。与现有技术相比,本实施例的服务器由主动变为被动,根据智能卡的请求发送BIP PUSH指令,解决了现有技术中服务器在半夜向用户群发BIP PUSH指令,而用户无法及时响应导致获取错误的终端的BIP信息的问题,提高了获取的终端的BIP信息的准确性。The server of this embodiment sends a BIP PUSH command according to the request of the smart card, so that the smart card sends an OPEN CHANNEL command to the terminal according to the BIP PUSH command, so that the terminal establishes a connection with the server, and then, according to the connection result of the terminal, obtains whether the terminal has Information about BIP capabilities. Compared with the prior art, the server of this embodiment changes from active to passive, and sends BIP PUSH instructions according to the request of the smart card, which solves the problem that in the prior art, the server sends BIP PUSH instructions to users in the middle of the night, and the users cannot respond in time, resulting in acquisition The problem of incorrect terminal BIP information has improved the accuracy of acquired terminal BIP information.

进一步,如图3B所示,本实施例的服务器还包括:建立模块34,用于在第一判断模块33判断出终端具有BIP能力时,建立用户标识与终端具有BIP能力的映射关系。基于当前大多数终端不具有BIP能力,本实施例的服务器默认终端不具有BIP能力。Further, as shown in FIG. 3B , the server of this embodiment further includes: an establishment module 34, configured to establish a mapping relationship between a user ID and a terminal with BIP capability when the first determination module 33 determines that the terminal has BIP capability. Since most terminals currently do not have the BIP capability, the server in this embodiment defaults that the terminal does not have the BIP capability.

本实施例的服务器,通过建立模块在获取终端具有BIP能力时,建立起用户标识与终端具有BIP能力的信息的映射关系表,可以为用户通过BIP-OTA技术进行数据下载提供便利。另外,本实施例的服务器以用户标识为索引,而不是以终端的IMEI码,可以解决现有技术中多款山寨机共用一个IMEI码从而无法正确识别终端,导致无法正确建立终端与终端的BIP信息的映射关系的问题。The server of this embodiment, through the establishment module, establishes the mapping relationship table between the user identifier and the information that the terminal has BIP capability when the terminal has BIP capability, so as to provide convenience for users to download data through BIP-OTA technology. In addition, the server in this embodiment uses the user ID as the index instead of the IMEI code of the terminal, which can solve the problem that in the prior art, multiple counterfeit phones share one IMEI code and cannot correctly identify the terminal, resulting in the inability to correctly establish the BIP between the terminal and the terminal. The problem of mapping relationship of information.

图4为本发明实施例四提供的智能卡的结构示意图。如图4所示,本实施例的智能卡包括:第二发送模块41、第二接收模块42和第三发送模块43。FIG. 4 is a schematic structural diagram of a smart card provided by Embodiment 4 of the present invention. As shown in FIG. 4 , the smart card of this embodiment includes: a second sending module 41 , a second receiving module 42 and a third sending module 43 .

其中,第二发送模块41,与服务器连接,用于向服务器发送终端BIP能力校验请求,所述终端BIP能力校验请求包括用户标识;第二接收模块42,与服务器连接,用于接收服务器根据终端BIP能力校验请求发送的BIP PUSH指令,所述BIP PUSH指令包括服务器的IP地址和端口号;第三发送模块43,与第二接收模块42以及本智能卡所在的终端连接,用于根据BIP PUSH指令向智能卡所在的终端发送OPEN CHANNEL指令,以使终端根据服务器的IP地址和端口号,与服务器进行连接建立。Wherein, the second sending module 41 is connected with the server and is used to send the terminal BIP capability verification request to the server, and the terminal BIP capability verification request includes the user identification; the second receiving module 42 is connected with the server and is used for receiving the server According to the BIP PUSH command sent by the terminal BIP capability verification request, the BIP PUSH command includes the IP address and port number of the server; the third sending module 43 is connected with the second receiving module 42 and the terminal where the smart card is located, and is used for according to The BIP PUSH command sends the OPEN CHANNEL command to the terminal where the smart card is located, so that the terminal establishes a connection with the server according to the IP address and port number of the server.

其中,本实施例的智能卡承载于终端,即嵌入终端并与终端一起协作来实现各种功能。本实施例的智能卡主要是在终端开机时,由各功能模块主动执行终端BIP信息获取的操作流程。Wherein, the smart card of this embodiment is carried by the terminal, that is, embedded in the terminal and cooperates with the terminal to realize various functions. In the smart card of this embodiment, when the terminal is turned on, each functional module actively executes the operation process of acquiring terminal BIP information.

本实施例的智能卡主要是通过终端与服务器进行连接。则本实施例智能卡中的第三发送模块43具体用于将终端BIP能力校验请求发送给终端,以使终端以短信形式将终端BIP能力校验请求转发给服务器。其中,智能卡向终端发送终端BIP能力校验请求的主动式命令,以及所发送的终端BIP能力校验请求的具体信息,可以自行定义,本实施例并不做限定。The smart card in this embodiment is mainly connected to the server through the terminal. Then the third sending module 43 in the smart card of this embodiment is specifically configured to send the terminal BIP capability verification request to the terminal, so that the terminal forwards the terminal BIP capability verification request to the server in the form of a short message. Wherein, the active command that the smart card sends the terminal BIP capability verification request to the terminal, and the specific information of the sent terminal BIP capability verification request can be defined by itself, which is not limited in this embodiment.

本实施例智能卡的各功能模块可用于执行上述方法实施例提供的终端BIP信息获取方法的流程,其工作原理不再赘述,详见方法实施例的描述。Each functional module of the smart card in this embodiment can be used to execute the flow of the terminal BIP information acquisition method provided by the above method embodiment, and its working principle will not be described in detail, see the description of the method embodiment for details.

本实施例的智能卡,主动向服务器发送终端BIP能力校验请求,使服务器根据智能卡的请求发送BIP PUSH指令,智能卡由现有技术中的被动变为主动,极大的提高了用户发现并“确认”上网连接的成功率,从而避免了现有技术中服务器在半夜群发BIP PUSH指令,而得不到用户回应的问题,提高了服务器获取终端BIP信息的准确率。The smart card of this embodiment actively sends a terminal BIP capability verification request to the server, so that the server sends a BIP PUSH command according to the request of the smart card, and the smart card is changed from passive to active in the prior art, which greatly improves user discovery and "confirmation". "The success rate of Internet connection, thereby avoiding the problem in the prior art that the server sends out BIP PUSH commands in the middle of the night without getting a response from the user, and improves the accuracy of the server's acquisition of terminal BIP information.

图5为本发明实施例五提供的智能卡的结构示意图。本实施例基于实施例四实现,如图5所示,本实施例的智能卡还包括:获取模块51、第二判断模块52和触发更新模块53。FIG. 5 is a schematic structural diagram of a smart card provided by Embodiment 5 of the present invention. This embodiment is implemented based on the fourth embodiment. As shown in FIG. 5 , the smart card of this embodiment further includes: an acquisition module 51 , a second judgment module 52 and a trigger update module 53 .

其中,获取模块51,与智能卡所在的终端连接,用于获取终端的IMEI码;具体通过智能卡与终端之间的获取指令来获取。第二判断模块52,与获取模块51连接,用于判断设置于智能卡内的终端标识码与终端的IMEI码是否相同;更新触发模块53,用于在第二判断模块52的判断结果为不同时,触发第二发送模块41向服务器发送终端BIP能力校验请求,并用IMEI码更新终端标识码。Wherein, the acquisition module 51 is connected with the terminal where the smart card is located, and is used to acquire the IMEI code of the terminal; specifically, the acquisition is obtained through an acquisition instruction between the smart card and the terminal. The second judging module 52 is connected with the acquiring module 51, and is used to judge whether the terminal identification code arranged in the smart card is identical with the IMEI code of the terminal; the update triggering module 53 is used for when the judging result of the second judging module 52 is different. , triggering the second sending module 41 to send a terminal BIP capability verification request to the server, and update the terminal identification code with the IMEI code.

本实施例智能卡的上述功能模块可用于执行上述方法实施例中对终端IMEI码进行校验的相应流程,其工作原理不再赘述,详见方法实施例的描述。The above-mentioned functional modules of the smart card in this embodiment can be used to execute the corresponding process of verifying the IMEI code of the terminal in the above-mentioned method embodiment, and its working principle will not be described in detail, see the description of the method embodiment for details.

本实施例的智能卡,通过上述功能模块在开机时对终端的IMEI码进行校验,可以准确判定用户终端的更换情况,便于服务器及时维护和更新所存储的终端的BIP信息,提高用户通过BIP-OTA技术进行数据下载的成功率,同时还将极大的提高基于终端BIP信息开展的其他业务的可靠性。另外,当智能卡判断出IMEI码未发生变化时,不向服务器发送终端BIP能力校验请求,可以有效的降低用户开机时发送上行数据短信的操作,减少对无线网络资源的占用,同时,还可以降低终端在开机时自动发送上行短信而导致终端系统死机的情况的发生几率。再者,本实施例的智能卡对终端的IMEI码进行校验的操作,不需考虑IMEI码的格式,避免了现有技术中服务器根据IMEI码识别终端时,因格式错误无法识别终端型号等问题的出现。In the smart card of this embodiment, the IMEI code of the terminal can be verified by the above-mentioned functional modules when starting up, so that it can accurately determine the replacement status of the user terminal, facilitate the server to maintain and update the stored BIP information of the terminal in time, and improve the user's ability to pass BIP- The success rate of OTA technology for data download will also greatly improve the reliability of other services based on terminal BIP information. In addition, when the smart card determines that the IMEI code has not changed, it does not send a terminal BIP capability verification request to the server, which can effectively reduce the operation of sending uplink data messages when the user starts up, and reduce the occupation of wireless network resources. Reduce the probability of the terminal system crashing due to the automatic sending of uplink SMS when the terminal is turned on. Furthermore, the smart card in this embodiment checks the IMEI code of the terminal without considering the format of the IMEI code, which avoids the problems in the prior art that the terminal model cannot be identified due to format errors when the server identifies the terminal according to the IMEI code. the emergence of.

进一步,上述各实施例的智能卡可以是USIM卡或SIM卡,并但并不限于此。其中,上述实施例中智能卡的各功能模块可由软件来实现,例如可以对现有USIM卡或SIM卡的软件进行修改或扩充来实现。例如:对于本地(Native)卡时,可以通过修改卡片的片内操作系统(Chip Operating System;简称为:COS),使卡片支持对终端IMEI码进行校验的功能,并使卡片在开机时主动向服务器发起终端BIP能力校验请求,以实现上述各实施例的智能卡。再例如:对于JAVA卡,可以开发相应的JAVA程序来实现对终端IMEI码的校验功能,以及开机时主动向服务器发起终端BIP能力校验请求的功能,从而实现上述各实施例的智能卡。其中,由于JAVA程序具有更加灵活的特点,因此,基于JAVA卡实现智能卡将更为简单,为一种优选实施方式。Further, the smart card in each of the foregoing embodiments may be a USIM card or a SIM card, but is not limited thereto. Wherein, each functional module of the smart card in the above embodiment can be realized by software, for example, it can be realized by modifying or expanding the software of the existing USIM card or SIM card. For example: for a local (Native) card, you can modify the chip operating system (Chip Operating System; COS for short) of the card to enable the card to support the function of verifying the terminal IMEI code and enable the card to automatically Initiate a terminal BIP capability verification request to the server, so as to implement the smart cards in the above embodiments. Another example: for the JAVA card, a corresponding JAVA program can be developed to realize the verification function of the terminal IMEI code, and the function of actively initiating a terminal BIP capability verification request to the server when starting up, so as to realize the smart card of the above-mentioned embodiments. Among them, since the JAVA program has more flexible features, it will be simpler to realize the smart card based on the JAVA card, which is a preferred implementation mode.

本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps for realizing the above-mentioned method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the It includes the steps of the above method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other various media that can store program codes.

最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent replacements are made to some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.

Claims (11)

1.一种终端独立承载协议BIP信息获取方法,其特征在于,包括:1. A terminal independent bearer protocol BIP information acquisition method, characterized in that, comprising: 智能卡向服务器发送终端BIP能力校验请求,所述终端BIP能力校验请求包括用户标识;The smart card sends a terminal BIP capability verification request to the server, and the terminal BIP capability verification request includes a user identification; 所述服务器根据所述终端BIP能力校验请求,向所述智能卡发送独立承载协议下推BIP PUSH指令,所述BIP PUSH指令包括所述服务器的网际协议IP地址和端口号;The server sends an independent bearer protocol push-down BIP PUSH instruction to the smart card according to the terminal BIP capability verification request, and the BIP PUSH instruction includes the Internet Protocol IP address and port number of the server; 所述智能卡根据所述BIP PUSH指令,向终端发送开启通道OPENCHANNEL指令,以使所述终端根据所述服务器的IP地址和端口号,与所述服务器进行连接建立;The smart card sends an OPENCHANNEL command to the terminal according to the BIP PUSH command, so that the terminal establishes a connection with the server according to the IP address and port number of the server; 所述服务器根据所述终端的接入结果,判断所述终端是否具有BIP能力。The server judges whether the terminal has BIP capability according to the access result of the terminal. 2.根据权利要求1所述的终端BIP信息获取方法,其特征在于,还包括:2. The terminal BIP information acquisition method according to claim 1, further comprising: 当所述服务器判断出所述终端具有BIP能力时,所述服务器建立所述用户标识与所述终端具有BIP能力的映射关系。When the server determines that the terminal has the BIP capability, the server establishes a mapping relationship between the user identifier and the terminal having the BIP capability. 3.根据权利要求1或2所述的终端BIP信息获取方法,其特征在于,所述智能卡向服务器发送终端BIP能力校验请求之前包括:3. The terminal BIP information acquisition method according to claim 1 or 2, wherein the smart card includes before sending the terminal BIP capability verification request to the server: 所述智能卡判断设置于所述智能卡内的终端标识码与所述终端的国际移动设备身份IMEI码是否相同;The smart card judges whether the terminal identification code set in the smart card is the same as the IMEI code of the terminal; 当判断结果不同时,所述智能卡向所述服务器发送所述终端BIP能力校验请求,并用所述IMEI码更新所述终端标识码。When the judging results are different, the smart card sends the terminal BIP capability verification request to the server, and updates the terminal identification code with the IMEI code. 4.根据权利要求1或2所述的终端BIP信息获取方法,其特征在于,所述智能卡向所述服务器发送所述终端BIP能力校验请求包括:4. The terminal BIP information acquisition method according to claim 1 or 2, wherein the smart card sending the terminal BIP capability verification request to the server comprises: 所述智能卡向所述终端发送所述终端BIP能力校验请求;The smart card sends the terminal BIP capability verification request to the terminal; 所述终端以短信形式将所述终端BIP能力校验请求转发给所述服务器。The terminal forwards the terminal BIP capability verification request to the server in the form of a short message. 5.根据权利要求1或2所述的终端BIP信息获取方法,其特征在于,所述智能卡为USIM卡或SIM卡。5. The terminal BIP information acquisition method according to claim 1 or 2, wherein the smart card is a USIM card or a SIM card. 6.一种服务器,其特征在于,包括:6. A server, characterized in that, comprising: 第一接收模块,用于接收智能卡发送的终端独立承载协议BIP能力校验请求,所述终端BIP能力校验请求包括用户标识;The first receiving module is configured to receive a terminal independent bearer protocol BIP capability verification request sent by the smart card, and the terminal BIP capability verification request includes a user identification; 第一发送模块,用于根据所述终端BIP能力校验请求,向所述智能卡发送独立承载协议下推BIP PUSH指令,以使所述智能卡向所述智能卡所在终端发送开启通道OPEN CHANNEL指令以使所述终端与所述服务器进行连接建立,所述BIP PUSH指令包括所述服务器的网际协议IP地址和端口号;The first sending module is configured to send an independent bearer protocol push-down BIP PUSH instruction to the smart card according to the terminal BIP capability verification request, so that the smart card sends an open channel OPEN CHANNEL instruction to the terminal where the smart card is located so that The terminal is connected with the server, and the BIP PUSH instruction includes the IP address and port number of the server; 第一判断模块,用于根据所述终端的接入结果,判断所述终端是否具有BIP能力。The first judging module is configured to judge whether the terminal has BIP capability according to the access result of the terminal. 7.根据权利要求6所述的服务器,其特征在于,还包括:7. The server according to claim 6, further comprising: 建立模块,用于在所述第一判断模块判断出所述终端具有BIP能力时,建立所述用户标识与所述终端具有BIP能力的映射关系。An establishing module, configured to establish a mapping relationship between the user identifier and the terminal having the BIP capability when the first judging module determines that the terminal has the BIP capability. 8.一种智能卡,其特征在于,包括:8. A smart card, characterized in that, comprising: 第二发送模块,用于向服务器发送终端独立承载协议BIP能力校验请求,所述终端BIP能力校验请求包括用户标识;The second sending module is configured to send a terminal independent bearer protocol BIP capability verification request to the server, and the terminal BIP capability verification request includes a user identifier; 第二接收模块,用于接收所述服务器根据所述终端BIP能力校验请求发送的独立承载协议下推BIP PUSH指令,所述BIP PUSH指令包括所述服务器的网际协议IP地址和端口号;The second receiving module is used to receive the BIP PUSH instruction sent by the server according to the terminal BIP capability verification request to push down the independent bearer protocol, and the BIP PUSH instruction includes the Internet Protocol IP address and port number of the server; 第三发送模块,用于根据所述BIP PUSH指令向所述智能卡所在的终端发送开启通道OPEN CHANNEL指令,以使所述终端根据所述服务器的IP地址和端口号,与所述服务器进行连接建立。The third sending module is used to send an OPEN CHANNEL instruction to the terminal where the smart card is located according to the BIP PUSH instruction, so that the terminal establishes a connection with the server according to the IP address and port number of the server . 9.根据权利要求8所述的智能卡,其特征在于,还包括:9. The smart card according to claim 8, further comprising: 获取模块,用于获取所述终端的国际移动设备身份IMEI码;An acquisition module, configured to acquire the IMEI code of the terminal; 第二判断模块,用于判断设置于所述智能卡内的终端标识码与所述终端的IMEI码是否相同;The second judging module is used to judge whether the terminal identification code set in the smart card is the same as the IMEI code of the terminal; 更新触发模块,用于在所述第二判断模块的判断结果为不同时,触发所述第二发送模块向所述服务器发送所述终端BIP能力校验请求,并用所述IMEI码更新所述终端标识码。An update trigger module, configured to trigger the second sending module to send the terminal BIP capability verification request to the server when the judgment result of the second judging module is different, and update the terminal with the IMEI code identification code. 10.根据权利要求8或9所述的智能卡,其特征在于,所述第二发送模块具体用于将所述终端BIP能力校验请求发送给所述终端,以使所述终端以短信形式将所述终端BIP能力校验请求转发给所述服务器。10. The smart card according to claim 8 or 9, wherein the second sending module is specifically configured to send the terminal BIP capability verification request to the terminal, so that the terminal sends the The terminal BIP capability verification request is forwarded to the server. 11.根据权利要求8或9所述的智能卡,其特征在于,所述智能卡为USIM卡或SIM卡。11. The smart card according to claim 8 or 9, characterized in that, the smart card is a USIM card or a SIM card.
CN2011101958917A 2011-07-13 2011-07-13 Method, server and intelligent card for acquiring bearer independent protocol (BIP) information of terminal Active CN102256241B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011101958917A CN102256241B (en) 2011-07-13 2011-07-13 Method, server and intelligent card for acquiring bearer independent protocol (BIP) information of terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011101958917A CN102256241B (en) 2011-07-13 2011-07-13 Method, server and intelligent card for acquiring bearer independent protocol (BIP) information of terminal

Publications (2)

Publication Number Publication Date
CN102256241A true CN102256241A (en) 2011-11-23
CN102256241B CN102256241B (en) 2013-11-20

Family

ID=44983171

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011101958917A Active CN102256241B (en) 2011-07-13 2011-07-13 Method, server and intelligent card for acquiring bearer independent protocol (BIP) information of terminal

Country Status (1)

Country Link
CN (1) CN102256241B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015196472A1 (en) * 2014-06-27 2015-12-30 华为技术有限公司 Method, terminal, client, smart card and system for accessing wireless network
CN105338657A (en) * 2015-10-16 2016-02-17 中国联合网络通信集团有限公司 Connection method of eUICC card and management platform and eUICC card
CN106332060A (en) * 2016-09-23 2017-01-11 北京握奇数据系统有限公司 SIM card and application program communication method, SIM card, operating system and mobile terminal
CN113993124A (en) * 2021-09-27 2022-01-28 西安广和通无线软件有限公司 Number portability transfer method, number portability device, communication terminal and storage medium
CN115665726A (en) * 2022-10-31 2023-01-31 中国联合网络通信集团有限公司 Capability approval data acquisition method, platform, eUICC, device and medium
CN115811401A (en) * 2021-09-14 2023-03-17 中移物联网有限公司 Supervision method, device and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070052558A (en) * 2005-11-17 2007-05-22 엘지전자 주식회사 Data transmission / reception method of subscriber authentication module
CN101068374A (en) * 2007-05-29 2007-11-07 中国网络通信集团公司 Method and system for switching bearer mode of air data transmission
KR20080014285A (en) * 2006-08-10 2008-02-14 엘지전자 주식회사 A mobile communication terminal having a selective push service processing function and a push service processing method using the same
CN101835281A (en) * 2010-02-24 2010-09-15 中兴通讯股份有限公司 Method for carrying out data interaction with subscriber identification card and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070052558A (en) * 2005-11-17 2007-05-22 엘지전자 주식회사 Data transmission / reception method of subscriber authentication module
KR20080014285A (en) * 2006-08-10 2008-02-14 엘지전자 주식회사 A mobile communication terminal having a selective push service processing function and a push service processing method using the same
CN101068374A (en) * 2007-05-29 2007-11-07 中国网络通信集团公司 Method and system for switching bearer mode of air data transmission
CN101835281A (en) * 2010-02-24 2010-09-15 中兴通讯股份有限公司 Method for carrying out data interaction with subscriber identification card and mobile terminal

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015196472A1 (en) * 2014-06-27 2015-12-30 华为技术有限公司 Method, terminal, client, smart card and system for accessing wireless network
CN105338657A (en) * 2015-10-16 2016-02-17 中国联合网络通信集团有限公司 Connection method of eUICC card and management platform and eUICC card
CN105338657B (en) * 2015-10-16 2019-01-01 中国联合网络通信集团有限公司 The connection method of eUICC card and management platform and eUICC card
CN106332060A (en) * 2016-09-23 2017-01-11 北京握奇数据系统有限公司 SIM card and application program communication method, SIM card, operating system and mobile terminal
CN115811401A (en) * 2021-09-14 2023-03-17 中移物联网有限公司 Supervision method, device and system
CN113993124A (en) * 2021-09-27 2022-01-28 西安广和通无线软件有限公司 Number portability transfer method, number portability device, communication terminal and storage medium
CN113993124B (en) * 2021-09-27 2024-12-06 西安广和通无线软件有限公司 Number portability method, number portability device, communication terminal and storage medium
CN115665726A (en) * 2022-10-31 2023-01-31 中国联合网络通信集团有限公司 Capability approval data acquisition method, platform, eUICC, device and medium
CN115665726B (en) * 2022-10-31 2024-04-12 中国联合网络通信集团有限公司 Capability verification data acquisition method, platform, eUICC, device and medium

Also Published As

Publication number Publication date
CN102256241B (en) 2013-11-20

Similar Documents

Publication Publication Date Title
US10911922B2 (en) Quick pair
CN108141724B (en) Virtual subscriber identity module for mobile communication device
RU2442295C2 (en) Apparatus and methods for network identification of open market wireless devices
CN102256241B (en) Method, server and intelligent card for acquiring bearer independent protocol (BIP) information of terminal
US20020178241A1 (en) Framework for a dynamic management system
CN103476020B (en) The switching method of over-the-air download service registration mode and OTA smart card
CN101237466A (en) Method, device and system for network configuration of terminal
CN104683124B (en) Terminal type recognition methods and device
CN103415084A (en) Mobile terminal internet surfing method and mobile terminal
CN108200568B (en) Mobile communication electronic SIM card data processing method and device
CN101237475B (en) Information push system, method and device
CN104936282A (en) Method and device for registering converged communication service
CN116347513B (en) Communication method and device, communication system, storage medium and electronic device
CN111385771A (en) Service processing method, system, device and medium
WO2012065492A1 (en) Method for sending imsi and terminal
CN104244226B (en) Determine method, usim card and the terminal of over the air bearing mode
EP4106398B1 (en) Parameter configuration method, apparatus and system, device and storage medium
CN105357771A (en) Connection establishing method and user terminal
JP6445185B2 (en) Method and chip for detecting damage of at least one setting parameter
WO2013167041A2 (en) Method, system and host machine for implementing function of browsing web pages with wireless terminal
CN101616372A (en) Realize the method and system of automatic configuration of wireless terminal
EP3706451A1 (en) Terminal and communication method
CN112752247B (en) Short-distance service management method, device, terminal, USIM and medium
CN108200661B (en) RRC connection release method, terminal, access network device and storage medium
WO2011124072A1 (en) Method and system for managing personal identification number on the universal integrated circuit card with multiple applications

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant