CN118803730A - 5G message account opening method, device, electronic device, storage medium and program product - Google Patents
5G message account opening method, device, electronic device, storage medium and program product Download PDFInfo
- Publication number
- CN118803730A CN118803730A CN202410400954.5A CN202410400954A CN118803730A CN 118803730 A CN118803730 A CN 118803730A CN 202410400954 A CN202410400954 A CN 202410400954A CN 118803730 A CN118803730 A CN 118803730A
- Authority
- CN
- China
- Prior art keywords
- message
- mobile terminal
- account opening
- request
- encrypted data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 132
- 238000012795 verification Methods 0.000 claims abstract description 206
- 230000004044 response Effects 0.000 claims abstract description 13
- 238000012545 processing Methods 0.000 claims description 42
- 238000004590 computer program Methods 0.000 claims description 14
- 230000002159 abnormal effect Effects 0.000 claims description 5
- 238000010200 validation analysis Methods 0.000 claims 1
- 230000008569 process Effects 0.000 description 49
- 235000014510 cooky Nutrition 0.000 description 24
- 238000005516 engineering process Methods 0.000 description 13
- 238000011161 development Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 9
- 238000004891 communication Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 8
- 230000005540 biological transmission Effects 0.000 description 6
- 238000010295 mobile communication Methods 0.000 description 5
- 230000004913 activation Effects 0.000 description 3
- 230000002708 enhancing effect Effects 0.000 description 3
- 238000002360 preparation method Methods 0.000 description 3
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 2
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 2
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 2
- 230000003213 activating effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000001737 promoting effect Effects 0.000 description 2
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 1
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000002457 bidirectional effect Effects 0.000 description 1
- 239000006227 byproduct Substances 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/26—Network addressing or numbering for mobility support
- H04W8/265—Network addressing or numbering for mobility support for initial activation of new user
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
-
- 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
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)
Abstract
本申请公开了一种5G消息开户方法、装置、电子设备、存储介质及程序产品,应用于5G消息平台,所述方法包括:接收移动终端发送的针对副卡的开户请求,所述开户请求来自非本运营商的分组交换接入地址,所述开户请求携带有所述副卡的国际移动用户识别码IMSI;响应于所述开户请求,基于所述IMSI,向所述移动终端发送第一加密数据和第一短信验证码;接收所述移动终端发送的第一获取配置请求,并基于所述第一获取配置请求中携带的第二加密数据和第二短信验证码,对所述移动终端进行校验;若校验结果为通过,则为所述副卡进行开户。
The present application discloses a 5G message account opening method, device, electronic device, storage medium and program product, which are applied to a 5G message platform. The method includes: receiving an account opening request for a secondary card sent by a mobile terminal, the account opening request comes from a packet switching access address that is not the operator's, and the account opening request carries the International Mobile User Identity (IMSI) of the secondary card; in response to the account opening request, based on the IMSI, sending first encrypted data and a first SMS verification code to the mobile terminal; receiving a first configuration acquisition request sent by the mobile terminal, and verifying the mobile terminal based on the second encrypted data and the second SMS verification code carried in the first configuration acquisition request; if the verification result is passed, opening an account for the secondary card.
Description
技术领域Technical Field
本申请涉及网络技术领域,尤其涉及一种5G消息开户方法、装置、电子设备、存储介质及程序产品。The present application relates to the field of network technology, and in particular to a 5G message account opening method, device, electronic device, storage medium and program product.
背景技术Background Art
5G消息是一种基于第五代移动通信技术(5th Generation,5G)网络的全面覆盖、全终端、全用户的消息服务。随着5G技术的成熟和普及,越来越多的商户开始采用5G消息向用户推送信息,首次使用5G消息,需要为电话卡开通5G消息服务,即开户。5G messaging is a messaging service based on the fifth generation mobile communication technology (5th Generation, 5G) network with full coverage, all terminals, and all users. With the maturity and popularization of 5G technology, more and more merchants are beginning to use 5G messaging to push information to users. To use 5G messaging for the first time, you need to activate the 5G messaging service for your phone card, that is, open an account.
然而,开通5G消息服务的流程不支持副卡场景,需要通过手动切换来使用副卡的数据网络进行开户,进而严重影响用户对5G消息的使用率,不利于业务的推广和发展。However, the process of activating the 5G message service does not support the secondary card scenario. Manual switching is required to use the secondary card's data network to open an account, which seriously affects users' usage of 5G messages and is not conducive to the promotion and development of the business.
发明内容Summary of the invention
本申请实施例的目的提供一种5G消息开户方法、装置、电子设备、存储介质及程序产品,用于解决通过手动切换数据网络的方式为副卡开户而严重影响用户对5G消息的使用率,不利于业务的推广和发展的问题。The purpose of the embodiments of the present application is to provide a 5G message account opening method, device, electronic device, storage medium and program product, which are used to solve the problem that opening an account for a secondary card by manually switching the data network seriously affects the user's usage rate of 5G messages and is not conducive to the promotion and development of the business.
为了实现上述目的,本申请实施例采用下述技术方案:In order to achieve the above objectives, the present application embodiment adopts the following technical solutions:
第一方面,本申请实施例提供一种5G消息开户方法,应用于5G消息平台,包括:In a first aspect, an embodiment of the present application provides a 5G message account opening method, which is applied to a 5G message platform, including:
接收移动终端发送的针对副卡的开户请求,所述开户请求来自非本运营商的分组交换接入地址,所述开户请求携带有所述副卡的国际移动用户识别码IMSI;Receiving an account opening request for a secondary card sent by a mobile terminal, the account opening request coming from a packet switching access address not belonging to the operator, and the account opening request carrying an international mobile subscriber identity (IMSI) of the secondary card;
响应于所述开户请求,基于所述IMSI,向所述移动终端发送第一加密数据和第一短信验证码;In response to the account opening request, sending first encrypted data and a first SMS verification code to the mobile terminal based on the IMSI;
接收所述移动终端发送的第一获取配置请求,并基于所述第一获取配置请求中携带的第二加密数据和第二短信验证码,对所述移动终端进行校验;Receiving a first configuration acquisition request sent by the mobile terminal, and verifying the mobile terminal based on second encrypted data and a second SMS verification code carried in the first configuration acquisition request;
若校验结果为通过,则为所述副卡进行开户。If the verification result is passed, an account is opened for the secondary card.
第二方面,本申请实施例提供一种5G消息开户装置,应用于5G消息平台,包括:In a second aspect, an embodiment of the present application provides a 5G message account opening device, which is applied to a 5G message platform, including:
设备管理模块DM、短信处理模块和消息处理模块;Device management module DM, SMS processing module and message processing module;
所述DM,用于接收移动终端发送的针对副卡的开户请求,所述开户请求来自非本运营商的分组交换接入地址,所述开户请求携带有所述副卡的国际移动用户识别码IMSI;The DM is used to receive an account opening request for a secondary card sent by a mobile terminal, where the account opening request comes from a packet switching access address of a non-operator, and the account opening request carries an international mobile subscriber identity code IMSI of the secondary card;
所述短信处理模块,用于响应于所述开户请求,基于所述IMSI,向所述移动终端发送第一加密数据和第一短信验证码;The SMS processing module is configured to send first encrypted data and a first SMS verification code to the mobile terminal based on the IMSI in response to the account opening request;
所述DM,还用于接收所述移动终端发送的第一获取配置请求,并基于所述第一获取配置请求中携带的第二加密数据和第二短信验证码,对所述移动终端进行校验;The DM is further configured to receive a first configuration acquisition request sent by the mobile terminal, and verify the mobile terminal based on the second encrypted data and the second SMS verification code carried in the first configuration acquisition request;
所述消息处理模块,用于若校验结果为通过,则为所述副卡进行开户。The message processing module is used to open an account for the secondary card if the verification result is passed.
第三方面,本申请实施例提供一种5G消息开户方法,应用于移动终端,包括:In a third aspect, an embodiment of the present application provides a 5G message account opening method, which is applied to a mobile terminal, including:
通过分组交换接入地址,向5G消息平台发送针对副卡的开户请求,所述开户请求携带有所述副卡的国际移动用户识别码IMSI;Send an account opening request for the secondary card to the 5G messaging platform through a packet switching access address, wherein the account opening request carries the International Mobile Subscriber Identity (IMSI) of the secondary card;
基于所述5G消息平台发送的第一加密数据和第一短信验证码,向所述5G消息平台发送第一获取配置请求,所述第一获取配置请求中携带有第二加密数据和第二短信验证码,所述第二加密数据和所述第二短信验证码用于所述5G消息平台在对所述移动终端进行校验后为所述副卡进行开户。Based on the first encrypted data and the first SMS verification code sent by the 5G message platform, a first configuration acquisition request is sent to the 5G message platform, wherein the first configuration acquisition request carries second encrypted data and a second SMS verification code, and the second encrypted data and the second SMS verification code are used by the 5G message platform to open an account for the secondary card after verifying the mobile terminal.
第四方面,本申请实施例提供一种5G消息开户装置,应用于移动终端,包括:In a fourth aspect, an embodiment of the present application provides a 5G message account opening device, which is applied to a mobile terminal, including:
第一发送单元,用于通过分组交换接入地址,向5G消息平台发送针对副卡的开户请求,所述开户请求携带有所述副卡的国际移动用户识别码IMSI;A first sending unit is used to send an account opening request for the secondary card to the 5G message platform through a packet switching access address, wherein the account opening request carries an international mobile subscriber identity code IMSI of the secondary card;
第二发送单元,用于基于所述5G消息平台发送的第一加密数据和第一短信验证码,向所述5G消息平台发送第一获取配置请求,所述第一获取配置请求中携带有第二加密数据和第二短信验证码,所述第二加密数据和所述第二短信验证码用于所述5G消息平台在对所述移动终端进行校验后为所述副卡进行开户。The second sending unit is used to send a first configuration acquisition request to the 5G message platform based on the first encrypted data and the first SMS verification code sent by the 5G message platform, wherein the first configuration acquisition request carries second encrypted data and a second SMS verification code, and the second encrypted data and the second SMS verification code are used by the 5G message platform to open an account for the secondary card after verifying the mobile terminal.
第五方面,本申请实施例提供一种5G消息开户方法,包括:In a fifth aspect, an embodiment of the present application provides a 5G message account opening method, including:
移动终端通过分组交换接入地址,向5G消息平台发送针对副卡的开户请求,所述开户请求携带有所述副卡的国际移动用户识别码IMSI;The mobile terminal sends an account opening request for the secondary card to the 5G message platform through a packet switching access address, wherein the account opening request carries the international mobile subscriber identity code IMSI of the secondary card;
所述5G消息平台在所述分组交换接入地址属于非本运营商的情况下,响应于所述开户请求,基于所述IMSI,向所述移动终端发送第一加密数据和第一短信验证码;The 5G messaging platform sends, in response to the account opening request and based on the IMSI, the first encrypted data and the first SMS verification code to the mobile terminal when the packet switching access address belongs to a non-operator;
所述移动终端基于接收到的所述第一加密数据和所述第一短信验证码,向所述5G消息平台发送第一获取配置请求,所述第一获取配置请求携带有第二加密数据和第二短信验证码;The mobile terminal sends a first configuration acquisition request to the 5G message platform based on the received first encrypted data and the first SMS verification code, where the first configuration acquisition request carries the second encrypted data and the second SMS verification code;
所述5G消息平台接收所述第一获取配置请求,基于所述第一获取配置请求携带的所述第二加密数据和所述第二短信验证码,对所述移动终端进行校验,若校验结果为通过,则为所述副卡进行开户。The 5G message platform receives the first configuration acquisition request, verifies the mobile terminal based on the second encrypted data and the second SMS verification code carried in the first configuration acquisition request, and opens an account for the secondary card if the verification result is passed.
第六方面,本申请实施例提供一种电子设备,包括:处理器;用于存储所述处理器可执行指令的存储器;其中,所述处理器被配置为执行所述指令,以实现如第一方面所述的方法。In a sixth aspect, an embodiment of the present application provides an electronic device, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the method described in the first aspect.
第七方面,本申请实施例提供一种计算机可读存储介质,当所述存储介质中的指令由电子设备的处理器执行时,使得电子设备能够执行如第一方面所述的方法。In a seventh aspect, an embodiment of the present application provides a computer-readable storage medium. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute the method described in the first aspect.
第八方面,本申请实施例提供一种计算机程序产品,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如第一方面所述的方法中的部分或全部步骤。In an eighth aspect, an embodiment of the present application provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute some or all of the steps in the method described in the first aspect.
本申请实施例采用的上述至少一个技术方案能够达到以下有益效果:通过接收移动终端发送的针对副卡的开户请求,并基于开户请求中携带的IMSI,向移动终端发送第一加密数据和第一短信验证码,然后接收移动终端发送的第一获取配置请求,并基于第一获取配置请求中携带的第二加密数据和第二短信验证码对移动终端进行校验,在校验结果为通过的情况下,为副卡进行开户,实现对副卡的5G消息服务的覆盖,支持副卡场景下5G消息开户流程,无需手动切换来使用副卡的数据网络进行开户,增强用户的使用体验和满意度,有利于5G消息业务的推广和发展,推动5G技术在通信领域的广泛应用和深入落地,同时,实现对副卡开户的自动化处理,减少用户手动操作的繁琐程度,提高开户流程的便捷性和效率,实现对移动终端身份和合法性的验证,从而保障开户过程的安全性和准确性,有效防止了非法用户的恶意访问和篡改,确保移动终端的合法性和可信度,从而保证副卡的开户过程的完整性和可靠性,为后续的服务提供了稳定的基础。At least one of the above-mentioned technical solutions adopted in the embodiments of the present application can achieve the following beneficial effects: by receiving an account opening request for a secondary card sent by a mobile terminal, and based on the IMSI carried in the account opening request, sending first encrypted data and a first SMS verification code to the mobile terminal, and then receiving a first configuration acquisition request sent by the mobile terminal, and verifying the mobile terminal based on the second encrypted data and the second SMS verification code carried in the first configuration acquisition request, and if the verification result is passed, opening an account for the secondary card, achieving coverage of the 5G message service for the secondary card, and supporting the 5G message account opening process in the secondary card scenario, without the need for manual switching to use Opening an account through the data network of the secondary card can enhance the user experience and satisfaction, which is conducive to the promotion and development of 5G messaging services and the widespread application and in-depth implementation of 5G technology in the communication field. At the same time, it can realize the automated processing of secondary card account opening, reduce the tediousness of user manual operations, improve the convenience and efficiency of the account opening process, and verify the identity and legitimacy of the mobile terminal, thereby ensuring the security and accuracy of the account opening process, effectively preventing malicious access and tampering by illegal users, ensuring the legitimacy and credibility of mobile terminals, thereby ensuring the integrity and reliability of the secondary card account opening process, and providing a stable foundation for subsequent services.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
图1为本申请的一个实施例提供的一种5G消息开户方法的流程示意图之一;FIG1 is a flow chart of a 5G message account opening method provided by an embodiment of the present application;
图2为本申请的一个实施例提供的一种5G消息开户方法的流程示意图之二;FIG2 is a second flow chart of a 5G message account opening method provided by an embodiment of the present application;
图3为本申请的一个实施例提供的一种5G消息开户方法的流程示意图之三FIG. 3 is a flowchart of a 5G message account opening method provided by an embodiment of the present application.
图4为本申请的一个实施例提供的一种5G消息开户方法的应用场景示意图;FIG4 is a schematic diagram of an application scenario of a 5G message account opening method provided by an embodiment of the present application;
图5为本申请的一个实施例提供的一种5G消息开户方法的流程示意图之四;FIG5 is a fourth flow chart of a 5G message account opening method provided by an embodiment of the present application;
图6为本申请的一个实施例提供的一种5G消息开户装置的结构示意图之一;FIG6 is one of the structural schematic diagrams of a 5G message account opening device provided by an embodiment of the present application;
图7为本申请的一个实施例提供的一种5G消息开户装置的结构示意图之二;FIG7 is a second structural diagram of a 5G message account opening device provided by an embodiment of the present application;
图8为本申请的一个实施例提供的一种电子设备的结构示意图。FIG8 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application.
具体实施方式DETAILED DESCRIPTION
为使本申请的目的、技术方案和优点更加清楚,下面将结合本申请具体实施例及相应的附图对本申请技术方案进行清楚、完整地描述。显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
本说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应理解,这样使用的数据在适当情况下可以互换,以便本申请实施例除了在这里图示或描述的那些以外的顺序实施。此外,本说明书和权利要求书中“和/或”表示所连接对象的至少其中之一,字符“/”一般表示前后关联对象是一种“或”的关系。The terms "first", "second", etc. in this specification and claims are used to distinguish similar objects, and are not used to describe a particular order or precedence. It should be understood that the terms used in this way can be interchanged where appropriate so that the embodiments of the present application are implemented in a sequence other than those illustrated or described herein. In addition, "and/or" in this specification and claims means at least one of the connected objects, and the character "/" generally means that the objects associated with each other are in an "or" relationship.
5G消息是一种基于第五代移动通信技术(5th Generation,5G)网络的全面覆盖、全终端、全用户的消息服务。随着5G技术的成熟和普及,越来越多的商户开始采用5G消息向用户推送信息,首次使用5G消息,需要为电话卡开通5G消息服务,即开户。5G messaging is a messaging service based on the fifth generation mobile communication technology (5th Generation, 5G) network with full coverage, all terminals, and all users. With the maturity and popularization of 5G technology, more and more merchants are beginning to use 5G messaging to push information to users. To use 5G messaging for the first time, you need to activate the 5G messaging service for your phone card, that is, open an account.
然而,开通5G消息服务的流程不支持副卡场景,需要通过手动切换来使用副卡的数据网络进行开户,进而严重影响用户对5G消息的使用率,不利于业务的推广和发展However, the process of opening the 5G message service does not support the secondary card scenario, and it is necessary to manually switch to use the secondary card's data network to open an account, which seriously affects the user's usage rate of 5G messages and is not conducive to the promotion and development of the business.
有鉴于此,本申请实施例提供一种5G消息开户方法,应用于5G消息平台,适用于为副卡开通5G消息服务的场景,用于解决通过手动切换数据网络的方式为副卡开户而严重影响用户对5G消息的使用率,不利于业务的推广和发展的问题。具体地,通过接收移动终端发送的针对副卡的开户请求,并基于开户请求中携带的IMSI,向移动终端发送第一加密数据和第一短信验证码,然后接收移动终端发送的第一获取配置请求,并基于第一获取配置请求中携带的第二加密数据和第二短信验证码对移动终端进行校验,在校验结果为通过的情况下,为副卡进行开户,实现对副卡的5G消息服务的覆盖,支持副卡场景下5G消息开户流程,无需手动切换来使用副卡的数据网络进行开户,增强用户的使用体验和满意度,有利于5G消息业务的推广和发展,推动5G技术在通信领域的广泛应用和深入落地,同时,实现对副卡开户的自动化处理,减少用户手动操作的繁琐程度,提高开户流程的便捷性和效率,实现对移动终端身份和合法性的验证,从而保障开户过程的安全性和准确性,有效防止了非法用户的恶意访问和篡改,确保移动终端的合法性和可信度,从而保证副卡的开户过程的完整性和可靠性,为后续的服务提供了稳定的基础。In view of this, an embodiment of the present application provides a 5G message account opening method, which is applied to the 5G message platform and is suitable for the scenario of activating 5G message services for secondary cards. It is used to solve the problem that opening an account for a secondary card by manually switching the data network seriously affects the user's usage rate of 5G messages, which is not conducive to the promotion and development of the business. Specifically, by receiving an account opening request for a secondary card sent by a mobile terminal, and based on the IMSI carried in the account opening request, sending first encrypted data and a first SMS verification code to the mobile terminal, then receiving a first configuration acquisition request sent by the mobile terminal, and verifying the mobile terminal based on the second encrypted data and the second SMS verification code carried in the first configuration acquisition request, if the verification result is passed, opening an account for the secondary card, achieving coverage of the 5G message service for the secondary card, supporting the 5G message account opening process in the secondary card scenario, and no manual switching is required to use the data network of the secondary card for account opening, enhancing the user's experience and satisfaction, which is conducive to the promotion and development of 5G message services, and promoting the widespread application and in-depth implementation of 5G technology in the communication field. At the same time, the automatic processing of secondary card account opening is realized, the tediousness of user manual operations is reduced, the convenience and efficiency of the account opening process are improved, and the identity and legitimacy of the mobile terminal are verified, thereby ensuring the security and accuracy of the account opening process, effectively preventing malicious access and tampering by illegal users, ensuring the legitimacy and credibility of the mobile terminal, thereby ensuring the integrity and reliability of the secondary card account opening process, and providing a stable foundation for subsequent services.
接下来,请参见图1,为本申请的一个实施例提供的一种5G消息开户方法的流程示意图之一。如图1所示,本申请的一个实施例提供的一种5G消息开户方法,应用于5G消息平台,该方法可以包括如下步骤:Next, please refer to Figure 1, which is a flowchart of a 5G message account opening method provided by an embodiment of the present application. As shown in Figure 1, a 5G message account opening method provided by an embodiment of the present application is applied to a 5G message platform, and the method may include the following steps:
S102,接收移动终端发送的针对副卡的开户请求。S102, receiving an account opening request for a secondary card sent by a mobile terminal.
其中,开户请求来自非本运营商的分组交换接入地址。运营商是指提供移动通信服务的公司或组织。分组交换(Packet Switching,PS)是一种数据传输方式,通过将数据划分为小的数据包,并且在网络中按需传输这些数据包来实现通信的。接入地址是指移动终端在网络中的地址,用于标识其位置和连接点。The account opening request comes from a packet switching access address that is not from the operator. An operator is a company or organization that provides mobile communication services. Packet switching (PS) is a data transmission method that divides data into small packets and transmits these packets on demand in the network to achieve communication. The access address refers to the address of the mobile terminal in the network, which is used to identify its location and connection point.
其中,开户请求中携带有副卡的国际移动用户识别码IMSI。国际移动用户识别码(International Mobile Subscriber Identity,IMSI)是一种用于唯一标识移动用户的码。The account opening request carries the International Mobile Subscriber Identity (IMSI) of the secondary card. The International Mobile Subscriber Identity (IMSI) is a code used to uniquely identify a mobile user.
其中,开户请求用于请求为副卡开通5G消息服务,即用于请求开户。作为一种示例,当接收到来自移动终端的开户请求时,先要判断用户请求是否是来自本运营商的PS接入地址,如果不是,则确定开户请求是针对副卡发送的、用于请求为副卡开通5G消息服务的请求,进而按照副卡的开户流程,根据开户请求中携带的IMSI,为副卡进行开户;如果是,则确定开户请求是针对主卡发送的、用于请求为主卡开通5G消息服务的请求,进而按照主卡的开户流程,为主卡进行开户。作为一种示例,上述判断用户请求是否是来自本运营商的PS接入地址,可以通过IP地址匹配,5G消息平台在本地存储有本运营商的PS接入地址范围,当收到开户请求后,会将开户请求中的IP地址与本地存储的地址范围进行比较,如果地址范围中没有匹配项,则判断用户请求为非本运营商的PS接入地址,可能是第三方运营商的PS接入地址或者WiFi接入地址。作为另一种示例,上述判断用户请求是否是来自本运营商的PS接入地址,还可以通过运营商标识判断,通常开户请求中携带运营商标识,当接收到开户请求时,提取出开户请求中的运营商标识,判断是否为本运营商的标识,如果不是,则判断用户请求为非本运营商的PS接入地址。Among them, the account opening request is used to request the activation of 5G message service for the secondary card, that is, to request account opening. As an example, when receiving an account opening request from a mobile terminal, it is necessary to first determine whether the user request is from the PS access address of this operator. If not, it is determined that the account opening request is a request sent to the secondary card for requesting the activation of 5G message service for the secondary card, and then according to the account opening process of the secondary card, according to the IMSI carried in the account opening request, the account is opened for the secondary card; if yes, it is determined that the account opening request is a request sent to the main card for requesting the activation of 5G message service for the main card, and then according to the account opening process of the main card, the account is opened for the main card. As an example, the above judgment of whether the user request is from the PS access address of this operator can be matched by IP address. The 5G message platform locally stores the PS access address range of this operator. When receiving the account opening request, the IP address in the account opening request will be compared with the locally stored address range. If there is no match in the address range, it is determined that the user request is a PS access address of a non-operator, which may be a PS access address or WiFi access address of a third-party operator. As another example, the above judgment of whether the user request is from the PS access address of the current operator can also be judged by the operator identifier. Usually, the account opening request carries the operator identifier. When the account opening request is received, the operator identifier in the account opening request is extracted to determine whether it is the identifier of the current operator. If not, it is determined that the user request is a PS access address not of the current operator.
其中,移动终端指的是可以移动的电子设备,通常是指智能手机、平板电脑或其他便携式设备,用于进行移动通信和数据传输,能需要支持双卡双待或者其他与副卡通信相关的功能,例如比较常见的双卡双待手机。5G消息平台是指支持5G技术的消息传输平台,它提供了更高的数据传输速度、更低的延迟以及更大的容量,用于支持各种移动应用和服务,如视频流媒体、物联网设备通信等。Among them, mobile terminal refers to a mobile electronic device, usually a smartphone, tablet or other portable device, used for mobile communication and data transmission, and may need to support dual-SIM dual-standby or other functions related to secondary card communication, such as the more common dual-SIM dual-standby mobile phone. 5G message platform refers to a message transmission platform that supports 5G technology, which provides higher data transmission speed, lower latency and greater capacity to support various mobile applications and services, such as video streaming, IoT device communication, etc.
为了确保开户请求的真实性,接收到开户请求后,还需要根据请求中携带的IMSI,查询5G消息平台在本地存储的用户信息,判断副卡是否开户,如果开户状态为未开户,则按照相应的开户流程,进行开户,以防止用户信息泄露,提高数据传输的安全性。In order to ensure the authenticity of the account opening request, after receiving the account opening request, it is also necessary to query the user information stored locally by the 5G messaging platform based on the IMSI carried in the request to determine whether the secondary card has been opened. If the account opening status is not opened, the account should be opened according to the corresponding account opening process to prevent user information leakage and improve the security of data transmission.
S104,响应于开户请求,基于IMSI,向移动终端发送第一加密数据和第一短信验证码。S104, in response to the account opening request, sending first encrypted data and a first SMS verification code to the mobile terminal based on the IMSI.
其中,第一加密数据是指包含了MSISDN、时间、随机校验码等信息的加密文本Cookie。当接收到移动终端的开户请求,进入开户的准备流程,会向移动终端返回HTTP200OK状态码,状态码中携带Cookie,即第一加密数据。MSISDN(Mobile SubscriberIntegrated Services Digital Network Number),即移动台国际用户识别码,也就是通常所说的手机号码,是移动通信网络中的唯一号码标识。HTTP 200OK是超文本传输(Hypertext Transfer Protocol,HTTP)协议中的一种状态码,表示已成功处理移动终端方的开户请求。Among them, the first encrypted data refers to the encrypted text Cookie containing information such as MSISDN, time, and random check code. When receiving an account opening request from a mobile terminal and entering the account opening preparation process, an HTTP200OK status code will be returned to the mobile terminal. The status code carries Cookie, i.e., the first encrypted data. MSISDN (Mobile Subscriber Integrated Services Digital Network Number), i.e., the international user identification number of a mobile station, is also commonly referred to as a mobile phone number. It is a unique number identifier in a mobile communication network. HTTP 200OK is a status code in the Hypertext Transfer Protocol (HTTP) protocol, indicating that the account opening request from the mobile terminal has been successfully processed.
其中,第一短信验证码是指以短信方式发送的一次性密码(One Time Password,OTP)。响应于移动终端发送的开户请求,基于开户请求中携带的IMSI,以短信的方式向移动终端发送OTP。The first SMS verification code refers to a one-time password (OTP) sent via SMS. In response to an account opening request sent by a mobile terminal, the OTP is sent to the mobile terminal via SMS based on the IMSI carried in the account opening request.
具体地,作为一种可选实施方式,上述S104中基于IMSI,向移动终端发送第一加密数据和第一短信验证码,可以包括如下步骤:向一级业务运营支持系统BOSS发送查询请求,查询请求携带有IMSI,查询请求用于请求查询副卡的移动台国际用户识别码MSISDN;Specifically, as an optional implementation, the sending of the first encrypted data and the first SMS verification code to the mobile terminal based on the IMSI in the above S104 may include the following steps: sending a query request to the primary business operation support system BOSS, the query request carrying the IMSI, the query request being used to request querying the mobile station international user identity code MSISDN of the secondary card;
接收一级BOSS基于IMSI返回的MSISDN;Receive the MSISDN returned by the first-level BOSS based on the IMSI;
基于一级BOSS返回的MSISDN,向移动终端发送第一加密数据和第一短信验证码。Based on the MSISDN returned by the first-level BOSS, the first encrypted data and the first SMS verification code are sent to the mobile terminal.
其中,业务运营支持系统(Business Operation Support System,BOSS)是一种用于支持运营商的日常业务运营的软件系统,通常可以根据需求进行分级,不同级的BOSS的权限不同,以满足不同的业务需求,例如:地方的BOSS系统可以支持查询电话号码等业务,省级的BOSS系统可以支持5G消息开户鉴权等业务。这样可以确保业务数据不易泄露,提高用户数据的安全性,提高业务操作规范,保证业务的有效运行。Among them, the Business Operation Support System (BOSS) is a software system used to support the daily business operations of operators. It can usually be graded according to needs. Different levels of BOSS have different permissions to meet different business needs. For example, the local BOSS system can support services such as phone number query, and the provincial BOSS system can support services such as 5G message account opening and authentication. This can ensure that business data is not easily leaked, improve the security of user data, improve business operation specifications, and ensure the effective operation of the business.
当接收到移动终端的开户请求,进行开户流程后,需要向一级业务运营支持系统BOSS发送查询请求,查询请求携带有IMSI,一级BOSS基于请求中携带的IMSI,返回副卡的电话号码,即MSISDN,基于MSISDN,生成Cookie,Cookie中包含MSISDN,将Cookie携带于HTTP200OK中,发送至移动终端,然后根据查询到的电话号码,发送验证短信,短信中包含OTP。作为一种示例,验证短信中的OTP可以通过特定算法随机生成,例如:Time-based One-TimePassword(TOTP)、Challenge-Response Authentication Protocol(CRAM)等。When receiving an account opening request from a mobile terminal and completing the account opening process, a query request needs to be sent to the first-level business operation support system BOSS. The query request carries the IMSI. The first-level BOSS returns the phone number of the secondary card, i.e., the MSISDN, based on the IMSI carried in the request. A cookie is generated based on the MSISDN. The cookie contains the MSISDN. The cookie is carried in HTTP200OK and sent to the mobile terminal. Then, based on the queried phone number, a verification SMS is sent, which contains the OTP. As an example, the OTP in the verification SMS can be randomly generated by a specific algorithm, such as Time-based One-Time Password (TOTP), Challenge-Response Authentication Protocol (CRAM), etc.
本申请实施例通过向一级BOSS发送查询请求,获取到MSISDN,基于获取到的MSISDN,向移动终端发送第一加密数据和第一短信验证码,从而确保在向移动终端发送加密数据和短信验证码时,能够准确地发送至副卡对应的移动终端,实现了副卡开户过程中的准确性和可靠性。The embodiment of the present application obtains the MSISDN by sending a query request to the first-level BOSS, and based on the obtained MSISDN, sends the first encrypted data and the first SMS verification code to the mobile terminal, thereby ensuring that when the encrypted data and the SMS verification code are sent to the mobile terminal, they can be accurately sent to the mobile terminal corresponding to the secondary card, thereby achieving accuracy and reliability in the secondary card account opening process.
S106,接收移动终端发送的第一获取配置请求,并基于第一获取配置请求中携带的第二加密数据和第二短信验证码,对移动终端进行校验。S106, receiving a first configuration acquisition request sent by the mobile terminal, and verifying the mobile terminal based on the second encrypted data and the second SMS verification code carried in the first configuration acquisition request.
其中,获取配置请求用于请求获取开户配置信息。开户配置信息用于移动终端使用5G消息服务。移动终端接收到第一加密数据和第一短信验证码后,将第一加密数据,即Cookie和第二短信验证码,即OTP携带于获取配置请求中并发送,即第一获取配置请求。The configuration acquisition request is used to request the acquisition of account opening configuration information. The account opening configuration information is used for the mobile terminal to use the 5G message service. After receiving the first encrypted data and the first SMS verification code, the mobile terminal carries the first encrypted data, i.e., Cookie, and the second SMS verification code, i.e., OTP, in the configuration acquisition request and sends it, i.e., the first configuration acquisition request.
作为一种示例,在上述S106之前,除了将第一加密数据和第一短信验证码发送至移动终端,还需要对第一加密数据和第一短信验证码与IMSI以及根据IMSI查询到的MSISDN进行缓存,缓存的数据还包括对第一加密数据、第一短信验证码、IMSI和MSISDN几者之间的对应关系进行缓存。作为另一示例,第二获取配置请求中还携带有IMSI。当接收到移动终端发送的第一获取配置请求时,会提取第一获取配置请求中携带的Cookie,即第二加密数据和OTP,即第二短信验证码,以及根据IMSI查询5G消息平台缓存的第一加密数据和第二短信验证码,基于提取到的第二加密数据和第二短信验证码以及查询到的第一加密数据和第一短信验证码,对移动终端进行验证。As an example, before the above S106, in addition to sending the first encrypted data and the first SMS verification code to the mobile terminal, it is also necessary to cache the first encrypted data and the first SMS verification code and the IMSI and the MSISDN queried according to the IMSI, and the cached data also includes caching the correspondence between the first encrypted data, the first SMS verification code, the IMSI and the MSISDN. As another example, the second configuration acquisition request also carries the IMSI. When the first configuration acquisition request sent by the mobile terminal is received, the Cookie carried in the first configuration acquisition request, that is, the second encrypted data and OTP, that is, the second SMS verification code, is extracted, and the first encrypted data and the second SMS verification code cached by the 5G message platform are queried according to the IMSI, and the mobile terminal is verified based on the extracted second encrypted data and the second SMS verification code and the queried first encrypted data and the first SMS verification code.
具体地,作为一种可选实施方式,上述S106中基于第一获取配置请求中携带的第二加密数据和第二短信验证码,对移动终端进行校验,可以包括如下步骤:将第一加密数据与第二加密数据进行比对,得到第一比对结果;Specifically, as an optional implementation, the verification of the mobile terminal based on the second encrypted data and the second SMS verification code carried in the first configuration acquisition request in S106 may include the following steps: comparing the first encrypted data with the second encrypted data to obtain a first comparison result;
将第一短信验证码与第二短信验证码进行比对,得到第二比对结果;Compare the first SMS verification code with the second SMS verification code to obtain a second comparison result;
若第一比对结果和第二比对结果均为一致,则确定校验结果为通过。If the first comparison result and the second comparison result are both consistent, the verification result is determined to be passed.
其中,第一比对结果包括一致和不一致,若第一加密数据与第二加密数据相同,则第一比对结果为一致;若第一加密数据与第二加密数据不相同,则第一比对结果为不一致。The first comparison result includes consistency and inconsistency. If the first encrypted data is the same as the second encrypted data, the first comparison result is consistent; if the first encrypted data is different from the second encrypted data, the first comparison result is inconsistent.
其中,第二比对结果包括一致和不一致,若第一短信验证码与第二短信验证码相同,则第二比对结果为一致,若第一短信验证码与第二短信验证码不相同,则第二比对结果为不一致。Among them, the second comparison result includes consistency and inconsistency. If the first SMS verification code is the same as the second SMS verification code, the second comparison result is consistent. If the first SMS verification code is different from the second SMS verification code, the second comparison result is inconsistent.
在基于提取到的第二加密数据和第二短信验证码以及5G消息平台缓存的第一加密数据和第一短信验证码,对移动终端进行验证时,若第一比对结果和第二比对结果均为一致,则确定校验结果为通过;若第一比对结果和第二比对结果中存在有一个为不一致,则校验结果为未通过。When verifying the mobile terminal based on the extracted second encrypted data and second SMS verification code and the first encrypted data and first SMS verification code cached by the 5G message platform, if the first comparison result and the second comparison result are consistent, the verification result is determined to be passed; if one of the first comparison result and the second comparison result is inconsistent, the verification result is determined to be failed.
本申请实施例在对移动终端进行校验时,通过比对第一获取配置请求中携带的第二加密数据和第二短信验证码与之前发送的第一加密数据和第一短信验证码来验证移动终端的身份,确保校验的准确性和可靠性,由于第一加密数据和第一短信验证码的发送方式不同,第一加密数据通过HTTP状态码发送,短信验证码通过短信发送,并且短信验证码是一次性的,短信验证码只有副卡所对应的终端才能收到,只有在第一和第二比对结果均一致的情况下,才确定校验结果为通过,从而提高了系统对移动终端身份的验证准确度。When verifying the mobile terminal, the embodiment of the present application verifies the identity of the mobile terminal by comparing the second encrypted data and the second SMS verification code carried in the first configuration acquisition request with the first encrypted data and the first SMS verification code sent previously, thereby ensuring the accuracy and reliability of the verification. Since the first encrypted data and the first SMS verification code are sent in different ways, the first encrypted data is sent via HTTP status code, and the SMS verification code is sent via SMS, and the SMS verification code is one-time, and only the terminal corresponding to the secondary card can receive the SMS verification code. Only when the first and second comparison results are consistent, the verification result is determined to be passed, thereby improving the system's accuracy in verifying the identity of the mobile terminal.
作为另一可选实施方式,在上述基于第一获取配置请求中携带的第二加密数据和第二短信验证码,对移动终端进行校验之前,该方法还可以包括如下步骤:若第一获取配置请求中未携带有第二短信验证码,则再次向移动终端发送第一短信验证码;As another optional implementation, before verifying the mobile terminal based on the second encrypted data and the second SMS verification code carried in the first configuration acquisition request, the method may further include the following steps: if the first configuration acquisition request does not carry the second SMS verification code, sending the first SMS verification code to the mobile terminal again;
若在预设时长内向移动终端发送第一短信验证码的次数超过预设次数,则向移动终端返回开户异常消息。If the number of times the first SMS verification code is sent to the mobile terminal within the preset time period exceeds the preset number, an account opening exception message is returned to the mobile terminal.
其中,开户异常消息指的是一种通知或警告,用于告知开户过程中出现的异常情况。当第一获取配置请求中未携带有第二短信验证码时,先确定在预设时长内向移动终端发送第一短信验证码的次数是否超过预设次数,例如:一天之内最多发送四次,若未超过,则向移动终端重新发送第一短信验证码;若超过,则向移动终端返回开户异常消息,例如:通知移动终端“请明天重新尝试发送开户请求进行开户”,或者,通知移动终端“今天四次开户机会已使用,若继续开户将对副卡进行锁定,请谨慎操作”等提示异常的消息。Among them, the abnormal account opening message refers to a notification or warning used to inform of abnormal situations that occur during the account opening process. When the first configuration acquisition request does not carry the second SMS verification code, first determine whether the number of times the first SMS verification code is sent to the mobile terminal within the preset time period exceeds the preset number, for example: a maximum of four times within one day, if not exceeded, then resend the first SMS verification code to the mobile terminal; if exceeded, return the abnormal account opening message to the mobile terminal, for example: notify the mobile terminal "Please try to send the account opening request again tomorrow to open the account", or notify the mobile terminal "Today's four account opening opportunities have been used. If you continue to open the account, the secondary card will be locked. Please operate with caution" and other abnormal prompt messages.
本申请实施例通过在开户过程中对发送第一短信验证码的频率和次数进行了限制和监控,以确保开户过程的安全性和合规性,通过限制重复发送验证码的次数,可以有效防止滥用和恶意操作,提高了系统的安全性和可靠性。The embodiment of the present application limits and monitors the frequency and number of times the first SMS verification code is sent during the account opening process to ensure the security and compliance of the account opening process. By limiting the number of times the verification code is repeatedly sent, abuse and malicious operations can be effectively prevented, thereby improving the security and reliability of the system.
S108,若校验结果为通过,则为副卡进行开户。S108: If the verification result is passed, an account is opened for the secondary card.
基于第一获取配置请求中携带的第二加密数据和第二短信验证码,对移动终端进行校验,当校验结果为通过时,为副卡进行开户;若校验结果为未通过,则向移动终端返回开户失败提示消息,可以通过开户失败提示消息告知移动终端的用户找相关工作人员解决并协助开户。Based on the second encrypted data and the second SMS verification code carried in the first configuration request, the mobile terminal is verified. When the verification result is passed, an account is opened for the secondary card. If the verification result is failed, an account opening failure prompt message is returned to the mobile terminal. The account opening failure prompt message can be used to inform the user of the mobile terminal to find relevant staff to resolve the issue and assist in opening an account.
本申请实施例通过接收移动终端发送的针对副卡的开户请求,并基于开户请求中携带的IMSI,向移动终端发送第一加密数据和第一短信验证码,然后接收移动终端发送的第一获取配置请求,并基于第一获取配置请求中携带的第二加密数据和第二短信验证码对移动终端进行校验,在校验结果为通过的情况下,为副卡进行开户,实现对副卡的5G消息服务的覆盖,支持副卡场景下5G消息开户流程,无需手动切换来使用副卡的数据网络进行开户,增强用户的使用体验和满意度,有利于5G消息业务的推广和发展,推动5G技术在通信领域的广泛应用和深入落地,同时,实现对副卡开户的自动化处理,减少用户手动操作的繁琐程度,提高开户流程的便捷性和效率,实现对移动终端身份和合法性的验证,从而保障开户过程的安全性和准确性,有效防止了非法用户的恶意访问和篡改,确保移动终端的合法性和可信度,从而保证副卡的开户过程的完整性和可靠性,为后续的服务提供了稳定的基础。The embodiment of the present application receives an account opening request for a secondary card sent by a mobile terminal, and based on the IMSI carried in the account opening request, sends first encrypted data and a first SMS verification code to the mobile terminal, then receives a first configuration acquisition request sent by the mobile terminal, and verifies the mobile terminal based on the second encrypted data and the second SMS verification code carried in the first configuration acquisition request. If the verification result is passed, an account is opened for the secondary card, thereby achieving coverage of the 5G message service for the secondary card, supporting the 5G message account opening process in the secondary card scenario, and no manual switching is required to use the data network of the secondary card for account opening, thereby enhancing the user's experience and satisfaction, being conducive to the promotion and development of 5G message services, and promoting the wide application and in-depth implementation of 5G technology in the communication field. At the same time, the automatic processing of the secondary card account opening is realized, the tediousness of the user's manual operation is reduced, the convenience and efficiency of the account opening process are improved, and the identity and legitimacy of the mobile terminal are verified, thereby ensuring the security and accuracy of the account opening process, effectively preventing malicious access and tampering by illegal users, ensuring the legitimacy and credibility of the mobile terminal, thereby ensuring the integrity and reliability of the secondary card account opening process, and providing a stable foundation for subsequent services.
作为一种可选实施方式,上述为副卡进行开户,可以包括如下步骤:基于IMSI和一级BOSS返回的MSISDN,通过一级BOSS向二级BOSS发送鉴权请求,鉴权请求用于请求对副卡进行鉴权;As an optional implementation, the above-mentioned opening of an account for a secondary card may include the following steps: based on the IMSI and the MSISDN returned by the primary BOSS, sending an authentication request to the secondary BOSS through the primary BOSS, where the authentication request is used to request authentication of the secondary card;
若接收到一级BOSS返回的鉴权成功消息,则在5G消息平台的用户信息中将副卡的开户状态设置为已开户,鉴权成功消息为二级BOSS对副卡鉴权成功后发送的。If the authentication success message returned by the first-level BOSS is received, the account opening status of the secondary card will be set to opened in the user information of the 5G message platform. The authentication success message is sent after the second-level BOSS successfully authenticates the secondary card.
其中,鉴权请求携带有IMSI和MSISDN。当二级BOSS接收到鉴权请求时,根据IMSI和MSISDN查询二级BOSS自己保存的用户信息,根据查询到的数据进行鉴权。作为一种示例,鉴权请求还携带有鉴权数据,包括用户终端的设备信息、用户数据、网络连接、副卡的身份、权限、账号状态信息等数据,通过一级BOSS发送至二级BOSS进行鉴权。二级BOSS通过对接收到的鉴权数据和自身存储的副卡的用户信息进行比对,若数据一致则通过鉴权,通过一级BOSS返回鉴权成功消息,通知5G消息平台副卡通过鉴权,可以开通5G消息;若数据不一致,则返回鉴权失败消息,副卡未通过鉴权,通知5G消息平台副卡未通过鉴权,不可开通5G消息。Among them, the authentication request carries IMSI and MSISDN. When the secondary BOSS receives the authentication request, it queries the user information saved by the secondary BOSS itself according to IMSI and MSISDN, and performs authentication based on the queried data. As an example, the authentication request also carries authentication data, including device information of the user terminal, user data, network connection, identity of the secondary card, authority, account status information and other data, which are sent to the secondary BOSS through the first-level BOSS for authentication. The secondary BOSS compares the received authentication data with the user information of the secondary card stored in itself. If the data is consistent, the authentication is passed, and the authentication success message is returned through the first-level BOSS, notifying the 5G message platform that the secondary card has passed the authentication and the 5G message can be activated; if the data is inconsistent, an authentication failure message is returned, the secondary card has not passed the authentication, and the 5G message platform is notified that the secondary card has not passed the authentication and the 5G message cannot be activated.
当接收到一级BOSS返回的鉴权成功消息,将副卡的开户状态更新为已开户,并5G消息平台的用户信息进行更新;当接收到一级BOSS返回的鉴权失败消息,则向移动终端返回开户失败提示信息,副卡的开户状态保持未开户,并对本次开户的过程以及结果进行记录和更新5G消息平台的用户信息,作为其他业务或下一次开户时用于判断是否可以开通5G消息的考虑因素之一。When the authentication success message returned by the first-level BOSS is received, the account opening status of the secondary card is updated to opened, and the user information of the 5G message platform is updated; when the authentication failure message returned by the first-level BOSS is received, the account opening failure prompt information is returned to the mobile terminal, the account opening status of the secondary card remains unopened, and the process and results of this account opening are recorded and the user information of the 5G message platform is updated, which will be used as one of the considerations for determining whether 5G messages can be activated for other services or the next account opening.
本申请实施例基于IMSI和MSISDN发送鉴权请求,系统可以确保只有合法的副卡才能进行开户,并且只有在鉴权成功后才会将开户状态设置为已开户,提高网络的安全性,通过向二级BOSS发送鉴权请求,并根据鉴权结果自动更新用户信息,实现副卡开户流程的自动化和快速化,提高用户体验,减少人工干预,同时加快了副卡开户的速度,通过将鉴权请求发送给二级BOSS进行处理,系统可以更好地适应不同的业务场景和网络环境,具有较高的可扩展性和灵活性。The embodiment of the present application sends an authentication request based on IMSI and MSISDN. The system can ensure that only a legitimate secondary card can open an account, and the account opening status will be set to opened only after the authentication is successful, thereby improving the security of the network. By sending an authentication request to the secondary BOSS and automatically updating the user information according to the authentication result, the secondary card account opening process is automated and accelerated, improving the user experience, reducing manual intervention, and speeding up the secondary card account opening process. By sending the authentication request to the secondary BOSS for processing, the system can better adapt to different business scenarios and network environments, and has high scalability and flexibility.
作为另一可选实施方式,在上述为副卡进行开户之前,该方法还可以包括如下步骤:向移动终端发送提示消息,提示消息用于提示移动终端延迟获取开户配置信息,提示消息携带有延迟时间信息;As another optional implementation, before opening an account for the secondary card, the method may further include the following steps: sending a prompt message to the mobile terminal, the prompt message being used to prompt the mobile terminal to delay obtaining the account opening configuration information, the prompt message carrying delay time information;
上述为副卡进行开户之后,该方法还可以包括如下步骤:接收移动终端发送的第二获取配置请求,第二获取配置请求为移动终端基于延迟时间信息发送的,第二获取配置请求中携带第三加密数据;After the secondary card account is opened, the method may further include the following steps: receiving a second configuration acquisition request sent by the mobile terminal, the second configuration acquisition request is sent by the mobile terminal based on the delay time information, and the second configuration acquisition request carries third encrypted data;
基于第三加密数据对移动终端进行校验;verifying the mobile terminal based on the third encrypted data;
若移动终端通过本次校验,则将副卡的开户配置信息发送至移动终端,开户配置信息用于移动终端使用5G消息。If the mobile terminal passes this verification, the account opening configuration information of the secondary card will be sent to the mobile terminal, and the account opening configuration information will be used by the mobile terminal to use 5G messages.
通过将延迟时间信息携带于提示消息中并发送至移动终端,通知移动终端在指定时间重新发送获取配置请求,避免移动终端在线等待,影响用户体验。移动终端接收到提示消息后,按照提示消息中延迟时间信息,在指定时间,将先前接收到第一加密数据携带于获取配置请求,重新发送至5G消息平台,即移动终端发送第二获取配置请求。By carrying the delay time information in the prompt message and sending it to the mobile terminal, the mobile terminal is notified to resend the configuration acquisition request at the specified time, so as to avoid the mobile terminal waiting online and affecting the user experience. After receiving the prompt message, the mobile terminal carries the previously received first encrypted data in the configuration acquisition request at the specified time according to the delay time information in the prompt message, and resends it to the 5G message platform, that is, the mobile terminal sends a second configuration acquisition request.
本申请实施例通过向移动终端发送提示消息,提示用户延迟获取开户配置信息,可以让用户在副卡开户过程中有清晰的指引和等待时间的预期,提升了用户体验和满意度,无需在线等待,另外,基于第二获取配置请求中携带的第三加密数据对移动终端进行校验,只有在移动终端通过校验后,才会将副卡的开户配置信息发送至移动终端,从而保障开户过程的安全性和准确性。The embodiment of the present application sends a prompt message to the mobile terminal to prompt the user to delay obtaining the account opening configuration information, so that the user can have clear guidance and waiting time expectations during the secondary card account opening process, thereby improving the user experience and satisfaction without the need to wait online. In addition, the mobile terminal is verified based on the third encrypted data carried in the second configuration acquisition request. Only after the mobile terminal passes the verification, the secondary card account opening configuration information will be sent to the mobile terminal, thereby ensuring the security and accuracy of the account opening process.
具体,作为一种可选实施方式,上述基于第三加密数据对移动终端进行校验,可以包括如下步骤:将第三加密数据与5G消息平台缓存的第一加密数据进行比对;Specifically, as an optional implementation, the verification of the mobile terminal based on the third encrypted data may include the following steps: comparing the third encrypted data with the first encrypted data cached by the 5G message platform;
若比对一致,则确定移动终端通过本次校验。If the comparison is consistent, it is determined that the mobile terminal has passed this verification.
其中,第三加密数据为移动终端先前接收到的第一加密数据。如果第三加密数据与第一加密数据一致,即通过本次校验,说明两次发送获取配置请求的为同一移动终端,避免第三方恶意获取开户配置信息,造成信息泄露。The third encrypted data is the first encrypted data previously received by the mobile terminal. If the third encrypted data is consistent with the first encrypted data, that is, it passes this verification, it means that the same mobile terminal sent the two configuration requests twice, avoiding malicious acquisition of account opening configuration information by a third party, resulting in information leakage.
作为一种示例,移动终端发送的第二获取配置请求中携带有IMSI。当接收到第二获取配置请求时,根据第二获取配请求中携带的IMSI,在5G消息平台的用户信息中查询IMSI对应的第一加密数据,将查询到的第一加密数据与第二获取请求中携带的第三加密数据进行比对,对移动终端的身份进行验证。As an example, the second configuration acquisition request sent by the mobile terminal carries IMSI. When the second configuration acquisition request is received, the first encrypted data corresponding to the IMSI is queried in the user information of the 5G message platform according to the IMSI carried in the second configuration acquisition request, and the queried first encrypted data is compared with the third encrypted data carried in the second acquisition request to verify the identity of the mobile terminal.
本申请实施例通过比对第三加密数据和5G消息平台缓存的第一加密数据,可以实现对移动终端身份的校验,比对一致则说明移动终端的身份校验成功,提高系统的安全性和防护能力,只有通过校验的移动终端才能获取开户配置信息,有效保护系统和用户的数据安全。The embodiment of the present application can verify the identity of the mobile terminal by comparing the third encrypted data with the first encrypted data cached by the 5G message platform. If the comparison is consistent, it means that the identity verification of the mobile terminal is successful, thereby improving the security and protection capabilities of the system. Only the mobile terminal that passes the verification can obtain the account opening configuration information, effectively protecting the data security of the system and users.
本申请实施例使用OTP和cookie方式对移动终端进行身份校验,在校验通过的情况,与BOSS交互为副卡进行开户。通过不同的方式向发送开户请求的移动终端下发OTP和cookie,同时,对OTP、cookie与IMSI、MSISDN及之间的对应关系进行缓存,当接收到移动发送的第一获取配置请求时,基于第一获取配置请求中携带的OTP和cookie以及IMSI,与缓存的数据,对移动终端进行身份校验,保证开户流程的可靠性和稳定性以及数据安全性。开户成功后,当接收到移动终端的第二获取配置请求时,还需要基于下发的cookie对移动终端的身份进行二次校验,并在校验通过的情况下将开户配置信息发送至移动终端,防止数据被第三方窃取,保证副卡开户全流程的安全性和可靠性。The embodiment of the present application uses OTP and cookies to verify the identity of the mobile terminal. If the verification is passed, it interacts with the BOSS to open an account for the secondary card. OTP and cookies are sent to the mobile terminal that sends the account opening request in different ways. At the same time, the correspondence between OTP, cookies, IMSI, MSISDN and the relationship between them is cached. When the first configuration acquisition request sent by the mobile is received, the mobile terminal is verified based on the OTP and cookies and IMSI carried in the first configuration acquisition request and the cached data to ensure the reliability and stability of the account opening process and data security. After the account is successfully opened, when the second configuration acquisition request of the mobile terminal is received, the identity of the mobile terminal needs to be verified again based on the issued cookie, and the account opening configuration information is sent to the mobile terminal if the verification is passed to prevent the data from being stolen by a third party and ensure the security and reliability of the entire process of secondary card account opening.
应理解是,图1所示的5G消息开户方法及流程中,移动终端和5G消息平台之间进行交互时,例如:接收的移动终端发送的开户请求、第一获取配置请求、第二获取配置请求等,均来自非本运营商的分组交换接入地址。It should be understood that in the 5G message account opening method and process shown in Figure 1, when the mobile terminal and the 5G message platform interact, for example: the account opening request, the first configuration acquisition request, the second configuration acquisition request, etc. sent by the mobile terminal are all from the packet switching access address of the non-operator.
请参见图2,为本申请的一个实施例提供的一种5G消息开户方法的流程示意图之二。如图2所示,本申请的一个实施例提供的一种5G消息开户方法,应用于移动终端,该方法可以包括如下步骤:Please refer to Figure 2, which is a second flow chart of a 5G message account opening method provided by an embodiment of the present application. As shown in Figure 2, a 5G message account opening method provided by an embodiment of the present application is applied to a mobile terminal, and the method may include the following steps:
202,通过分组交换接入地址,向5G消息平台发送针对副卡的开户请求,开户请求携带有副卡的国际移动用户识别码IMSI。202. Send an account opening request for the secondary card to the 5G message platform through the packet switching access address. The account opening request carries the international mobile user identity code IMSI of the secondary card.
204,基于5G消息平台发送的第一加密数据和第一短信验证码,向5G消息平台发送第一获取配置请求,第一获取配置请求中携带有第二加密数据和第二短信验证码,第二加密数据和第二短信验证码用于5G消息平台在对移动终端进行校验后为副卡进行开户。204. Based on the first encrypted data and the first SMS verification code sent by the 5G message platform, a first configuration acquisition request is sent to the 5G message platform. The first configuration acquisition request carries the second encrypted data and the second SMS verification code. The second encrypted data and the second SMS verification code are used by the 5G message platform to open an account for the secondary card after verifying the mobile terminal.
本申请实施例通过向5G消息平台发送开户请求,基于5G消息平台对开户请求的响应,接收第一加密数据和第一短信验证码,并基于第一加密数据和第一短信验证码,向5G消息平台发送第一获取配置请求,从而使得5G消息平台能够根据第一获取配置请求中携带的第二加密数据和第二短信验证码,对移动终端进行校验,并在校验通过的情况下,实现为副卡自动开户的过程,实现对副卡的5G消息服务的覆盖,支持副卡场景下5G消息开户流程,无需手动切换来使用副卡的数据网络进行开户,增强用户的使用体验和满意度,有利于5G消息业务的推广和发展,推动5G技术在通信领域的广泛应用和深入落地,同时,实现对副卡开户的自动化处理,减少用户手动操作的繁琐程度,提高开户流程的便捷性和效率,实现对移动终端身份和合法性的验证,从而保障开户过程的安全性和准确性,有效防止非法用户的恶意访问和篡改,确保移动终端的合法性和可信度,从而保证副卡的开户过程的完整性和可靠性,为后续的服务提供了稳定的基础。The embodiment of the present application sends an account opening request to the 5G messaging platform, receives the first encrypted data and the first SMS verification code based on the response of the 5G messaging platform to the account opening request, and sends a first configuration acquisition request to the 5G messaging platform based on the first encrypted data and the first SMS verification code, so that the 5G messaging platform can verify the mobile terminal according to the second encrypted data and the second SMS verification code carried in the first configuration acquisition request, and if the verification passes, realize the process of automatic account opening for the secondary card, realize the coverage of the 5G messaging service for the secondary card, support the 5G messaging account opening process in the secondary card scenario, and no manual switching is required to use the secondary card. Opening an account through the data network of the card can enhance the user experience and satisfaction, which is conducive to the promotion and development of 5G messaging services and the widespread application and in-depth implementation of 5G technology in the communication field. At the same time, it can realize the automated processing of secondary card account opening, reduce the tediousness of user manual operations, improve the convenience and efficiency of the account opening process, and verify the identity and legitimacy of the mobile terminal, thereby ensuring the security and accuracy of the account opening process, effectively preventing malicious access and tampering by illegal users, and ensuring the legitimacy and credibility of mobile terminals, thereby ensuring the integrity and reliability of the secondary card account opening process, and providing a stable foundation for subsequent services.
具体地,作为一种可选实施方式,上述204,可以包括如下步骤:基于5G消息平台对开户请求的响应,接收5G消息平台发送的第一加密数据和第一短信验证码;Specifically, as an optional implementation, the above 204 may include the following steps: based on the response of the 5G message platform to the account opening request, receiving the first encrypted data and the first SMS verification code sent by the 5G message platform;
将第一加密数据作为第二加密数据、将第一短信验证码作为第二短信验证码携带于第一获取配置请求中,并将第一获取配置请求发送至5G消息平台。The first encrypted data is used as the second encrypted data, and the first SMS verification code is used as the second SMS verification code in the first configuration acquisition request, and the first configuration acquisition request is sent to the 5G message platform.
5G消息平台接收到第一获取配置请求携带的第二加密数据和第二短信验证码后,将先前发送至移动终端的第一加密数据和第一获取配置请求携带的第二加密数据进行比对,将先前发送至移动终端的第一短信验证码和第一获取配置请求携带的第二短信验证码进行比对,并在两次比对结果均为一致的情况下,为副卡进行开户。After the 5G message platform receives the second encrypted data and the second SMS verification code carried by the first configuration acquisition request, it compares the first encrypted data previously sent to the mobile terminal with the second encrypted data carried by the first configuration acquisition request, and compares the first SMS verification code previously sent to the mobile terminal with the second SMS verification code carried by the first configuration acquisition request. If the results of the two comparisons are consistent, an account for the secondary card is opened.
本申请实施例通过对5G消息平台发送的第一加密数据和第一短信验证码进行处理,将第一加密数据,即第二加密数据和第一短信验证码,即第二短信验证码携带于第一获取配置请求中,并将第一获取配置请求发送至5G消息平台,以确保移动终端能够通过校验,实现副卡开户,同时也提高副卡开户流程的可靠性和安全性。The embodiment of the present application processes the first encrypted data and the first SMS verification code sent by the 5G message platform, carries the first encrypted data, i.e. the second encrypted data and the first SMS verification code, i.e. the second SMS verification code in a first configuration acquisition request, and sends the first configuration acquisition request to the 5G message platform to ensure that the mobile terminal can pass the verification and realize the secondary card account opening, while also improving the reliability and security of the secondary card account opening process.
作为另一种可选实施方式,在上述S204之后,所述方法还包括如下步骤:接收5G消息平台发送的提示消息,提示消息携带有延迟时间信息;As another optional implementation, after the above S204, the method further includes the following steps: receiving a prompt message sent by the 5G message platform, where the prompt message carries delay time information;
基于延迟时间信息,将第一加密数据作为第三加密数据携带于第二获取配置请求,并将第二获取配置请求发送至5G消息平台,第三加密数据用于5G消息平台在对移动终端进行校验后返回开户配置信息,开户配置信息用于使用5G消息。Based on the delay time information, the first encrypted data is carried as the third encrypted data in the second configuration acquisition request, and the second configuration acquisition request is sent to the 5G message platform. The third encrypted data is used by the 5G message platform to return the account opening configuration information after verifying the mobile terminal, and the account opening configuration information is used to use 5G messages.
接收到提示消息并确定发送第二获取配置请求的时间,然后将先前接收到的第一加密数据,即第三加密数据携带于获取配置请求,即第二获取配置请求并将第二获取配置请求发送至5G消息平台。5G消息平台接收到到第三加密数据后对移动终端进行校验,若通过校验,则副卡的开户配置信息返回至移动终端。移动终端根据接收到的开户配置信息使用5G消息服务。After receiving the prompt message and determining the time to send the second configuration acquisition request, the previously received first encrypted data, i.e., the third encrypted data, is carried in the configuration acquisition request, i.e., the second configuration acquisition request, and the second configuration acquisition request is sent to the 5G message platform. After receiving the third encrypted data, the 5G message platform verifies the mobile terminal. If the verification passes, the secondary card account opening configuration information is returned to the mobile terminal. The mobile terminal uses the 5G message service according to the received account opening configuration information.
本申请实施例通过接收5G消息平台发送的提示消息并处理提示消息中携带的延迟时间信息,已确定向5G消息平台发送第二获取配置请求的时间,具体地,将第一加密数据作为第三加密数据携带于第二获取配置请求,并将第二获取配置请求发送至5G消息平台,实现在校验后获取到开户配置信息的功能,提高开户流程的灵活性和可靠性,增强副卡开户的用户体验和安全性,另外,可以让用户在副卡开户过程中有清晰的指引和等待时间的预期,提升了用户体验和满意度,无需在线等待。The embodiment of the present application has determined the time to send a second configuration acquisition request to the 5G message platform by receiving a prompt message sent by the 5G message platform and processing the delay time information carried in the prompt message. Specifically, the first encrypted data is carried as the third encrypted data in the second configuration acquisition request, and the second configuration acquisition request is sent to the 5G message platform, thereby realizing the function of obtaining the account opening configuration information after verification, improving the flexibility and reliability of the account opening process, and enhancing the user experience and security of secondary card account opening. In addition, users can have clear guidance and waiting time expectations during the secondary card account opening process, thereby improving user experience and satisfaction without the need to wait online.
请参见图3,为本申请的一个实施例提供的一种5G消息开户方法的流程示意图之三。如图3所示,本申请的一个实施例提供的一种5G消息开户方法,该方法可以包括如下步骤:Please refer to Figure 3, which is a flowchart of a 5G message account opening method provided by an embodiment of the present application. As shown in Figure 3, a 5G message account opening method provided by an embodiment of the present application may include the following steps:
S302,移动终端通过分组交换接入地址,向5G消息平台发送针对副卡的开户请求,开户请求携带有副卡的国际移动用户识别码IMSI。S302, the mobile terminal sends an account opening request for the secondary card to the 5G message platform through the packet switching access address. The account opening request carries the international mobile user identification code IMSI of the secondary card.
S304,5G消息平台在分组交换接入地址属于非本运营商的情况下,响应于开户请求,基于IMSI,向移动终端发送第一加密数据和第一短信验证码。S304, when the packet switching access address belongs to a non-operator, the 5G message platform responds to the account opening request and sends the first encrypted data and the first SMS verification code to the mobile terminal based on the IMSI.
具体地,5G消息平台接收到开户请求后,先判断开户请求的分组交换接入地址是否属于非本运营商,若是,则将开户请求中的IMSI携带于查询请求中并将查询请求发送至一级业务运营支持系统BOSS,然后,接收一级BOSS根据IMSI返回的MSISDN,并基于MSISDN,向移动终端发送第一加密数据和第一短信验证码,同时,对第一加密数据、第一短信验证码IMSI和MSISDN以及几者之间的对应关系进行缓存。Specifically, after receiving the account opening request, the 5G message platform first determines whether the packet switching access address of the account opening request belongs to a non-operator. If so, the IMSI in the account opening request is carried in the query request and the query request is sent to the first-level business operation support system BOSS. Then, the MSISDN returned by the first-level BOSS based on the IMSI is received, and based on the MSISDN, the first encrypted data and the first SMS verification code are sent to the mobile terminal. At the same time, the first encrypted data, the first SMS verification code IMSI and MSISDN, as well as the correspondence between them, are cached.
S306,移动终端基于接收到的第一加密数据和第一短信验证码,向5G消息平台发送第一获取配置请求,第一获取配置请求携带有第二加密数据和第二短信验证码。S306: The mobile terminal sends a first configuration acquisition request to the 5G message platform based on the received first encrypted data and the first SMS verification code. The first configuration acquisition request carries the second encrypted data and the second SMS verification code.
具体地,移动终端接收到5G消息平台发送的第一加密数据和第一短信验证码后,将第一加密数据作为第二加密数据、将第一短信验证码作为第二短信验证码携带于第一获取配置请求中,并将第一获取配置请求发送至5G消息平台。Specifically, after the mobile terminal receives the first encrypted data and the first SMS verification code sent by the 5G message platform, it carries the first encrypted data as the second encrypted data and the first SMS verification code as the second SMS verification code in the first configuration acquisition request, and sends the first configuration acquisition request to the 5G message platform.
S308,5G消息平台接收第一获取配置请求,基于第一获取配置请求携带的第二加密数据和第二短信验证码,对移动终端进行校验,若校验结果为通过,则为副卡进行开户。S308, the 5G message platform receives the first configuration acquisition request, and verifies the mobile terminal based on the second encrypted data and the second SMS verification code carried in the first configuration acquisition request. If the verification result is passed, an account is opened for the secondary card.
具体地,5G消息平台接收到第一获取配置请求后,将5G消息平台缓存的第一加密数据与第一获取配置请求携带的第二加密数据进行比对,将5G消息平台缓存的第一短信验证码与第一获取配置请求携带的第二短信验证码进行比对,对移动终端进行校验,若两次比对的结果均为一致,则校验结果为通过,并在校验通过的情况下,通过一级BOSS向二级BOSS发送鉴权请求,鉴权请求用于请求对副卡进行鉴权,鉴权请求携带有IMSI和MSISDN,若接收到一级BOSS返回的鉴权成功消息,则在5G消息平台的用户信息中将副卡的开户状态设置为已开户,鉴权成功消息为二级BOSS对副卡鉴权成功后发送的。Specifically, after receiving the first configuration acquisition request, the 5G message platform compares the first encrypted data cached by the 5G message platform with the second encrypted data carried by the first configuration acquisition request, and compares the first SMS verification code cached by the 5G message platform with the second SMS verification code carried by the first configuration acquisition request, and verifies the mobile terminal. If the results of the two comparisons are consistent, the verification result is passed. If the verification passes, an authentication request is sent to the second-level BOSS through the first-level BOSS. The authentication request is used to request authentication of the secondary card. The authentication request carries IMSI and MSISDN. If an authentication success message is received from the first-level BOSS, the account opening status of the secondary card is set to opened in the user information of the 5G message platform. The authentication success message is sent by the second-level BOSS after the secondary card is successfully authenticated.
在校验通过的情况下,5G消息平台还可以向移动终端发送提示消息,提示消息用于提示移动终端延迟获取开户配置信息,提示消息携带有延迟时间信息。If the verification is passed, the 5G message platform can also send a prompt message to the mobile terminal. The prompt message is used to prompt the mobile terminal to delay obtaining the account opening configuration information. The prompt message carries delay time information.
移动终端接收到提示消息后,根据提示消息中携带的延迟时间信息,确定获取开户配置信息的时间,在确定好的时间点,将先前接收到的第一加密数据作为第三加密数据携带于第二获取配置请求,并将第二获取配置请求发送至5G消息平台。After the mobile terminal receives the prompt message, it determines the time to obtain the account opening configuration information based on the delay time information carried in the prompt message. At the determined time point, it carries the previously received first encrypted data as the third encrypted data in the second configuration acquisition request, and sends the second configuration acquisition request to the 5G message platform.
5G消息平台接收到第二获取配置请求后,将第二获取配置请求中携带的第三加密数据与5G消息平台缓存的第一加密数据进行比对,若比对一致,则确定移动终端通过本次校验,在本次校验为通过的情况下,将副卡的开户配置信息发送至移动终端。After receiving the second configuration acquisition request, the 5G message platform compares the third encrypted data carried in the second configuration acquisition request with the first encrypted data cached by the 5G message platform. If the comparison is consistent, it is determined that the mobile terminal has passed this verification. If this verification passes, the secondary card account opening configuration information is sent to the mobile terminal.
移动终端接收开户配置信息,并基于开户配置信息使用5G消息。The mobile terminal receives the account opening configuration information and uses 5G messages based on the account opening configuration information.
本申请实施例中移动终端通过分组交换接入地址,向5G消息平台发送针对副卡的开户请求,然后,5G消息平台在分组交换接入地址属于非本运营商的情况下,基于开户请求中携带的IMSI,向移动终端发送第一加密数据和第一短信验证码,接着移动终端基于接收到的第一加密数据和所述第一短信验证码,向5G消息平台发送第一获取配置请求,第一获取配置请求携带有第二加密数据和第二短信验证码,然后5G消息平台基于第一获取配置请求携带的第二加密数据和第二短信验证码,对移动终端进行校验,若校验结果为通过,则为副卡进行开户,实现对副卡的5G消息服务的覆盖,支持副卡场景下5G消息开户流程,无需手动切换来使用副卡的数据网络进行开户,增强用户的使用体验和满意度,有利于5G消息业务的推广和发展,推动5G技术在通信领域的广泛应用和深入落地,同时,实现对副卡开户的自动化处理,减少用户手动操作的繁琐程度,提高开户流程的便捷性和效率,实现对移动终端身份和合法性的验证,从而保障开户过程的安全性和准确性,有效防止非法用户的恶意访问和篡改,确保移动终端的合法性和可信度,从而保证副卡的开户过程的完整性和可靠性,为后续的服务提供了稳定的基础。In the embodiment of the present application, the mobile terminal sends an account opening request for the secondary card to the 5G message platform through the packet switching access address. Then, when the packet switching access address belongs to a non-operating operator, the 5G message platform sends first encrypted data and a first SMS verification code to the mobile terminal based on the IMSI carried in the account opening request. Then, the mobile terminal sends a first configuration acquisition request to the 5G message platform based on the received first encrypted data and the first SMS verification code. The first configuration acquisition request carries second encrypted data and a second SMS verification code. Then, the 5G message platform verifies the mobile terminal based on the second encrypted data and the second SMS verification code carried in the first configuration acquisition request. If the verification result is passed, an account is opened for the secondary card to achieve The coverage of 5G message service for secondary cards supports the 5G message account opening process in the secondary card scenario. There is no need to manually switch to use the data network of the secondary card to open an account, which enhances the user experience and satisfaction. It is conducive to the promotion and development of 5G message services and promotes the widespread application and in-depth implementation of 5G technology in the communication field. At the same time, it realizes the automated processing of secondary card account opening, reduces the tediousness of user manual operations, improves the convenience and efficiency of the account opening process, and realizes the verification of the identity and legitimacy of the mobile terminal, thereby ensuring the security and accuracy of the account opening process, effectively preventing malicious access and tampering by illegal users, and ensuring the legitimacy and credibility of mobile terminals, thereby ensuring the integrity and reliability of the secondary card account opening process, providing a stable foundation for subsequent services.
下面以一个实际的应用场景来对本申请实施例提供的5G消息开户方法进行说明,不应理解为对本申请实施例方法的限定。请参见图4,图4为本申请的一个实施例提供的一种5G消息开户方法的应用场景示意图。如图4所示,该应用场景包括:5G消息平台、5G消息终端和BOSS。5G消息平台包括消息处理模块、短信处理模块和设备管理模块DM。5G消息终端,即移动终端,该终端安装有与5G消息平台进行通讯的应用程序,并且该终端的实体设备副卡槽装载有电话卡,即副卡。BOSS包括网状网BOSS,即一级BOSS和省级BOSS,即二级BOSS。请参见图5,图5为本申请的一个实施例提供的另一种5G消息开户方法的流程示意图。如图5所示,在图4所示场景下,副卡的开户流程具体为:The following is an actual application scenario to illustrate the 5G message account opening method provided in the embodiment of the present application, which should not be understood as a limitation on the method of the embodiment of the present application. Please refer to Figure 4, which is a schematic diagram of an application scenario of a 5G message account opening method provided by an embodiment of the present application. As shown in Figure 4, the application scenario includes: a 5G message platform, a 5G message terminal and a BOSS. The 5G message platform includes a message processing module, a text message processing module and a device management module DM. The 5G message terminal, that is, a mobile terminal, is installed with an application for communicating with the 5G message platform, and the physical device secondary card slot of the terminal is loaded with a phone card, that is, a secondary card. BOSS includes a mesh network BOSS, that is, a first-level BOSS and a provincial BOSS, that is, a second-level BOSS. Please refer to Figure 5, which is a flow chart of another 5G message account opening method provided by an embodiment of the present application. As shown in Figure 5, in the scenario shown in Figure 4, the account opening process of the secondary card is specifically as follows:
S502:DM接收5G消息终端发送的开户请求。S502: DM receives the account opening request sent by the 5G message terminal.
DM收到5G消息终端的开户请求后,先判断用户请求是否来自本运营商的PS接入地址,如果不是,则确定开户请求为5G消息终端针对副卡发送的开户请求,开户请求中携带有副卡的国际移动用户识别码IMSI,同时,DM通过5G消息平台在本地存储的用户信息,查询副卡的开户状态,如果副卡未开户,则进入开户准备流程。After DM receives the account opening request from the 5G message terminal, it first determines whether the user request comes from the PS access address of this operator. If not, it determines that the account opening request is an account opening request sent by the 5G message terminal for the secondary card. The account opening request carries the international mobile user identification code IMSI of the secondary card. At the same time, DM queries the account opening status of the secondary card through the user information stored locally on the 5G message platform. If the secondary card has not been opened, it enters the account opening preparation process.
S504:DM向BOSS发送查询请求。S504: DM sends a query request to BOSS.
进入开户准备流程后,DM先是向网状网BOSS发送查询请求,查询副卡的移动台国际用户识别码MSISDN,查询请求中携带有副卡的IMSI;网状网BOSS接收到设备管理模块DM的请求后,根据查询请求中携带的IMSI,查询副卡的MSISDN,并将查询到的MSISDN返回给DM。After entering the account opening preparation process, DM first sends a query request to the mesh network BOSS to query the mobile station international user identification code MSISDN of the secondary card. The query request carries the IMSI of the secondary card. After the mesh network BOSS receives the request from the device management module DM, it queries the MSISDN of the secondary card based on the IMSI carried in the query request, and returns the queried MSISDN to DM.
S506:DM向5G消息终端发送第一加密数据。S506: DM sends the first encrypted data to the 5G message terminal.
DM收到网状网BOSS返回的MSISDN后,向终端返回HTTP 200OK消息,消息中携带cookie,即第一加密数据。Cookie包含MSISDN、时间、随机校验码等信息。同时将cookie与MSISDN、IMSI及之间的对应关系进行缓存。After receiving the MSISDN returned by the mesh network BOSS, the DM returns an HTTP 200OK message to the terminal, which carries a cookie, i.e., the first encrypted data. The cookie contains information such as MSISDN, time, and random checksum. At the same time, the corresponding relationship between the cookie, MSISDN, and IMSI is cached.
S508:DM通过短信处理模块,向5G消息终端发送第一短信验证码。S508: DM sends the first SMS verification code to the 5G message terminal through the SMS processing module.
Cookie下发后,DM接着通过短信处理模块,以短信的方式向5G消息终端下发OTP,即第一短信验证码,用以通知5G消息终端发起获取配置请求,即第一获取配置请求,同时,将OTP与MSISDN、IMSI及之间的对应关系进行缓存。短信处理模块成功将OTP短信发送给5G消息终端后,向DM返回回执信息,DM根据回执信息判断OTP是否下发成功。After the Cookie is sent, the DM then sends the OTP, i.e., the first SMS verification code, to the 5G message terminal via SMS through the SMS processing module to notify the 5G message terminal to initiate a configuration acquisition request, i.e., the first configuration acquisition request. At the same time, the correspondence between the OTP and the MSISDN, IMSI and the other is cached. After the SMS processing module successfully sends the OTP SMS to the 5G message terminal, it returns the receipt information to the DM, and the DM determines whether the OTP is successfully sent based on the receipt information.
S510:DM接收5G消息终端的第一获取配置请求。S510: DM receives the first configuration acquisition request of the 5G message terminal.
5G消息终端收到OTP短信并判断为5G消息OTP短信后,将OTP和cookie,即第二短信验证码和第二加密数据携带于获取配置请求,即第一获取配置请求中并发送至DM。After the 5G message terminal receives the OTP SMS and determines it to be a 5G message OTP SMS, it carries the OTP and cookie, i.e. the second SMS verification code and the second encrypted data, in the configuration acquisition request, i.e. the first configuration acquisition request, and sends it to the DM.
S512:DM对5G消息终端进行第一次校验。S512: DM performs the first verification on the 5G message terminal.
DM收到第一获取配置请求后,先校验OTP和cookie,确认OTP和cookie与5G消息平台缓存的OTP和cookie是否匹配,均匹配的情况下,则5G消息终端的身份校验成功。After DM receives the first configuration request, it first verifies the OTP and cookie to confirm whether the OTP and cookie match the OTP and cookie cached by the 5G message platform. If they match, the identity verification of the 5G message terminal is successful.
S514:DM向5G消息终端发送提示消息。S514: DM sends a prompt message to the 5G message terminal.
5G消息终端的身份校验成功后,DM向5G消息终端返回503retry-after消息,即提示消息,消息中携带延迟时间,以便设备管理模块并行进行开户,不用终端在线等待。After the identity verification of the 5G message terminal is successful, DM returns a 503retry-after message, i.e. a prompt message, to the 5G message terminal. The message carries a delay time so that the device management module can open an account in parallel without the terminal waiting online.
S516:DM通过消息处理模块,向BOSS发送鉴权请求。S516: DM sends an authentication request to BOSS through the message processing module.
DM发送提示消息后,通过消息处理模块向网状网BOSS发送鉴权请求。网状网BOSS与省BOSS交互,省BOSS对5G消息终端状态以及是否允许开通5G消息进行判断,鉴权通过后,向消息处理模块返回鉴权成功消息。消息处理模块向DM返回鉴权成功消息。DM收到鉴权成功消息对5G消息平台的用户信息进行更新,将副卡的开卡状态设置为已开户,然后等待5G消息终端再次发起请求获取配置,即第二获取配置请求。After DM sends the prompt message, it sends an authentication request to the mesh network BOSS through the message processing module. The mesh network BOSS interacts with the provincial BOSS, and the provincial BOSS judges the status of the 5G message terminal and whether the 5G message is allowed to be opened. After the authentication is passed, it returns an authentication success message to the message processing module. The message processing module returns an authentication success message to DM. After receiving the authentication success message, DM updates the user information of the 5G message platform, sets the card opening status of the secondary card to opened, and then waits for the 5G message terminal to initiate a request to obtain the configuration again, that is, the second configuration acquisition request.
S518:DM接收5G消息终端的第二获取配置请求。S518: DM receives the second configuration acquisition request of the 5G message terminal.
5G消息终端在延迟时间到后再次发起获取配置请求,即第二获取配置请求,第二获取配置请求中携带之前DM下发的cookie,即第三加密数据。After the delay time expires, the 5G message terminal initiates a configuration acquisition request again, that is, a second configuration acquisition request. The second configuration acquisition request carries the cookie previously sent by the DM, that is, the third encrypted data.
S520:DM对5G消息终端进行第二次校验。S520: DM performs a second verification on the 5G message terminal.
DM收到第二获取配置请求后对cookie进行校验,若第二获取配置请求中携带的cookie与5G消息平台缓存的cookie一致,则校验成功。After receiving the second configuration acquisition request, DM verifies the cookie. If the cookie carried in the second configuration acquisition request is consistent with the cookie cached by the 5G message platform, the verification is successful.
S522:DM向5G消息终端发送开户配置信息。S522: DM sends account opening configuration information to the 5G message terminal.
第二次校验成功后检查用户信息,发现5G消息终端是已开户用户,于是向5G消息终端下发开户配置信息。After the second verification is successful, the user information is checked and it is found that the 5G message terminal is an account-opened user, so the account opening configuration information is sent to the 5G message terminal.
应理解的是,上述步骤S506和S508的执行顺序可以交换,也可以是同时执行;上述步骤S514和S516的执行顺序可以交换也可以同时,具体采用何种执行顺序均不影响本申请实施例方法的效果。It should be understood that the execution order of the above steps S506 and S508 can be exchanged or executed simultaneously; the execution order of the above steps S514 and S516 can be exchanged or executed simultaneously, and the specific execution order adopted does not affect the effect of the method of the embodiment of the present application.
上述对本说明书特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
与上述图1所示的5G消息开户方法相对应地,本申请实施例还提出一种5G消息开户装置。请参见图6,为本申请的一个实施例提供的一种5G消息开户装置600的结构示意图,该装置600,应用于5G消息平台,包括:设备管理模块DM610、短信处理模块620和消息处理模块630。Corresponding to the 5G message account opening method shown in FIG1 above, the embodiment of the present application also proposes a 5G message account opening device. Please refer to FIG6, which is a structural diagram of a 5G message account opening device 600 provided in an embodiment of the present application. The device 600 is applied to the 5G message platform and includes: a device management module DM610, a short message processing module 620 and a message processing module 630.
所述DM610,用于接收移动终端发送的针对副卡的开户请求,所述开户请求来自非本运营商的分组交换接入地址,所述开户请求携带有所述副卡的国际移动用户识别码IMSI。The DM610 is used to receive an account opening request for a secondary card sent by a mobile terminal, wherein the account opening request comes from a packet switching access address not belonging to the operator, and carries the International Mobile Subscriber Identity IMSI of the secondary card.
所述短信处理模块620,用于响应于所述开户请求,基于所述IMSI,向所述移动终端发送第一加密数据和第一短信验证码。The SMS processing module 620 is used to send first encrypted data and a first SMS verification code to the mobile terminal based on the IMSI in response to the account opening request.
所述DM610,还用于接收所述移动终端发送的第一获取配置请求,并基于所述第一获取配置请求中携带的第二加密数据和第二短信验证码,对所述移动终端进行校验。The DM610 is further configured to receive a first configuration acquisition request sent by the mobile terminal, and verify the mobile terminal based on the second encrypted data and the second SMS verification code carried in the first configuration acquisition request.
所述消息处理模块630,用于若校验结果为通过,则为所述副卡进行开户。The message processing module 630 is used to open an account for the secondary card if the verification result is passed.
可选地,所述DM610还用于在所述短信处理模块620在所述基于所述IMSI,向所述移动终端发送第一加密数据和第一短信验证码时,执行如下步骤:向一级业务运营支持系统BOSS发送查询请求,所述查询请求携带有所述IMSI,所述查询请求用于请求查询所述副卡的移动台国际用户识别码MSISDN;Optionally, the DM610 is further configured to, when the SMS processing module 620 sends the first encrypted data and the first SMS verification code to the mobile terminal based on the IMSI, perform the following steps: send a query request to a primary business operation support system BOSS, the query request carrying the IMSI, the query request being used to request querying the mobile station international subscriber identity code MSISDN of the secondary card;
接收所述一级BOSS基于所述IMSI返回的MSISDN;Receiving the MSISDN returned by the primary BOSS based on the IMSI;
所述短信处理模块620用于基于所述一级BOSS返回的MSISDN,向所述移动终端发送所述第一加密数据和所述第一短信验证码。The SMS processing module 620 is used to send the first encrypted data and the first SMS verification code to the mobile terminal based on the MSISDN returned by the first-level BOSS.
可选地,所述消息处理模块630用于在所述为所述副卡进行开户时,可以执行如下步骤:基于所述IMSI和所述一级BOSS返回的MSISDN,通过所述一级BOSS向二级BOSS发送鉴权请求,所述鉴权请求用于请求对所述副卡进行鉴权;Optionally, the message processing module 630 is used to perform the following steps when opening an account for the secondary card: based on the IMSI and the MSISDN returned by the primary BOSS, send an authentication request to the secondary BOSS through the primary BOSS, where the authentication request is used to request authentication of the secondary card;
若接收到所述一级BOSS返回的鉴权成功消息,则在所述5G消息平台的用户信息中将所述副卡的开户状态设置为已开户,所述鉴权成功消息为所述二级BOSS对所述副卡鉴权成功后发送的。If an authentication success message is received from the first-level BOSS, the account opening status of the secondary card is set to opened in the user information of the 5G message platform. The authentication success message is sent after the second-level BOSS successfully authenticates the secondary card.
可选地,所述DM610用于在所述基于所述第一获取配置请求中携带的第二加密数据和第二短信验证码,对所述移动终端进行校验时,可以执行如下步骤:将所述第一加密数据与所述第二加密数据进行比对,得到第一比对结果;Optionally, the DM610 is used to perform the following steps when verifying the mobile terminal based on the second encrypted data and the second SMS verification code carried in the first configuration acquisition request: comparing the first encrypted data with the second encrypted data to obtain a first comparison result;
将所述第一短信验证码与所述第二短信验证码进行比对,得到第二比对结果;Compare the first SMS verification code with the second SMS verification code to obtain a second comparison result;
若所述第一比对结果和所述第二比对结果均为一致,则确定校验结果为通过。If the first comparison result and the second comparison result are both consistent, the verification result is determined to be passed.
可选地,所述DM610还用于在所述基于所述第一获取配置请求中携带的第二加密数据和第二短信验证码,对所述移动终端进行校验之前,执行如下步骤:若所述第一获取配置请求中未携带有第二短信验证码,则再次向所述移动终端发送所述第一短信验证码;Optionally, the DM610 is further configured to perform the following steps before verifying the mobile terminal based on the second encrypted data and the second SMS verification code carried in the first configuration acquisition request: if the first configuration acquisition request does not carry the second SMS verification code, sending the first SMS verification code to the mobile terminal again;
若在预设时长内向所述移动终端发送所述第一短信验证码的次数超过预设次数,则向所述移动终端返回开户异常消息。If the number of times the first SMS verification code is sent to the mobile terminal within a preset time period exceeds a preset number, an account opening exception message is returned to the mobile terminal.
可选地,所述DM610,还用于在所述消息处理模块630在所述为所述副卡进行开户之前,执行如下步骤:向所述移动终端发送提示消息,所述提示消息用于提示所述移动终端延迟获取开户配置信息,所述提示消息携带有延迟时间信息;Optionally, the DM610 is further configured to, before the message processing module 630 opens an account for the secondary card, perform the following steps: sending a prompt message to the mobile terminal, the prompt message being used to prompt the mobile terminal to delay obtaining the account opening configuration information, the prompt message carrying delay time information;
所述DM610,还用于在所述消息处理模块630在所述为所述副卡进行开户之后,执行如下步骤:接收所述移动终端发送的第二获取配置请求,所述第二获取配置请求为所述移动终端基于所述延迟时间信息发送的,所述第二获取配置请求中携带第三加密数据;The DM610 is further configured to, after the message processing module 630 opens an account for the secondary card, perform the following steps: receiving a second configuration acquisition request sent by the mobile terminal, the second configuration acquisition request being sent by the mobile terminal based on the delay time information, the second configuration acquisition request carrying third encrypted data;
基于所述第三加密数据对所述移动终端进行校验;verifying the mobile terminal based on the third encrypted data;
若所述移动终端通过本次校验,则将所述副卡的开户配置信息发送至所述移动终端,所述开户配置信息用于所述移动终端使用5G消息。If the mobile terminal passes this verification, the account opening configuration information of the secondary card will be sent to the mobile terminal, and the account opening configuration information will be used by the mobile terminal to use 5G messages.
可选地,所述DM610用于在所述基于所述第三加密数据对所述移动终端进行校验时,可以执行如下步骤:将所述第三加密数据与所述5G消息平台缓存的所述第一加密数据进行比对;Optionally, the DM610 is used to perform the following steps when verifying the mobile terminal based on the third encrypted data: comparing the third encrypted data with the first encrypted data cached by the 5G message platform;
若比对一致,则确定所述移动终端通过本次校验。If the comparison is consistent, it is determined that the mobile terminal has passed this verification.
显然,本申请实施例提供的5G消息开户装置能够作为图1所示的5G消息开户方法的执行主体,例如图1所示的5G消息开户方法中,步骤S102可由图6所示的5G消息开户装置中的设备管理模块DM610执行,步骤S104可由图6所示的5G消息开户装置中的短信处理模块620执行,步骤S106可由图6所示的5G消息开户装置中的设备管理模块DM610执行,步骤S108可由图6所示的5G消息开户装置中的消息处理模块DM630执行。Obviously, the 5G message account opening device provided in the embodiment of the present application can serve as the execution subject of the 5G message account opening method shown in Figure 1. For example, in the 5G message account opening method shown in Figure 1, step S102 can be executed by the device management module DM610 in the 5G message account opening device shown in Figure 6, step S104 can be executed by the SMS processing module 620 in the 5G message account opening device shown in Figure 6, step S106 can be executed by the device management module DM610 in the 5G message account opening device shown in Figure 6, and step S108 can be executed by the message processing module DM630 in the 5G message account opening device shown in Figure 6.
与上述图2所示的5G消息开户方法相对应地,本申请实施例还提出一种5G消息开户装置。请参见图7,为本申请的一个实施例提供的一种5G消息开户装置700的结构示意图,该装置700,应用于5G消息平台,包括:第一发送单元710、第二发送单元720。Corresponding to the 5G message account opening method shown in FIG2 above, the embodiment of the present application also proposes a 5G message account opening device. Please refer to FIG7, which is a structural diagram of a 5G message account opening device 700 provided in an embodiment of the present application. The device 700 is applied to a 5G message platform and includes: a first sending unit 710 and a second sending unit 720.
所述第一发送单元710,用于通过分组交换接入地址,向5G消息平台发送针对副卡的开户请求,所述开户请求携带有所述副卡的国际移动用户识别码IMSI。The first sending unit 710 is used to send an account opening request for the secondary card to the 5G message platform through a packet switching access address, and the account opening request carries the international mobile user identity code IMSI of the secondary card.
所述第二发送单元720,用于基于所述5G消息平台发送的第一加密数据和第一短信验证码,向所述5G消息平台发送第一获取配置请求,所述第一获取配置请求中携带有第二加密数据和第二短信验证码,所述第二加密数据和所述第二短信验证码用于所述5G消息平台在对所述移动终端进行校验后为所述副卡进行开户。The second sending unit 720 is used to send a first configuration acquisition request to the 5G message platform based on the first encrypted data and the first SMS verification code sent by the 5G message platform, wherein the first configuration acquisition request carries second encrypted data and a second SMS verification code, and the second encrypted data and the second SMS verification code are used by the 5G message platform to open an account for the secondary card after verifying the mobile terminal.
可选地,所述第二发送单元720在所述基于所述5G消息平台发送的第一加密数据和第一短信验证码,向所述5G消息平台发送第一获取配置请求时,可以执行如下步骤:基于所述5G消息平台对所述开户请求的响应,接收所述5G消息平台发送的所述第一加密数据和所述第一短信验证码;Optionally, when the second sending unit 720 sends the first configuration acquisition request to the 5G message platform based on the first encrypted data and the first SMS verification code sent by the 5G message platform, it can perform the following steps: based on the response of the 5G message platform to the account opening request, receive the first encrypted data and the first SMS verification code sent by the 5G message platform;
将所述第一加密数据作为所述第二加密数据、将所述第一短信验证码作为所述第二短信验证码携带于所述第一获取配置请求中,并将所述第一获取配置请求发送至所述5G消息平台。The first encrypted data is used as the second encrypted data, and the first SMS verification code is used as the second SMS verification code in the first configuration acquisition request, and the first configuration acquisition request is sent to the 5G message platform.
可选地,所述5G消息开户装置700,还包括:接收单元;Optionally, the 5G message account opening device 700 further includes: a receiving unit;
所述接收单元,用于在所述第二发送单元720在所述基于所述5G消息平台发送的第一加密数据和第一短信验证码,向所述5G消息平台发送第一获取配置请求之后,执行如下步骤:接收所述5G消息平台发送的提示消息,所述提示消息携带有延迟时间信息;The receiving unit is configured to perform the following steps after the second sending unit 720 sends a first configuration acquisition request to the 5G message platform based on the first encrypted data and the first SMS verification code sent by the 5G message platform: receiving a prompt message sent by the 5G message platform, wherein the prompt message carries delay time information;
基于所述延迟时间信息,将所述第一加密数据作为第三加密数据携带于第二获取配置请求,并将所述第二获取配置请求发送至所述5G消息平台,所述第三加密数据用于所述5G消息平台在对所述移动终端进行校验后返回开户配置信息,所述开户配置信息用于使用5G消息。Based on the delay time information, the first encrypted data is carried as the third encrypted data in the second configuration acquisition request, and the second configuration acquisition request is sent to the 5G message platform. The third encrypted data is used by the 5G message platform to return the account opening configuration information after verifying the mobile terminal, and the account opening configuration information is used for using 5G messages.
显然,本申请实施例提供的5G消息开户装置能够作为图2所示的5G消息开户方法的执行主体,例如图2所示的5G消息开户方法中,步骤S202可由图7所示的5G消息开户装置中的第一发送单元710执行,步骤S204可由图7所示的5G消息开户装置中的第二发送单元720执行。Obviously, the 5G message account opening device provided in the embodiment of the present application can serve as the execution subject of the 5G message account opening method shown in Figure 2. For example, in the 5G message account opening method shown in Figure 2, step S202 can be executed by the first sending unit 710 in the 5G message account opening device shown in Figure 7, and step S204 can be executed by the second sending unit 720 in the 5G message account opening device shown in Figure 7.
根据本申请的另一个实施例,图6和图7所示的5G消息开户装置中的各个单元可以分别或全部合并为一个或若干个另外的单元来构成,或者其中的某个(些)单元还可以再拆分为功能上更小的多个单元来构成,这可以实现同样的操作,而不影响本申请实施例的技术效果的实现。上述单元是基于逻辑功能划分的,在实际应用中,一个单元的功能也可以由多个单元来实现,或者多个单元的功能由一个单元实现。在本申请的其他实施例中,5G消息开户装置也可以包括其他单元,在实际应用中,这些功能也可以由其他单元协助实现,并且可以由多个单元协作实现。According to another embodiment of the present application, the various units in the 5G message account opening device shown in Figures 6 and 7 can be separately or completely combined into one or several other units to constitute, or one (some) of the units can be further divided into multiple functionally smaller units to constitute, which can achieve the same operation without affecting the realization of the technical effects of the embodiments of the present application. The above-mentioned units are divided based on logical functions. In actual applications, the functions of one unit can also be implemented by multiple units, or the functions of multiple units can be implemented by one unit. In other embodiments of the present application, the 5G message account opening device may also include other units. In actual applications, these functions can also be implemented with the assistance of other units, and can be implemented by the collaboration of multiple units.
根据本申请的另一个实施例,可以通过在包括中央处理单元(CentralProcessing Unit,CPU)、随机存取存储介质(Random Access Memory,RAM)、只读存储介质(Read-Only Memory,ROM)等处理元件和存储元件的例如计算机的通用计算设备上,运行能够执行如图1或图2所示的相应方法所涉及的各步骤的计算机程序(包括程序代码),来构造如图6或图7中所示的5G消息开户装置,以及来实现本申请实施例的5G消息开户方法。所述计算机程序可以记载于例如计算机可读存储介质上,并通过计算机可读存储介质转载于电子设备中,并在其中运行。According to another embodiment of the present application, a 5G message account opening device as shown in FIG. 6 or FIG. 7 can be constructed by running a computer program (including program code) capable of executing each step involved in the corresponding method as shown in FIG. 1 or FIG. 2 on a general computing device such as a computer including a central processing unit (CPU), a random access memory (RAM), a read-only memory (ROM) and other processing elements and storage elements, and to implement the 5G message account opening method of the embodiment of the present application. The computer program can be recorded on, for example, a computer-readable storage medium, and reproduced in an electronic device through a computer-readable storage medium, and run therein.
图8是本申请的一个实施例电子设备的结构示意图。请参考图8,在硬件层面,该电子设备包括处理器,可选地还包括内部总线、网络接口、存储器。其中,存储器可能包含内存,例如高速随机存取存储器(Random-Access Memory,RAM),也可能还包括非易失性存储器(non-volatile memory),例如至少1个磁盘存储器等。当然,该电子设备还可能包括其他业务所需要的硬件。FIG8 is a schematic diagram of the structure of an electronic device of an embodiment of the present application. Please refer to FIG8. At the hardware level, the electronic device includes a processor, and optionally also includes an internal bus, a network interface, and a memory. Among them, the memory may include a memory, such as a high-speed random access memory (Random-Access Memory, RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage, etc. Of course, the electronic device may also include hardware required for other services.
处理器、网络接口和存储器可以通过内部总线相互连接,该内部总线可以是ISA(Industry Standard Architecture,工业标准体系结构)总线、PCI(PeripheralComponent Interconnect,外设部件互连标准)总线或EISA(Extended Industry StandardArchitecture,扩展工业标准结构)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图5中仅用一个双向箭头表示,但并不表示仅有一根总线或一种类型的总线。The processor, the network interface and the memory may be interconnected via an internal bus, which may be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, FIG5 only uses one bidirectional arrow, but does not mean that there is only one bus or one type of bus.
存储器,用于存放程序。具体地,程序可以包括程序代码,所述程序代码包括计算机操作指令。存储器可以包括内存和非易失性存储器,并向处理器提供指令和数据。The memory is used to store the program. Specifically, the program may include a program code, and the program code includes a computer operation instruction. The memory may include a memory and a non-volatile memory, and provides instructions and data to the processor.
处理器从非易失性存储器中读取对应的计算机程序到内存中然后运行,在逻辑层面上形成数据处理装置。处理器,执行存储器所存放的程序,并具体用于执行以下操作:The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it, forming a data processing device at the logical level. The processor executes the program stored in the memory and is specifically used to perform the following operations:
接收移动终端发送的针对副卡的开户请求,所述开户请求来自非本运营商的分组交换接入地址,所述开户请求携带有所述副卡的国际移动用户识别码IMSI;Receiving an account opening request for a secondary card sent by a mobile terminal, the account opening request coming from a packet switching access address not belonging to the operator, and the account opening request carrying an international mobile subscriber identity (IMSI) of the secondary card;
响应于所述开户请求,基于所述IMSI,向所述移动终端发送第一加密数据和第一短信验证码;In response to the account opening request, sending first encrypted data and a first SMS verification code to the mobile terminal based on the IMSI;
接收所述移动终端发送的第一获取配置请求,并基于所述第一获取配置请求中携带的第二加密数据和第二短信验证码,对所述移动终端进行校验;Receiving a first configuration acquisition request sent by the mobile terminal, and verifying the mobile terminal based on second encrypted data and a second SMS verification code carried in the first configuration acquisition request;
若校验结果为通过,则为所述副卡进行开户。If the verification result is passed, an account is opened for the secondary card.
或者,处理器,执行存储器所存放的程序,并具体用于执行以下操作:Alternatively, the processor executes the program stored in the memory and is specifically configured to perform the following operations:
通过分组交换接入地址,向5G消息平台发送针对副卡的开户请求,所述开户请求携带有所述副卡的国际移动用户识别码IMSI;Send an account opening request for the secondary card to the 5G messaging platform through a packet switching access address, wherein the account opening request carries the International Mobile Subscriber Identity (IMSI) of the secondary card;
基于所述5G消息平台发送的第一加密数据和第一短信验证码,向所述5G消息平台发送第一获取配置请求,所述第一获取配置请求中携带有第二加密数据和第二短信验证码,所述第二加密数据和所述第二短信验证码用于所述5G消息平台在对所述移动终端进行校验后为所述副卡进行开户。Based on the first encrypted data and the first SMS verification code sent by the 5G message platform, a first configuration acquisition request is sent to the 5G message platform, wherein the first configuration acquisition request carries second encrypted data and a second SMS verification code, and the second encrypted data and the second SMS verification code are used by the 5G message platform to open an account for the secondary card after verifying the mobile terminal.
上述如本申请图6或图7所示实施例揭示的5G消息开户装置执行的方法可以应用于处理器中,或者由处理器实现。处理器可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器可以是通用处理器,包括中央处理器(Central ProcessingUnit,CPU)、网络处理器(Network Processor,NP)等;还可以是数字信号处理器(DigitalSignal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。The method performed by the 5G message account opening device disclosed in the embodiment shown in Figure 6 or Figure 7 of the present application can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor or an instruction in software form. The above processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiments of the present application can be directly embodied as being executed by a hardware decoding processor, or executed by a combination of hardware and software modules in a decoding processor. The software module can be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
该电子设备还可执行图1或者图2的方法,并实现5G消息开户装置在图1、图2、图6、图7所示实施例的功能,本申请实施例在此不再赘述。The electronic device can also execute the method of Figure 1 or Figure 2, and realize the functions of the 5G message account opening device in the embodiments shown in Figures 1, 2, 6, and 7. The embodiments of this application will not be repeated here.
当然,除了软件实现方式之外,本申请的电子设备并不排除其他实现方式,比如逻辑器件抑或软硬件结合的方式等等,也就是说以下处理流程的执行主体并不限定于各个逻辑单元,也可以是硬件或逻辑器件。Of course, in addition to software implementation methods, the electronic device of the present application does not exclude other implementation methods, such as logic devices or a combination of software and hardware, etc. That is to say, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.
一种计算机程序产品,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如图1所示的5G消息开户方法或者图2所示的5G消息开户方法中的部分或全部步骤。A computer program product, comprising a non-transitory computer-readable storage medium storing a computer program, wherein the computer program is operable to cause a computer to execute part or all of the steps in the 5G message account opening method shown in FIG. 1 or the 5G message account opening method shown in FIG. 2 .
本申请实施例还提出了一种计算机可读存储介质,该计算机可读存储介质存储一个或多个程序,该一个或多个程序包括指令,该指令当被包括多个应用程序的便携式电子设备执行时,能够使该便携式电子设备执行图1所示实施例的方法,并具体用于执行以下操作:The embodiment of the present application further proposes a computer-readable storage medium, which stores one or more programs, and the one or more programs include instructions. When the instructions are executed by a portable electronic device including multiple application programs, the portable electronic device can execute the method of the embodiment shown in FIG. 1, and is specifically used to perform the following operations:
接收移动终端发送的针对副卡的开户请求,所述开户请求来自非本运营商的分组交换接入地址,所述开户请求携带有所述副卡的国际移动用户识别码IMSI;Receiving an account opening request for a secondary card sent by a mobile terminal, the account opening request coming from a packet switching access address not belonging to the operator, and the account opening request carrying an international mobile subscriber identity (IMSI) of the secondary card;
响应于所述开户请求,基于所述IMSI,向所述移动终端发送第一加密数据和第一短信验证码;In response to the account opening request, sending first encrypted data and a first SMS verification code to the mobile terminal based on the IMSI;
接收所述移动终端发送的第一获取配置请求,并基于所述第一获取配置请求中携带的第二加密数据和第二短信验证码,对所述移动终端进行校验;Receiving a first configuration acquisition request sent by the mobile terminal, and verifying the mobile terminal based on second encrypted data and a second SMS verification code carried in the first configuration acquisition request;
若校验结果为通过,则为所述副卡进行开户。If the verification result is passed, an account is opened for the secondary card.
或者,能够使该便携式电子设备执行图2所示实施例的方法,并具体用于执行以下操作:Alternatively, the portable electronic device can be enabled to execute the method of the embodiment shown in FIG. 2 , and specifically to perform the following operations:
通过分组交换接入地址,向5G消息平台发送针对副卡的开户请求,所述开户请求携带有所述副卡的国际移动用户识别码IMSI;Send an account opening request for the secondary card to the 5G messaging platform through a packet switching access address, wherein the account opening request carries the International Mobile Subscriber Identity (IMSI) of the secondary card;
基于所述5G消息平台发送的第一加密数据和第一短信验证码,向所述5G消息平台发送第一获取配置请求,所述第一获取配置请求中携带有第二加密数据和第二短信验证码,所述第二加密数据和所述第二短信验证码用于所述5G消息平台在对所述移动终端进行校验后为所述副卡进行开户。Based on the first encrypted data and the first SMS verification code sent by the 5G message platform, a first configuration acquisition request is sent to the 5G message platform, wherein the first configuration acquisition request carries second encrypted data and a second SMS verification code, and the second encrypted data and the second SMS verification code are used by the 5G message platform to open an account for the secondary card after verifying the mobile terminal.
总之,以上所述仅为本申请的较佳实施例而已,并非用于限定本申请的保护范围。凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。In short, the above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
上述实施例阐明的系统、装置、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机。具体的,计算机例如可以为个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任何设备的组合。The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
Claims (16)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202410400954.5A CN118803730A (en) | 2024-04-03 | 2024-04-03 | 5G message account opening method, device, electronic device, storage medium and program product |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202410400954.5A CN118803730A (en) | 2024-04-03 | 2024-04-03 | 5G message account opening method, device, electronic device, storage medium and program product |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN118803730A true CN118803730A (en) | 2024-10-18 |
Family
ID=93026032
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202410400954.5A Pending CN118803730A (en) | 2024-04-03 | 2024-04-03 | 5G message account opening method, device, electronic device, storage medium and program product |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN118803730A (en) |
-
2024
- 2024-04-03 CN CN202410400954.5A patent/CN118803730A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CA2501158C (en) | Contact validation and trusted contact updating in mobile wireless communications devices | |
| EP3223549B1 (en) | Wireless network access method and access apparatus, client and storage medium | |
| US8584231B2 (en) | Service opening method and system, and service opening server | |
| US8923820B2 (en) | Modified messaging server call flow for secured mobile-to-mobile messaging | |
| US12089040B2 (en) | Caller verification in rich communication services (RCS) | |
| CN105940692B (en) | Method and corresponding device for accessing services | |
| US20080294891A1 (en) | Method for Authenticating a Mobile Node in a Communication Network | |
| CN103619020A (en) | Mobile payment security system for wireless data private network physical isolation internet | |
| US20170303065A1 (en) | Method and device for creating subscription resource | |
| CN111835772B (en) | A method and device for user identity authentication based on edge computing | |
| CN118803730A (en) | 5G message account opening method, device, electronic device, storage medium and program product | |
| CN108600215A (en) | Identifying code is anti-to steal method, apparatus and the network equipment | |
| CN114978748A (en) | Login control method and device, readable storage medium and electronic equipment | |
| CN114462015B (en) | Distributed two-way authentication method, device and storage medium based on blockchain | |
| US20250374047A1 (en) | Location based authentication of account changes in a wireless network | |
| CN102572837A (en) | Network access control method and system | |
| KR20090116401A (en) | Mobile terminal authentication method, and mobile terminal and core network device performing the method | |
| WO2025001095A1 (en) | Mac address legitimacy verification method and communication device | |
| CN118803003A (en) | Screen projection method and system | |
| CN118803768A (en) | Cross-regional unified authentication method, device, electronic device, storage medium and product | |
| WO2025026205A1 (en) | Service api calling method and apparatus | |
| CN121218168A (en) | A service access method, apparatus, communication device, and storage medium | |
| CN117155690A (en) | Communication method, electronic device, and storage medium | |
| CN120639395A (en) | A login authentication method | |
| CN115758315A (en) | System account switching method and device, electronic equipment and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination |