Cross-terminal number authentication method and system for networked devices

By generating a random key and serial number to construct an encrypted parameter data packet and converting it into a QR code, the problem of complexity and insufficient security in cross-terminal authentication in existing technologies is solved, and cross-device number authentication is made simple and secure.

CN120935568BActive Publication Date: 2026-07-21CHINA UNICOM ONLINE INFORMATION TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA UNICOM ONLINE INFORMATION TECHNOLOGY CO LTD
Filing Date
2025-07-31
Publication Date
2026-07-21

AI Technical Summary

Technical Problem

Existing mobile phone number authentication technologies mainly rely on the mobile phone's cellular IP address, which makes cross-terminal authentication complex and difficult to balance security and encryption.

Method used

By receiving a number authentication request, the system activates the service interface address and timeout timestamp of the encrypted mobile number, generates a random key and a random service serial number, constructs a request parameter data packet by combining it with the service provider's public key, and converts it into a QR code. After scanning and parsing, the user sends a parameter verification request to the operator and receives a number fragment and replacement token from the operator.

Benefits of technology

It achieves both security and convenience for cross-terminal number authentication, ensures encryption and decryption during the authentication process, and simplifies the cross-device authentication process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120935568B_ABST
    Figure CN120935568B_ABST
Patent Text Reader

Abstract

The application relates to a cross-terminal number authentication method and system of a networked device, which comprises the following steps: receiving a number authentication request, and starting a service interface address of an encrypted mobile phone number and a timeout timestamp in response to the number authentication request; when the request duration does not exceed the timeout timestamp, generating a random key and a random business serial number based on the service interface address, combining a service provider public key to construct a request parameter data packet; converting the request parameter data packet into a two-dimensional code to parse the request parameter data packet through the operation of a user scanning the two-dimensional code, and obtaining multiple request parameters; sending a parameter verification request to an operator based on the multiple parsed request parameters, and receiving a number segment and a permutation token fed back by the operator in response to the pre-fetching number instruction when the request parameter verification request is verified by the operator, so that cross-device number authentication of a user terminal and an operator is realized, and the security of the number authentication is guaranteed through encryption and decryption of the request parameters.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of communication technology, and in particular to a cross-terminal number authentication method and system for networked devices. Background Technology

[0002] Number authentication technology enables the authentication of the phone number corresponding to the SIM card in a mobile terminal. It obtains the real-time phone number through signaling parsing provided by the operator when accessing the network via cellular data. When accessing local mobile applications on the phone, this technology effectively enables fast number authentication and one-click login.

[0003] Currently, existing mobile phone number authentication technologies are based on a three-party authentication architecture, which consists of a terminal side, an application server side, and an operator server side. This includes an application client (SDK), an application server, and an operator authentication system (which can be further divided into an authentication server and a network signaling data service). The application client, located on the terminal side, integrates SDK components (provided by the operator) and is responsible for initiating mobile application authentication requests to the operator authentication system, obtaining a service token and a mobile phone number fragment. The application client and the application server jointly implement mobile application authentication login based on the mobile phone number. The application server, together with the application client, implements mobile application authentication login based on the mobile phone number, interacts with the application client and the operator authentication system, and is responsible for transmitting the replacement code and the mobile phone number. The operator authentication system is responsible for authenticating application access, generating authentication credentials, and providing authentication credential and mobile phone number replacement services. This system may include an authentication server and a network signaling data server.

[0004] However, the basic principle of the above scheme relies almost entirely on the key element of the mobile phone's cellular IP address, which is only applicable to the authentication of the local number. When authenticating the number across devices, users need to enter their mobile phone number and SMS verification code, making the verification process more complicated and difficult to balance the security of cross-device number authentication and number information encryption. Summary of the Invention

[0005] The present invention aims to provide a cross-terminal number authentication method and system for networked devices to overcome the shortcomings of the prior art. The technical problem to be solved by the present invention is achieved through the following technical solution.

[0006] This invention provides a cross-terminal number authentication method for networked devices, the method comprising: Receive a number authentication request and, in response to the number authentication request, activate the service interface address and timeout timestamp of the encrypted mobile number; If the request duration does not exceed the timeout timestamp, a random key and a random business sequence number are generated based on the service interface address, and a request parameter data packet is constructed by combining the service provider's public key. The request parameter data packet is converted into a QR code, and the request parameter data packet is parsed by the user scanning the QR code to obtain multiple request parameters; Based on the parsed multiple request parameters, a parameter verification request is sent to the operator, and when the operator responds to the parameter verification request and verifies that the request parameters are verified, the number fragment and replacement token are received from the operator's pre-number retrieval instruction.

[0007] In one embodiment, receiving a number authentication request and, in response to the number authentication request, activating the service interface address and timeout timestamp of the encrypted mobile number includes: When a user performs a number authentication operation on a terminal device, the system receives the number authentication request and responds to the number authentication request by activating the service interface address and timeout timestamp of the encrypted mobile number. When the duration of the number authentication request exceeds the timeout timestamp, a service shutdown instruction is received, and in response to the service shutdown instruction, the service interface address is closed.

[0008] In one embodiment, the step of generating a random key and a random service sequence number based on the service interface address when the request duration does not exceed the timeout timestamp, and constructing a request parameter data packet in conjunction with the service provider's public key, includes: When the duration of the number authentication request does not exceed the timeout timestamp, the random key and random service sequence number are generated based on the service interface address corresponding to the encrypted mobile number, and the initial request parameters are constructed based on the random key and random service sequence number. Calculate the initial request parameter verification value based on the initial request parameters, and update the initial request parameters based on the initial request parameter verification value to generate secondary request parameters; The initial request parameters consist of the device ID, the random service serial number, and the service interface address. The initial request parameter verification value consists of the shared key and the initial request parameters. The secondary request parameters consist of the initial request parameters and the initial request parameter verification value.

[0009] In one embodiment, the step of generating a random key and a random service sequence number based on the service interface address and constructing a request parameter data packet in combination with the service provider's public key when the request duration does not exceed the timeout timestamp further includes: The secondary request parameters are encrypted using the random key to generate encrypted request parameters, and the random key is then encrypted using the service provider's public key to obtain an encrypted random key. The request parameter data packet is constructed based on the secondary request parameters, the encrypted request parameters, and the encrypted random key.

[0010] In one embodiment, the request parameter data packet is converted into a QR code, and the request parameter data packet is parsed by a user scanning the QR code to obtain multiple request parameters, including: The request parameter data packet is converted into a QR code, and the QR code is sent to the user's visual display front end so that the user can receive parameter parsing instructions by scanning the QR code; In response to the parameter parsing instruction, the request parameter data packet is parsed to obtain multiple request parameters, which are the secondary request parameters, the encrypted request parameters, and the encrypted random key.

[0011] In one embodiment, based on the parsed plurality of request parameters, a parameter verification request is sent to the operator, and when the operator responds to the parameter verification request and verifies that the request parameters are verified, a number fragment and a replacement token are received from the operator in response to the pre-fetching instruction, including: Based on the secondary request parameters, encryption request parameters, and encryption random key, a device access request is sent to the operator server. The operator server responds to the device access request and establishes a connection channel with the user's terminal device. The parameter verification request is sent to the operator's server through the connection channel. The operator's server responds to the parameter verification request and obtains the initial request parameter verification value, device ID, random service serial number and service interface address from the secondary request parameters. The private key is used to decrypt the encrypted random key, and the decrypted random key is used to decrypt the encrypted request parameters to verify whether the initial request parameter verification value is correct. When the initial request parameter verification value is correct, a pre-retrieval instruction for the one-click login SDK is sent to the operator's server. The operator's server responds to the pre-retrieval instruction by executing the number authentication pre-retrieval process.

[0012] In one embodiment, the method includes: Send a token query command for user authorized number authentication operation to the operator server. The operator server responds to the token query command and obtains the NBR information of the mobile number based on the replacement token. The NBR information of the mobile phone number, the random service serial number, and the device ID are encrypted using the random key to obtain encrypted information, and the encrypted information and the random service serial number are written into the service interface address.

[0013] The present invention also provides a cross-terminal number authentication system for networked devices, used to implement the cross-terminal number authentication method for networked devices described in any of the above claims, the system comprising: The authentication service startup module is used to receive number authentication requests and, in response to the number authentication requests, start the service interface address and timeout timestamp of the encrypted mobile number; The request parameter construction module is used to generate a random key and a random business sequence number based on the service interface address when the request duration does not exceed the timeout timestamp, and to construct a request parameter data packet in combination with the service provider's public key; The parameter parsing module is used to convert the request parameter data packet into a QR code, so that the request parameter data packet can be parsed by the user scanning the QR code to obtain multiple request parameters; The number authentication module is used to send a parameter verification request to the operator based on the parsed multiple request parameters, and when the operator responds to the parameter verification request and verifies that the request parameters are verified, it receives the number fragment and replacement token fed back by the operator when executing the pre-number retrieval instruction.

[0014] The present invention also provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the cross-terminal number authentication method for networked devices as described in any of the above.

[0015] The present invention also provides a computer storage medium storing a computer program, which, when executed by a processor, implements the cross-terminal number authentication method for networked devices as described above.

[0016] The aforementioned cross-terminal number authentication method and system for networked devices receives a number authentication request and, in response, activates the service interface address and timeout timestamp of the encrypted mobile phone number. If the request duration does not exceed the set timeout timestamp, a random key and a random service sequence number are generated based on the service interface address, and a request parameter data packet is constructed by combining them with the service provider's public key. Then, the request parameter data packet is converted into a QR code, and the request parameter data packet is parsed by the user scanning the QR code to obtain multiple request parameters. Finally, based on the parsed request parameters, a parameter verification request is sent to the operator. When the operator successfully verifies the request parameters in response to the parameter verification request, the system receives a number fragment and a replacement token from the operator's pre-fetching instruction. This invention achieves cross-device number authentication between the user and the operator, and ensures the security of cross-device number authentication by combining encryption and decryption of the authentication request parameters during the authentication process. Attached Figure Description

[0017] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0018] Figure 1 This is one of the flowcharts illustrating the cross-terminal number authentication method for network devices provided by the present invention; Figure 2 This is a schematic diagram illustrating the overall process of cross-device number authentication in a specific embodiment of the cross-terminal number authentication method for networked devices provided by the present invention; Figure 3 The second flowchart illustrates the cross-terminal number authentication method for network devices provided by this invention. Figure 4 The third flowchart illustrates the cross-terminal number authentication method for network devices provided by the present invention. Figure 5 The fourth flowchart illustrates the cross-terminal number authentication method for network devices provided by this invention. Figure 6 The fifth flowchart illustrates the cross-terminal number authentication method for network devices provided by this invention. Figure 7 The sixth flowchart illustrating the cross-terminal number authentication method for network devices provided by the present invention; Figure 8 The seventh flowchart illustrates the cross-terminal number authentication method for network devices provided by this invention. Figure 9 This is a schematic diagram of the cross-terminal number authentication system for network devices provided by the present invention; Figure 10 This is a diagram of the internal structure of the electronic device provided by the present invention. Detailed Implementation

[0019] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0020] The following is combined with Figures 1 to 10 This invention describes a cross-terminal number authentication method and system for networked devices.

[0021] like Figure 1As shown, in one embodiment, a cross-terminal number authentication method for a networked device includes the following steps: Step S110: Receive the number authentication request and respond to the number authentication request by activating the service interface address and timeout timestamp of the encrypted mobile number.

[0022] Specifically, when a user performs number authentication on a terminal device, the terminal device receives the number authentication request corresponding to the user's number authentication operation, and responds to the received number authentication request by starting the service interface address of the encrypted mobile phone number and the timeout timestamp. The timeout timestamp is used to determine whether the number authentication request has timed out. That is, if the request duration exceeds the timeout timestamp, the number authentication service interface address is closed.

[0023] Combination Figure 2 As shown in the specific embodiment, the cross-terminal number authentication method for network devices provided by the present invention, when the user chooses to perform number authentication on the terminal device, the terminal device starts the service interface address for accepting encrypted mobile phone numbers, such as: addr=https: / / domain:port / api, and sets an expiration timestamp (the service interface address is automatically closed after the timeout).

[0024] Step S120: If the request duration does not exceed the timeout timestamp, generate a random key and a random business sequence number based on the service interface address, and construct a request parameter data packet by combining the service provider's public key.

[0025] Specifically, if the request duration of the number authentication request does not exceed the set timeout timestamp, the service interface address used for number authentication is still valid. At this time, a random key and a random business sequence number are generated based on the service interface address. Combined with the public key of the communication network service provider, multiple request parameters with different encryption levels are constructed through layer-by-layer encryption processing, and then a request parameter data packet consisting of multiple request parameters is constructed.

[0026] Combination Figure 2 As shown in the specific embodiment, the cross-terminal number authentication method for network devices provided by the present invention indicates that the service interface address used for number authentication is still valid when the request duration of the number authentication request does not exceed the set timeout timestamp. At this time, based on the service interface address, the terminal device generates a random key Kr and a random service sequence number seq, and then constructs the request parameter param0=ID||seq||addr, calculates the request parameter verification value check=SM3(Sid||param0), updates the request parameter, and generates param1=check||param0. The network terminal device reports its unique ID to the operator's server and obtains the unique shared key Sid.

[0027] In this embodiment, the request parameter param0 is encrypted with a random key Kr to form param1_enc=Enc(Kr,param1), and then the random key Kr is encrypted with the public key PK of the communication network service provider to form Kr_enc=Enc(PK,kr). Finally, the final request parameter data packet is constructed based on the above parameters: req="r1=param1;r2=param1_enc;r3=Kr_enc".

[0028] Step S130: Convert the request parameter data packet into a QR code so that the request parameter data packet can be parsed by the user scanning the QR code to obtain multiple request parameters.

[0029] Specifically, the request parameter data packet constructed in step S120 is converted into a QR code, which is then sent to the user's front end. The user scans the QR code to parse the request parameter data packet, thereby extracting multiple request parameters that are encrypted layer by layer.

[0030] Combination Figure 2 As shown in the specific embodiment, the cross-terminal number authentication method for network devices provided by the present invention generates a QR code from the request parameter data packet req string and displays it to the user. The user scans the QR code on the mobile phone through the function entry of the operator's APP or mini program, parses the parameter data packet req, and obtains r1, r2, and r3 in the request parameters.

[0031] Step S140: Based on the parsed multiple request parameters, send a parameter verification request to the operator, and when the operator responds to the parameter verification request and verifies the request parameters, receive the number fragment and replacement token fed back by the operator in executing the pre-fetching instruction.

[0032] Specifically, based on the multiple request parameters parsed in step S130, a parameter verification request is sent to the operator's server to verify whether the parsed request parameters are correct. If they are correct, the verification is successful. Then, when the request parameters are verified, the operator's server will execute the pre-fetching process corresponding to the pre-fetching instruction. After the execution is completed, the number segment and replacement token for number authentication will be fed back to the user's terminal device to complete the number authentication process.

[0033] Combination Figure 2 As shown, in a specific embodiment, the cross-terminal number authentication method for network devices provided by the present invention initiates device access and parameter verification to the operator's server based on the above-parsed request parameters r1, r2, and r3. The operator's server obtains check, ID, seq, and addr from the request parameter r1, and uses the shared key Sid and the above parameters to verify whether the request parameter verification value check is correct.

[0034] Specifically, the operator's server uses the private key Sk to decrypt the random key Kr, and uses Kr to decrypt param1_enc in the request parameters to obtain param1'. It then compares param1' with the parsed request parameters to check whether the service device ID can provide valid service.

[0035] After successful verification, the application initiates a pre-fetching command to the one-click login SDK. The operator's server executes the pre-fetching process for number authentication and returns a fragment of the user's phone number and a replacement token. After viewing the authorization agreement on the user's phone, the user clicks to authorize number authentication. The operator's server retrieves the phone number NBR (Number Boundary Token) based on the replacement token. According to the session details, the operator's server uses a Kr key to encrypt the NBR, seq (sequence number), and device ID, obtaining encrypted information. This encrypted information and seq are then written to the aforementioned service interface address addr. After receiving the seq and encrypted information, the terminal device verifies the validity of the seq and decrypts it using Kr to obtain the device ID, seq, phone number, and other information.

[0036] The aforementioned cross-terminal number authentication method for networked devices receives a number authentication request and, in response, initiates an encrypted mobile phone number service interface address and timeout timestamp. If the request duration does not exceed the set timeout timestamp, a random key and a random service sequence number are generated based on the service interface address, and a request parameter data packet is constructed using the service provider's public key. This request parameter data packet is then converted into a QR code, which is scanned by the user to parse the request parameter data packet, obtaining multiple request parameters. Finally, based on the parsed request parameters, a parameter verification request is sent to the operator. Upon successful verification of the request parameters by the operator, the method receives a number fragment and a replacement token from the operator's pre-fetching instruction. This method achieves cross-device number authentication between the user and the operator, and the encryption and decryption of the authentication request parameters during the authentication process ensures the security of cross-device number authentication.

[0037] like Figure 3 As shown, in one embodiment, the cross-terminal number authentication method for network devices provided by the present invention specifically includes the following steps in step S110: Step S111: When a user performs a number authentication operation on a terminal device, a number authentication request is received, and the service interface address and timeout timestamp of the encrypted mobile number are activated in response to the number authentication request.

[0038] Step S112: When the request duration of the number authentication request exceeds the timeout timestamp, a service shutdown instruction is received, and in response to the service shutdown instruction, the service interface address is shut down.

[0039] like Figure 4 As shown, in one embodiment, the cross-terminal number authentication method for network devices provided by the present invention specifically includes the following steps in step S120: Step S121: When the request duration of the number authentication request does not exceed the timeout timestamp, a random key and a random service sequence number are generated based on the service interface address corresponding to the encrypted mobile phone number, and initial request parameters are constructed based on the random key and the random service sequence number.

[0040] Step S122: Calculate the initial request parameter verification value based on the initial request parameters, and update the initial request parameters based on the initial request parameter verification value to generate secondary request parameters.

[0041] The initial request parameters consist of the device ID, random service serial number, and service interface address. The initial request parameter verification value consists of the shared key and the initial request parameters. The secondary request parameters consist of the initial request parameters and the initial request parameter verification value.

[0042] like Figure 5 As shown, in one embodiment, the cross-terminal number authentication method for network devices provided by the present invention further includes the following steps in step S120: Step S123: Encrypt the secondary request parameters using a random key to generate encrypted request parameters, and encrypt the random key using the service provider's public key to obtain an encrypted random key.

[0043] Step S124: Construct a request parameter data packet based on the secondary request parameters, encrypted request parameters, and encrypted random key.

[0044] like Figure 6 As shown, in one embodiment, the cross-terminal number authentication method for network devices provided by the present invention specifically includes the following steps in step S130: Step S131: Convert the request parameter data packet into a QR code and send the QR code to the user's visual display front end so that the user can receive parameter parsing instructions by scanning the QR code.

[0045] Step S132: In response to the parameter parsing instruction, the request parameter data packet is parsed to obtain multiple request parameters, which are secondary request parameters, encrypted request parameters, and encrypted random keys.

[0046] like Figure 7 As shown, in one embodiment, the cross-terminal number authentication method for network devices provided by the present invention includes the following steps in step S140: Step S141: Based on the secondary request parameters, encryption request parameters, and encryption random key, a device access request is sent to the operator server. The operator server responds to the device access request and establishes a connection channel with the user's terminal device.

[0047] Step S142: Send a parameter verification request to the operator's server through the connection channel. The operator's server responds to the parameter verification request by obtaining the initial request parameter verification value, device ID, random service serial number and service interface address from the secondary request parameters.

[0048] Step S143: Use the private key to decrypt the encrypted random key, and use the decrypted random key to decrypt the encrypted request parameters to verify whether the initial request parameter verification value is correct.

[0049] Step S144: If the initial request parameter verification value is correct, a pre-fetching instruction for the one-click login SDK is sent to the operator's server. The operator's server responds to the pre-fetching instruction by executing the number authentication pre-fetching process.

[0050] like Figure 8 As shown, in one embodiment, the cross-terminal number authentication method for networked devices provided by the present invention further includes the following steps: In step S810, a token query command for user authorized number authentication operation is sent to the operator's server. The operator's server responds to the token query command and obtains the NBR information of the mobile number based on the replacement token.

[0051] Step S820: Encrypt the NBR information of the mobile phone number, the random service serial number and the device ID using a random key to obtain encrypted information, and write the encrypted information and the random service serial number into the service interface address.

[0052] The cross-terminal number authentication system for network devices provided by the present invention is described below. The cross-terminal number authentication system for network devices described below can be referred to in correspondence with the cross-terminal number authentication method for network devices described above.

[0053] like Figure 9 As shown, in one embodiment, a cross-terminal number authentication system for a networked device includes an authentication service initiation module 910, a request parameter construction module 920, a parameter parsing module 930, and a number authentication module 940.

[0054] The authentication service startup module 910 is used to receive number authentication requests and, in response to the number authentication requests, to start the service interface address and timeout timestamp of the encrypted mobile number.

[0055] The request parameter construction module 920 is used to generate a random key and a random business sequence number based on the service interface address when the request duration does not exceed the timeout timestamp, and to construct a request parameter data packet in combination with the service provider's public key.

[0056] The parameter parsing module 930 is used to convert the request parameter data packet into a QR code, so that the request parameter data packet can be parsed by the user scanning the QR code to obtain multiple request parameters.

[0057] The number authentication module 940 is used to send a parameter verification request to the operator based on the parsed multiple request parameters, and when the operator responds to the parameter verification request and verifies that the request parameters are verified, it receives the number fragment and replacement token fed back by the operator when executing the pre-fetching instruction.

[0058] In this embodiment, the authentication service startup module 910 of the cross-terminal number authentication system for network devices provided by the present invention is specifically used for: When a user performs a number authentication operation on a terminal device, the system receives the number authentication request and responds by activating the service interface address for the encrypted mobile number and the timeout timestamp.

[0059] When the duration of the number authentication request exceeds the timeout timestamp, a service shutdown command is received, and in response to the service shutdown command, the service interface address is closed.

[0060] In this embodiment, the cross-terminal number authentication system for network devices provided by the present invention, specifically uses the request parameter construction module 920 for: When the request duration of the number authentication request does not exceed the timeout timestamp, a random key and a random service sequence number are generated based on the service interface address corresponding to the encrypted mobile number, and the initial request parameters are constructed based on the random key and the random service sequence number.

[0061] The initial request parameter validation value is calculated based on the initial request parameter, and the initial request parameter is updated based on the initial request parameter validation value to generate the secondary request parameter.

[0062] The initial request parameters consist of the device ID, random service serial number, and service interface address. The initial request parameter verification value consists of the shared key and the initial request parameters. The secondary request parameters consist of the initial request parameters and the initial request parameter verification value.

[0063] In this embodiment, the request parameter construction module 920 of the cross-terminal number authentication system for network devices provided by the present invention is further used for: The secondary request parameters are encrypted using a random key to generate encrypted request parameters, and the random key is then encrypted using the service provider's public key to obtain an encrypted random key.

[0064] A request parameter data packet is constructed based on secondary request parameters, encrypted request parameters, and an encrypted random key.

[0065] In this embodiment, the parameter parsing module 930 of the cross-terminal number authentication system for network devices provided by the present invention is specifically used for: The request parameter data packet is converted into a QR code and sent to the user's visual display front end so that the user can receive parameter parsing instructions by scanning the QR code.

[0066] In response to the parameter parsing instruction, the request parameter data packet is parsed to obtain multiple request parameters, which are secondary request parameters, encrypted request parameters, and encrypted random keys.

[0067] In this embodiment, the cross-terminal number authentication system for network devices provided by the present invention, the number authentication module 940 is specifically used for: Based on the secondary request parameters, encrypted request parameters, and encrypted random key, a device access request is sent to the operator's server. The operator's server responds to the device access request and establishes a connection channel with the user's terminal device.

[0068] The parameter verification request is sent to the operator's server through the connection channel. The operator's server responds to the parameter verification request by obtaining the initial request parameter verification value, device ID, random service serial number and service interface address from the secondary request parameters.

[0069] The private key is used to decrypt the encrypted random key, and the resulting random key is then used to decrypt the encrypted request parameters to verify whether the initial request parameter verification value is correct.

[0070] When the initial request parameter verification value is correct, a pre-retrieval command for the one-click login SDK is sent to the operator's server. The operator's server responds to the pre-retrieval command by executing the number authentication pre-retrieval process.

[0071] In this embodiment, the cross-terminal number authentication system for network devices provided by the present invention further includes a number information encryption module, used for: Send a token query command for user authorized number authentication operation to the operator's server. The operator's server responds to the token query command and obtains the NBR information of the mobile number based on the replacement token.

[0072] The NBR information of the mobile phone number, the random service serial number, and the device ID are encrypted using a random key to obtain encrypted information, and the encrypted information and the random service serial number are written to the service interface address.

[0073] Figure 10This example illustrates a schematic diagram of the physical structure of an electronic device, which can be a smart terminal. Its internal structure diagram can be as follows: Figure 10 As shown. The electronic device includes a processor, internal memory, and a network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The network interface is used to communicate with external terminals via a network connection. When the computer program is executed by the processor, it implements a cross-terminal number authentication method for networked devices, the method including:

[0074] Receive number authentication requests and respond to the number authentication requests by starting the service interface address and timeout timestamp for the encrypted mobile number; If the request duration does not exceed the timeout timestamp, a random key and a random business sequence number are generated based on the service interface address, and the request parameter data packet is constructed by combining the service provider's public key. The request parameter data packet is converted into a QR code, which is then parsed by the user scanning the QR code to obtain multiple request parameters; Based on the parsed request parameters, a parameter verification request is sent to the operator. When the operator responds to the parameter verification request and verifies that the request parameters are verified, the number fragment and replacement token are received from the operator when executing the pre-number retrieval instruction.

[0075] Those skilled in the art will understand that Figure 10 The structure shown is merely a block diagram of a portion of the structure related to the present invention and does not constitute a limitation on the electronic device to which the present invention is applied. A specific electronic device may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0076] On the other hand, the present invention also provides a computer storage medium storing a computer program, which, when executed by a processor, implements a cross-terminal number authentication method for networked devices, the method comprising: Receive number authentication requests and respond to the number authentication requests by starting the service interface address and timeout timestamp for the encrypted mobile number; If the request duration does not exceed the timeout timestamp, a random key and a random business sequence number are generated based on the service interface address, and the request parameter data packet is constructed by combining the service provider's public key. The request parameter data packet is converted into a QR code, which is then parsed by the user scanning the QR code to obtain multiple request parameters; Based on the parsed request parameters, a parameter verification request is sent to the operator. When the operator responds to the parameter verification request and verifies that the request parameters are verified, the number fragment and replacement token are received from the operator when executing the pre-number retrieval instruction.

[0077] In another aspect, a computer program product or computer program is provided, comprising computer instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium, and when the processor executes the computer instructions, it implements a cross-terminal number authentication method for a networked device, the method comprising:

[0078] Receive number authentication requests and respond to the number authentication requests by starting the service interface address and timeout timestamp for the encrypted mobile number; If the request duration does not exceed the timeout timestamp, a random key and a random business sequence number are generated based on the service interface address, and the request parameter data packet is constructed by combining the service provider's public key. The request parameter data packet is converted into a QR code, which is then parsed by the user scanning the QR code to obtain multiple request parameters; Based on the parsed request parameters, a parameter verification request is sent to the operator. When the operator responds to the parameter verification request and verifies that the request parameters are verified, the number fragment and replacement token are received from the operator when executing the pre-number retrieval instruction.

[0079] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided by this invention can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory.

[0080] By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0081] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0082] The embodiments described above are merely illustrative of several implementations of the present invention, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these all fall within the protection scope of the present invention. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A method for cross-terminal number authentication of networked devices, characterized in that, The method includes: Receive a number authentication request and, in response to the number authentication request, activate the service interface address and timeout timestamp of the encrypted mobile number; If the request duration does not exceed the timeout timestamp, a random key and a random business sequence number are generated based on the service interface address, and a request parameter data packet is constructed by combining the service provider's public key. The request parameter data packet is converted into a QR code, and the request parameter data packet is parsed by the user scanning the QR code to obtain multiple request parameters; Based on the parsed multiple request parameters, a parameter verification request is sent to the operator, and when the operator responds to the parameter verification request and verifies that the request parameters are verified, the number fragment and replacement token are received from the operator's pre-number retrieval instruction.

2. The cross-terminal number authentication method for networked devices according to claim 1, characterized in that, The process of receiving a number authentication request and, in response to the number authentication request, activating the service interface address and timeout timestamp for the encrypted mobile number includes: When a user performs a number authentication operation on a terminal device, the system receives the number authentication request and responds to the number authentication request by activating the service interface address and timeout timestamp of the encrypted mobile number. When the duration of the number authentication request exceeds the timeout timestamp, a service shutdown instruction is received, and in response to the service shutdown instruction, the service interface address is closed.

3. The cross-terminal number authentication method for networked devices according to claim 1, characterized in that, When the request duration does not exceed the timeout timestamp, a random key and a random service sequence number are generated based on the service interface address, and a request parameter data packet is constructed by combining the service provider's public key, including: When the duration of the number authentication request does not exceed the timeout timestamp, the random key and random service sequence number are generated based on the service interface address corresponding to the encrypted mobile number, and the initial request parameters are constructed based on the random key and random service sequence number. Calculate the initial request parameter verification value based on the initial request parameters, and update the initial request parameters based on the initial request parameter verification value to generate secondary request parameters; The initial request parameters consist of the device ID, the random service serial number, and the service interface address. The initial request parameter verification value consists of the shared key and the initial request parameters. The secondary request parameters consist of the initial request parameters and the initial request parameter verification value.

4. The cross-terminal number authentication method for networked devices according to claim 3, characterized in that, The step of generating a random key and a random service sequence number based on the service interface address and constructing a request parameter data packet in conjunction with the service provider's public key when the request duration does not exceed the timeout timestamp also includes: The secondary request parameters are encrypted using the random key to generate encrypted request parameters, and the random key is then encrypted using the service provider's public key to obtain an encrypted random key. The request parameter data packet is constructed based on the secondary request parameters, the encrypted request parameters, and the encrypted random key.

5. The cross-terminal number authentication method for networked devices according to claim 4, characterized in that, The step involves converting the request parameter data packet into a QR code, which is then used by the user to scan the QR code to parse the request parameter data packet and obtain multiple request parameters, including: The request parameter data packet is converted into a QR code, and the QR code is sent to the user's visual display front end so that the user can receive parameter parsing instructions by scanning the QR code; In response to the parameter parsing instruction, the request parameter data packet is parsed to obtain multiple request parameters, which are the secondary request parameters, the encrypted request parameters, and the encrypted random key.

6. The cross-terminal number authentication method for networked devices according to claim 5, characterized in that, Based on the parsed multiple request parameters, a parameter verification request is sent to the operator. Upon successful verification of the request parameters by the operator, the system receives a number fragment and a replacement token from the operator's pre-number retrieval instruction, including: Based on the secondary request parameters, encryption request parameters, and encryption random key, a device access request is sent to the operator server. The operator server responds to the device access request and establishes a connection channel with the user's terminal device. The parameter verification request is sent to the operator's server through the connection channel. The operator's server responds to the parameter verification request and obtains the initial request parameter verification value, device ID, random service serial number and service interface address from the secondary request parameters. The private key is used to decrypt the encrypted random key, and the decrypted random key is used to decrypt the encrypted request parameter to verify whether the initial request parameter verification value is correct. When the initial request parameter verification value is correct, a pre-retrieval instruction for the one-click login SDK is sent to the operator's server. The operator's server responds to the pre-retrieval instruction by executing the number authentication pre-retrieval process.

7. The cross-terminal number authentication method for networked devices according to claim 6, characterized in that, The method includes: Send a token query command for user authorized number authentication operation to the operator server. The operator server responds to the token query command and obtains the NBR information of the mobile number based on the replacement token. The NBR information of the mobile phone number, the random service serial number, and the device ID are encrypted using the random key to obtain encrypted information, and the encrypted information and the random service serial number are written into the service interface address.

8. A cross-terminal number authentication system for networked devices, characterized in that, The system for implementing the cross-terminal number authentication method for a networked device according to any one of claims 1 to 7, the system comprising: The authentication service startup module is used to receive number authentication requests and, in response to the number authentication requests, start the service interface address and timeout timestamp of the encrypted mobile number; The request parameter construction module is used to generate a random key and a random business sequence number based on the service interface address when the request duration does not exceed the timeout timestamp, and to construct a request parameter data packet in combination with the service provider's public key; The parameter parsing module is used to convert the request parameter data packet into a QR code, so that the request parameter data packet can be parsed by the user scanning the QR code to obtain multiple request parameters; The number authentication module is used to send a parameter verification request to the operator based on the parsed multiple request parameters, and when the operator responds to the parameter verification request and verifies that the request parameters are verified, it receives the number fragment and replacement token fed back by the operator when executing the pre-number retrieval instruction.

9. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the cross-terminal number authentication method for the networked device according to any one of claims 1 to 7.

10. A computer storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the cross-terminal number authentication method for the networked device as described in any one of claims 1 to 7.