CN106211128B - Method and device for generating WLAN access state event - Google Patents
Method and device for generating WLAN access state event Download PDFInfo
- Publication number
- CN106211128B CN106211128B CN201610500834.8A CN201610500834A CN106211128B CN 106211128 B CN106211128 B CN 106211128B CN 201610500834 A CN201610500834 A CN 201610500834A CN 106211128 B CN106211128 B CN 106211128B
- Authority
- CN
- China
- Prior art keywords
- wsid
- wlan
- identification
- list information
- identifier
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 35
- 238000004458 analytical method Methods 0.000 claims description 22
- 238000004891 communication Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000006855 networking Effects 0.000 description 2
- 230000008520 organization Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/18—Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
- H04W8/183—Processing at user equipment or user record carrier
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/18—Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
- H04W8/20—Transfer of user or subscriber data
- H04W8/205—Transfer to or from user equipment or user record carrier
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
- Small-Scale Networks (AREA)
Abstract
本发明公开了一种WLAN接入状态事件的生成方法和装置,方法包括:获取当前接入的WLAN的特定标识符WSID和USIM卡中存储的WSID列表信息;判断USIM卡中存储的WSID列表信息中是否包含与当前接入的WSID一致的标识,根据判断结果生成第一标识结果;根据第一标识结果生成WLAN接入状态事件的数据对象,以供USIM下载。本发明提供的WLAN接入状态事件的生成方法和装置,通过判断USIM卡中存储的WSID列表信息中是否包含与当前接入的WSID一致的标识,并根据判断结果生成第一标识结果,根据第一标识结果生成数据对象,以供USIM下载,可以为后续业务的开展提供依据。
The invention discloses a method and device for generating a WLAN access status event. The method includes: obtaining the specific identifier WSID of the currently accessed WLAN and the WSID list information stored in the USIM card; judging the WSID list information stored in the USIM card Whether it contains an identifier consistent with the currently accessed WSID, generate a first identifier result according to the judgment result; generate a data object of the WLAN access status event according to the first identifier result, for the USIM to download. The method and device for generating a WLAN access state event provided by the present invention judge whether the WSID list information stored in the USIM card contains an identifier consistent with the currently accessed WSID, and generate a first identifier result according to the judgment result, according to the first A data object is generated from the identification result for the USIM to download, which can provide a basis for the development of subsequent services.
Description
技术领域technical field
本发明涉及无线通信技术领域,尤其涉及一种WLAN接入状态事件的生成方法和装置。The present invention relates to the technical field of wireless communication, in particular to a method and device for generating a WLAN access state event.
背景技术Background technique
无线局域网WLAN(Wireless Local Area Networks,简称WLAN)和移动网络是目前数据传输和通信的两种主要技术,二者原本属于不同类型的技术,在技术需求、原理、方案、协议等方面都各自独立,具有各自的适用范围和场景。不过随着数据业务的快速增长,用户对无线数据或移动数据的带宽要求大幅增长,WLAN带宽高、速率快,普及多,广泛受到用户的认可。而WLAN与移动网络融合组网,可以为用户提供更高效的数据服务。为此,3GPP定义了I-WLAN(Interworking–Wireless LocalArea Networks,简称I-WLAN)概念,为WLAN和2G/3G/4G等移动网络融合和互通提供了标准。WLAN (Wireless Local Area Networks, WLAN for short) and mobile network are the two main technologies for data transmission and communication at present. The two originally belong to different types of technologies, and are independent in terms of technical requirements, principles, solutions, protocols, etc. , with their respective scopes of application and scenarios. However, with the rapid growth of data services, users' bandwidth requirements for wireless data or mobile data have increased significantly. WLAN has high bandwidth, fast speed, and wide popularity, and is widely recognized by users. The integrated networking of WLAN and mobile network can provide users with more efficient data services. To this end, 3GPP defines the concept of I-WLAN (Interworking–Wireless Local Area Networks, referred to as I-WLAN), which provides standards for the integration and interworking of mobile networks such as WLAN and 2G/3G/4G.
在现有技术中,终端通过事件下载向全球用户识别卡USIM(UniversalSubscriberIdentity Module,简称USIM)提供WLAN的接入状态信息,例如,无WLAN覆盖、有覆盖没有连接、有覆盖且有连接等状态信息。In the prior art, the terminal provides WLAN access status information to the Universal Subscriber Identity Module (USIM) through event download, for example, status information such as no WLAN coverage, coverage and no connection, coverage and connection, etc. .
但是这些WLAN的接入状态信息提供的信息很有限,无法满足USIM对WLAN接入业务管理的需求。However, the information provided by the access state information of these WLANs is very limited, which cannot meet the requirements of the USIM for WLAN access service management.
发明内容Contents of the invention
本发明的目的是提供一种WLAN接入状态事件的生成方法和装置,用以解决现有技术中WLAN的接入状态信息提供的信息很有限,无法满足USIM对WLAN接入业务管理的需要的问题。The purpose of the present invention is to provide a method and device for generating a WLAN access state event, which is used to solve the problem that the information provided by the WLAN access state information in the prior art is very limited and cannot meet the needs of the USIM for WLAN access service management question.
为实现上述目的,本发明第一方面提供了一种WLAN接入状态事件的生成方法,包括:In order to achieve the above object, the first aspect of the present invention provides a method for generating a WLAN access status event, including:
获取当前接入的WLAN的特定标识符WSID和USIM卡中存储的WSID列表信息;Obtain the specific identifier WSID of the currently accessed WLAN and the WSID list information stored in the USIM card;
判断USIM卡中存储的WSID列表信息中是否包含与当前接入的WSID一致的标识,根据判断结果生成第一标识结果;Judging whether the WSID list information stored in the USIM card contains an identifier consistent with the currently accessed WSID, and generating a first identifier result according to the judgment result;
根据第一标识结果生成WLAN接入状态事件的数据对象,以供USIM下载。A data object of the WLAN access state event is generated according to the first identification result for downloading by the USIM.
本发明第二方面提供了一种WLAN接入状态事件的生成装置,包括:The second aspect of the present invention provides a device for generating a WLAN access state event, including:
WLAN连接模块,用于获取当前接入的WLAN的特定标识符WSID和USIM卡中存储的WSID列表信息;The WLAN connection module is used to obtain the specific identifier WSID of the currently accessed WLAN and the WSID list information stored in the USIM card;
WLAN接入状态分析模块,用于判断USIM卡中存储的WSID列表信息中是否包含与当前接入的WSID一致的标识,根据判断结果生成第一标识结果;The WLAN access state analysis module is used to judge whether the WSID list information stored in the USIM card contains an identifier consistent with the currently accessed WSID, and generates a first identifier result according to the judgment result;
生成模块,用于根据第一标识结果生成WLAN接入状态事件的数据对象,以供USIM下载。A generating module, configured to generate a data object of the WLAN access state event according to the first identification result, for downloading by the USIM.
由以上技术方案可知,本发明提供的WLAN接入状态事件的生成方法和装置,通过判断USIM卡中存储的WSID列表信息中是否包含与当前接入的WSID一致的标识,并根据判断结果生成第一标识结果,根据第一标识结果生成数据对象,以供USIM下载,可以为后续业务的开展提供依据。It can be seen from the above technical solutions that the method and device for generating WLAN access state events provided by the present invention, by judging whether the WSID list information stored in the USIM card contains an identifier consistent with the currently accessed WSID, and generating the first WSID according to the judging result. An identification result, a data object is generated according to the first identification result for the USIM to download, which can provide a basis for the development of subsequent services.
附图说明Description of drawings
图1为本发明实施例一提供的WLAN接入状态事件的生成方法的流程图;FIG. 1 is a flow chart of a method for generating a WLAN access status event provided by Embodiment 1 of the present invention;
图2为本发明实施例二提供的WLAN接入状态事件的生成方法的流程图;FIG. 2 is a flow chart of a method for generating a WLAN access state event provided in Embodiment 2 of the present invention;
图3为本发明实施例三提供的WLAN接入状态事件的生成方法的流程图;FIG. 3 is a flow chart of a method for generating a WLAN access status event provided by Embodiment 3 of the present invention;
图4为本发明实施例四提供的WLAN接入状态事件的生成装置的结构示意图。FIG. 4 is a schematic structural diagram of an apparatus for generating a WLAN access state event according to Embodiment 4 of the present invention.
具体实施方式Detailed ways
实施例一Embodiment one
本实施例提供一种WLAN接入状态事件的生成方法,本实施例中的方法的执行主体可以为移动终端,例如手机、平板电脑等。本实施例中所提供的方法均被应用于WLAN与移动网络融合组网的网络架构下,即I-WLAN的网络架构。This embodiment provides a method for generating a WLAN access state event, and the execution subject of the method in this embodiment may be a mobile terminal, such as a mobile phone, a tablet computer, and the like. The methods provided in this embodiment are all applied to a network architecture where WLAN and mobile network converged networking, that is, a network architecture of I-WLAN.
在执行本实施例提供的方法之前,包括:获取WLAN的接入状态,当WLAN的接入状态发生变化时,则执行本实施例提供的方法,其中,图1为本发明实施例一提供的WLAN接入状态事件的生成方法的流程图,如图1所示,该WLAN接入状态事件的生成方法包括:Before executing the method provided in this embodiment, it includes: obtaining the access state of the WLAN, and when the access state of the WLAN changes, execute the method provided in this embodiment, wherein FIG. 1 is the method provided in Embodiment 1 of the present invention The flowchart of the generation method of WLAN access state event, as shown in Figure 1, the generation method of this WLAN access state event comprises:
步骤101,获取当前接入的WLAN的特定标识符WSID(WLAN Specific Identifier,简称WSID)和USIM卡中存储的WSID列表信息。Step 101, obtain the specific identifier WSID (WLAN Specific Identifier, WSID for short) of the currently accessed WLAN and the WSID list information stored in the USIM card.
具体的,WSID列表信息存储于USIM卡的专用文件DF(Dedicated File,简称DF)中。Specifically, the WSID list information is stored in a dedicated file DF (Dedicated File, DF for short) of the USIM card.
另外,终端通过终端和USIM卡的接口获取USIM卡中存储的WSID列表信息。In addition, the terminal obtains the WSID list information stored in the USIM card through the interface between the terminal and the USIM card.
步骤102,判断USIM卡中存储的WSID列表信息中是否包含与当前接入的WSID一致的标识,根据判断结果生成第一标识结果。Step 102, judge whether the WSID list information stored in the USIM card contains an identifier consistent with the currently accessed WSID, and generate a first identifier result according to the judgment result.
可选的,WSID列表信息包括:用户WSID列表信息、运营商WSID列表信息、归属WSID列表信息中的任意一个或者多个。Optionally, the WSID list information includes: any one or more of user WSID list information, operator WSID list information, and home WSID list information.
一般来说,用户和运营商可以各自维护一个允许USIM卡接入的列表,即分别是用户WSID列表信息和运营商WSID列表信息。Generally speaking, the user and the operator can each maintain a list allowing access of the USIM card, that is, user WSID list information and operator WSID list information respectively.
步骤103,根据第一标识结果生成WLAN接入状态事件的数据对象,以供USIM下载。Step 103, generate a data object of the WLAN access state event according to the first identification result, for downloading by the USIM.
本实施例以WSID列表信息包括用户WSID列表信息、运营商WSID列表信息、归属WSID列表信息为例进行说明,则第一标识结果中应包括表征三个比较结果的标识位,具体的,数据对象应包括第一标识位、第二标识位和第三标识位。In this embodiment, the WSID list information includes user WSID list information, operator WSID list information, and attribution WSID list information as an example for illustration. The first identification result should include identification bits representing the three comparison results. Specifically, the data object It should include the first identification bit, the second identification bit and the third identification bit.
可选的,第一标识位用于标识用户WSID列表中是否包括与当前接入的WLAN的WSID一致的标识,第二标识位用于标识运营商WSID列表中是否包括与当前接入的WLAN的WSID一致的标识,第三标识位用于标识归属WSID列表中是否包括与当前接入的WLAN的WSID一致的标识。Optionally, the first identification bit is used to identify whether the user WSID list includes an identification consistent with the WSID of the currently accessed WLAN, and the second identification bit is used to identify whether the operator WSID list includes an identification consistent with the currently accessed WLAN. An identifier of the same WSID, the third identifier bit is used to identify whether the attributable WSID list includes the identifier consistent with the WSID of the currently accessed WLAN.
例如,当用户WSID列表中包括与当前接入的WLAN的WSID一致的标识,则第一标识位可以被标识为1,若用户WSID列表中不包括与当前接入的WLAN的WSID一致的标识,则第一标识位可以被标识为0;For example, when the user WSID list includes an identifier consistent with the WSID of the currently accessed WLAN, the first identifier bit may be marked as 1; if the user WSID list does not include an identifier consistent with the WSID of the currently accessed WLAN, Then the first identification bit can be identified as 0;
当运营商WSID列表中包括与当前接入的WLAN的WSID一致的标识,则第二标识位可以被标识为1,若运营商WSID列表中不包括与当前接入的WLAN的WSID一致的标识,则第二标识位可以被标识为0;When the operator WSID list includes an identifier consistent with the WSID of the currently accessed WLAN, the second identifier bit may be marked as 1; if the operator WSID list does not include an identifier consistent with the WSID of the currently accessed WLAN, Then the second identification bit can be identified as 0;
当归属WSID列表中包括与当前接入的WLAN的WSID一致的标识,则第三标识位被标识为1.若归属WSID列表中不包括与当前接入的WLAN的WSID一致的标识,则第三标识位可以被标识为0。When the home WSID list includes an identification consistent with the WSID of the currently accessed WLAN, the third identification bit is marked as 1. If the home WSID list does not include an identification consistent with the WSID of the currently accessed WLAN, the third The identification bit can be identified as 0.
例如,数据对象可以包括如下结构形式:For example, a data object can include the following structural forms:
其中,b1为第一标识位,b2为第二标识位,b3为第三标识位。Wherein, b1 is the first identification bit, b2 is the second identification bit, and b3 is the third identification bit.
需要说明的是,若WSID列表信息只包括用户WSID列表信息、运营商WSID列表信息、归属WSID列表信息中的任意两个或者任意一个,相应的,数据对象则只包括两个标识位或者一个标识位。It should be noted that if the WSID list information only includes any two or any one of the user WSID list information, operator WSID list information, and attribution WSID list information, correspondingly, the data object only includes two identification bits or one identification bit.
另外,判断一致的结果被标识为0还是1可以根据实际情况进行设置,对此并不加以限定。In addition, whether the result of judging consistency is marked as 0 or 1 can be set according to the actual situation, which is not limited.
对于上述实施方式中,另外一种并列的技术方案为,WLAN接入状态事件的生成方法包括:For the above embodiment, another parallel technical solution is that the method for generating the WLAN access status event includes:
获取当前接入的公共陆地移动网络PLMN的标识和USIM卡中存储的PLMN列表信息;Obtain the identity of the currently accessed public land mobile network PLMN and the PLMN list information stored in the USIM card;
判断USIM卡中存储的PLMN列表信息是否包含与当前接入的PLMN一致的标识,根据判断结果生成第二标识结果;Judging whether the PLMN list information stored in the USIM card contains an identifier consistent with the currently accessed PLMN, and generating a second identifier result according to the judgment result;
根据第二标识结果生成WLAN接入状态事件的数据对象,以供USIM下载。A data object of the WLAN access state event is generated according to the second identification result for downloading by the USIM.
其中,USIM下载数据对象后,可以根据数据对象中包含的信息作出相应的决策,举例来说,对运营商的WSID而言,可以用于对用户接入情况进行采集和统计,进行用户行为分析,或者为WSID部署作为参考,例如可以进行接入管理和策略控制,要求用户切换到允许的或指定的WSID。Among them, after the USIM downloads the data object, it can make corresponding decisions based on the information contained in the data object. For example, for the operator's WSID, it can be used to collect and count user access conditions and analyze user behavior. , or as a reference for WSID deployment, such as access management and policy control, requiring users to switch to allowed or specified WSIDs.
而现有技术中终端不会向USIM提供上述数据,本实施例提供的WLAN接入状态事件的生成方法中,通过判断USIM卡中存储的WSID列表信息中是否包含与当前接入的WSID一致的标识,并根据判断结果生成第一标识结果,根据第一标识结果生成数据对象,以供USIM下载,可以为后续业务的开展提供依据。However, in the prior art, the terminal does not provide the above data to the USIM. In the method for generating the WLAN access state event provided in this embodiment, by judging whether the WSID list information stored in the USIM card contains the WSID consistent with the currently accessed WSID The first identification result is generated according to the judgment result, and the data object is generated according to the first identification result for downloading by the USIM, which can provide a basis for the development of subsequent services.
实施例二Embodiment two
本实施例是在上述实施例一的基础上,对实施例一做进一步的补充说明。图2为本发明实施例二提供的WLAN接入状态事件的生成方法的流程图,如图2所示,该方法包括:This embodiment is based on the above-mentioned embodiment 1, and further supplementary description is made to the embodiment 1. FIG. 2 is a flowchart of a method for generating a WLAN access status event provided in Embodiment 2 of the present invention. As shown in FIG. 2, the method includes:
步骤201,获取当前接入的WLAN的特定标识符WSID和USIM卡中存储的WSID列表信息。Step 201, obtain the specific identifier WSID of the currently accessed WLAN and the WSID list information stored in the USIM card.
步骤202,判断USIM卡中存储的WSID列表信息中是否包含与当前接入的WSID一致的标识,根据判断结果生成第一标识结果。Step 202, judge whether the WSID list information stored in the USIM card contains an identifier consistent with the currently accessed WSID, and generate a first identifier result according to the judgment result.
其中,步骤201和步骤202与实施例一中的步骤101和步骤102相同,在此不再赘述。Wherein, step 201 and step 202 are the same as step 101 and step 102 in the first embodiment, and will not be repeated here.
步骤203,获取当前接入的公共陆地移动网络PLMN(Public Land MobileNetwork,简称PLMN)的标识和USIM卡中存储的PLMN列表信息。In step 203, the identifier of the currently accessed public land mobile network PLMN (Public Land Mobile Network, PLMN for short) and the PLMN list information stored in the USIM card are acquired.
其中,获取的USIM卡中存储的PLMN列表信息包括:用户PLMN列表信息和/或运营商PLMN列表信息。Wherein, the obtained PLMN list information stored in the USIM card includes: user PLMN list information and/or operator PLMN list information.
第三代合作伙伴项目3GPP(the 3rd Generation Partnership Project,简称3GPP)作为一个国际标准化组织,在协议中定义了用户PLMN以及运营商PLMN来控制选择网络的优先级。As an international standardization organization, the third generation partnership project 3GPP (the 3rd Generation Partnership Project, referred to as 3GPP) defines user PLMN and operator PLMN in the agreement to control the priority of selecting a network.
步骤204,判断USIM卡中存储的PLMN列表信息是否包含与当前接入的PLMN一致的标识,根据判断结果生成第二标识结果。Step 204, judging whether the PLMN list information stored in the USIM card contains an identifier consistent with the currently accessed PLMN, and generating a second identifier result according to the judging result.
其中,对于步骤201、步骤202以及步骤203和步骤204的执行顺序并不加以限定,只要保证,步骤201在步骤202之前执行,步骤203在步骤204之前执行即可。Wherein, there is no limitation on the execution sequence of step 201, step 202, step 203 and step 204, as long as it is ensured that step 201 is executed before step 202, and step 203 is executed before step 204.
本实施例以PLMN列表信息包括用户PLMN列表信息和运营商PLMN列表信息为例进行说明,则相应的,数据对象还包括:第四标识位和/或第五标识位,第四标识位用于标识USIM卡中存储的用户PLMN列表中是否包含与当前接入的PLMN一致的标识,第五标识位用于标识USIM卡中存储的运营商PLMN列表中是否包含与当前接入的PLMN一致的标识。In this embodiment, the PLMN list information includes user PLMN list information and operator PLMN list information as an example for illustration, and correspondingly, the data object further includes: a fourth identification bit and/or a fifth identification bit, and the fourth identification bit is used for Indicates whether the user PLMN list stored in the USIM card contains an identifier consistent with the currently accessed PLMN, and the fifth identification bit is used to identify whether the operator PLMN list stored in the USIM card contains an identifier consistent with the currently accessed PLMN .
例如,当用户PLMN列表中包含有当前接入的PLMN一致的标识,则第四标识位可以被标识为1,若用户PLMN列表中不包含有当前接入的PLMN一致的标识,则第四标识位被标识为0;For example, when the user PLMN list contains the same identification of the currently accessed PLMN, the fourth identification bit can be marked as 1; if the user PLMN list does not contain the same identification of the currently accessed PLMN, the fourth identification Bits are identified as 0;
当运营商PLMN列表中包含有与当前接入的PLMN一致的标识,则第五标识位被标识为1,若运营商PLMN列表中不包含有与当前接入的PLMN一致的标识,则第五标识位被标识为0。When the operator’s PLMN list contains an identifier consistent with the currently accessed PLMN, the fifth identifier is marked as 1; if the operator’s PLMN list does not contain an identifier consistent with the currently accessed PLMN, the fifth The identification bit is identified as 0.
步骤205,根据第一标识结果和第二标识结果生成WLAN接入状态事件的数据对象,以供USIM下载。Step 205, generate a data object of the WLAN access status event according to the first identification result and the second identification result, for downloading by the USIM.
本实施例中以第一标识结果中包括三个标识位为例对数据对象进行说明。In this embodiment, the data object is described by taking the first identification result including three identification bits as an example.
例如,数据对象可以包括如下结构形式:For example, a data object can include the following structural forms:
其中,b4为第四标识位,b5为第五标识位。Wherein, b4 is the fourth identification bit, and b5 is the fifth identification bit.
根据上述判断结果,USIM卡可以获取终端接入的网络的信息,可以对用户接入情况进行采集和统计。According to the above judgment result, the USIM card can obtain the information of the network accessed by the terminal, and can collect and collect statistics on the user's access situation.
现有技术中终端不会向USIM提供上述数据,本实施例提供的WLAN接入状态事件的生成方法中,通过判断USIM卡中存储的WSID列表信息中是否包含与当前接入的WSID一致的标识,根据判断结果生成第一标识结果,进一步的,还判断USIM卡中存储的PLMN列表信息是否包含与当前接入的PLMN一致的标识,根据判断结果生成第二标识结果,根据第一标识结果和第二标识结果生成数据对象,以供USIM下载,本实施例所提供的方法对WLAN接入状态时间的数据对象进行了拓展,可以为USIM对WLAN进行管理提供更多的依据,有利于实现基于USIM的更多WLAN相关业务和功能。In the prior art, the terminal will not provide the above data to the USIM. In the method for generating the WLAN access status event provided in this embodiment, by judging whether the WSID list information stored in the USIM card contains an identifier consistent with the currently accessed WSID , generating a first identification result according to the judgment result, further, judging whether the PLMN list information stored in the USIM card contains an identification consistent with the currently accessed PLMN, generating a second identification result according to the judgment result, and according to the first identification result and The second identification result generates a data object for the USIM to download. The method provided in this embodiment expands the data object of the WLAN access state time, which can provide more basis for the USIM to manage the WLAN, and is conducive to the realization of the WLAN based on More WLAN-related services and functions of USIM.
实施例三Embodiment 3
在上述实施例一至实施例二的基础上,对实施例一和实施例二做进一步的补充说明。图3为本发明实施例三提供的WLAN接入状态事件的生成方法的流程图,如图3所示,该方法包括:On the basis of the above-mentioned embodiment 1 to embodiment 2, a further supplementary description is made to embodiment 1 and embodiment 2. FIG. 3 is a flow chart of a method for generating a WLAN access state event provided in Embodiment 3 of the present invention. As shown in FIG. 3 , the method includes:
步骤301,获取当前接入的WLAN的特定标识符WSID和USIM卡中存储的WSID列表信息。Step 301, acquire the specific identifier WSID of the currently accessed WLAN and the WSID list information stored in the USIM card.
步骤302,判断USIM卡中存储的WSID列表信息中是否包含与当前接入的WSID一致的标识,根据判断结果生成第一标识结果。Step 302, judge whether the WSID list information stored in the USIM card contains an identifier consistent with the currently accessed WSID, and generate a first identifier result according to the judgment result.
其中,步骤301和步骤302与实施例一中的步骤101和步骤102相同,在此不再赘述。Wherein, step 301 and step 302 are the same as step 101 and step 102 in the first embodiment, and will not be repeated here.
步骤303,根据第一标识结果生成WLAN接入状态事件的数据对象,以供USIM下载,其中,数据对象中包括存在标识位,存在标识位用于标识数据对象中是否存在第一标识结果。Step 303: Generate a data object of the WLAN access status event according to the first identification result for the USIM to download, wherein the data object includes an existence identification bit, which is used to identify whether the first identification result exists in the data object.
具体的,根据存在标识位可以获取数据对象中是否存在第一标识结果,若不存在第一标识结果,则在USIM卡读取数据对象时,可以忽略该数据对象,即不再读取数据对象的其他标识位的内容,从而可以提升数据读取速度和读取效率。Specifically, whether there is a first identification result in the data object can be obtained according to the existence identification bit. If there is no first identification result, the data object can be ignored when the USIM card reads the data object, that is, the data object is no longer read The content of other identification bits, which can improve the data reading speed and reading efficiency.
当然,若数据对象是根据第一标识结果和第二标识结果生成的,则存在标识位用于标识数据对象中是否存在第一标识结果和第二标识结果。Of course, if the data object is generated according to the first identification result and the second identification result, the existence identification bit is used to identify whether the first identification result and the second identification result exist in the data object.
若数据对象是根据第二标识结果生成的,则存在标识位用于标识数据对象中是否存在第二标识结果。If the data object is generated according to the second identification result, the existence identification bit is used to identify whether the second identification result exists in the data object.
另外,可选的,该方法还可以包括:获取当前覆盖的WLAN的WSID和数量信息;根据当前覆盖的WLAN的数量信息生成第三标识结果;根据当前覆盖的WLAN的WSID判断当前是否处于允许接入的范围内,根据判断结果生成第四标识结果;根据第三标识结果和/或第四标识结果生成WLAN接入状态事件的数据对象,以供USIM下载。In addition, optionally, the method may further include: obtaining the WSID and quantity information of the currently covered WLAN; generating a third identification result according to the quantity information of the currently covered WLAN; Within the scope of entry, generate a fourth identification result according to the judgment result; generate a data object of the WLAN access status event according to the third identification result and/or the fourth identification result, so as to be downloaded by the USIM.
相应的,所述数据对象包括:第六标识位和/或第七标识位,第六标识位用于标识终端当前在两个WLAN覆盖范围内,即用于标识终端是在一个WSID覆盖还是多个WSID覆盖,第七标识位用于标识终端当前处于可允许的WLAN的覆盖范围内。本实施例在上述实施例二的基础上,对数据对象做具体的举例说明。Correspondingly, the data object includes: a sixth identification bit and/or a seventh identification bit, the sixth identification bit is used to identify that the terminal is currently within the coverage of two WLANs, that is, it is used to identify whether the terminal is covered by one WSID or multiple WLANs. WSID coverage, and the seventh identification bit is used to identify that the terminal is currently within the coverage of the allowable WLAN. In this embodiment, on the basis of the second embodiment above, specific examples are given for the data objects.
举例来说,若终端当前在多个WLAN的覆盖下,则可以进行WLAN的切换,如果终端处于允许接入的WLAN的覆盖下,则可以请求接入该WLAN。For example, if the terminal is currently covered by multiple WLANs, WLAN switching may be performed, and if the terminal is covered by a WLAN that is allowed to be accessed, it may request to access the WLAN.
具体的,例如,数据对象可以包括如下结构形式:Specifically, for example, a data object may include the following structural forms:
其中,b6为第六标识位,b7为第七标识位,b8为存在标识位。Wherein, b6 is the sixth identification bit, b7 is the seventh identification bit, and b8 is the existence identification bit.
其中,每一个标识位占用一个比特的空间,则八个标识位恰好为一个字节。Wherein, each identification bit occupies a space of one bit, and the eight identification bits are exactly one byte.
另外,对于第一标识位至第七标识位以及存在标识位在数据对象中的具体位置并不加以限定。本实施例只是示例性的给出了一种结构形式,但并不应当以此为限制。In addition, the specific positions of the first identification bit to the seventh identification bit and the existence identification bit in the data object are not limited. This embodiment is only an exemplary structure, but should not be limited thereto.
当然,数据结构中还可以包括其他的信息,存储在其他字节中,例如有无I-WLAN覆盖,终端是否处于连接状态等信息。Of course, the data structure may also include other information stored in other bytes, such as whether there is I-WLAN coverage, whether the terminal is in a connected state, and other information.
进一步的,生成数据对象之后,可以通过机卡接口模块发送至USIM卡中,其中机卡接口模块指的是终端与USIM卡直接的接口。Further, after the data object is generated, it can be sent to the USIM card through the machine-card interface module, where the machine-card interface module refers to the direct interface between the terminal and the USIM card.
本发明实施例三提供的WLAN接入状态事件的生成方法,根据存在标识位可以获取数据对象中是否存在第一标识结果和/或第二标识结果,若不存在第一标识结果和/或第二标识结果,则在USIM卡读取数据对象时,可以忽略该数据对象,即不再读取数据对象的其他标识位的内容,从而可以提升数据读取速度和读取效率。In the method for generating a WLAN access status event provided in Embodiment 3 of the present invention, it is possible to obtain whether the first identification result and/or the second identification result exist in the data object according to the existence identification bit, and if there is no first identification result and/or the second identification result Two identification results, when the USIM card reads the data object, the data object can be ignored, that is, the content of other identification bits of the data object is no longer read, so that the data reading speed and reading efficiency can be improved.
实施例四Embodiment 4
本实施例提供一种WLAN接入状态事件的生成装置,该装置用于执行上述实施例一至实施例三中的WLAN接入状态事件的生成方法,该生产装置可以为手机、iPad等移动终端。This embodiment provides a device for generating a WLAN access state event, which is used to execute the method for generating a WLAN access state event in Embodiment 1 to Embodiment 3 above. The production device may be a mobile terminal such as a mobile phone or an iPad.
图4为本发明实施例四提供的WLAN接入状态事件的生成装置的结构示意图,如图4所示,该装置包括:WLAN连接模块41、WLAN接入状态分析模块42和生成模块43。FIG. 4 is a schematic structural diagram of a device for generating a WLAN access status event provided by Embodiment 4 of the present invention. As shown in FIG. 4 , the device includes: a WLAN connection module 41 , a WLAN access status analysis module 42 and a generation module 43 .
其中,WLAN连接模块41,用于获取当前接入的WLAN的特定标识符WSID和USIM卡中存储的WSID列表信息。Wherein, the WLAN connection module 41 is configured to acquire the specific identifier WSID of the currently accessed WLAN and the WSID list information stored in the USIM card.
具体的,WSID列表信息存储于USIM卡的专用文件DF(Dedicated File,简称DF)中。Specifically, the WSID list information is stored in a dedicated file DF (Dedicated File, DF for short) of the USIM card.
另外,WLAN连接模块41通过终端和USIM卡的接口获取USIM卡中存储的WSID列表信息。In addition, the WLAN connection module 41 acquires the WSID list information stored in the USIM card through the interface between the terminal and the USIM card.
可选的,WSID列表信息包括:用户WSID列表信息、运营商WSID列表信息、归属WSID列表信息中的任意一个或者多个。Optionally, the WSID list information includes: any one or more of user WSID list information, operator WSID list information, and home WSID list information.
一般来说,用户和运营商可以各自维护一个允许USIM卡接入的列表,即分别是用户WSID列表信息和运营商WSID列表信息。Generally speaking, the user and the operator can each maintain a list allowing access of the USIM card, that is, user WSID list information and operator WSID list information respectively.
WLAN接入状态分析模块42,与WLAN连接模块41通信连接,用于判断USIM卡中存储的WSID列表信息中是否包含与当前接入的WSID一致的标识,根据判断结果生成第一标识结果。The WLAN access state analysis module 42 is connected to the WLAN connection module 41 for judging whether the WSID list information stored in the USIM card contains an identifier consistent with the currently accessed WSID, and generates a first identifier result according to the judgment result.
生成模块43与WLAN接入状态分析模块42通信连接,用于根据第一标识结果生成WLAN接入状态事件的数据对象,以供USIM下载。The generation module 43 is connected in communication with the WLAN access state analysis module 42, and is configured to generate a data object of the WLAN access state event according to the first identification result, so as to be downloaded by the USIM.
本实施例以WSID列表信息包括用户WSID列表信息、运营商WSID列表信息、归属WSID列表信息为例进行说明,则第一标识结果中应包括表征三个比较结果的标识位,具体的,数据对象应包括第一标识位、第二标识位和第三标识位。In this embodiment, the WSID list information includes user WSID list information, operator WSID list information, and attribution WSID list information as an example for illustration. The first identification result should include identification bits representing the three comparison results. Specifically, the data object It should include the first identification bit, the second identification bit and the third identification bit.
可选的,第一标识位用于标识用户WSID列表中是否包括与当前接入的WLAN的WSID一致的标识,第二标识位用于标识运营商WSID列表中是否包括与当前接入的WLAN的WSID一致的标识,第三标识位用于标识归属WSID列表中是否包括与当前接入的WLAN的WSID一致的标识。Optionally, the first identification bit is used to identify whether the user WSID list includes an identification consistent with the WSID of the currently accessed WLAN, and the second identification bit is used to identify whether the operator WSID list includes an identification consistent with the currently accessed WLAN. An identifier of the same WSID, the third identifier bit is used to identify whether the attributable WSID list includes the identifier consistent with the WSID of the currently accessed WLAN.
例如,当WLAN接入状态分析模块42分析得到用户WSID列表中包括与当前接入的WLAN的WSID一致的标识,则将第一标识位标识为1,WLAN接入状态分析模块42分析得到用户WSID列表中不包括与当前接入的WLAN的WSID一致的标识,则将第一标识位标识为0;For example, when the WLAN access state analysis module 42 analyzes and obtains the user WSID list that includes an identifier consistent with the WSID of the currently accessed WLAN, then the first identification bit is identified as 1, and the WLAN access state analysis module 42 analyzes the user WSID If the list does not include an identifier consistent with the WSID of the currently accessed WLAN, the first identifier is identified as 0;
当WLAN接入状态分析模块42分析得到运营商WSID列表中包括与当前接入的WLAN的WSID一致的标识,则将第二标识位标识为1,若WLAN接入状态分析模块42分析得到运营商WSID列表中不包括与当前接入的WLAN的WSID一致的标识,则将第二标识位标识为0;When the WLAN access state analysis module 42 analyzes and obtains that the operator WSID list includes an identifier consistent with the WSID of the currently accessed WLAN, then the second identification bit is marked as 1, if the WLAN access state analysis module 42 analyzes the operator The WSID list does not include an identifier consistent with the WSID of the currently accessed WLAN, then the second identifier is identified as 0;
当WLAN接入状态分析模块42分析得到归属WSID列表中包括与当前接入的WLAN的WSID一致的标识,则第三标识位被标识为1.若WLAN接入状态分析模块42分析得到归属WSID列表中不包括与当前接入的WLAN的WSID一致的标识,则将第三标识位标识位为0。When the WLAN access state analysis module 42 analyzes and obtains the identification consistent with the WSID of the currently accessed WLAN in the home WSID list, the third identification bit is identified as 1. If the WLAN access state analysis module 42 analyzes the home WSID list does not include an identifier consistent with the WSID of the currently accessed WLAN, the third identifier bit is set to 0.
例如,数据对象可以包括如下结构形式:For example, a data object can include the following structural forms:
其中,b1为第一标识位,b2为第二标识位,b3为第三标识位。Wherein, b1 is the first identification bit, b2 is the second identification bit, and b3 is the third identification bit.
需要说明的是,若WSID列表信息只包括用户WSID列表信息、运营商WSID列表信息、归属WSID列表信息中的任意两个或者任意一个,相应的,数据对象则只包括两个标识位或者一个标识位。It should be noted that if the WSID list information only includes any two or any one of the user WSID list information, operator WSID list information, and attribution WSID list information, correspondingly, the data object only includes two identification bits or one identification bit.
另外,判断一致的结果被标识为0还是1可以根据实际情况进行设置,对此并不加以限定。In addition, whether the result of judging consistency is marked as 0 or 1 can be set according to the actual situation, which is not limited.
对于上述实施方式中,另外一种并列的技术方案为,WLAN连接模块41用于获取当前接入的公共陆地移动网络PLMN的标识和USIM卡中存储的PLMN列表信息;For the above embodiment, another parallel technical solution is that the WLAN connection module 41 is used to obtain the identifier of the currently accessed public land mobile network PLMN and the PLMN list information stored in the USIM card;
WLAN接入状态分析模块42用于判断USIM卡中存储的PLMN列表信息是否包含与当前接入的PLMN一致的标识,根据判断结果生成第二标识结果;WLAN access state analysis module 42 is used for judging whether the PLMN list information stored in the USIM card contains the same logo as the PLMN currently accessed, and generates a second logo result according to the judging result;
生成模块43用于根据第二标识结果生成WLAN接入状态事件的数据对象,以供USIM下载。The generating module 43 is configured to generate a data object of the WLAN access status event according to the second identification result, so as to be downloaded by the USIM.
其中,USIM下载数据对象后,可以根据数据对象中包含的信息作出相应的决策,举例来说,对运营商的WSID而言,可以用于对用户接入情况进行采集和统计,进行用户行为分析,或者为WSID部署作为参考,例如可以进行接入管理和策略控制,要求用户切换到允许的或指定的WSID。Among them, after the USIM downloads the data object, it can make corresponding decisions based on the information contained in the data object. For example, for the operator's WSID, it can be used to collect and count user access conditions and analyze user behavior. , or as a reference for WSID deployment, such as access management and policy control, requiring users to switch to allowed or specified WSIDs.
而现有技术中终端不会向USIM提供上述数据,本实施例提供的WLAN接入状态事件的生成装置中,WLAN接入状态分析模块42通过判断USIM卡中存储的WSID列表信息中是否包含与当前接入的WSID一致的标识,生成模块43根据判断结果生成第一标识结果,根据第一标识结果生成数据对象,以供USIM下载,可以为后续业务的开展提供依据。However, in the prior art, the terminal will not provide the above data to the USIM. In the device for generating the WLAN access status event provided in this embodiment, the WLAN access status analysis module 42 judges whether the WSID list information stored in the USIM card contains information related to The identification of the currently accessed WSID is consistent. The generation module 43 generates a first identification result according to the judgment result, and generates a data object according to the first identification result for downloading by the USIM, which can provide a basis for the development of subsequent services.
实施例五Embodiment five
本实施例提供一种WLAN接入状态事件的生成装置,在上述实施例四的基础上,对该生成装置做进一步的补充和解释说明。This embodiment provides a device for generating a WLAN access status event. On the basis of the fourth embodiment above, further supplements and explanations are made to the device for generating.
如图4所示,WLAN连接模块41还用于获取当前接入的公共陆地移动网络PLMN的标识和USIM卡中存储的PLMN列表信息。As shown in FIG. 4 , the WLAN connection module 41 is also used to acquire the identifier of the currently accessed public land mobile network (PLMN) and the PLMN list information stored in the USIM card.
其中,WLAN连接模块41获取的USIM卡中存储的PLMN列表信息包括:用户PLMN列表信息和/或运营商PLMN列表信息。Wherein, the PLMN list information stored in the USIM card obtained by the WLAN connection module 41 includes: user PLMN list information and/or operator PLMN list information.
第三代合作伙伴项目3GPP(the 3rd Generation Partnership Project,简称3GPP)作为一个国际标准化组织,在协议中定义了用户PLMN以及运营商PLMN来控制选择网络的优先级。As an international standardization organization, the third generation partnership project 3GPP (the 3rd Generation Partnership Project, referred to as 3GPP) defines user PLMN and operator PLMN in the agreement to control the priority of selecting a network.
WLAN接入状态分析模块42还用于判断USIM卡中存储的PLMN列表信息是否包含与当前接入的PLMN一致的标识,根据判断结果生成第二标识结果;The WLAN access state analysis module 42 is also used to judge whether the PLMN list information stored in the USIM card contains an identifier consistent with the currently accessed PLMN, and generates a second identifier result according to the judgment result;
生成模块43还用于根据第一标识结果和/或第二标识结果生成WLAN接入状态事件的数据对象,以供USIM下载。The generating module 43 is further configured to generate a data object of the WLAN access status event according to the first identification result and/or the second identification result, so as to be downloaded by the USIM.
本实施例以PLMN列表信息包括用户PLMN列表信息和运营商PLMN列表信息为例进行说明,则相应的,数据对象还包括:第四标识位和/或第五标识位,第四标识位用于标识USIM卡中存储的用户PLMN列表中是否包含与当前接入的PLMN一致的标识,第五标识位用于标识USIM卡中存储的运营商PLMN列表中是否包含与当前接入的PLMN一致的标识。In this embodiment, the PLMN list information includes user PLMN list information and operator PLMN list information as an example for illustration, and correspondingly, the data object further includes: a fourth identification bit and/or a fifth identification bit, and the fourth identification bit is used for Indicates whether the user PLMN list stored in the USIM card contains an identifier consistent with the currently accessed PLMN, and the fifth identification bit is used to identify whether the operator PLMN list stored in the USIM card contains an identifier consistent with the currently accessed PLMN .
例如,当WLAN接入状态分析模块42分析得到用户PLMN列表中包含有当前接入的PLMN一致的标识,则可以将第四标识位标识为1,若用户PLMN列表中不包含有当前接入的PLMN一致的标识,则第四标识位被标识为0;For example, when the WLAN access state analysis module 42 analyzes and obtains that the user PLMN list contains the same identifier of the currently accessed PLMN, the fourth identification bit can be identified as 1, if the user PLMN list does not include the currently accessed PLMN. PLMN consistent identification, the fourth identification bit is identified as 0;
当WLAN接入状态分析模块42分析得到运营商PLMN列表中包含有与当前接入的PLMN一致的标识,则可以将第五标识位标识为1,若WLAN接入状态分析模块42分析得到运营商PLMN列表中不包含有与当前接入的PLMN一致的标识,则可以将第五标识位标识为0。When the WLAN access state analysis module 42 analyzes and obtains that the operator's PLMN list contains an identifier consistent with the currently accessed PLMN, then the fifth identification bit can be identified as 1. If the WLAN access state analysis module 42 analyzes the operator's If the PLMN list does not contain an identifier consistent with the currently accessed PLMN, the fifth identifier bit may be identified as 0.
步骤205,根据第一标识结果和第二标识结果生成WLAN接入状态事件的数据对象,以供USIM下载。Step 205, generate a data object of the WLAN access status event according to the first identification result and the second identification result, for downloading by the USIM.
本实施例中以第一标识结果中包括三个标识位为例对数据对象进行说明。In this embodiment, the data object is described by taking the first identification result including three identification bits as an example.
例如,数据对象可以包括如下结构形式:For example, a data object can include the following structural forms:
其中,b4为第四标识位,b5为第五标识位。Wherein, b4 is the fourth identification bit, and b5 is the fifth identification bit.
当然,生成模块43生成的数据对象的结构可以根据需求进行更改,例如,若不需要获取用户WSID列表中是否包括与当前接入的WLAN的WSID一致的标识,则可以没有第一标识位。Of course, the structure of the data object generated by the generation module 43 can be changed according to requirements. For example, if it is not necessary to obtain whether the user WSID list includes an identifier consistent with the WSID of the currently accessed WLAN, there may be no first identification bit.
根据上述判断结果,USIM卡可以获取终端接入的网络的信息,可以对用户接入情况进行采集和统计。According to the above judgment result, the USIM card can obtain the information of the network accessed by the terminal, and can collect and collect statistics on the user's access situation.
现有技术中终端不会向USIM提供上述数据,本实施例提供的WLAN接入状态事件的生成装置中,WLAN接入状态分析模块42通过判断USIM卡中存储的WSID列表信息中是否包含与当前接入的WSID一致的标识,生成模块43根据判断结果生成第一标识结果,进一步的,WLAN接入状态分析模块42还判断USIM卡中存储的PLMN列表信息是否包含与当前接入的PLMN一致的标识,生成模块43根据判断结果生成第二标识结果,根据第一标识结果和第二标识结果生成数据对象,以供USIM下载,本实施例所提供的装置对对生成的WLAN接入状态时间的数据对象进行了拓展,可以为USIM对WLAN进行管理提供更多的依据,有利于实现基于USIM的更多WLAN相关业务和功能。In the prior art, the terminal will not provide the above data to the USIM. In the device for generating the WLAN access status event provided in this embodiment, the WLAN access status analysis module 42 judges whether the WSID list information stored in the USIM card contains information related to the current The identification of the consistent WSID of the access, the generation module 43 generates the first identification result according to the judgment result, and further, the WLAN access state analysis module 42 also judges whether the PLMN list information stored in the USIM card contains the PLMN consistent with the currently accessed PLMN. Identification, the generating module 43 generates a second identification result according to the judgment result, and generates a data object according to the first identification result and the second identification result, so as to be downloaded by the USIM. The data object has been expanded, which can provide more basis for USIM to manage WLAN, and is conducive to realizing more WLAN-related services and functions based on USIM.
实施例六Embodiment six
本实施例在上述实施例四和实施例五的基础上,对上述实施例做进一步的补充说明。如图4所示,生成模块43生成的数据对象还包括:存在标识位,存在标识位用于标识所述数据对象中是否存在第一标识结果或第二标识结果。In this embodiment, on the basis of the above-mentioned fourth and fifth embodiments, a further supplementary description is made to the above-mentioned embodiments. As shown in FIG. 4 , the data object generated by the generating module 43 further includes: an existence identification bit, which is used to identify whether the first identification result or the second identification result exists in the data object.
具体的,USIM卡可以根据存在标识位可以获取数据对象中是否存在第一标识结果,若不存在第一标识结果,则在USIM卡读取数据对象时,可以忽略该数据对象,即不再读取数据对象的其他标识位的内容,从而可以提升数据读取速度和读取效率。Specifically, the USIM card can obtain whether there is a first identification result in the data object according to the existence identification bit. If there is no first identification result, the data object can be ignored when the USIM card reads the data object, that is, no longer read. Get the content of other identification bits of the data object, so as to improve the data reading speed and reading efficiency.
当然,若数据对象是根据第一标识结果和第二标识结果生成的,则存在标识位用于标识数据对象中是否存在第一标识结果和第二标识结果。Of course, if the data object is generated according to the first identification result and the second identification result, the existence identification bit is used to identify whether the first identification result and the second identification result exist in the data object.
若数据对象是根据第二标识结果生成的,则存在标识位用于标识数据对象中是否存在第二标识结果。If the data object is generated according to the second identification result, the existence identification bit is used to identify whether the second identification result exists in the data object.
另外,可选的,WLAN连接模块41还用于获取当前覆盖的WLAN的WSID和数量信息,生成模块43用于根据所述当前覆盖的WLAN的数量信息生成第三标识结果,WLAN接入状态分析模块42还用于根据当前覆盖的WLAN的WSID判断当前是否处于允许接入的范围内,根据判断结果生成第四标识结果;In addition, optionally, the WLAN connection module 41 is also used to obtain the WSID and quantity information of the currently covered WLAN, and the generation module 43 is used to generate a third identification result according to the quantity information of the currently covered WLAN, WLAN access status analysis The module 42 is also used to judge whether it is currently within the scope of allowing access according to the WSID of the currently covered WLAN, and generate a fourth identification result according to the judgment result;
生成模块43还用于根据根据第三标识结果和/或第四标识结果生成WLAN接入状态事件的数据对象,以供USIM下载。The generating module 43 is further configured to generate a data object of the WLAN access state event according to the third identification result and/or the fourth identification result, so as to be downloaded by the USIM.
相应的,所述数据对象包括:第六标识位和/或第七标识位,第六标识位用于标识终端当前在两个WLAN覆盖范围内,第七标识位用于标识终端当前在一个可允许的WLAN的覆盖范围内。本实施例在上述实施例五的基础上,对数据对象做具体的举例说明。Correspondingly, the data object includes: a sixth identification bit and/or a seventh identification bit, the sixth identification bit is used to identify that the terminal is currently within the coverage of two WLANs, and the seventh identification bit is used to indicate that the terminal is currently in a WLAN coverage area. within the coverage of the allowed WLAN. In this embodiment, on the basis of the fifth embodiment above, a specific example is given for the data object.
具体的,例如,数据对象可以包括如下结构形式:Specifically, for example, a data object may include the following structural forms:
其中,b6为第六标识位,b7为第七标识位,b8为存在标识位。Wherein, b6 is the sixth identification bit, b7 is the seventh identification bit, and b8 is the existence identification bit.
其中,每一个标识位占用一个比特的空间,则八个标识位恰好为一个字节。Wherein, each identification bit occupies a space of one bit, and the eight identification bits are exactly one byte.
另外,对于第一标识位至第七标识位以及存在标识位在数据对象中的具体位置并不加以限定。本实施例只是示例性的给出了一种结构形式,但并不应当以此为限制。In addition, the specific positions of the first identification bit to the seventh identification bit and the existence identification bit in the data object are not limited. This embodiment is only an exemplary structure, but should not be limited thereto.
当然,数据结构中还可以包括其他的信息,存储在其他字节中,例如有无I-WLAN覆盖,终端是否处于连接状态等信息。Of course, the data structure may also include other information stored in other bytes, such as whether there is I-WLAN coverage, whether the terminal is in a connected state, and other information.
进一步的,生成数据对象之后,可以通过机卡接口模块发送至USIM卡中,其中机卡接口模块指的是终端与USIM卡直接的接口。Further, after the data object is generated, it can be sent to the USIM card through the machine-card interface module, where the machine-card interface module refers to the direct interface between the terminal and the USIM card.
本发明实施例六提供的WLAN接入状态事件的生成装置,生成模块43生成的数据对象中包括存在标识位,USIM卡可以根据存在标识位可以获取数据对象中是否存在第一标识结果和/或第二标识结果,若不存在第一标识结果和/或第二标识结果,则在USIM卡读取数据对象时,可以忽略该数据对象,即不再读取数据对象的其他标识位的内容,从而可以提升数据读取速度和读取效率。In the device for generating a WLAN access state event provided in Embodiment 6 of the present invention, the data object generated by the generating module 43 includes an existence identification bit, and the USIM card can obtain whether there is a first identification result and/or in the data object according to the existence identification bit. The second identification result, if there is no first identification result and/or second identification result, then when the USIM card reads the data object, the data object can be ignored, that is, the content of other identification bits of the data object is no longer read, Therefore, the data reading speed and reading efficiency can be improved.
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术乘客应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, passengers 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 (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610500834.8A CN106211128B (en) | 2016-06-29 | 2016-06-29 | Method and device for generating WLAN access state event |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610500834.8A CN106211128B (en) | 2016-06-29 | 2016-06-29 | Method and device for generating WLAN access state event |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106211128A CN106211128A (en) | 2016-12-07 |
CN106211128B true CN106211128B (en) | 2019-08-06 |
Family
ID=57463663
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610500834.8A Active CN106211128B (en) | 2016-06-29 | 2016-06-29 | Method and device for generating WLAN access state event |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106211128B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110062440B (en) * | 2019-04-11 | 2021-07-27 | 中国联合网络通信集团有限公司 | WLAN connection control method, electronic device and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102067678A (en) * | 2008-03-26 | 2011-05-18 | 高通股份有限公司 | Device managed access point lists in wireless communications |
WO2015076345A1 (en) * | 2013-11-25 | 2015-05-28 | 京セラ株式会社 | Communication control method, user terminal, and processor |
CN105263154A (en) * | 2015-09-17 | 2016-01-20 | 广东欧珀移动通信有限公司 | Method and system of Wi-Fi equipment for switching wireless access point |
CN105580443A (en) * | 2013-09-27 | 2016-05-11 | 瑞典爱立信有限公司 | Managing selection of WLAN |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8510801B2 (en) * | 2009-10-15 | 2013-08-13 | At&T Intellectual Property I, L.P. | Management of access to service in an access point |
-
2016
- 2016-06-29 CN CN201610500834.8A patent/CN106211128B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102067678A (en) * | 2008-03-26 | 2011-05-18 | 高通股份有限公司 | Device managed access point lists in wireless communications |
CN105580443A (en) * | 2013-09-27 | 2016-05-11 | 瑞典爱立信有限公司 | Managing selection of WLAN |
WO2015076345A1 (en) * | 2013-11-25 | 2015-05-28 | 京セラ株式会社 | Communication control method, user terminal, and processor |
CN105263154A (en) * | 2015-09-17 | 2016-01-20 | 广东欧珀移动通信有限公司 | Method and system of Wi-Fi equipment for switching wireless access point |
Also Published As
Publication number | Publication date |
---|---|
CN106211128A (en) | 2016-12-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US12224905B2 (en) | Communication method and communication apparatus | |
KR101762184B1 (en) | Customizable mobile broadband network system, and method for customizing mobile broadband network | |
CN113994751B (en) | Method and device for logical TSN bridge | |
TW201935906A (en) | Wireless communication method, network device and terminal device | |
US20200214065A1 (en) | User equipment category signaling in an lte-5g configuration | |
CN115134869B (en) | Network slicing admission control method and device | |
WO2020108002A1 (en) | Transmission policy determination method, policy control method, and device | |
KR20140058377A (en) | Terminal device with built-in subscriber identification module and profile selection method for this | |
CN109392096B (en) | Resource allocation method and device | |
EP3681196A1 (en) | Method and device for acquiring feature parameters | |
CN107318113A (en) | Network sliced sheet processing method and device | |
CN104838696A (en) | System and method for network selection | |
WO2018133127A1 (en) | Access method, and terminal | |
CN120583417A (en) | Slice isolation method, device and system | |
CN111758269B (en) | System and interface for cross-administrative or technical domain network function instantiation and configuration for roaming users | |
US11606303B1 (en) | Device initiated quality of service | |
CN110267258A (en) | Method and system for defining connection change based on USIM card | |
US9204483B1 (en) | Methods for obtaining a mobile internet protocol address | |
CN106211128B (en) | Method and device for generating WLAN access state event | |
WO2024250933A1 (en) | Method for creating configuration information, and communication apparatus | |
JP7675852B2 (en) | Data acquisition method and system, and device therefor | |
CN114271007A (en) | Coordination between Wired Policy Controller and Wireless Policy Controller | |
WO2020259290A1 (en) | Method and apparatus for managing user group | |
CN112583649B (en) | Method and device for identifying mobile phone hot spots | |
WO2023116356A1 (en) | Information configuration method and apparatus, and related devices and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |