Short message authentication method and device, equipment, storage medium and program product
By identifying the terminal number through the group platform and sending an authentication SMS to it, the problem of low efficiency in sharing subscription services is solved, and efficient service sharing without the need to share passwords or verification codes is achieved.
Patent Information
- Application Number
- CN202411116717.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-14
- Publication Date
- 2026-03-03
AI Technical Summary
The existing subscription service sharing efficiency is low, especially when using password authentication or SMS verification code authentication. The service recipient needs to request the password or SMS verification code from the subscriber, resulting in low sharing efficiency.
The group platform sends an application request to the server using the group number. The group platform then determines the terminal number and sends an authentication SMS to the SMS gateway to lock the authentication SMS, eliminating the need for service subscribers to share passwords or verification codes.
It improves the efficiency of service sharing, enabling all terminal numbers in a group to enjoy the services ordered by the group number, simplifies the authentication process, and enhances the convenience of service sharing.
Smart Images

Figure CN121603893A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of communication technology, and in particular relates to a method, apparatus, device, storage medium and program product for SMS authentication. Background Technology
[0002] As we all know, various services identify customers through authentication functions to ensure that only subscribed customers can use them. Although the service forms vary greatly, the authentication process is indispensable and the experience is highly consistent. Common authentication methods include password authentication and SMS verification code authentication.
[0003] In practice, many service subscribers often share the service with their family or friends. However, when the service uses password or SMS verification code authentication, the recipient needs to request the password or SMS verification code from the subscriber whenever they want to use the service, which makes the sharing efficiency of the service low. Summary of the Invention
[0004] This application provides a method, apparatus, device, storage medium, and program product for SMS authentication, which can solve the problem of low sharing efficiency in existing subscription services.
[0005] In a first aspect, embodiments of this application provide an SMS authentication method, which is applied to a group platform and includes:
[0006] In the event that a request to apply for the first service is sent to the server through the first group number, a number query request sent by the SMS gateway associated with the server is received. The request is used to apply for the right to use the first service, which is a service item that the first group number has subscribed to.
[0007] If an application task corresponding to the first service exists in the group platform, determine the first terminal number associated with the application task;
[0008] The first terminal number is sent to the SMS gateway so that the SMS gateway sends the first authentication SMS request to the first terminal based on the first terminal number.
[0009] In some embodiments, after receiving the number query request sent by the SMS gateway associated with the server, the method further includes:
[0010] If there is no application task corresponding to the first service in the server, determine whether to receive the creation request of the application task corresponding to the first service within a first time range after the first moment, where the first moment is the moment when the group platform receives the number query request;
[0011] Upon receiving the creation request within a first time frame, determine the first terminal number associated with the creation request;
[0012] The first terminal number is sent to the SMS gateway so that the SMS gateway sends the first authentication SMS request to the first terminal based on the first terminal number.
[0013] In some embodiments, before the SMS gateway sends the first authentication SMS request for the application to the first terminal based on the first terminal number, the method further includes:
[0014] Receive the second authentication SMS sent by the SMS gateway;
[0015] Add the group SMS identifier associated with the first group number to the second authentication SMS to generate the first authentication SMS;
[0016] The first authentication SMS message is sent to the first terminal.
[0017] In some embodiments, before determining the first terminal number associated with the application task when the application task corresponding to the first service exists in the group platform, the method further includes:
[0018] Receive the creation request for the application task sent by the first terminal;
[0019] In response to the creation request, the application task and the task information associated with the application task are generated, the task information including the remaining effective duration of the application task;
[0020] Displays task information associated with the application task.
[0021] In some embodiments, before receiving the request to create the application task sent by the first terminal, the method further includes:
[0022] Receive a login request sent by the first terminal through a first terminal number, wherein the login request includes first identity information corresponding to the first terminal number;
[0023] If an identity matching the first identity exists in the preset identity information database, at least one group identifier is obtained, and each group identifier is used to represent a group associated with the first terminal number.
[0024] Send the at least one group identifier to the first terminal;
[0025] The system receives a first group identifier from the first terminal and logs the first terminal number into the first group, wherein the first group identifier is any one of the at least one group identifier and the first group identifier corresponds to the first group.
[0026] In some embodiments, before receiving a number query request sent by an SMS gateway associated with the server in the event that a request for the first service has been sent to the server via a first group number, the method further includes:
[0027] Receive a group creation request sent by a third terminal via the third terminal's number;
[0028] In response to the group creation request, a first group is created, and a first group number corresponding to the first group is generated;
[0029] Add the third terminal number to the first group to associate the third terminal number with the first group number;
[0030] In the case where the second service is activated through the first group number, the terminal number in the first group has the right to use the second service.
[0031] In some embodiments, after establishing the first group and generating the first group number corresponding to the first group, the method further includes:
[0032] Receive a member invitation request sent by the third terminal, the member invitation request being used to invite the first terminal number to join the first group;
[0033] Send the member invitation request to the first terminal corresponding to the first terminal number;
[0034] Upon receiving confirmation of the member invitation request sent by the first terminal, the first terminal number is added to the first group.
[0035] In some embodiments, after establishing the first group and generating the first group number corresponding to the first group, the method further includes:
[0036] A group request is received from a first terminal via a first terminal number, wherein the group request is used by the first terminal to request that the first terminal number be added to the first group;
[0037] Send the group request to the third terminal;
[0038] Upon receiving confirmation of the group application request sent by the third terminal, the first terminal number is added to the first group.
[0039] Secondly, this application provides another SMS authentication method, which is applied to a first terminal and includes:
[0040] When the first terminal logs into the group platform using the first terminal number of the first terminal, a request for the first service is sent to the group platform so that the group platform sends the request to the server through the first group number. The request is used to apply for the right to use the first service, which is a service item that the first group number has already subscribed to.
[0041] If the application request is granted, the server receives a first authentication SMS message sent by the SMS gateway associated with the server.
[0042] In some embodiments, before receiving the first authentication SMS sent by the SMS gateway associated with the server, the method further includes:
[0043] Before the first moment or within the first time range after the first moment of the sending moment, a request to create an application task is sent to the group platform. The first moment is the moment when the group platform receives the number query request sent by the SMS gateway associated with the server.
[0044] Receive task information associated with the application task sent by the group platform, the task information including the remaining effective duration of the application task.
[0045] In some embodiments, before sending the request to create the task to the group platform, the method further includes:
[0046] A login request is sent to the group platform via a first terminal number, and the login request includes first identity information corresponding to the first terminal number.
[0047] If an identity matching the first identity exists in the preset identity information database, at least one group identifier sent by the group platform is received, and each group identifier is used to represent a group associated with the first terminal number;
[0048] A first group identifier is determined from the at least one group identifier, and the first group identifier is sent to the group platform so that the group platform logs the first number into the first group corresponding to the first group identifier.
[0049] In some embodiments, before sending a login request to the group platform via the first terminal number, the method further includes:
[0050] Receive member invitation requests for the first group sent by the group platform;
[0051] In response to the user's confirmation input of the member invitation request, a confirmation message is sent to the group platform so that the group platform adds the first terminal number to the first group.
[0052] In some embodiments, before sending a login request to the group platform via the first terminal number, the method further includes:
[0053] A group request is sent to the first terminal via the first terminal number, wherein the group request is used by the first terminal to request that the first terminal number be added to the first group;
[0054] If the group application request is confirmed, the group platform will add the first terminal number to the first group.
[0055] Thirdly, embodiments of this application provide a text message authentication device, the device comprising:
[0056] The first receiving module is configured to receive a number query request sent by an SMS gateway associated with the server when there is a request to send a first service to the server through a first group number. The request is used to apply for the right to use the first service, and the first service is a service item that the first group number has subscribed to.
[0057] The first determining module is used to determine the first terminal number associated with the application task when there is an application task corresponding to the first service in the group platform;
[0058] The first sending module is used to send the first terminal number to the SMS gateway, so that the SMS gateway sends the first authentication SMS request to the first terminal based on the first terminal number.
[0059] Fourthly, embodiments of this application provide a text message authentication device, the device including: a processor and a memory storing computer program instructions;
[0060] The processor implements the above SMS authentication method when executing computer program instructions.
[0061] Fifthly, embodiments of this application provide a computer storage medium storing computer program instructions, which, when executed by a processor, implement the SMS authentication method described above.
[0062] Sixthly, embodiments of this application provide a computer program product, the computer program product including computer program instructions, which, when executed by a processor, implement the SMS authentication method described above.
[0063] In this application, if a first group number has already subscribed to a first service, and a terminal device uses the first group number to apply to the server for access to the first service, the server will send a number query request to the group platform based on the first group number to query which terminal device the authentication SMS for the first service should be sent to. The group platform can then obtain the first terminal number that applied to the server for access to the first service based on the application task running on the platform, and then feed back the first terminal number to the gateway terminal so that the gateway terminal can send the authentication SMS to the first terminal corresponding to the first terminal number. In this way, all terminal numbers in the first group can enjoy the services subscribed to by the first group number, and the SMS verification code can be locked based on the group platform during the service authentication process, without the service subscribers needing to share passwords or verification codes, thereby improving the efficiency of service sharing. Attached Figure Description
[0064] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the embodiments of this application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0065] Figure 1 This is one of the flowcharts illustrating an embodiment of the SMS authentication method provided in this application;
[0066] Figure 2 This is a second schematic flowchart of an embodiment of the SMS authentication method provided in this application;
[0067] Figure 3 This is the third flowchart illustrating an embodiment of the SMS authentication method provided in this application;
[0068] Figure 4 This is a schematic diagram of the structure of a text message authentication device provided in an embodiment of this application;
[0069] Figure 5 This is a schematic diagram of the hardware structure of a text message authentication device provided in an embodiment of this application. Detailed Implementation
[0070] The features and exemplary embodiments of various aspects of this application will be described in detail below. To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain this application and not to limit it. For those skilled in the art, this application can be implemented without some of these specific details. The following description of the embodiments is merely to provide a better understanding of this application by illustrating examples of this application.
[0071] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes the element.
[0072] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. The embodiments will now be described in detail with reference to the accompanying drawings.
[0073] Specifically, in order to solve the problems of the prior art, embodiments of this application provide a text message authentication method, apparatus, device, storage medium, and program product. The text message authentication method provided in this application embodiment will be described first below.
[0074] Figure 1 A flowchart illustrating an embodiment of the SMS authentication method provided in this application is shown. This method is applied to a group platform and includes the following steps:
[0075] S110, if there is a request to send a first service to the server through the first group number, receive a number query request sent by the SMS gateway associated with the server. The request is used to apply for the right to use the first service, and the first service is a service item that the first group number has subscribed to.
[0076] In this embodiment, the group number is a shared number that the operator provides to its users, and the group number can be a home number. On the server side, the group number can be considered a regular terminal number, through which users can subscribe to various services provided by the operator. On the user side, the group number can be associated with the terminal numbers of multiple users, and the multiple users in the group number constitute a user group.
[0077] In this embodiment, taking the first group number as an example, the first service is the service item that the first group number has subscribed to. The first group number is the number of the first group. The first group includes multiple first terminal numbers. Any first terminal number can log in to the first group and send an application request for the first service to the server through the first group number to apply for the right to use the first service on the first terminal corresponding to the first terminal number.
[0078] When the server receives a request for the first service sent through the first group number, the server can send a verification code for the first service to the first terminal via SMS. After receiving the verification code, the user on the first terminal can enter the verification code into the corresponding application or program to grant the first terminal access to the first service.
[0079] Specifically, the server sends an SMS delivery request to the SMS gateway. The recipient number in this request is the first group number, and the SMS content is server-defined. After receiving the SMS delivery request, the SMS gateway can query the routing information for the first group number from its HLR (Home Location Register). The HLR then relays this information back to the SMS gateway, informing it that the first group number is a group number and requires further routing queries from the group platform.
[0080] Therefore, the SMS gateway can send a number lookup request to the group platform to look up the terminal number that sent the application request for the first service.
[0081] S120, if there is an application task corresponding to the first service in the group platform, determine the first terminal number associated with the application task.
[0082] In this embodiment, after the group platform receives a number query request, it can determine whether there is an application task corresponding to the first service in the group platform. An application task means that a user in the first group wants to apply for permission to use the first service during the current time period. If there is an application task corresponding to the first service in the group platform, then the first terminal that created the application task can be identified, and the first terminal number of the first terminal can be obtained. This first terminal can be considered the terminal device that sent the application request for the first service to the server through the first group number.
[0083] S130, send the first terminal number to the SMS gateway so that the SMS gateway sends the first authentication SMS request to the first terminal based on the first terminal number.
[0084] In this embodiment, after obtaining the first terminal and its number, the group platform can send the first terminal number back to the SMS gateway. After determining the first terminal number of the first terminal to which the verification code is to be sent, the SMS gateway can query the routing information to which the first terminal number belongs, and send the first authentication SMS to the first terminal based on the routing information to which the first terminal number belongs, thus sending the verification code to the first terminal in the form of the first authentication SMS.
[0085] Users of the first terminal can enter the verification code from the first authentication SMS into the application or program related to the first service to pass the permission verification of the first service and obtain the right to use the first service on the first terminal.
[0086] For example, the first service could be a bicycle rental service, and the first group could include user A and user B. User B's mobile phone could be the first terminal. If user A subscribes to the bicycle rental service using the first group number through an application integrated with the first group or via SMS, and user B wants to share the bicycle rental service, they can use their mobile phone to create an application task on the group platform. This application task could be a dynamic registration task with a time limit. After the time limit expires, the dynamic registration task will automatically disappear. The time limit could be 2 minutes.
[0087] User B can then use their mobile phone to send a bicycle rental service application request to the bicycle rental service server via the first group number. The bicycle rental service server will detect that the first group number has already subscribed to the bicycle rental service and will send a number query request to the group platform corresponding to the first group number via the SMS gateway. After receiving the number query request, the group platform will check if a dynamic registration task exists. If a dynamic registration task exists, it will send the mobile phone number corresponding to the registered mobile phone number to the SMS gateway. The SMS gateway will then send the first authentication SMS to the mobile phone number corresponding to that phone number. Upon receiving the first authentication SMS, User B can use the verification code or other verification methods in the first authentication SMS to pass the bicycle rental service verification and thus obtain the right to use the bicycle rental service.
[0088] In this application, if the first group number has already subscribed to the first service, and a terminal device uses the first group number to apply to the server for access to the first service, the server will send a number query request to the group platform based on the first group number to query which terminal device the authentication SMS for the first service should be sent to. The group platform can then obtain the first terminal number applying to the server for access to the first service based on the application task running on the platform, and then feed back the first terminal number to the gateway terminal so that the gateway terminal can send the authentication SMS to the first terminal corresponding to the first terminal number. In this way, all terminal numbers in the first group can enjoy the services subscribed to by the first group number, and the SMS verification code can be locked based on the group platform during the service authentication process, without the service subscribers needing to share passwords or verification codes, thereby improving the efficiency of service sharing.
[0089] As an optional embodiment, after receiving a number query request sent by the SMS gateway associated with the server, the method further includes:
[0090] If there is no application task corresponding to the first service on the server side, determine whether to receive the creation request of the application task corresponding to the first service within the first time range after the first moment. The first moment is the moment when the group platform receives the number query request.
[0091] Upon receiving a creation request within the first timeframe, determine the first terminal number associated with the creation request;
[0092] Send the first terminal number to the SMS gateway so that the SMS gateway can send the first authentication SMS request to the first terminal based on the first terminal number.
[0093] In this embodiment, since the application task implies that a user in the first group wants to apply for permission to perform the first service, if an application task corresponding to the first service already exists in the group platform, the first terminal that created the application task can be determined through this application task, and the first terminal can be identified as the terminal device that sends the application request for the first service to the server through the first group number.
[0094] Therefore, if the application task corresponding to the first service does not exist on the server, it is impossible to deduce the terminal device that sent the application request for the first service to the server via the first group number. Thus, starting from the moment the number query request is received, it can be determined whether a creation request for the application task corresponding to the first service has been received within a first time frame. If a creation request is received, then a creation task corresponding to the first service can be established in response to the creation request.
[0095] Then, the first terminal sending the creation request is directly identified as the terminal device sending the application request to the server. The first terminal number of the first terminal can then be obtained and sent to the SMS gateway. Similarly, after determining the first terminal number of the first terminal to which the verification code is to be sent, the SMS gateway can query the routing information to which the first terminal number belongs, and send the first authentication SMS to the first terminal based on the routing information. The verification code is then sent to the first terminal via the first authentication SMS.
[0096] For example, the first service could be a bicycle rental service, and the first group could include user A and user B. User B's mobile phone is the first terminal. If user A subscribes to the bicycle rental service using the first group number through an application integrated with the first group or via SMS, and user B wants to share the bicycle rental service, they can first use their mobile phone to send a bicycle rental service application request to the bicycle rental service server using the first group number. The bicycle rental service server will then detect that the first group number has already subscribed to the bicycle rental service and will send a number query request to the group platform corresponding to the first group number through the SMS gateway. After receiving the number query request, the group platform will check whether there is a dynamic registration task.
[0097] If no dynamic registration task exists, the group platform can wait for a short period of time, such as 2 minutes. If user B creates an application task on the group platform within 2 minutes using their mobile phone, and this application task can be a dynamic registration task, then the group platform can send the mobile phone number corresponding to the dynamic task registration to the SMS gateway. The SMS gateway will then send the first authentication SMS to the mobile phone number corresponding to that mobile phone number. Once user B receives the first authentication SMS, they can use the verification code or other verification methods in the first authentication SMS to pass the verification of the bicycle rental service and thus obtain the right to use the bicycle rental service.
[0098] In this way, during the service authentication process, even if the terminal device that uses the first group number to apply for the first service access permission to the server does not create the relevant task in the group platform in advance, it can still create the application task after the number query request is issued. It can also accurately lock the SMS verification code on the group platform and complete efficient service sharing.
[0099] As an optional embodiment, before the SMS gateway sends the first authentication SMS request to the first terminal based on the first terminal number, the method further includes:
[0100] Receive the second authentication SMS sent by the SMS gateway;
[0101] Add the group SMS identifier associated with the first group number to the second authentication SMS to generate the first authentication SMS;
[0102] Send the first authentication SMS to the first terminal.
[0103] In this embodiment, after the server receives the application request for the first service sent through the first group number, it will query whether the first group number has subscribed to the first service. If it finds that the first group number has subscribed to the first service, it can generate a second authentication SMS and send the SMS transmission request for the second authentication SMS, along with the first group number, to the SMS gateway.
[0104] The second authentication SMS is sent by the server of the first service to the device corresponding to the first group number. It is used to indicate that the application request of the first service has been approved. The second authentication SMS includes the authentication content of the first service and the SMS access number, i.e., the first group number.
[0105] After receiving an SMS transmission request, the SMS gateway can query the routing information of the first group number from the HLR (Home Location Register) to which the first group number belongs. The HLR then sends a feedback to the SMS gateway to inform it that the first group number is a group number and that further routing queries need to be performed on the group platform.
[0106] Therefore, the SMS gateway can send a number query request to the group platform to query the terminal number that sent the application request for the first service. The query request includes a second authentication SMS message.
[0107] After receiving the second authentication SMS message, the group platform can modify its content. Specifically, it can retain the main content of the second authentication SMS message, change the access number from the first group number to the first terminal number, and then add a pre-set group SMS identifier as a suffix to the second authentication SMS message to identify that this authentication SMS message is related to the first group number, thus generating the first authentication SMS message. The group platform can then return the modified first authentication SMS message to the SMS gateway, so that the SMS gateway can send the first authentication SMS message to the first terminal.
[0108] Taking the bicycle rental service as an example, the first group includes user A and user B. User B's mobile phone is the first terminal. After user B uses their mobile phone to send a bicycle rental service application request to the bicycle rental service server through the first group number, the server can send a second authentication SMS to the group platform through the SMS gateway. For example, the second authentication SMS could be: "[Bicycle Rental Service] You are using the SMS verification code login function. The verification code is 144659, valid for 2 minutes."
[0109] After receiving the second authentication SMS message on the group platform, a group SMS identifier can be added to the second authentication SMS message. For example, the group SMS identifier can be the first group number (10801234567); then the generated first authentication SMS message can be: "[Bicycle Rental Service] You are using the SMS verification code login function. The verification code is 144659, valid for 2 minutes. The group number is (10801234567)". Subsequently, the group platform can send the second authentication SMS message and user B's mobile phone number back to the SMS gateway, which will then send the first authentication SMS message to user B's mobile phone.
[0110] This method enables users on the first terminal to accurately understand, through the first authentication SMS received, that the first service application was successful based on the first group number.
[0111] As an optional embodiment, if an application task corresponding to a first service exists in the group platform, before determining the first terminal number associated with the application task, the method further includes:
[0112] Receive the task creation request sent by the first terminal;
[0113] In response to the creation request, an application task and associated task information are generated, including the remaining effective duration of the application task.
[0114] Displays task information associated with the task application.
[0115] In this embodiment, when a user wants to apply for access to the first service from the server using the first group number on the first terminal, the user can log in to the first group using the first terminal number on the first terminal and send a request to create an application task to the first terminal, thereby creating an application task in the first group. The application task means that the first terminal wants to apply for access to the first service using the first group number.
[0116] Upon receiving the creation request, the group platform can respond by generating a dynamic application task in the first group and determining the relevant task information. This task information includes the remaining effective duration of the application task; that is, the application task is only valid during its remaining effective duration. Additionally, the task information may also include the terminal identifier of the first terminal.
[0117] After generating task information, the display status of the task information can be determined based on predefined configuration parameters. If the configured display status is public, all users in the first group can query and obtain the task information of the applied task; if the configured display status is hidden, members in the first group cannot obtain the task information of the applied task.
[0118] Taking the bicycle rental service as an example, the first group includes user A, user B, and user C. User B's mobile phone is the first terminal. If user A subscribes to the bicycle rental service using the first group's application or via SMS using the first group's number, and user B wants to share the service, they can use their mobile phone to send a request to the group platform to create a task. This task can be a dynamic registration task with a time limit of 2 minutes. During this time limit, the group platform can display the task information, such as the remaining validity period, which can be viewed on any user in the first group's mobile phone.
[0119] If user C also wants to share the bike rental service, and sees user B's task information, user C will delay applying for the bike rental service to avoid conflict with user B's application.
[0120] By displaying task information, all users in the first group can check the remaining time for the applied task, thus avoiding conflicts between the first service application and the first terminal.
[0121] As an optional embodiment, before receiving the request to create the application task sent by the first terminal, the method further includes:
[0122] Receive a login request sent by a first terminal through a first terminal number, the login request including first identity information corresponding to the first terminal number;
[0123] If there is an identity information matching the first identity information in the preset identity information database, at least one group identifier is obtained, and each group identifier is used to represent a group associated with the first terminal number;
[0124] Send at least one group identifier to the first terminal;
[0125] The system receives the first group identifier fed back by the first terminal and logs the first terminal number into the first group. The first group identifier is any one of at least one group identifier and corresponds to the first group.
[0126] In this embodiment, when a user wants to apply for access to the first service from the server using the first group number on the first terminal, they must first log in to the first group using the first terminal number to obtain access to the first group number. Therefore, the first terminal can send a login request to the group platform using the first terminal number. The group platform can verify the first identity information corresponding to the first terminal number. If there is identity information matching the first identity information in the pre-stored identity information database of the group platform, it can be assumed that there is a group including the first terminal number in the group platform.
[0127] Therefore, once the first identity information is verified, all groups that the first terminal number has joined in the group platform can be queried, and the group identifier of each group can be obtained, resulting in at least one group identifier, which can then be fed back to the first terminal.
[0128] The user of the first terminal can select the first group identifier of the first group that has subscribed to the first service based on the first service they want to apply for. After receiving the first group identifier, the group platform can add the first terminal number to the first group accordingly.
[0129] In addition, end users can interact with the group platform using a standalone application installed on the terminal, or the group function can be integrated into a related application. Users can interact with the group platform through the related application on the terminal, or they can interact with the group platform via SMS.
[0130] Taking bike rental as an example, the first group includes user A and user B. If user A has ordered a bike rental service through a bike rental app, and user B wants to apply for a bike rental service through the first group number, they need to log in to the bike rental app and join the first group before applying. During the login process, user B can first open the bike rental app and then send a login request through the first terminal number within the app to pre-login to the first group.
[0131] In this way, the login request of the first terminal number can be accurately authenticated, and the first terminal number can be added to the group corresponding to the first service, so that users of the first terminal can apply for access to the first service through the first group number.
[0132] As an optional embodiment, in the event that a request to send a first service to the server via a first group number exists, before receiving a number query request sent by the SMS gateway associated with the server, the method further includes:
[0133] Receive a group creation request sent by a third terminal via the third terminal's number;
[0134] In response to the group creation request, the first group is created, and a first group number corresponding to the first group is generated;
[0135] Add the third terminal number to the first group to associate the third terminal number with the first group number;
[0136] In the case where the second service is activated through the first group number, the terminal numbers in the first group have the right to use the second service.
[0137] In this embodiment, to enable cross-service converged and shared authentication for multiple members, the operator can provide users with a "group number" service. This means providing users with a readily accessible and usable group number. Users can associate other users' mobile phone numbers with this group number through invitations or by members joining voluntarily. Joining the group indicates agreement to establish an association between the group number and one's own mobile phone number.
[0138] For example, a first group can be created using a third terminal number, and a first group number corresponding to the first group can be determined. The user of the third terminal number can then invite other terminal numbers to join the first group. Other terminal numbers can apply to join the first group themselves, or terminal numbers already in the first group can invite terminal numbers not yet in the first group to join.
[0139] Furthermore, once the first group is established and the first group number is determined, various services can be subscribed to from the operator through the first group number. Once a service is subscribed to through the first group number, all terminal numbers under the first group can use the service.
[0140] In this way, all users in the same group can share the same service at a lower cost.
[0141] As an optional embodiment, after establishing the first group and generating the first group number corresponding to the first group, the method further includes:
[0142] Receive a member invitation request sent by a third terminal. The member invitation request is used to invite the first terminal number to join the first group.
[0143] Send a member invitation request to the first terminal corresponding to the first terminal number;
[0144] Upon receiving confirmation of the member invitation request sent by the first terminal, the first terminal number is added to the first group.
[0145] As another optional embodiment, after establishing the first group and generating the first group number corresponding to the first group, the method further includes:
[0146] A group request is received from the first terminal via its first terminal number, wherein the group request is used by the first terminal to request that its first terminal number be added to the first group;
[0147] Send a group request to the third terminal;
[0148] Upon receiving confirmation of the group request sent by the third terminal, the first terminal number is added to the first group.
[0149] In this embodiment, the administrator of the first group can set different management rules and policies. For example, only the creator of the first group can invite other terminal numbers to join the first group, or all members of the first group can invite other terminal numbers to join the first group. As another example, when a new terminal number requests to join the first group, it can join the first group with the permission of the group creator alone, or it can require the permission of all members in the first group before the new terminal number can join.
[0150] As an alternative embodiment, such as Figure 2As shown, the first group is a family group, the group platform is the family number platform, and the first group number is the family number of the family group. As shown in S1, if user A has activated the family number service on user A's mobile phone, that is, created a family group, the creator of the family group, i.e., user A, can invite user B to join the family group, or user C can join the family group by applying.
[0151] As shown in S2.1, after User B obtains access to the Family Number, if User B wants to apply for third-party services subscribed to by the Family Number, User B can open the Family Number APP, log in to the Family Number APP with their own mobile phone number, and create an application task on the Family Number platform. This application task has the permission to dynamically register SMS verification codes. Upon receiving the permission application, the Family Number platform generates an application task for User B on the platform. This application task is a locked task, meaning that during the locked task period, only User B can use the Family Number. Subsequently, User B can open the third-party service application APP and trigger the third-party service's SMS verification code. The Family Number platform can receive the SMS verification code received by the third-party service application platform and send it to User B's mobile phone. In this way, User B completes an application to use the third-party service.
[0152] As shown in S2.2, after User B obtains access to the Family Number, if User B wants to apply for a third-party service subscribed to by the Family Number, User B can open the third-party service's app and trigger the SMS verification code via the Family Number. The Family Number platform can receive the SMS verification code received by the third-party service's app. Subsequently, User B can open the Family Number app, log in with their own mobile phone number, and create an application task on the Family Number platform. The Family Number platform can then send the received SMS verification code to User B's mobile phone, thus completing a third-party service application.
[0153] After user B completes the application to use the third-party service, the application task in the family group ends and the permissions are released.
[0154] After creating the first group and determining its corresponding group number, the group number can be used as a regular number to subscribe to various services. All terminal numbers within the first group can access the services subscribed to by that group number. This allows for flexible adjustments to the group's membership.
[0155] As an alternative embodiment, such as Figure 3As shown, the first group is a family group, the group platform is the Family Number platform, and the first group number is the family number of the family group. This family group includes user A and user B. User A and user B can use the Family Number APP (application) on their respective mobile phones to operate the relevant functions of the family group on the Family Number platform. If user A has activated the Family Number service on user A's mobile phone, that is, created a family group, and subscribed to a third-party service through the family number, and if user B in the family group wants to use the third-party service, the following process needs to be followed:
[0156] First, user B needs to open the Family Number APP on their mobile phone and send a login request to the Family Number platform using their mobile phone number. The login request includes user B's identity information. The Family Number platform will verify user B's identity information, determine the multiple groups user B has joined, and user B will then select the family group they want to join from among the multiple groups.
[0157] After User B joins the family group, they can send a request to the family account platform to create a task. This task can be a scheduled task. The countdown of this scheduled task is visible to all users on the family account platform. During the task's duration, User B can use the family account on their mobile phone.
[0158] After creating the application task, User B can open the third-party service app they want to use and then apply for access to the third-party service platform using their family number. The third-party service platform verifies that the family number has subscribed to the third-party service and sends a verification SMS to the corresponding family number platform via the SMS gateway. The SMS gateway can then issue a routing query request to the family number's home HLR (Home Location Register). The home HLR responds to the routing query request and feeds back the path of the family number platform to the SMS gateway, allowing the SMS gateway to send the SMS to the family number platform. Upon receiving the SMS, the family number platform can check if a scheduled task exists. If so, it modifies the recipient number of the SMS to User B's mobile phone number, copies the SMS content, adds User B's mobile phone number and a notification, and sends the modified SMS and User B's mobile phone number back to the SMS gateway. The SMS gateway then sends the modified SMS to User B's mobile phone according to the standard SMS downlink procedure. User B thus gains access to the third-party service based on the received SMS.
[0159] This application also provides another embodiment of a text message authentication method. This method is applied to a first terminal and includes the following steps:
[0160] When the first terminal logs into the group platform using the first terminal number of the first terminal, a request for the first service is sent to the group platform so that the group platform sends the request to the server through the first group number. The request is used to apply for the right to use the first service, which is a service item that the first group number has already subscribed to.
[0161] If the application request is granted, the server receives a first authentication SMS message sent by the SMS gateway associated with the server.
[0162] In this embodiment, the first service is a service item that has been subscribed to by the first group number. The first group number is the number of the first group. The first group includes the first terminal number. The first terminal number can log in to the first group and send an application request for the first service to the server through the first group number to apply for the right to use the first service on the first terminal corresponding to the first terminal number.
[0163] Specifically, the first terminal can send a request for the first service to the server through the first group number. Since the first group number has applied for the right to use the first service in advance, the server can send an authentication SMS to the first terminal. The server provides the first terminal number of the first terminal, and the SMS gateway associated with the server can send the first authentication SMS to the first terminal.
[0164] In this way, all terminal numbers in the first group can enjoy the services ordered by the numbers in the first group, and the service authentication process can be triggered by the group platform to lock the SMS verification code, without the service subscribers having to share passwords or verification codes, thereby improving the efficiency of service sharing.
[0165] As another optional embodiment, before receiving the first authentication SMS sent by the SMS gateway associated with the server, the method further includes:
[0166] Before the first moment or within the first time range after the first moment of the sending moment, a request to create an application task is sent to the group platform. The first moment is the moment when the group platform receives the number query request sent by the SMS gateway associated with the server.
[0167] Receive task information associated with the application task sent by the group platform, the task information including the remaining effective duration of the application task.
[0168] In this embodiment, if a user wants to apply for the first service through the first terminal, they need to create an application task on the group platform. An application task means that a user in the first group wants permission to currently access the first service. The request to create the application task can be sent to the group platform before the first moment or within a time frame after the first moment of the sending time.
[0169] If an application task corresponding to the first service already exists in the group platform, the first terminal that created the application task can be determined through the application task, and the first terminal can be identified as the terminal device that sends the application request for the first service to the server through the first group number.
[0170] Therefore, if the application task corresponding to the first service does not exist on the server, it is impossible to deduce the terminal device that sent the application request for the first service to the server via the first group number. Thus, starting from the moment the number query request is received, it can be determined whether a creation request for the application task corresponding to the first service has been received within a first time frame. If a creation request is received, then a creation task corresponding to the first service can be established in response to the creation request.
[0171] Then, the first terminal sending the creation request is directly identified as the terminal device sending the application request to the server. The first terminal number of the first terminal can then be obtained and sent to the SMS gateway. Similarly, after determining the first terminal number of the first terminal to which the verification code is to be sent, the SMS gateway can query the routing information to which the first terminal number belongs, and send the first authentication SMS to the first terminal based on the routing information. The verification code is then sent to the first terminal via the first authentication SMS.
[0172] In this way, during the service authentication process, even if the terminal device that uses the first group number to apply for the first service access permission to the server does not create the relevant task in the group platform in advance, it can still create the application task after the number query request is issued. It can also accurately lock the SMS verification code on the group platform and complete efficient service sharing.
[0173] As another optional embodiment, before sending the request to create the task to the group platform, the method further includes:
[0174] A login request is sent to the group platform via a first terminal number, and the login request includes first identity information corresponding to the first terminal number.
[0175] If an identity matching the first identity exists in the preset identity information database, at least one group identifier sent by the group platform is received, and each group identifier is used to represent a group associated with the first terminal number;
[0176] A first group identifier is determined from the at least one group identifier, and the first group identifier is sent to the group platform so that the group platform logs the first number into the first group corresponding to the first group identifier.
[0177] In this embodiment, when a user wants to apply for access to the first service from the server using the first group number on the first terminal, they must first log in to the first group using the first terminal number to obtain access to the first group number. Therefore, the first terminal can send a login request to the group platform using the first terminal number. The group platform can verify the first identity information corresponding to the first terminal number. If there is identity information matching the first identity information in the pre-stored identity information database of the group platform, it can be assumed that there is a group including the first terminal number in the group platform.
[0178] Therefore, once the first identity information is verified, all groups that the first terminal number has joined in the group platform can be queried, and the group identifier of each group can be obtained, resulting in at least one group identifier, which can then be fed back to the first terminal.
[0179] The user of the first terminal can select the first group identifier of the first group that has subscribed to the first service based on the first service they want to apply for. After receiving the first group identifier, the group platform can add the first terminal number to the first group accordingly.
[0180] In this way, the login request of the first terminal number can be accurately authenticated, and the first terminal number can be added to the group corresponding to the first service, so that users of the first terminal can apply for access to the first service through the first group number.
[0181] As another optional embodiment, before sending a login request to the group platform via the first terminal number, the method further includes:
[0182] Receive member invitation requests for the first group sent by the group platform;
[0183] In response to the user's confirmation input of the member invitation request, a confirmation message is sent to the group platform so that the group platform adds the first terminal number to the first group.
[0184] As another optional embodiment, before sending a login request to the group platform via the first terminal number, the method further includes:
[0185] A group request is sent to the first terminal via the first terminal number, wherein the group request is used by the first terminal to request that the first terminal number be added to the first group;
[0186] If the group application request is confirmed, the group platform will add the first terminal number to the first group.
[0187] In this embodiment, to enable cross-service converged and shared authentication for multiple members, the operator can provide users with a "group number" service. This means providing users with a readily accessible and usable group number. Users can associate other users' mobile phone numbers with this group number through invitations or by members joining voluntarily. Joining the group indicates agreement to establish an association between the group number and one's own mobile phone number.
[0188] Specifically, it could be that only the creator of the first group can invite other terminal numbers to join the first group, or it could be that all members of the first group can invite other terminal numbers to join the first group. For example, when a new terminal number requests to join the first group, it could be that the new terminal number can join the first group with the permission of the creator of the first group, or it could require the permission of all members in the first group for the new terminal number to join.
[0189] After creating the first group and determining its corresponding group number, the group number can be used as a regular number to subscribe to various services. All terminal numbers within the first group can access the services subscribed to by that group number. This allows for flexible adjustments to the group's membership.
[0190] Based on the SMS authentication method provided in the above embodiments, this application also provides specific implementation methods of the SMS authentication device. Please refer to the following embodiments.
[0191] First see Figure 4 The SMS authentication device 400 provided in this application embodiment includes the following modules:
[0192] The first receiving module 401 is used to receive a number query request sent by the SMS gateway associated with the server when there is an application request for the first service sent to the server through the first group number. The application request is used to apply for the right to use the first service, and the first service is a service item that the first group number has subscribed to.
[0193] The first determining module 402 is used to determine the first terminal number associated with the application task when there is an application task corresponding to the first service in the group platform;
[0194] The first sending module 403 is used to send the first terminal number to the SMS gateway, so that the SMS gateway sends the first authentication SMS request to the first terminal based on the first terminal number.
[0195] If the first group number has already subscribed to the first service, and a terminal device uses the first group number to apply to the server for access to the first service, the server will send a number query request to the group platform based on the first group number to find out which terminal device the authentication SMS for the first service should be sent to. The group platform can then obtain the first terminal number that applied to the server for access to the first service based on the application task running on the platform, and then feed the first terminal number back to the gateway terminal so that the gateway terminal can send the authentication SMS to the first terminal corresponding to the first terminal number. In this way, all terminal numbers in the first group can enjoy the services subscribed to by the first group number, and the SMS verification code can be locked based on the group platform during the service authentication process, without the service subscribers needing to share passwords or verification codes, thereby improving the efficiency of service sharing.
[0196] As one implementation of this application, the SMS authentication device 400 may further include:
[0197] The second determining module is used to determine whether to receive the creation request for the application task corresponding to the first service within a first time range after the first moment, in the case that there is no application task corresponding to the first service in the server. The first moment is the moment when the group platform receives the number query request.
[0198] The third determining module is used to determine the first terminal number associated with the creation request when a creation request is received within the first time range;
[0199] The second sending module is used to send the first terminal number to the SMS gateway, so that the SMS gateway sends the first authentication SMS request to the first terminal based on the first terminal number.
[0200] As one implementation of this application, the SMS authentication device 400 may further include:
[0201] The second receiving module is used to receive the second authentication SMS sent by the SMS gateway.
[0202] The module adds a group SMS identifier associated with the first group number to the second authentication SMS, thereby generating the first authentication SMS.
[0203] The third sending module is used to send the first authentication SMS to the first terminal.
[0204] As one implementation of this application, the SMS authentication device 400 may further include:
[0205] The third receiving module is used to receive the task creation request sent by the first terminal;
[0206] The generation module is used to respond to the creation request, generate the application task, and the task information associated with the application task, including the remaining effective duration of the application task;
[0207] The display module is used to display task information associated with the application task.
[0208] As one implementation of this application, the SMS authentication device 400 described above can also be used for:
[0209] Receive a login request sent by a first terminal through a first terminal number, the login request including first identity information corresponding to the first terminal number;
[0210] If there is an identity information matching the first identity information in the preset identity information database, at least one group identifier is obtained, and each group identifier is used to represent a group associated with the first terminal number;
[0211] Send at least one group identifier to the first terminal;
[0212] The system receives the first group identifier fed back by the first terminal and logs the first terminal number into the first group. The first group identifier is any one of at least one group identifier and corresponds to the first group.
[0213] As one implementation of this application, the SMS authentication device 400 described above can also be used for:
[0214] Receive a group creation request sent by a third terminal via the third terminal's number;
[0215] In response to the group creation request, the first group is created, and a first group number corresponding to the first group is generated;
[0216] Add the third terminal number to the first group to associate the third terminal number with the first group number;
[0217] In the case where the second service is activated through the first group number, the terminal numbers in the first group have the right to use the second service.
[0218] As one implementation of this application, the SMS authentication device 400 described above can also be used for:
[0219] Receive a member invitation request sent by a third terminal. The member invitation request is used to invite the first terminal number to join the first group.
[0220] Send a member invitation request to the first terminal corresponding to the first terminal number;
[0221] Upon receiving confirmation of the member invitation request sent by the first terminal, the first terminal number is added to the first group.
[0222] As one implementation of this application, the SMS authentication device 400 described above can also be used for:
[0223] A group request is received from the first terminal via its first terminal number, wherein the group request is used by the first terminal to request that its first terminal number be added to the first group;
[0224] Send a group request to the third terminal;
[0225] Upon receiving confirmation of the group request sent by the third terminal, the first terminal number is added to the first group.
[0226] As one implementation of this application, the SMS authentication device 400 may further include:
[0227] The fourth sending module is used to send a first service application request to the group platform when the first terminal number of the first terminal logs into the group platform, so that the group platform sends the application request to the server through the first group number. The application request is used to apply for the right to use the first service, and the first service is a service item that the first group number has subscribed to.
[0228] The fourth receiving module is used to receive a first authentication SMS sent by the SMS gateway associated with the server, provided that the application request is permitted.
[0229] As one implementation of this application, the SMS authentication device 400 described above can also be used for:
[0230] Before the first moment or within the first time range after the first moment of the sending moment, a request to create an application task is sent to the group platform. The first moment is the moment when the group platform receives the number query request sent by the SMS gateway associated with the server.
[0231] Receive task information associated with the application task sent by the group platform, the task information including the remaining effective duration of the application task.
[0232] As one implementation of this application, the SMS authentication device 400 described above can also be used for:
[0233] A login request is sent to the group platform via a first terminal number, and the login request includes first identity information corresponding to the first terminal number.
[0234] If an identity matching the first identity exists in the preset identity information database, at least one group identifier sent by the group platform is received, and each group identifier is used to represent a group associated with the first terminal number;
[0235] A first group identifier is determined from the at least one group identifier, and the first group identifier is sent to the group platform so that the group platform logs the first number into the first group corresponding to the first group identifier.
[0236] As one implementation of this application, the SMS authentication device 400 described above can also be used for:
[0237] Receive member invitation requests for the first group sent by the group platform;
[0238] In response to the user's confirmation input of the member invitation request, a confirmation message is sent to the group platform so that the group platform adds the first terminal number to the first group.
[0239] As one implementation of this application, the SMS authentication device 400 described above can also be used for:
[0240] A group request is sent to the first terminal via the first terminal number, wherein the group request is used by the first terminal to request that the first terminal number be added to the first group;
[0241] If the group application request is confirmed, the group platform will add the first terminal number to the first group.
[0242] The SMS authentication device provided in this embodiment of the invention can implement the steps in the above method embodiments, and will not be repeated here to avoid repetition.
[0243] Figure 5 A schematic diagram of the hardware structure of the SMS authentication device provided in an embodiment of this application is shown.
[0244] The SMS authentication device may include a processor 1001 and a memory 1002 storing computer program instructions.
[0245] Specifically, the processor 1001 may include a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement the embodiments of this application.
[0246] Memory 1002 may include mass storage for data or instructions. For example, and not limitingly, memory 1002 may include a hard disk drive (HDD), floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or Universal Serial Bus (USB) drive, or a combination of two or more of these. Where appropriate, memory 1002 may include removable or non-removable (or fixed) media. Where appropriate, memory 1002 may be internal or external to the integrated gateway disaster recovery device. In a particular embodiment, memory 1002 is non-volatile solid-state memory.
[0247] Memory may include read-only memory (ROM), random access memory (RAM), disk storage media devices, optical storage media devices, flash memory devices, and electrical, optical, or other physical / tangible memory storage devices. Therefore, typically, memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the methods according to one aspect of this disclosure.
[0248] The processor 1001 reads and executes computer program instructions stored in the memory 1002 to implement any of the SMS authentication methods in the above embodiments.
[0249] In one example, the SMS authentication device may also include a communication interface 1003 and a bus 1010. For example, Figure 5 As shown, the processor 1001, memory 1002, and communication interface 1003 are connected through bus 1010 and complete communication with each other.
[0250] The communication interface 1003 is mainly used to realize communication between various modules, devices, units and / or equipment in the embodiments of this application.
[0251] Bus 1010 includes hardware, software, or both, that couples components of the SMS authentication device together. For example, and not limitingly, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an Infinite Bandwidth Interconnect, a Low Pin Count (LPC) bus, a memory bus, a Microchannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VLB) bus, or other suitable buses, or combinations of two or more of these. Where appropriate, bus 1010 may include one or more buses. Although specific buses are described and illustrated in embodiments of this application, any suitable bus or interconnect is contemplated herein.
[0252] The SMS authentication device can be based on the above embodiments to achieve a combination of the above SMS authentication method and apparatus.
[0253] Furthermore, in conjunction with the SMS authentication methods in the above embodiments, this application embodiment can provide a computer storage medium for implementation. This computer storage medium stores computer program instructions; when these computer program instructions are executed by a processor, they implement any one of the SMS authentication methods in the above embodiments and achieve the same technical effect. To avoid repetition, further details are omitted here. The aforementioned computer-readable storage medium may include non-transitory computer-readable storage media, such as read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks, etc., and is not limited thereto.
[0254] In addition, this application also provides a computer program product, including computer program instructions, which, when executed by a processor, can implement the steps and corresponding content of the aforementioned method embodiments.
[0255] It should be clarified that this application is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of this application is not limited to the specific steps described and shown. Those skilled in the art can make various changes, modifications, and additions, or change the order of steps, after understanding the spirit of this application.
[0256] The functional blocks shown in the above block diagram can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application-specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of this application are programs or code segments used to perform the required tasks. Programs or code segments can be stored on a machine-readable medium or transmitted over a transmission medium or communication link via data signals carried on a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) links, etc. Code segments can be downloaded via computer networks such as the Internet, intranets, etc.
[0257] It should also be noted that the exemplary embodiments mentioned in this application describe methods or systems based on a series of steps or apparatus. However, this application is not limited to the order of the above steps; that is, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.
[0258] The aspects of this disclosure have been described above with reference to flowchart illustrations and / or block diagrams of methods, apparatus, and computer program products according to embodiments of this disclosure. It should be understood that each block in the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that these instructions, executable via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions / actions specified in one or more blocks of the flowchart illustrations and / or block diagrams. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field-programmable logic circuit. It is also understood that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can also be implemented by special-purpose hardware performing the specified functions or actions, or can be implemented by a combination of special-purpose hardware and computer instructions.
[0259] The above are merely specific embodiments of this application. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, modules, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. It should be understood that the protection scope of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the protection scope of this application.
Claims
1. A method for SMS authentication, characterized in that, The method is applied to a group platform, and the method includes: In the event that a request to apply for the first service is sent to the server through the first group number, a number query request sent by the SMS gateway associated with the server is received. The request is used to apply for the right to use the first service, which is a service item that the first group number has subscribed to. If an application task corresponding to the first service exists in the group platform, determine the first terminal number associated with the application task; The first terminal number is sent to the SMS gateway so that the SMS gateway sends the first authentication SMS request to the first terminal based on the first terminal number.
2. The SMS authentication method according to claim 1, characterized in that, After receiving the number query request sent by the SMS gateway associated with the server, the method further includes: If there is no application task corresponding to the first service in the server, determine whether to receive the creation request of the application task corresponding to the first service within a first time range after the first moment, where the first moment is the moment when the group platform receives the number query request; Upon receiving the creation request within a first time frame, determine the first terminal number associated with the creation request; The first terminal number is sent to the SMS gateway so that the SMS gateway sends the first authentication SMS request to the first terminal based on the first terminal number.
3. The SMS authentication method according to claim 1, characterized in that, Before the SMS gateway sends the first authentication SMS request for the application to the first terminal based on the first terminal number, the method further includes: Receive the second authentication SMS sent by the SMS gateway; Add the group SMS identifier associated with the first group number to the second authentication SMS to generate the first authentication SMS; The first authentication SMS message is sent to the first terminal.
4. The SMS authentication method according to claim 1, characterized in that, Before determining the first terminal number associated with the application task when an application task corresponding to the first service exists in the group platform, the method further includes: Receive the creation request for the application task sent by the first terminal; In response to the creation request, the application task and the task information associated with the application task are generated, the task information including the remaining effective duration of the application task; Displays task information associated with the application task.
5. The SMS authentication method according to claim 4, characterized in that, Before receiving the request to create the application task sent by the first terminal, the method further includes: Receive a login request sent by the first terminal through a first terminal number, wherein the login request includes first identity information corresponding to the first terminal number; If an identity matching the first identity exists in the preset identity information database, at least one group identifier is obtained, and each group identifier is used to represent a group associated with the first terminal number. Send the at least one group identifier to the first terminal; The system receives a first group identifier from the first terminal and logs the first terminal number into the first group, wherein the first group identifier is any one of the at least one group identifier and the first group identifier corresponds to the first group.
6. The SMS authentication method according to claim 1, characterized in that, Before receiving a number query request sent by the SMS gateway associated with the server when there is an application request for the first service sent to the server through the first group number, the method further includes: Receive a group creation request sent by a third terminal via the third terminal's number; In response to the group creation request, a first group is created, and a first group number corresponding to the first group is generated; Add the third terminal number to the first group to associate the third terminal number with the first group number; In the case where the second service is activated through the first group number, the terminal number in the first group has the right to use the second service.
7. The SMS authentication method according to claim 6, characterized in that, After establishing the first group and generating the first group number corresponding to the first group, the method further includes: Receive a member invitation request sent by the third terminal, the member invitation request being used to invite the first terminal number to join the first group; Send the member invitation request to the first terminal corresponding to the first terminal number; Upon receiving confirmation of the member invitation request sent by the first terminal, the first terminal number is added to the first group.
8. The SMS authentication method according to claim 1, characterized in that, After establishing the first group and generating the first group number corresponding to the first group, the method further includes: A group request is received from a first terminal via a first terminal number, wherein the group request is used by the first terminal to request that the first terminal number be added to the first group; Send the group request to the third terminal; Upon receiving confirmation of the group application request sent by the third terminal, the first terminal number is added to the first group.
9. A method for SMS authentication, characterized in that, The method is applied to a first terminal, and the method includes: When the first terminal logs into the group platform using the first terminal number of the first terminal, a request for the first service is sent to the group platform so that the group platform sends the request to the server through the first group number. The request is used to apply for the right to use the first service, which is a service item that the first group number has already subscribed to. If the application request is granted, the server receives a first authentication SMS message sent by the SMS gateway associated with the server.
10. The SMS authentication method according to claim 9, characterized in that, Before receiving the first authentication SMS sent by the SMS gateway associated with the server, the method further includes: Before the first moment or within the first time range after the first moment of the sending moment, a request to create an application task is sent to the group platform. The first moment is the moment when the group platform receives the number query request sent by the SMS gateway associated with the server. Receive task information associated with the application task sent by the group platform, the task information including the remaining effective duration of the application task.
11. The SMS authentication method according to claim 10, characterized in that, Before sending the task creation request to the group platform, the method further includes: A login request is sent to the group platform via a first terminal number, and the login request includes first identity information corresponding to the first terminal number. If an identity matching the first identity exists in the preset identity information database, at least one group identifier sent by the group platform is received, and each group identifier is used to represent a group associated with the first terminal number; A first group identifier is determined from the at least one group identifier, and the first group identifier is sent to the group platform so that the group platform logs the first number into the first group corresponding to the first group identifier.
12. The SMS authentication method according to claim 11, characterized in that, Before sending a login request to the group platform via the first terminal number, the method further includes: Receive member invitation requests for the first group sent by the group platform; In response to the user's confirmation input of the member invitation request, a confirmation message is sent to the group platform so that the group platform adds the first terminal number to the first group.
13. The SMS authentication method according to claim 11, characterized in that, Before sending a login request to the group platform via the first terminal number, the method further includes: A group request is sent to the first terminal via the first terminal number, wherein the group request is used by the first terminal to request that the first terminal number be added to the first group; If the group application request is confirmed, the group platform will add the first terminal number to the first group.
14. A text message authentication device, characterized in that, The device includes: The first receiving module is configured to receive a number query request sent by an SMS gateway associated with the server when there is a request to send a first service to the server through a first group number. The request is used to apply for the right to use the first service, and the first service is a service item that the first group number has subscribed to. The first determining module is used to determine the first terminal number associated with the application task when there is an application task corresponding to the first service in the group platform; The first sending module is used to send the first terminal number to the SMS gateway, so that the SMS gateway sends the first authentication SMS request to the first terminal based on the first terminal number.
15. A text message authentication device, characterized in that, The SMS authentication device includes: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, it implements the SMS authentication method as described in any one of claims 1-13.
16. A computer storage medium, characterized in that, The computer storage medium stores computer program instructions, which, when executed by a processor, implement the SMS authentication method as described in any one of claims 1-13.
17. A computer program product, characterized in that, The computer program product includes computer program instructions, which, when executed by a processor, implement the SMS authentication method according to any one of claims 1-13.